Support for Velbus Home Automation

I have removed the complete Velbus integration. Performed a reboot of the complete installation. Installing the Velbus integration in the UI. After scan, Velbus integration found 12 of the 22 devices. It is not usable at the moment.

Line 96: File /usr/src/homeassistant/homeassistant/components/velbus/config_flow.py, line 61, in async_step_user
Line 98: File /usr/src/homeassistant/homeassistant/components/velbus/config_flow.py, line 41, in _test_connection
Line 100: File /usr/local/lib/python3.9/site-packages/velbusaio/controller.py, line 151, in connect
Line 112: 2021-10-11 16:33:49 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform velbus is taking over 10 seconds.
Line 113: 2021-10-11 16:33:49 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform velbus is taking over 10 seconds.
Line 114: 2021-10-11 16:33:49 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform velbus is taking over 10 seconds.
Line 115: 2021-10-11 16:33:49 WARNING (MainThread) [homeassistant.components.cover] Setup of cover platform velbus is taking over 10 seconds.
Line 116: 2021-10-11 16:33:49 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform velbus is taking over 10 seconds.
Line 117: 2021-10-11 16:33:49 WARNING (MainThread) [homeassistant.components.light] Setup of light platform velbus is taking over 10 seconds.
Line 118: 2021-10-11 16:34:39 ERROR (MainThread) [homeassistant.components.switch] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
Line 119: 2021-10-11 16:34:39 ERROR (MainThread) [homeassistant.components.sensor] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
Line 120: 2021-10-11 16:34:39 ERROR (MainThread) [homeassistant.components.binary_sensor] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
Line 121: 2021-10-11 16:34:39 ERROR (MainThread) [homeassistant.components.cover] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
Line 122: 2021-10-11 16:34:39 ERROR (MainThread) [homeassistant.components.climate] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
Line 123: 2021-10-11 16:34:39 ERROR (MainThread) [homeassistant.components.light] Setup of platform velbus is taking longer than 60 seconds. Startup will proceed without waiting any longer.
Line 126: 2021-10-11 16:40:09 ERROR (MainThread) [velbus] Not all modules are loaded within a timeout of 600 seconds, continuing with the loaded modules

Did you clear the Velbuscache folder inbetween removing the integration and rebooting and adding it again? This helped my installation as well as it forced to read out all devices again. Before I did this I also didn’t get correct readouts of device and entities names that changed in the meantime.

Folder was empty

Ok then i guess all eyes are on @Cereal2nd.

i deleted the cache:

after reboot it took 10 minutes to build this cache:
image

i tested some of the switches and earlier mentioned issues remain

Hey yvesfouquet4,
I’m new to Homeassistent and have the same issues with a new installation and Velbus.
Before i ended up here because i was looking in the direction of a installation issues since i"m new :slight_smile:
I try the follow steps without any luck on my raspberry pi homeassitent installation
Install velbus integration
Connected rasberry directly to the usb , serial module
Installation looks good all modules are found but when using the toggles 2 or more times things get acting wierd. Toggle issues…
Delete velbus and reinstall
But use a tcp/ip connection instead off directly conntect with usb .
Same issues . Toggles not updating responding , …
I also see the error coming up in the log files with 60 sec timeout when using tcp/ip.

So don’t know if this helps you with your search for a solution but fresh installation same issues is the bottom line :slight_smile:
Kind regards
Bert

we are working on a fix:

1 Like

Hey Bert, thanks for confirming the issues and i was going to reply to just wait for cereal to come with a fix but he already replied :slight_smile:

if people that are having problems are willing to help test this out it would be great.

Hey Cereal2nd ,

I’m always willing to test it out .
But i’m very new in the world of Home Assistent it can take a while before i figure things out
And might need some help if i can’t wrap my head around it .

Greetz Bert

Does this also include the thermostat fix?

no, that fix is not ready

Hey Cereal2nd ,

Ok some noob questions sorry.
Can you point me a little in the right direction on how to test the Fix ?
Where do i run the installation ,terminal in Homeassistent ?
If yes than i’m stuck on step 3 no phyton.

Thx

1 Like

Same issue like Bert, willing to help but my knowledge to do what you asked is limited :slight_smile:

1 Like

drop me a pm with your email adress and we will setup a debug session out of this thread

1 Like

I like to help you also, but I need some explination how to install it on my Raspberry Pi 4.

1 Like

I installed the “develop-installation” and started “python examples/load_modules.py”, for now it seems that all my Velbus devices have been scanned without errors. When I activate switches it seems to be fine. The “VMB1TS - Temperature sensor” also updates the temperature.

Error after 600 seconds:

i thought it worked :disappointed_relieved:

Just below that error message is a list printed

These are all the discoverd modules. Check what modules are missing or what modules have loaded=false

And let me know :slight_smile:

Since there is no log file, I am sending you 4 screenshots, the first is a “VelbusLink” recording of my Velbus configuration, the others are the modules found or not. Do you also need the files in the .velbuscache directory? You know better than me how to interpret this. :slightly_smiling_face: