Ubidots Community

[SOLVED] client.ubidotsSubscribe to Variable

How can I export the variable data that I am getting from Ubidots MQTT broker by using client.ubidotsSubscribe function to any variable like float or int or string for further usage?

Hi there, assuming that you are using MQTT, the callback function is the place where you should parse both topics and values to which you are subscribed.

All the best