Hello,
I setup the home assistant with the KNX plugin.
In ETS I set a group address for the write and you group address for the read status linked to the feedback of the related channel of actuator as usual. This one has the READ enabled.
I added a few switches and some temperature sensors.
The buttons are working fine, but the state is not updated if I restart the HA server… checking the logs I have many of these:
body="<TunnellingAck communication_channel_id="33" sequence_counter="51" status_code="ErrorCode.E_NO_ERROR" />" />
2021-11-16 14:25:56 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 1/1/3
2021-11-16 14:25:56 WARNING (MainThread) [xknx.log] Could not sync group address '1/1/3' (Bagno sopra luce - State)
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.state_updater] StateUpdater reading 1/1/5 for Bagno sopra doccia - State
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.telegram] <Telegram direction="Outgoing" source_address="0.0.0" destination_address="1/1/5" payload="<GroupValueRead />" />
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.knx] Sending: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="TUNNELLING_REQUEST" Reserve="0" TotalLength="21" />
body="<TunnellingRequest communication_channel_id="33" sequence_counter="52" cemi="<CEMIFrame SourceAddress="IndividualAddress("15.15.11")" DestinationAddress="GroupAddress("1/1/5")" Flags="1011110011100000" payload="<GroupValueRead />" />" />" />
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.raw_socket] Received from ('192.168.18.181', 3671): 06100421000a04213400
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.knx] Received: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="TUNNELLING_ACK" Reserve="0" TotalLength="10" />
body="<TunnellingAck communication_channel_id="33" sequence_counter="52" status_code="ErrorCode.E_NO_ERROR" />" />
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.raw_socket] Received from ('192.168.18.181', 3671): 061004200015042134002e00bce0ff0b0905010000
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.knx] Received: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="TUNNELLING_REQUEST" Reserve="0" TotalLength="21" />
body="<TunnellingRequest communication_channel_id="33" sequence_counter="52" cemi="<CEMIFrame SourceAddress="IndividualAddress("15.15.11")" DestinationAddress="GroupAddress("1/1/5")" Flags="1011110011100000" payload="<GroupValueRead />" />" />" />
2021-11-16 14:25:56 DEBUG (MainThread) [xknx.knx] Sending: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="TUNNELLING_ACK" Reserve="0" TotalLength="10" />
body="<TunnellingAck communication_channel_id="33" sequence_counter="52" status_code="ErrorCode.E_NO_ERROR" />" />
2021-11-16 14:25:57 WARNING (MainThread) [xknx.log] Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 1/1/4
2021-11-16 14:25:57 WARNING (MainThread) [xknx.log] Could not sync group address '1/1/4' (Bagno sopra specchio - State)
2021-11-16 14:25:57 DEBUG (MainThread) [xknx.state_updater] StateUpdater reading 0/1/5 for Bagno luce - State
2021-11-16 14:25:57 DEBUG (MainThread) [xknx.telegram] <Telegram direction="Outgoing" source_address="0.0.0" destination_address="0/1/5" payload="<GroupValueRead />" />
2021-11-16 14:25:57 DEBUG (MainThread) [xknx.knx] Sending: <KNXIPFrame <KNXIPHeader HeaderLength="6" ProtocolVersion="16" KNXIPServiceType="TUNNELLING_REQUEST" Reserve="0" TotalLength="21" />
body="<TunnellingRequest communication_channel_id="33" sequence_counter="53" cemi="<CEMIFrame SourceAddress="IndividualAddress("15.15.11")" DestinationAddress="GroupAddress("0/1/5")" Flags="1011110011100000" payload="<GroupValueRead />" />" />" />
The strange thing is that, if I read the status manually from the ETS diagnostic, the HA starts to see the value of both switches and temperatures! If I restart again HA all buttons are displayed again as switched off.
Any idea?
Thanks.