No temperature sensor readings

Hello,
Grâce à un copain sur le forum j’ai pu récupérer un capteur Sonoff sur Domadoo !
Je l’ajoute à z2m puis Gladys, Gladys récupère des températures etc
Jusqu’à là tout est cool :smiley:

The room device box displays the last known value, regardless of its « freshness ».
The room temperature box displays the last known value only if it is less than 1 hour old.
Can you check in the database or in your graph the time of the last measurement?
You can force a value to be sent on some devices with a short click.
Otherwise, reboot.
Otherwise, we would need the logs from the Zigbee container.

Hello @cicoub13 !

For the logs I didn’t think of z2m (which is logical ^^)

docker logs gladys-z2m-zigbee2mqtt 2\u003e\u00261 | grep 0x00124b002514df4c
Zigbee2MQTT:info  2022-08-19 21:56:25: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{\"data\":{\"friendly_name\":\"Température 1\",\"ieee_address\":\"0x00124b002514df4c\"},\"type\":\"device_announce\"}'
Zigbee2MQTT:info  2022-08-21 08:37:03: Température 1 (0x00124b002514df4c): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:error 2022-08-21 23:16:04: Configure failed: Error: Bind 0x00124b002514df4c/1 msTemperatureMeasurement from '0x00124b0024c2d3b5/1' failed (AREQ - ZDO - bindRsp after 10000ms)

Well I suppose that’s the problem but what does this error mean ^^’

I put the sensor back in and it’s back to normal :slight_smile:
We’ll see how long it lasts :slight_smile:

I think there’s still an issue with the temperature box @cicoub13 @VonOx @pierre-gilles

What do you think:

It’s rounded to the nearest whole unit in the code.

I think we could keep one decimal place :thinking:

1 Like

I have the same problem with two temperature sensors.
But also with door/window sensors where I no longer receive any information in the Zigbee interface.
I removed the battery for 24 hours and after putting the battery back I was able to reconnect them.
I will do the same with the temperature sensor.

The rounding was intentional, I don’t know if it’s useful when displaying an average temperature value for a room to show the value to the decimal place (I find it looks nicer that way!)

That can be changed if it’s a request shared by many :slight_smile:

I’d be interested in having at least half a degree.
21° is a bit low, 22° a bit too high :wink:
And for the heating, ‹ less than 21° › drops to 20 before it turns on and ‹ more than 21° › turns off at 22. The range is too wide!

1 Like

I also think we need to be precise.
I would even be up for 2 decimal places, but indeed it’s less aesthetic.

I think that 1 decimal place would satisfy the most people :ok_hand:

2 Likes

Scenes work with the exact values. We’re talking about the display in the box here
image

Why not have an option in the box to satisfy those who want precision and those who want rounded values?

1 Like

Indeed, I messed up!
However, if one day we plan a trigger ‹ If the room temperature… › (for heating) we’ll need

Haha I’m laughing

Why not one more decimal place :slight_smile:

As for the option, I’m not a fan of it at all, especially for this kind of detail — we’re not Microsoft ^^ We can just add the decimal and that’ll be fine!

1 Like

If everyone is okay
image

4 Likes

Hello :slight_smile:

Just to understand the argument, we’re not Microsoft — what do you mean by that? ^^

Because when it comes to that kind of useless option, we still have an « example » service hanging around on the « prod » image that we can disable or enable :stuck_out_tongue:

I’m fine with precision down to the comma as well :slight_smile:

When you implement an interface there are several philosophies when you encounter « dilemmas » (should this button be red or blue? should it…?):

  • Either you make a choice (as a designer), and you decide. You thus get a product that has a certain opinion, which doesn’t necessarily please everyone but which is coherent as a whole. It’s an approach you find at Apple, Elementary OS (the Linux distribution), WordPress, etc..

I’ll put a quote from the WordPress site that is interesting:

  • Or you don’t want to make a choice and you add an option in your software’s settings so that everyone can find what suits them. I mentioned Microsoft because they’re generally more on that side (not always).

For my part I’m more into option 1 with Gladys 4; of course it has to be done in a balanced way (settings are not forbidden), but I think it’s up to the interface designer to make choices, and not for the end user to suffer from a lack of inspiration from the designer/the designer who doesn’t want to take risks :slight_smile:

Anyway, in this case, I’m perfectly fine with adding a decimal!

1 Like

Thanks @VonOx for the PR, I merged the decimal addition, it will be included in the next version of Gladys :slight_smile:

4 Likes