You are right.
So I changed the following:
And I think this is working well.
Now the gauges are showing the Right value every time.
Cool THX a lot.
But when I connect another Sensor with the same Nodes and customized code I got an other Error and the new gauges are showing 0
"TypeError: Cannot read property 'hasOwnProperty' of undefined"
Is it necessary to connect the 2nd switch to another Mqtt in Node or JSON node ?
Is it necessary to connect the 2nd switch to another Mqtt in Node or JSON node ?
No.
How are your debug nodes configured ? Set them to "complete msg object".
What data arrives at the switch node that you get an error ?
{"topic":"tele/tasmota_zigbee-1/SENSOR","payload":{"ZbReceived":{"ZTempWohnzimmer":{"Device":"0x1EA1","Name":"ZTempWohnzimmer","Temperature":24.39,"Endpoint":1,"LinkQuality":63}}},"qos":0,"retain":false,"_topic":"tele/tasmota_zigbee-1/SENSOR","_msgid":"518495d1.38e3cc"}
You need an additional switch-node
after mqtt-in/json to select your device.
You are only showing a single message, while you receive multiple. And this is a different device.
I got everything working with the hint of an additional switch-node.
Perfect THX a lot to all who thought about my problem.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.