KNX Integration restart causes all lights to switch on!

Hi. I use Home assistant with KNX as my home automation setup. Whenever my KNX integration restarts due to a power outage or enabling the integration again after disabling it, all my lights switch on for some reason. This is very annoying as this could happen in the middle of the night in India where I am from.

Can someone help me to figure how to setup home assistant / knx integration to remember the state of the lights after a KNX integration restart and keep them at that? In my opinion this should be a default as I don’t see a case where it would be beneficial to switch all the lights on after a restart.

Hi :wave:!

The Knx integration reads values of all *_state_addresses from the bus (GroupValueRead) when initializing. It seems some device is responding invalid to these requests, and your actuators (wrongly) react to those requests.

TLDR: It’s an ETS issue.

Could also be an automation you made that renders as true when you startup.
Do you have any automations that switch on all lights for alarm or something else?

Other then that only the state_address gets read at startup like farmio said

Hi Charles… No I dont have any such Automation.

Hi Matthias,

I’m a beginner at Home assistant and KNX. Could you guide me how to diagnose this in ETS or Home Assistant?

Thank you for your reply.

Open the ETS group monitor, connect, and read the GA you used as state_address for your light. Look at the responses - there should only be one response telegram, and it shouldn’t trigger any actions for your light.

If this works as expected, try the same with the other *_state_address-es.

…or just run the monitor and restart HA - you can see what telegram turns on your light eventually. Could be some kind of scene GA too.