“NIKLAS-PC” is the windows pc on which virtualbox is installed
“HASSIO” is the HA instance (in other words i can access it at https://192.168.1.14:8123/)
What your saying is that i should add the address in the config like:
And then klicking “Authenticate app” and adding the Dconz Gateway integration in HA?
I don’t want to cause confusion so I’ll cover my situation first then try to assist you based on my recent playing.
I cannot pair my stick with anything when accessing it through my HA VM. Nothing at all. My workaround was to put stick into my W10 laptop, pair with the IKEA lights and remote control I have, then backup my config. In then transfer stick to my W10 nuc running HA as a Linux VM, access it through HA and then restore from my backup file. I can control stuff already paired I just cannot pair new stuff via HA. Adds 10mins to workflow so no biggy.
To access your stick/the app via HA go to your normal HA frontend. Go to HassIO then in your dashboard you have deCONZ as an add-on. From there follow “Open Web UI” link. It’s the right way to see if HA/your VM has control of that USB port.
Wow that sound like a lot of work for something simple… which brings me back to my question, why not buy a RPi, install home assistant there and save yourself all the unnecessary struggle?
For me it looks like the passthroug for the stick doesn’t work for him, as he doesn’t see the device in hass.io. Did you passthrough the device as USB or as serial device?
RPi worked well for a bit (2yrs) until it didn’t and I got fed up with 2-3min restart times. I bought a nuc last year and have not looked back. I haven’t tried a RPi 4 to be fair.
Ok good point, really depends on your setup, quality of sd card, power supply etc., etc. I had it running fine for around 6 months and then also switched to a NUC, because I wanted to run another HA instance for testing and some other VMs. I use Proxmox, don’t like Windows as you may have guessed What services do you use that need Windows? Could you run it as a VM or is the performance not enough?
If you installed deconz on your windows pc you should NOT add the Conbee to your VM running HA. The conbee is only accessible to one of them.
So you either run deconz in your HA VM and passtrough the key OR you run deconz on your windows PC and do not pass it trough. If you run deconz on your windows PC you should check your firewall to make sure deconz is accessible from HA.
Thank you for all your help guys, ill try these suggestions tonight after work. Ill report back as soon as i can.
Im still a bit confused, and i think im making myself more and more confused =)
No windows services that I’d miss. Being better at following guides than blazing a trail from scratch I found more information at the time on VMs than I did on proxmox set-ups, and it seemed the safer option for me at the time. This has changed in the last year and information on both is very good now. I was pushing the pi performance but, so far, have not stressed the nuc at all, even with the W10 overhead.
If Deconz is installed in Windows than there is no point in adding the device to VirtualBox. Your Ubuntu image only has to be able to connect to the Dezonz port at the IP address of your Windows PC. I think that’s the problem. Maybe you can try to disable the Windows firewall and see if that helps. And you should be able to run the following command in the Ubuntu console :
telnet IPADDRESSOFWINDOWS DECONZPORT
But i really think you’re making it way more complex than needed because you are running Hassio on virtual image on top of Windows. In your case Hassio needs to connect to Ubuntu, Ubuntu needs to connect to virtualbox and virtualbox needs to connect to Windows.
Isn’t it easier to passthrough the USB device to Virtualbox and install the Deconz addon in Hassio ?
I just found this in another forum to add the device as serial
Port mode should be “Host device”, and the Path/Address should be something like “COM8:” or whatever the port actually calls itself on your host. Look in the “Ports (COM & LPT)” branch of your host’s device manager to get the actual port number. It probably isn’t COM1. Leave all the other settings on defaults, including the port identity for the guest side, which should always be “COM1”. The serial dialog should look like the following, though probably with something other than “COM8” in the path/address field.
But to answer your question. I dont know what way would be easier, im just looking for anyway that works really.
Im totally open to passing it through in any way possible.
Could you describe the necessary steps? Uninstalling the conbee and then setting usb filter in virtualbox, and after this adding the addon in hassio and activating the stick by “authenticate app” in phoscon?
Sorry. A bit of a messy answer. Thank you for your efforts
Im not sure what should be in that field to make it correct. Tried a bunch of different alternatives, but perhaps having the stick installed in windows is causing problems?