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
Sometimes KNX devices fail or their connection get lost due to environmental issues. e.g. weather station, animals, ... or are badly designed and gets stuck. In these cases no more WriteTelegrams wether value-changed-triggered or cyclic will be received.
For now the sensor entity state will stay on its last value forever or at least till a HA restart when it gets "unknown" due to a failing initial read.
I would like to see a "watchdog" or "timeout" config option to set a duration in which a telegram needs to get received otherwise the entity state will change to "unavailable".
This state change could then be used to trigger problem notifications or bring systems in fail-safe-modes.
I think the code to implement the feature is pretty the same like in the sync_state: expire function.
There is also a timer listening to the WriteTelegrams and in case fires the ReadTelegram.
Like to here your response on this idea.
Lg shurli
The text was updated successfully, but these errors were encountered:
shurli
changed the title
Add watchdog to set sensor value to unavailable on missing telegrams
Add watchdog to set sensor state to unavailable on missing telegrams
Nov 19, 2024
Hi @farmio,
This is a feature suggest.
Sometimes KNX devices fail or their connection get lost due to environmental issues. e.g. weather station, animals, ... or are badly designed and gets stuck. In these cases no more WriteTelegrams wether value-changed-triggered or cyclic will be received.
For now the sensor entity state will stay on its last value forever or at least till a HA restart when it gets "unknown" due to a failing initial read.
I would like to see a "watchdog" or "timeout" config option to set a duration in which a telegram needs to get received otherwise the entity state will change to "unavailable".
This state change could then be used to trigger problem notifications or bring systems in fail-safe-modes.
I think the code to implement the feature is pretty the same like in the sync_state: expire function.
There is also a timer listening to the WriteTelegrams and in case fires the ReadTelegram.
Like to here your response on this idea.
Lg shurli
The text was updated successfully, but these errors were encountered: