Support for Velbus Home Automation

we will need to add more debugging to the python-velbus lib to find out what is causing this.

can you add some debug prints to the python-velbus code?

controller.py after

def module_loaded():
logging.info('module_loaded')

and rerun the hass startup and get me the whole log

Hi

I want to do this, please tell me where I can find the python velbus code on Hass.io

i have no idea about hass.io
i never used it and can not help you there …

Hi

i have now installed home assistant on a raspberry with hassbian,
with the same result for velbus.here is the link to the log: https://1drv.ms/u/s!AnIqLpusHNu0gv9WXe41b_RRyhb5mQ?e=BqXzZq

this weekend I will try to add some debug prints to the python velbus code

today i was able to reproduce this here at home

its a timing problem in the python-velbus lib, will try to see if i can get this solved

Hi everyone. I ended up here cause i’m switching from openhab to home assistant and discovered that dimmers are not supported yet? Almost all of my lights are controlled by dimmers, so for now home assistant isn’t very usefull :slight_smile:

I’ve read that Cereal2nd was working on dimmers in sept. 2018, but nothing regarding dimmers after that. Was development stopped?

For me kind of the same situation (DomotiGa -> Home Assistant)
I’m happy to assist to add support for dimmer modules I have (VMBDE & VMBDC4 but do not have mutch experiance writing in Python so it will be a steep learning curve for me. Anyhow I already managed to do a PR to add support for the missing VMBRY4 module :smile:

the problem is that i don’t own any dimmers …
so its verry hard to implement this correctly without the possibility to test them out

Yeah I get that. I’m a developer myself and from time to time I need to do hardware interfacing and without an actual device things it’s just a shot in the dark.

As a web developer I have no real experience with Python (except for some minor modification in existing code), but I’m more than willing to help / test / debug / interpret the docs, … If you’re interested I would rather continue development discussions on Slack or something, it’s more efficient :slight_smile:

FYI, i have the following Velbus modules:

  • VMB6PBN
  • VMB8PBU
  • VMB8IR
  • VMBPIRM
  • VMBPIRC
  • VMB4DC
  • VMB2BLE
  • VMB4RYNO

Finally I had some time this weekend to get the pull request ready which allows to control the VMBDME and VMB4DC module types.
Next step: Get some time to add the “Light Entity” functionality to the Velbus integration code so we can finally control them from Home Assistant :grinning:

I’ve light control (on/off & dimming) working. Still some additional testing and code cleanup to do before I’m ready to do a pull request to the python lib & finally to the HA code.

Update (23/12): Today I managed to submit a PR to HA for the light control. Hopefully be applied at next HA release…

in 0.104 we should have solved almost all problems with the velbus integration.

Hello,
I’m a new user of Home assistant, i did try the build in Velbus integration with my velbus installation but did not suport the most of my modules, now i see there is Python-Velbus with better support and up to date.
But (sorry I’m new here) don’t understand how to add Python-Velbus to my new installation (on raspbery Pi4-HassOS 3.10)
Is there some kind of step by step manual to make the integration for a noob like me?
I have only experience with c# programming.

I don’t understand what you want to achieve. Using the Velbus integration at Home Assistant it automatically loads the Python-velbus lib in the background. Do you run the latest Home Assistant version (0.105.4 at the moment)?

I’ve did a fresh installation, but the Velbus integration didn’t work anymore…

HA is using python-velbus 2.0.42, but with a manual install of python-velbus 2.0.43 it’s working again.

fixed with the following PR

hopefully this makes it into 0.107.1

1 Like

I’ve foud another issue…

When I use the VelbusLink tool and do a scan, I’ve get the following messages in the log

20-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Message size not recognized
2020-03-21 14:12:16 WARNING (velbus-process-reader) [velbus] Priority not recognized

And it never stops, I need to restart HA…

this is a known problem, but until now i did not find a solution for it.

feel free to help us out :slight_smile:

anyone knows when the following would be integrated? :grinning:
WARNING (Thread-2) [velbus] Module VMBGPOD-2 is not yet supported
WARNING (Thread-2) [velbus] Module VMBIRM is not yet supported
WARNING (Thread-2) [velbus] Module VMBGPOD-2 does not yet support sub modules

the vmbpirm i have at home and is on my todo list

for the gpod-2 if someone can go through the protocol manual and let me know what the difference is between version2 and version 1 i can implement this one to.
I don’t own these modules so i can not test them

Is there a (easy) way to update the velbus Entity names?

I renamed some items in Velbuslink, but the Entity names are not updated in HA. Removing the integration is also working but maybe there is a better solution?