Scenario:
Creating a group of temperature sensors, as an “average”-group. One of the sensors run out of battery and stops reporting. The sensor will affect the group average wrongly.
Suggestion:
Add “max_age” as a parameter for the sensor groups, making the group ignore sensors that has not “last_updated” for e.g 1 hour.
Currently using two different - Zigbee2MQTT and Netatmo. Neither of them seem to do that. Will expand with Z-Wave and 433 MHz devices later, but I don’t expect those integrations will do that either?
So since your suggestion isn’t implemented in the integrations, do you have another suggestion on how to best approach this problem? Ignoring them was my best idea…
Thanks, I’ll play around a bit with the availability-setting. It’s at default now (25 hours), but I can’t remember seeing “dead” sensors become unavailable, but might just have missed it (it’s months between each time it happens, so I might very well have missed it).
But that solves just 1/4 of the sensors.
Should I make suggestion for similar functionality in the 3 other integrations too?
It depends on what the integrations are. If they are MQTT based integrations, that’s up to whoever set up the discovery information because the MQTT integration can handle it.
Netatmo has a very complicated availability logic and the hardware determines how the availability behaves.