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.49k stars 30.33k forks source link

Velbus not starting #115859

Closed kristofbriers closed 5 months ago

kristofbriers commented 5 months ago

The problem

Velbus plugin is having trouble starting up after upgrade to 2024.4.3

What version of Home Assistant Core has the issue?

2024.4.3

What was the last working version of Home Assistant Core?

2024.4.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

velbus

Link to integration documentation on our website

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

Diagnostics information

home-assistant_velbus_2024-04-19T18-05-11.372Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-04-19 19:58:57.858 WARNING (MainThread) [velbus] Waiting for module 46
2024-04-19 19:58:57.859 WARNING (MainThread) [velbus] Waiting for module 47
2024-04-19 19:58:57.859 WARNING (MainThread) [velbus] Waiting for module 55
2024-04-19 19:58:57.859 WARNING (MainThread) [velbus] Waiting for module 55
2024-04-19 19:58:57.859 WARNING (MainThread) [velbus] Waiting for module 56
2024-04-19 19:58:57.860 WARNING (MainThread) [velbus] Waiting for module 56
2024-04-19 19:58:57.861 WARNING (MainThread) [velbus] Waiting for module 66
2024-04-19 19:59:11.764 ERROR (MainThread) [homeassistant.components.binary_sensor] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.764 ERROR (MainThread) [homeassistant.components.button] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.765 ERROR (MainThread) [homeassistant.components.climate] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.765 ERROR (MainThread) [homeassistant.components.cover] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.765 ERROR (MainThread) [homeassistant.components.light] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.765 ERROR (MainThread) [homeassistant.components.select] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.766 ERROR (MainThread) [homeassistant.components.sensor] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2024-04-19 19:59:11.766 ERROR (MainThread) [homeassistant.components.switch] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.

Additional information

No response

home-assistant[bot] commented 5 months ago

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

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


velbus documentation velbus source (message by IssueLinks)

Cereal2nd commented 5 months ago

This is normal, after some time it should be finished.

Can take up to 5 minutes the first time.

kristofbriers commented 5 months ago

It does not have this issue with 2024.4.1. And even after a couple of hours all the velbus modules are all grayed out...

Screenshot 2024-04-19 at 21 01 23

(switches,sensors,...) I have switched back and forward between 2024.4.1 and 2024.4.3 but I can't get it working in the latest version

Also, It looks like it can't read all of the modules names anymore..

image
Cereal2nd commented 5 months ago

Can you get me a diagnostics download?

On Fri, 19 Apr 2024, 20:58 kristofbriers, @.***> wrote:

It does not have this issue with 2024.4.1. And even after a couple of hours all the velbus modules(switches,sensors,...) are all grayed out...

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/115859#issuecomment-2067127439, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4LF4OTXQ3TLICTOE5Y5F3Y6FSNJAVCNFSM6AAAAABGPTYRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGEZDONBTHE . You are receiving this because you were mentioned.Message ID: @.***>

kristofbriers commented 5 months ago

Can you get me a diagnostics download? On Fri, 19 Apr 2024, 20:58 kristofbriers, @.> wrote: It does not have this issue with 2024.4.1. And even after a couple of hours all the velbus modules(switches,sensors,...) are all grayed out... — Reply to this email directly, view it on GitHub <#115859 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4LF4OTXQ3TLICTOE5Y5F3Y6FSNJAVCNFSM6AAAAABGPTYRYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGEZDONBTHE . You are receiving this because you were mentioned.Message ID: @.>

I created a empty test homeassistent VM and have the same issue when I only added velbus: Here is the diagnostics file: config_entry-velbus-d81a80ea7878a6e8c4623433520f35ae.json

kristofbriers commented 5 months ago

Issue is the same in version 2024.4.4. It takes 20times longer to start velbus and can't find all the module names correctly.

Cereal2nd commented 5 months ago

in the logs i see this:

afbeelding

so it looks like the connection is aborted during setup

Cereal2nd commented 5 months ago

Issue is the same in version 2024.4.4. It takes 20times longer to start velbus and can't find all the module names correctly.

can you get me the hass logfile and the diagnostics dump?

kristofbriers commented 5 months ago

I use velserv on a raspberry pi to connect. to velbus Can it have something to do with that? Strange thing is it keeps working on 2024.4.1...

kristofbriers commented 5 months ago

Sure, here are the log files home-assistant_2024-04-24T09-53-33.355Z.log home-assistant_velbus_2024-04-24T10-06-52.501Z.log

kristofbriers commented 5 months ago

I think I got it working! I was still using https://github.com/jeroends/velserv as tcp bridge I'm now using https://github.com/velbus/velbus-tcp-snap and it works like a charm!

I will continue testing it... @Cereal2nd Thanks for the tip on the velbus connection error!

Cereal2nd commented 5 months ago

perfect, we can close this one then?