NODE RED: all kind of data but not from my Sonoff Pow R2
Posted: Sunday 07 June 2020 16:15
I've Tasmota 8.1 @ Sonoff Pow R2 Module and the Power consumption is displayed in Domoticz and every 5 mins its getting updated.
In NODE RED I'm using a MQTT IN and a JSON component. I see all kinds of messages so it seems to me that's working correctly but I don't get any kind of data from my POW R2 module. What am I doing wrong?
Hereby my flow:
[{"id":"ad00fca7.41c0e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"ff73dc4a.5fb7","type":"mqtt in","z":"ad00fca7.41c0e","name":"","topic":"domoticz/out","qos":"2","datatype":"auto","broker":"3c5917e0.0d92d8","x":210,"y":300,"wires":[["ffa27d5b.a346e"]]},{"id":"ffa27d5b.a346e","type":"json","z":"ad00fca7.41c0e","name":"","property":"payload","action":"","pretty":false,"x":410,"y":300,"wires":[["4f849e9f.5afb1"]]},{"id":"4f849e9f.5afb1","type":"switch","z":"ad00fca7.41c0e","name":"Test","property":"payload.idx","propertyType":"msg","rules":[{"t":"eq","v":"102","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":590,"y":300,"wires":[["b90e1212.98459"]]},{"id":"b90e1212.98459","type":"debug","z":"ad00fca7.41c0e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":790,"y":300,"wires":[]},{"id":"3c5917e0.0d92d8","type":"mqtt-broker","z":"","name":"Domotics Master","broker":"192.168.1.232","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
In NODE RED I'm using a MQTT IN and a JSON component. I see all kinds of messages so it seems to me that's working correctly but I don't get any kind of data from my POW R2 module. What am I doing wrong?
Hereby my flow:
[{"id":"ad00fca7.41c0e","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"ff73dc4a.5fb7","type":"mqtt in","z":"ad00fca7.41c0e","name":"","topic":"domoticz/out","qos":"2","datatype":"auto","broker":"3c5917e0.0d92d8","x":210,"y":300,"wires":[["ffa27d5b.a346e"]]},{"id":"ffa27d5b.a346e","type":"json","z":"ad00fca7.41c0e","name":"","property":"payload","action":"","pretty":false,"x":410,"y":300,"wires":[["4f849e9f.5afb1"]]},{"id":"4f849e9f.5afb1","type":"switch","z":"ad00fca7.41c0e","name":"Test","property":"payload.idx","propertyType":"msg","rules":[{"t":"eq","v":"102","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":590,"y":300,"wires":[["b90e1212.98459"]]},{"id":"b90e1212.98459","type":"debug","z":"ad00fca7.41c0e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":790,"y":300,"wires":[]},{"id":"3c5917e0.0d92d8","type":"mqtt-broker","z":"","name":"Domotics Master","broker":"192.168.1.232","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]