Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gladys do not parse Tasmota SENSOR message correctly #1590

Closed
barbudor opened this issue Aug 24, 2022 · 3 comments
Closed

Gladys do not parse Tasmota SENSOR message correctly #1590

barbudor opened this issue Aug 24, 2022 · 3 comments

Comments

@barbudor
Copy link

barbudor commented Aug 24, 2022

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:

{"Time":"2022-08-24T19:09:29","DS18B20":{"Id":"3C6404577D30","Temperature":23.5},"ESP32":{"Temperature":46.1},"TempUnit":"C"}

I've looked at the code briefly and I feel that Gladys has 2 issues:

To Reproduce

  1. Install Tasmota on an ESP device and configure it to work in Gladys & MQTT environment
  2. 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

@titou4307
Copy link

Here the copy screen of the Tasmota :

Sans titre 1

My config is :

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...

@titou4307
Copy link

Just for confirm I have another container with Home Assistant
I have add the MQTT broker of Gladys

Just for the fun I have add another sensor DS18x20 at my Sonoff Tasmota (possible after reading doc of tasmota...)

Here the result :

Sans titre 2

It confirm the diagnostic this is Gladys bug

@Pierre-Gilles
Copy link
Contributor

Hi, thanks for your report! This has been fixed in #1570, and I just merged it to master!

It should go live in the next version of Gladys :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants