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
71.54k stars 29.91k forks source link

Velux integration setup failed #124903

Open vltnm opened 2 weeks ago

vltnm commented 2 weeks ago

The problem

Setup velux integration installation fails.

Connection to KLF successfull Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/> pyvlx shows error: Cannot connect: <PyVLXException description="Unable disable house status monitor."

What version of Home Assistant Core has the issue?

core-2024.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

velux

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

Setup via GUI

Anything in the logs that might be useful for us?

2024-08-30 08:28:01.587 DEBUG (MainThread) [pyvlx] Heartbeat __init__
2024-08-30 08:28:01.587 DEBUG (MainThread) [pyvlx] Loadig pyvlx v0.2.21
2024-08-30 08:28:01.614 DEBUG (MainThread) [pyvlx] Connecting to KLF 200
2024-08-30 08:28:05.947 DEBUG (MainThread) [pyvlx] Amount of connections since last HA start: 1
2024-08-30 08:28:05.948 DEBUG (MainThread) [pyvlx] SEND: <FramePasswordEnterRequest password="Tr****"/>
2024-08-30 08:28:05.952 DEBUG (MainThread) [pyvlx] REC: <FramePasswordEnterConfirmation status="PasswordEnterConfirmationStatus.SUCCESSFUL"/>
2024-08-30 08:28:05.954 DEBUG (MainThread) [pyvlx] SEND: <FrameGetVersionRequest/>
2024-08-30 08:28:05.958 DEBUG (MainThread) [pyvlx] REC: <FrameGetVersionConfirmation software_version="0.2.0.0.71.0" hardware_version="6" product="KLF 200"/>
2024-08-30 08:28:05.960 DEBUG (MainThread) [pyvlx] SEND: <FrameGetProtocolVersionRequest/>
2024-08-30 08:28:06.168 DEBUG (MainThread) [pyvlx] REC: <FrameGetProtocolVersionConfirmation version="3.14"/>
2024-08-30 08:28:06.170 DEBUG (MainThread) [pyvlx] Connected to: <DtoVersion softwareversion="0.2.0.0.71.0" hardwareversion="6" productgroup="14" producttype="3"/>,  <DtoProtocolVersion majorversion="3" minorversion="14"/>
2024-08-30 08:28:06.170 DEBUG (MainThread) [pyvlx] SEND: <FrameHouseStatusMonitorDisableRequest/>
2024-08-30 08:28:06.378 DEBUG (MainThread) [pyvlx] REC: <FrameErrorNotification error_type="ErrorType.UnknownCommand"/>
2024-08-30 08:28:16.172 DEBUG (MainThread) [homeassistant.components.velux] Cannot connect: <PyVLXException description="Unable disable house status monitor." />

Additional information

No response

home-assistant[bot] commented 2 weeks ago

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

Code owner commands Code owners of `velux` 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 velux` 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)


velux documentation velux source (message by IssueLinks)

vltnm commented 1 week ago

You have to connect to the wlan access point with another device. Then you are able to connect the integration. It’s a little bit strange, but this is how I got the integration working. After this and the reboot automation everything works as expected.