JSON not recognized
Posted: Monday 14 December 2020 8:54
By using NodeRed I can send an MQTT message to topic domoticz/in to update the Temperature meter.
I wrote a Python script which transmits exactly the same message with a dummy value (444) in order to recognize it.
The problem is that this message does not update the meter.
For preventing a timing conflict I delayed the transmission of the test message by 5 seconds.
So first the message from Nodered comes in and after 5 seconds the test message comes in.
With a MQTT tool I logged the MQTT trafic.
See the attachement for the catch of the 2 MQTT messages.
They look exactly equal.
For some reason the value of 444 is never displayed on the meter.
Who can tell me why?
I wrote a Python script which transmits exactly the same message with a dummy value (444) in order to recognize it.
The problem is that this message does not update the meter.
For preventing a timing conflict I delayed the transmission of the test message by 5 seconds.
So first the message from Nodered comes in and after 5 seconds the test message comes in.
With a MQTT tool I logged the MQTT trafic.
See the attachement for the catch of the 2 MQTT messages.
They look exactly equal.
For some reason the value of 444 is never displayed on the meter.
Who can tell me why?