Reading KNX message from bus after reconnect / x minutes after last telegram was received #15117
Labels
feature request
Requests for new plugin and for new features to existing plugins
help wanted
Request for community participation, code, contribution
size/l
1 week or more effort
Use Case
Some KNX telegrams are written to the bus in intervals, others are not (you have to send a read request) or just when their value changes. Same values change very rarely for example summer/winter state for heating (maybe only 2 times per year).
After reconnect some values could have been changed during the connection was offline.
Expected behavior
A solution could be how it is done in Home Assistant by adding an option called "sync_state"
Since the KNX Bus has a limited bandwidth its not a good idea send a read request for all groupaddresses at the same time.
Maybe this can be solved by reading them at different (random) seconds.
Lets say you want to read 100 values every 60minutes. The solution could be not reading them all at exactly 60min and 0 seconds but instead reading them at random seconds.
The same after reconnect. Maybe using the first 30 or 60seconds for reading all data that telegrams/second on the KNX Bus doesnt get too high. If its too high and the bus is "full" KNX devices only try to send 3 times and if thats not possible (because the bus is "full" ) they give up and you dont get an answer.
Actual behavior
see "use case"
Additional info
No response
The text was updated successfully, but these errors were encountered: