# MQTT subcribe to variable Photon

**URL:** <https://community.particle.io/t/mqtt-subcribe-to-variable-photon/46771>\
**Category:** Troubleshooting\
**Created:** [January 5, 2019, 3:20am UTC](https://community.particle.io/t/mqtt-subcribe-to-variable-photon/46771 "2019-01-05T03:20:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meson777](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@Meson777](https://community.particle.io/u/Meson777)\
**Post date:** [January 5, 2019, 3:20am UTC](https://community.particle.io/t/mqtt-subcribe-to-variable-photon/46771/1 "2019-01-05T03:20:11Z")

</div>

Hi There !  
Has anyone been able to run the code for Particle Photon that is published in the following link ?  
I’m talking about subscribing to a variable

[https://help.ubidots.com/connect-your-devices/connect-a-particle-device-to-ubidots-over-mqtt](https://help.ubidots.com/connect-your-devices/connect-a-particle-device-to-ubidots-over-mqtt)

Thank you.
