Closed gurtjun closed 2 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!
(message by CodeOwnersMention)
velbus documentation velbus source (message by IssueLinks)
from what release did you upgrade? how long did you wait? after the startup of hass? The initial loading can be really slow ...
from what release did you upgrade? how long did you wait? after the startup of hass? The initial loading can be really slow ...
We were previously running 2024.7.1 and upgraded last week. Power outage was 2 days and 12 hours ago. The initial loading has always been slow for us. But normally after 5-15 minutes everything should be OK. But yesterday evening we did a restart and this morning the entities were still "unavailable".
can you try the following?
can you try the following?
- remove the integration
- clear the cache dir
- re-add the integration
Removed integration and cleared cache but now we're unable to setup the integration again.
Logger: homeassistant.config_entries
Source: config_entries.py:586
First occurred: 12:08:07 PM (1 occurrences)
Last logged: 12:08:07 PM
Error setting up entry velbus for velbus
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/velbus/__init__.py", line 86, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2059, in async_forward_entry_setups
await self._async_forward_entry_setups_locked(entry, platforms)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2070, in _async_forward_entry_setups_locked
await asyncio.gather(
asyncio.exceptions.CancelledError
Also manually filled in the connection string (/dev/ttyACM0
).
Should we try to restore the backup of 2024.7.1?
can you try the following?
- remove the integration
- clear the cache dir
- re-add the integration
Removed integration and cleared cache but now we're unable to setup the integration again.
Logger: homeassistant.config_entries Source: config_entries.py:586 First occurred: 12:08:07 PM (1 occurrences) Last logged: 12:08:07 PM Error setting up entry velbus for velbus Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/velbus/__init__.py", line 86, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2059, in async_forward_entry_setups await self._async_forward_entry_setups_locked(entry, platforms) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2070, in _async_forward_entry_setups_locked await asyncio.gather( asyncio.exceptions.CancelledError
Also manually filled in the connection string (
/dev/ttyACM0
).Should we try to restore the backup of 2024.7.1?
Should have waited a bit longer... It seems that it found the entities and they are working after removing and re-adding the integration!
can you try the following?
- remove the integration
- clear the cache dir
- re-add the integration
Removed integration and cleared cache but now we're unable to setup the integration again.
Logger: homeassistant.config_entries Source: config_entries.py:586 First occurred: 12:08:07 PM (1 occurrences) Last logged: 12:08:07 PM Error setting up entry velbus for velbus Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/velbus/__init__.py", line 86, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2059, in async_forward_entry_setups await self._async_forward_entry_setups_locked(entry, platforms) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2070, in _async_forward_entry_setups_locked await asyncio.gather( asyncio.exceptions.CancelledError
Also manually filled in the connection string (
/dev/ttyACM0
). Should we try to restore the backup of 2024.7.1?Should have waited a bit longer... It seems that it found the entities and they are working after removing and re-adding the integration!
But after a restart of HASS the integration disappeared 🤔
In the meantime I was able to re-add the integration and everything seems to be working now. Also did the update to 2024.7.3 this morning and it still works.
Closing the issue for now, thanks!
Hi, I'm having the same issue. I moved my homassistant installation from one machine to another one.
Everything works well but the Velbus modules.
If I re-add, I'm scared to loose all my home assistant settings. Did you have the issue or did it recreate everything correctly?
The problem
We're using the Velbus integration in our Home Assistant setup for quite a while now and until last week everything was working flawlessly. After a brief power outage all the Velbus entities became "unavailable" in Home Assistant.
We have two VMB1USB devices connected to our Velbus setup. One connected to a Raspberry Pi (running openHAB) and one connected to a NUC (running Home Assistant). Within openHAB everything is still working. We can also see
/dev/serial/by-id/usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00
(device path/dev/ttyACM0
) connected in Home Assistant.A few minutes after restarting the integration we always see
From what we can see int he logs a connection is established and Home Assistant is constantly receiving data from Velbus itself.
Things we tried so far:
Before removing the integration and adding it from scratch we wanted to check here if someone experienced the same issue before?
What version of Home Assistant Core has the issue?
core-2024.7.2
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
velbus
Link to integration documentation on our website
https://www.home-assistant.io/integrations/velbus/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response