Support for Velbus Home Automation

Hi everyone,

I wanted to do the below automation; but what is the best way to send a direct % to a VMB4DC? The “automation” part only allows dim up or down but does not specify a percentage

In essence - I want to set the DIM value to 100% during the day and to 20% during the night - based on the VMBPIRO Dark Channel output… and the trigger for the light to go on

and any word on the Thermostat Mode (Heating/Cooling?)

Use ‘Turn on’, then you will have a brightness setting:

2 Likes

I see in the source code for the thermostats (climate) that we do not expose the thermostat cooling mode at all,

Is there a quick guide on programming (editting this? ) … Happy to test out some changes…

    _channel: VelbusTemp
    _attr_supported_features = (
        ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
    )
    _attr_temperature_unit = UnitOfTemperature.CELSIUS
    _attr_hvac_mode = HVACMode.HEAT
    **_attr_hvac_modes = [HVACMode.HEAT]**
    _attr_preset_modes = list(PRESET_MODES)

Where I think that could be: (as per hass_nibe/climate.py at master · elupus/hass_nibe · GitHub)

    _channel: VelbusTemp
    _attr_supported_features = (
        ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
    )
    _attr_temperature_unit = UnitOfTemperature.CELSIUS
    _attr_hvac_mode = HVACMode.HEAT
   **_attr_hvac_modes = [HVACMode.HEAT, HVACMode.COOL]**
    _attr_preset_modes = list(PRESET_MODES)

This will be fixed in 2023.2

2 Likes

the port on my Velbus Server has changed - how can I easily change the port in the HomeAssistant / Velbus configuration?

below ar the steps:

  • stop hass
  • go to the config folder
  • find the .storage dir the config_entries file
  • in this file search for velbus and udpate the connection string
  • restart hass
3 Likes

thanks!.. just for the ones that want to do this, make sure to do it from a direct SSH console - not the web interface SSH add-on (:wink: )

and on HA OS, you need to go to cd ./config/.storage

1 Like

Hello Danny, I just tried your fix, i.e. adding a thermostat adress to a module (I know sorry it’s almost been a month…) and saddly it does not solve my issue.
image
(I also tried with contiguous adresses, e.g. A6 and A7)

Even with a Thermostat adress assigned, the following error still appears every 10 seconds


Note: I only get that error when selecting “Periodically (every 10sec) request values of unfolded modules”.

Furthermore, it also does not add a temperature sensor/reading entity in home assistant…

PS: I “reload” the velbus integration in HA and restart after every change, I do not need to delete it and add it again… right?

You also need to clear the Velbus cache when changing/adding addresses.

  • stop the HA service
  • clear the velbuscache folder in home-assistant/config/.storage
  • restart the HA service (Velbus startup will take long because the cache needs to be rebuild)
2 Likes

It was indeed as simple as that ! just needed to clear the velbuscache with HA stopped.
thanks a lot for your help.

there is also a clear cache service for velbus

here you can clear the full cache or on a per module basis

1 Like

Hello,
My Velbus gateway changed its IP address after rebooting, how can I modify it in HA without deleting all my previous work?
Because I guess that deleting the velbus integration and re-adding it will render all my previous configurations useless?
Thanks a lot

This was asked a few weeks ago

See this answer

1 Like

I did not see the “AC mode” yet in 2023.2… do I need to reload something or did it get backlogged?

yeah i confused this with another error

there is a bit more work, but i’ll make the change now

2 Likes

Hi everyone,

I set up my Velbus-integration in Home Assistant a few months ago, and everything was working fine. However, today I had to restart my NAS, and since then all switches in my velbus integration are gone. I tried reloading the integration and even removing it and adding it again, but the devices containing the switches (VMB4RYLD and so on) can’t be found in Home Assistant anymore. Everything still works in VelbusLink and in the Signum app.

Anyone know how to fix this?

Thanks in advance!

can you download a diagnostics and add it here?

Same. No more entities.

Thanks for looking into this.
Diagnostics can be found here:
https://justpaste.it/d3dp3

Let me know if you need anything else

according to this everything is loaded.

can you clear the velbus cache? (there is a service for this)