Page 1 of 1

Domoticz does not update sensor display

Posted: Friday 11 December 2020 15:31
by willem9136
I have a DHT22 sensor. It uses MQTT to talk to Nodered.
Nodered sends topic domoticz/in to Domoticz.
Checked with MQTTOOL the topic to Domoticz and this looks fine.
In Domoticz I created 2 dummy sensors. Temp and Humidity.
From that 2 virtual sensors IDX value xferred into Nodered.
The sensor data comes along every minute and I can see on my MQTT tool it’s in a
good format in the payload of domoticz/in.
When I execute this command line:
HTTP://<ip-domoticz>:8080/json.htm?type=command&param=udevice&idx=11&svalue=123
The sensor display will become updated.

Before this current setup I had things running with Nodered and Domoticz.
So I know where to look for.
Who can tell me how to troubleshoot this problem?

I can supply the screen shots of the various configuration screens.
Let me know what you need to see.

Regards, Willem

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 15:36
by waaren
willem9136 wrote: Friday 11 December 2020 15:31 Let me know what you need to see.
What are the exact JSON strings (everything between { and } nodered sends?
How did you setup MQTT in domoticz?
What are the types / subtypes of the dummy sensors?

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 15:54
by willem9136
{ command: “udevice”, IDX: 11, svalue: “5.5” }

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 16:00
by willem9136
I did nothing in Domoticz to setup MQT.
It worked before with my smart-meter which also used Nodered.
I compared the json string format. Exactly identical.
Type sensor is Dummy
Sensor type Temperature

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 16:02
by willem9136
Is there no way to include screenshots in this thread?

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 16:03
by willem9136
Sorry, I see how to,do,that....

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 16:11
by willem9136
I live in Holland as well. If you have TeamViewer you can have a look into the system.

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 16:40
by waaren
willem9136 wrote: Friday 11 December 2020 15:54 { command: “udevice”, IDX: 11, svalue: “5.5” }
I need MQTT hardware module active in domoticz
MQTT.png
MQTT.png (123.23 KiB) Viewed 1185 times
and I need to send
{"idx": 11, "svalue": "5.5" }

to get it to work (case and quotes matter) and "udevice" is default

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 17:02
by willem9136
Where can I find this screen in Domoticz? Never seen before.

Re: Domoticz does not update sensor display

Posted: Friday 11 December 2020 17:12
by willem9136
Works!

Thank a lot!