Hello all.
I have problem with combination DS18b20 and Domoticz MQTT.
Domoticz log tell, Error: MQTT Kasvi: MQTT: Invalid data received!
I have other unit with DHT11 and that working.
I take log from node red and messages have failure, "{"idx":89,"RSSI":10,"nvalue":0,"svalue":28.94}" , this string is wrong, right message must be "{"idx":89,"RSSI":6,"nvalue":0,"svalue":"28.94"}"
How I can solve this, bug?
My unit data.
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support
Git Build:⋄ pygit2_not_installed
Plugin Count:⋄ 47 [Normal]
Build Origin: GitHub Actions
Build Time:⋄ Jun 15 2021 10:24:29
Binary Filename:⋄ ESP_Easy_mega_20210615_normal_ESP8266_1M
Build Platform:⋄ Linux-5.4.0-54-generic-x86_64-with-glibc2.29
Git HEAD:⋄ pygit2_not_installed
DS18b20 Domoticz and MQTT
Moderators: grovkillen, Stuntteam, TD-er
Re: DS18b20 Domoticz and MQTT
Ah, I get it, the "svalue" is supposed to be a string, but since its value is a numerical value it will drop the quotes.
I can imagine the difference between those is that the DHT11 does send 2 values, while the Dallas only sends one.
So when it is converted to JSON, it figures it has a value which can be considered a numerical and thus does not need quotes.
I will make a fix for it.
I can imagine the difference between those is that the DHT11 does send 2 values, while the Dallas only sends one.
So when it is converted to JSON, it figures it has a value which can be considered a numerical and thus does not need quotes.
I will make a fix for it.
Re: DS18b20 Domoticz and MQTT
Thanks, I was old firmware. Unit working new one.
Who is online
Users browsing this forum: No registered users and 43 guests