I’ve been looking at your suggestion. I know my way around Linux and setting up an Odroid does not seem difficult.
However:
Will I still require a Philips Hue Bridge? I believe not?
Right now I need to connect a USB cable from my Velbus system to my laptop if I want to make configuration changes.
Would this mean I’d have to connect the USB cable from my velbus system to my Odroid and add the integration from the Home Assistant Application?
You need to link your Hue devices to a Hue hub, then get openHAB / HomeAssistant to interact with that hub.
I’ve done this for a customer and it works quite well.
DietPi is a really easy solution.
It’s menu offers HomeAssistant and openHAB.
It’s just the Velbus-tcp gateway that will be an extra, but my Snap install script makes light work of that
Yes, exactly so
But… when you want to make any changes to your Velbus hardware, you only need to choose the TCP/IP connection option in Velbuslink, to the Velbus-tcp gateway app
I’ve been looking further into this case. I bought myself an Intel NUC, i5 processor, 8GB of RAM, 256 SSD drive. Should get the work done + a lot more
Once I got it i’ll setup Ubuntu server, Home Assistant and Velserv. Still gotta buy my lamps, as I have another question I need to be certain about:
Will I be able to control my lamps with my switches? I have 2 VMB6PBN and all the others are VMB8PBU siwthces
Don’t feel like having to manipulate my lamps with my mobile phone the entire time
Hi @MDAR
OK, Home assistant is installed. It discovered the integration after I plugged in the USB cable to my dietpie installation and installed velserv.
However, I seem to have a hard time to determine to which USB port it is connected:
hereby the commands I tried and the possible error i’m having:
root@DietPi:/dev# dmesg | grep -i usb
...
[ 1.804967] usb 1-4: new full-speed USB device number 2 using xhci_hcd
[ 1.959506] usb 1-4: New USB device found, idVendor=10cf, idProduct=0b1b, bcdDevice= 0.01
[ 1.959521] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.959528] usb 1-4: Product: VMB1USB Velbus USB interface
[ 1.959533] usb 1-4: Manufacturer: Velleman Projects
...
But when trying to connect to that port /dev/ttyAMA0 in Home automation I get an error: Invalid flow specified.
That port also does not show up in my /dev folder. I do have a /dev/ttyACM0 however.
The text you’ve shown, suggests you’re actually running the SNAP package velbus-tcp
I’ll Assume Velbus-tcp from here on.
First things first, you say it discovered the integration as soon as you plugged in the USB, which suggests that HomeAssistant has reserved the port.
I would suggest.
Stopping HomeAssistant until you get Velbus-tcp running and can confirm by using Velbuslink.
So let’s look at why Velbus-tcp is having an issue.
Your greb command has identified the VMB1USB profile, which is excellent.
Can you try
snap get velbus-tcp -d
To identify which port that is trying to connect to?
One question, did you install the Velbus snap package by yourself or did you use my script?
If you used my script, I think that stopping HomeAssistant and restarting the snap package will magically get it working.
snap restart velbus-tcp
Then try connecting Velbuslink to port 27015 of your machine, with TLS/SSL enabled and the password of 8c640ebf-0e55-40be-8738-eaf68406775b (easy to change)
If you installed it yourself, there may be a little more work to be done.
Oops, missed that part about your script. Bet it is this and I can install it with wget? https://www.mdar.co.uk/dl/velbus/velbus-tcp.sh
Will look if I can fix it manually. If not I can still remove snap and velbus-tcp and run the script, correct?
Velbuslink works when I connect it to my dietpi. It loads the modules!
Might have an idea what else could be going on. Will check tomorrow and get back to you
So I’m trying to connect to velbus using the following setting as connection string to add the hub:
tls:velbus@127.0.0.1:27015
After which it starts loading, but ends up with “no devices or entities”. So I enalbed logging and uploaded the log file right here. There seem to be some error in there which might explain the behaviour.
You can start checking from:
2024-06-14 09:01:49.774 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration ‘velbus’ at homeassistant/components/velbus/config_flow.py, line 37: controller = velbusaio.controller.Velbus(prt) (offender: /mnt/dietpi_userdata/homeassistant/deps/lib/python3.12/site-packages/velbusaio/handler.py, line 40: with open(), please create a bug report at Issues · home-assistant/core · GitHub
Actually, I think the Philips Hue Bridge might not be required. I’m using the Sonoff zigbee USB dongle and in theory it is possible to connect all your Philips Hue lamps to that dongle. I haven’t tested that though.
Think I’ll get myself a Hue Bridge though. I will now finish up on the velbus integrations and document my configuration.
Afther that I’ll start with the Philips Hue integration.
I think the Velbus integration will have been the hardest. Time will tell!
Would you care to share your documentation? I’m particularly interest in the coupling of the glass panel modules (VMBGP4) with the Philips Hue lamps as I currently do this through Home Assistant automations which is not ideal IMO.