I am trying to connect an external mqtt server to losant. The mqtt node connects to my server. Then I have a JSON decode that converts the message from “data.message” to an “output” object and sends it to the device state node.
When the device runs I keep getting the following error:
Here is the device state tab showing that there are 7 attributes but only one I am connecting now to test functionality.
Here is the MQTT packet info showing that there is data (even null) in the packet:
I don’t see why even if the data is null that it would not at least show up in the first screenshot with the keys in the MQTT packet and a value of null or zero.