Hi There,
I have my MQTT client gateway up and running - and tried to decode the mqtt topic tree that is sent to the mqtt broker.
EDIT: I have deleted the (wrong) information from this post. Below I have added the correct interpretation in a reply.
I have set the publish prefix to "to", node id and sensor id are set in the sensor sketch
ex. from mqtt.fx subscribing to "to/#"
to/10/4/1/0/16 payload 1/0
Prefix "to", node 10, sensor 4
I have another sensor (id 11) that does not work so well. The radio works but it reports several errors and I have not fund out why yet. But it reports several other mqtt topics that are forwarded to the mqtt broker during boot:
to/11/255/3/0/6 payload "0"
to/11/255/3/0/12 payload "1.0"
to/11/4/0/0/0 no payload
Prefix "to", node 11, sensor 4 and 255
The strange thing is that the binary sensor I have that works, does NOT send any messages to mqtt unless I activate the button. I will investigate later...
So - the question is how to understand the mqtt topic tree - so that my controlling app can subscribe to the right topics.
I have - at least partially answered the questions below...
/th