#MQTT battery sensor keeps going to `unavailable`

1 messages · Page 1 of 1 (latest)

fast sand
#

Hi everyone,
I have a bunch of TRVs that only report the battery state as GOOD or LOW.
I set the expire duration to 4200 s and the update frequency of the sensor to 3500 s. So in theory the sensor should always be available.

However, as you can see here, the sensors all become unavailable regularly and remain so for the duration of the update frequency, i.e. becomes available again after 3500 s.

Does anybody know why this is happening? Is it possible that this is a bug where the constant value is not considered when checking wxpirqtion period?
I.e. if the battery is Good and is reported as GOOD again, the system thinks that there is no sensor update and the expiration timer starts counting.

It seems like it to me but maybe someone actually knows or can see the issue in the code?

Thank you
Alex

dense mist
#

I think, in #1284966617670881350 with the "Zigbee" tag you might have a better chance to get a good answer to that.

#

I would suggest to move it there (post it again).