Hi,
Is it possible to install Home Assistant on the new Ugreen NAS systems?
Thanks
Hi,
Is it possible to install Home Assistant on the new Ugreen NAS systems?
Thanks
Yes, you can leverage Docker which was released by the UGreen team. It’s a little tricky and I’m trying to get a Bluetooth dongle attached but can’t figure it out so I might drop this implementation until I can get that figured out.
Hi - did you ever solve the issue? I’m hoping to leverage Home Assistant on a UGreen NAS
I did not; I plan to try again now that UGreen NAS supports VMs to see if I can get the bluethooth dongle attached to the VM. I could not figured it out via Docker.
Im interested to hear how it goes. I plan to try this as soon as my hard drives are delivered in a week or so.
Hi,
I also have HA running on DXP2800 in a VM after switching from a Docker container.
Got the same help question and got the following response in the German Ugreen facebook group.
Google translate(d) : Rail transport for those who are interested: I have now managed to do it via the shell. You don’t have to install anything, just attach the USB device to the HA VM with “virsh”. Command: “virsh attach-device --file usb_irsensor.xml --config” The XML contains vendorID + productID.
Personally I do not get a good overview of the USB ports like above described. I get the following response:
âžś ~ lsusb -v
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 0627:0001
Bus 002 Device 001: ID 1d6b:0003
I do not see the exact device name. In may case a Sonoff zigbee dongle.
Any help is welcome.
Thx!
I get this results for lsusb:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1cf1:0030 Dresden Elektronik ZigBee gateway [ConBee II]
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
You may need to install missing Bluetooth Driver (bluez) for Debian.
I tried to get HAOS up and running today on my DXP2800 using a Virtual Machine…didn’t go so well…I’ll probably try again next week when I have more time to mess around with it.
Has anyone gotten HA up in a docker container? I’ve got a docker container running with HA but I can’t seem to access it.
Okay, so I figured it out using this very helpful piece of information.
lsusb -v
, find your device in the list and copy the vendorID and productCode. See my example below for a Bluetooth Dongle. idVendor 0x0a12 Cambridge Silicon Radio, Ltd
idProduct 0x0001 Bluetooth Dongle (HCI mode)
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x0a12' />
<product id='0x0001' />
</source>
</hostdev>
sudo virsh list
sudo virsh attach-device <VM-GUID-HERE> --file usb.xml --persistent
I hope this helps!
Hello Erudo,
First of all, thank you for your instructions.
Unfortunately, I can’t get past the last command.
When I send the GUI entries and the command, the message comes back:
-bash: 8a24ed4a-0ccc-4491-900b-dc3771e26282: No such file or directory
But I have saved the XML file in the user folder.
Perhaps you can still help me with that.
make sure the xml file ist in the root directory