Subscribe a MQTT Topic in Ubidots (boolean 1/0) value

Dear All,

I have a problem with a MQTT subscribe on Node-RED either by using mqtt_in node or ubidots_in node. The connection to MQTT broker has successfull, however there is no output from the node. The expected output is boolean 1/0 value.
Appreciate if idea to solve this issue.

Best Regards,
Zulpaedi

Are you sure there is a / on the front of the topic?

Alternatively install mqttexplorer on your pc then you can easily see all the topics being published.

Hi Collin,

Thank you for your reply, "/" was put in the topic according to explanation on article in the link below (format: Device_Label/Variable_Label)

However, even I have followed the instruction on that article, I have not received the output of the nodes (node status is connected)

Best Regards,
Zulpaedi

Try MQTTExplorer then.

Or maybe try subscribing to the wildcard # to maybe see a the incoming topics then refine from there. ( not all brokers allow subscribing to # but worth a try)

Would # work for topics beginning with a / (which of course they shouldn't) ?

Should do. Or try /# :slight_smile: