Domoticz does not update sensor display Topic is solved

Moderator: leecollings

Post Reply
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Domoticz does not update sensor display

Post 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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Domoticz does not update sensor display

Post 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?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post by willem9136 »

{ command: “udevice”, IDX: 11, svalue: “5.5” }
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post 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
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post by willem9136 »

Is there no way to include screenshots in this thread?
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post by willem9136 »

Sorry, I see how to,do,that....
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post by willem9136 »

I live in Holland as well. If you have TeamViewer you can have a look into the system.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Domoticz does not update sensor display

Post 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 1053 times
and I need to send
{"idx": 11, "svalue": "5.5" }

to get it to work (case and quotes matter) and "udevice" is default
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post by willem9136 »

Where can I find this screen in Domoticz? Never seen before.
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Domoticz does not update sensor display

Post by willem9136 »

Works!

Thank a lot!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest