I have a mqtt gateway running on arduino from mysensors library. I also have an openhab controller running on a raspberry pi connected to the arduino uno through the ethernet shield. I am trying to create my first item on openhab and I understand that the format required is
MyMQTT/20/0/V_TEMP where 20 and 0 are node id and sensor id respectively.
I can see following message on the serial monitor
0;0;3;0;9;read: 20-20-0 s=1,c=1,t=16,pt=0,l=1:1
- How do I configure the node id and the sensor id?
- Is it assigned automatically or do I assign it statically?
- How do I understand the above output on the serial monitor?