Ubidots Community

[SOLVED] MQTT subscription


Ubidots has been very helpful till now. I have purchased a business version and I am successfully showcasing the prototype for my various products.

I have an issue with the MQTT subscribe. Whenever, I subscribe using /v1.6/devices/{LABEL_DEVICE}/# or /v1.6/devices/{LABEL_DEVICE}/+/lv, I am able to receive data, but I am not able to differentiate between the variable for which the data is coming for. I am currently using PAHO MQTT client for JAVA for writing an android app.

Also, is there any other way to send data from cloud to the device in real time instead of MQTT.

Help will be appreciated.

Greetings, please refer to this thread: [SOLVED] Access subscribed variables without looping

All the best