Homeassistant - KNX bus did not respond in time

Hello everyone,

For some time now, I have had the problem that the KNX bus apparently no longer returns the current status to various devices.
As soon as I control a light, a socket … no matter which KNX device, I only rarely receive a status update in the Home Assistant.
Even if I control the device via a button.
In the meantime, I have imported an older backup where I was sure that everything worked smoothly.
I restarted the KNX central unit. I have “rebooted” the actuators.
I just don’t know what to do.
The homeassistant log says something about:

Logger: xknx.log
Source: runner.py:190
First occurrence: 21:33:35 (566 occurrences)
Last logged: 21:57:40

Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 1/3/141
Could not sync group address '1/3/141' (Spot Balkon Flur - State)
This is “An error” which extends across the group addresses.

Anotherone is:

Logger: xknx.log
Quelle: runner.py:190
Erstmals aufgetreten: 21:33:35 (690 Vorkommnisse)
Zuletzt protokolliert: 22:11:57

Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 1/3/141
Could not sync group address '1/3/141' (Spot Balkon Flur - State)
Can not process <Telegram direction="Incoming" source_address="1.1.29" destination_address="1/3/153" payload="<GroupValueResponse value="<DPTBinary value="0" />" />" data="Switch.OFF (DPTSwitch)" /> for Spot Balkon Schlafzimmer - Brightness: <CouldNotParseTelegram description="Payload invalid" payload="<DPTBinary value="0" />"/>
Error: KNX bus did not respond in time (2.0 secs) to GroupValueRead request for: 1/3/151
Could not sync group address '1/3/151' (Spot Balkon Schlafzimmer - State)

Does anyone here have experience with this error or similar problems?

Many thanks for your help.

Hi :wave:!
Please wrap your logs in code blocks, so parts of it don’t get swallowed by the formatter.
See How to help us help you - or How to ask a good question

This means something (1.1.29) is sending a DPT 1 payload for the GA you configured as brightness. Either your yaml configuration, or ETS GA assignment is wrong here.

The other error may be caused by missing read-flags or, most likely, line couplers or routers with inaccurate filter tables.
Maybe share a screenshot of your topology including the interface HA is using.

Hi @farmio

thank you for this hint “How to write a goodd post”
I corrected my post above :slight_smile:
And in the future i will take care !

The Inteface iam using to connect from the Homeassistant to the KNX devices is the KNX integration on the homeassistant and a Basalte Mini Core.

This is what i have configured within the “knx.yaml”

  - name: "Spot Balkon Flur"
    address: "1/3/140"
    state_address: "1/3/141"
    brightness_address: "1/3/142"
    brightness_state_address: "1/3/143"

This is what was configured within the "ETS Project " by the electrican

How can i find out the point you brought up “read-flags or, most likely, line couplers or routers with inaccurate filter tables”
I could get access to the ets tool by the electrican if needded.

Yes, those things are all done in ETS.
What individual address and connection type is HA using? (There are entities showing this in the “knx interface” Device).

I did select the KNX Connection type “Automatic” while configuration and it selected “Tunnel TCP” Pysical Adress is 1.1.211

1/3/153 isn’t included in your example configuration. It’s “Spot Balkon Schlafzimmer - Brightness”.

The connection looks fine - everything seems to be on line 1.1 so there should be no routers or line couplers involved.

Do you see any “GroupValueResponse” telegrams with the GAs listed in your logs in your GroupMonitor? If so, how much time passed between the read and response?

 - name: "Spot Balkon Schlafzimmer"
    address: "1/3/150"
    state_address: "1/3/151"
    brightness_address: "1/3/152"
    brightness_state_address: "1/3/153"

I checked the Group Monitor and also got response.
I turned on the light and also dimmed it as you can see it and turned it off.
Where can i see the exact timing ?

I got this informations regarding the configuration in ets:



After triggering that i checked the homeassistant log and got warning regarding Telegram messages:

Logger: xknx.log
Quelle: runner.py:190
Erstmals aufgetreten: 19. August 2024 um 21:33:35 (2647 Vorkommnisse)
Zuletzt protokolliert: 14:28:52

Can not process <Telegram direction="Incoming" source_address="1.1.21" destination_address="1/2/43" payload="<GroupValueWrite value="<DPTBinary value="0" />" />" data="Switch.OFF (DPTSwitch)" /> for Hauswirtschaft - Brightness: <CouldNotParseTelegram description="Payload invalid" payload="<DPTBinary value="0" />"/>
Can not process <Telegram direction="Incoming" source_address="1.1.10" destination_address="1/2/73" payload="<GroupValueWrite value="<DPTBinary value="0" />" />" data="Switch.OFF (DPTSwitch)" /> for Licht Spiegel Gäste WC - Brightness: <CouldNotParseTelegram description="Payload invalid" payload="<DPTBinary value="0" />"/>
Can not process <Telegram direction="Incoming" source_address="1.1.21" destination_address="1/2/53" payload="<GroupValueWrite value="<DPTBinary value="0" />" />" data="Switch.OFF (DPTSwitch)" /> for Licht Gäste WC - Brightness: <CouldNotParseTelegram description="Payload invalid" payload="<DPTBinary value="0" />"/>
Can not process <Telegram direction="Incoming" source_address="1.1.29" destination_address="1/3/153" payload="<GroupValueWrite value="<DPTBinary value="1" />" />" data="Switch.ON (DPTSwitch)" /> for Spot Balkon Schlafzimmer - Brightness: <CouldNotParseTelegram description="Payload invalid" payload="<DPTBinary value="1" />"/>
Can not process <Telegram direction="Incoming" source_address="1.1.29" destination_address="1/3/153" payload="<GroupValueWrite value="<DPTBinary value="0" />" />" data="Switch.OFF (DPTSwitch)" /> for Spot Balkon Schlafzimmer - Brightness: <CouldNotParseTelegram description="Payload invalid" payload="<DPTBinary value="0" />"/>

Both state addresses are using the wrong GA. Look at the DPT.

so based on what i understood now it should look like this:

  - name: "Spot Balkon Schlafzimmer"
      address: "1/3/150"  # Switching On/Off (E/A)
      state_address: "1/3/153"  # State Feedback (Schalten RM)
      brightness_address: "1/3/152"  # Dimming percentage (Wert %)
      brightness_state_address: "1/3/154"  # Brightness Feedback (Wert RM)

Yes, that looks right :+1:

thank you for your help !

One last question
if you compare two lights in the ets config like in the screenshot below:
You see Brightness Feedback is defined different via the ets config with an other DPT value… why it is configured like that and do i have to build the config different ?

Do you mean 1/2/74 ? That is probably a mistake in ETS. Brightness can’t be binary (DPT 1) - it should be percent (DPT 5.001).

okay i will double check within the ets config thank you for this hint.
I appreciate something like that very much.

Br

Ben