You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
hello
I'm coming from Tasmota developer team as user @titou4307 as reported us that the DS18x20 temperature sensor is not reported in Gladys (arendst/Tasmota#16304 (reply in thread))
Tasmota is publishing on tele/nameofdevice/SENSOR the following payload:
It seems that it expect the JSON for SENSOR to have a StatusSNS key which is wrong. The SENSOR message is exactly as abobe. StatusSNS is included on the response of Status 8 and Status 10commands
Install Tasmota on an ESP device and configure it to work in Gladys & MQTT environment
Configure a DS18x20 in Tasmota
Expected behavior
As Tasmota is properly reporting the SENSOR message with a temperature sensor, the temperature should be reported in Gladys whatever is the sensor used.
Screenshots
Your Gladys installation (please complete the following information):
@titou4307please describe your Gladys installation
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered:
Hardware : Pi4 8Go raspi os 64bit
Software : raspi os 64bit with docker and portainer
The solution home assistant is Gladys Assistant under a container docker
For to integrate MQTT péripherals it use mosquito MQTT Eclipse installed by Gladys directly (it create a new container (the broker)
I'm trying to connect a sonoff TH Origin THR320 with sensor DS18x20
I have flashed this sonoff with tasmota with the online tools tasmota
So after this the tasmota THR320 will communicate to Gladys (discover and the relay) but the sensor DS18x20 not appears....
In the client MQTT Explorer the message come into the broker but it seems not to Gladys...
Describe the bug
hello
I'm coming from Tasmota developer team as user @titou4307 as reported us that the DS18x20 temperature sensor is not reported in Gladys (arendst/Tasmota#16304 (reply in thread))
Tasmota is publishing on
tele/nameofdevice/SENSOR
the following payload:I've looked at the code briefly and I feel that Gladys has 2 issues:
Gladys/server/services/tasmota/lib/features/temperature.js
Line 9 in ce21420
StatusSNS
key which is wrong. The SENSOR message is exactly as abobe.StatusSNS
is included on the response ofStatus 8
andStatus 10
commandsGladys/server/services/tasmota/lib/mqtt/tasmota.mqtt.handleMessage.js
Lines 17 to 19 in ce21420
To Reproduce
Expected behavior
As Tasmota is properly reporting the SENSOR message with a temperature sensor, the temperature should be reported in Gladys whatever is the sensor used.
Screenshots
Your Gladys installation (please complete the following information):
@titou4307please describe your Gladys installation
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: