Hoe kan ik velbus installeren in homeassisant

I don’t know much about HomeAssistant, but this looks more like a port assignment issue anyway.

So…

Can you confirm that the VMBRSUSB has been detected by your system?

Try the “ListUSB” command

lsusb

You should see something like this :-

Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 10cf:0b1b Velleman Components, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The next thing is to confirm that the Velleman USB device has been assigned to a ACMx port. (Where x is a number)
By using the “List” command

 ls -l /dev/serial/by-id

Which should return something like this :-

Total 0
lrwxrwxrwx 1 root root 13 Jul 10 21:46 usb-Velleman_Projects_VMB1USB_Velbus_USB_interface-if00 -> ../../ttyACM0

Where ttyACM0 is the assigned port.

If all of the above works, there isn’t much left.

Other than to remind you that only one thing can connect to a port at a time.

Meaning that if you have VelServ, openHAB2 or OpenRemote running and directly connecting to the USB device, anything else will get rejected.

But… It looks like there is great news.

Apparently they have added TCP connection for Velbus.

The velbus integration supports the Velbus USB, Velbus serial and a TCP/IP gateway.

So I would suggest that you get either VelServ or Velbus TCP Snap working first, so that you can connect MULTIPLE bits of software to your Velbus network.

Then you can connect VelbusLink and monitor the bus to see when HomeAssistant (and others) start putting packets on the bus.

By using a configuration in Home Assistant that looks like this :-

Example configuration.yaml entry for a TCP/IP interface

velbus:
  port: '127.0.0.1:3678'

Where 3678 is the TCP port number and 127.0.0.1 is the LoopBack IP address.

As in the classic “Wizard of Oz” inspired T-Shirt slogan

There’s no
place like
127.0.0.1

My VelServ systemd script loads VelServ on port 6000

velbus:
  port: '127.0.0.1:6000'

By default VelServ runs on port 3788

velbus:
  port: '127.0.0.1:3788'

The official Velbus Snap TCP server runs on port 27015

velbus:
  port: '127.0.0.1:27015'