Hi all
Im having problem in getting a value som node-red into a domoticz humidity dummy device.
I can make it work with all other types of device types, but not the humidity.
Any one that have some experience here.
Is there any specific restrictions for the Humidity device.
Right now i'm using a procenter device, but i dont like the icon for that purpose.
Im at latest stabile at a RPI3
Node-red at the same machine trough MQTT
br
AR
MQTT to write in Humidity device
Moderator: leecollings
- waltervl
- Posts: 5852
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT to write in Humidity device
Check this page, someone checked it all out: https://piandmore.wordpress.com/2019/02 ... -domoticz/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- FireWizard
- Posts: 1892
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: MQTT to write in Humidity device
Hi,
Can you publish the MQTT command you try to send to the virtual humidity sensor in Domoticz?
Regards
Can you publish the MQTT command you try to send to the virtual humidity sensor in Domoticz?
Regards
-
- Posts: 20
- Joined: Thursday 26 October 2017 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT to write in Humidity device
Hi,
Im sending this:
{"command":"udevice","idx":30057,"svalue":0,"nvalue":40}
to topic domoticz/in
and domoticz log: 2021-12-07 19:52:50.495 Error: MQTT: MQTT: Invalid data received!
Im sending this:
{"command":"udevice","idx":30057,"svalue":0,"nvalue":40}
to topic domoticz/in
and domoticz log: 2021-12-07 19:52:50.495 Error: MQTT: MQTT: Invalid data received!
- FireWizard
- Posts: 1892
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: MQTT to write in Humidity device
Hi, @Allras82,
For all commands the svalue should be a string, while the nvalue should be a number.
Change "svalue":0 into "svalue":"0".
Regards
For all commands the svalue should be a string, while the nvalue should be a number.
Change "svalue":0 into "svalue":"0".
Regards
-
- Posts: 20
- Joined: Thursday 26 October 2017 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT to write in Humidity device
Ahhh...
Thanks a lot. That was it
Thanks a lot. That was it
Who is online
Users browsing this forum: No registered users and 1 guest