home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.33k stars 30.27k forks source link

KNX lights/switches not turning off, covers not opening #124412

Open bcolyn opened 1 month ago

bcolyn commented 1 month ago

The problem

KNX lights are not turning off. The lights are marked "off" in the HA state, but they do not turn off.

Turning the lights off via ETS or via KNX hardware switches works. This does not seem to be a hardware issue.

Turning the lights on from HA works instantly, bus communication seems fine.

Launching GroupValueReads via ETS makes HA aware of the real state again, but still won't turn off the lights.

As seen in ETS the messages HA writes onto the KNX bus have the value "on", even when turning the light off in the HA UI.

Switches and Covers are also affected (Covers always send "Down" and Switches always send "on")

The issue seems to occur suddenly, the upgrade to 2024.8.2 happened a couple of days ago

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

core-2024.7.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

KNX

Link to integration documentation on our website

https://www.home-assistant.io/integrations/knx/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @julius2342, @farmio, @marvin-w, mind taking a look at this issue as it has been labeled with an integration (knx) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `knx` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign knx` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


knx documentation knx source (message by IssueLinks)

bcolyn commented 1 month ago

Update: the issue seems to be intermittent, everything works again for the moment and all I did was increase the telegram history limit for the group monitor, I had previously restarted HA, HaOS, and reloaded the integration to no succes.

farmio commented 1 month ago

Hi 👋!

As seen in ETS the messages HA writes onto the KNX bus have the value "on", even when turning the light off in the HA UI.

Please share your configuration of affected entity and an ETS group monitor screenshot (and maybe some infos about your actuator / configuration). Turning off lights works just fine on my system, and I haven't seen any similar reports yet.

Switches and Covers are also affected (Covers always send "Down" and Switches always send "on")

Same for this.

jamel-86 commented 1 month ago

If you have specifically added state_address for your your switches in you HA configuration, HA will need to read those states from the KNX bus after boot in order to be synced, this can sometimes take some time if the project is large, and also requires correct configuration of all the status address on the KNX actuators.