Comments (11)
Hyper-V does not support USB device passthrough. You'll need to run it under VirtualBox, KVM, ESXi or any other platform that provides USB support.
from doods.
No workaround possible? I'm not planning in using any usb accelerator or other device so no real need for usb support.
moving to a new vm platform with usb support just for this addon is not feasible for me.
from doods.
Are you running it with docker compose? remove the devices:
section from the docker compose file.
from doods.
Are you running it with docker compose? remove the
devices:
section from the docker compose file.
Running hass.io.
from doods.
Hm, I am not sure how to fix this without creating a whole other repository.
from doods.
The HassIO add-on uses a devices section to allow for Google Coral USB accelerators, here: https://github.com/snowzach/hassio-addons/blob/master/doods/config.json
The real fix is not using Hyper-V as there's many other issues using it with Home Assistant. Or not using HassIO and instead using regular Home Assistant Docker images with Docker Compose and leaving out the devices section. Maintaining two HassIO add-ons just to accommodate a very small population of Hyper-V users seems like it would just confuse the general HassIO user base.
from doods.
FWIW, I did open an issue on Hass.IO and at least asked how it might be possible to customize this during the config phase by the user. home-assistant/supervisor#1389
Really, the issues belongs in this repository. https://github.com/snowzach/hassio-addons
You can fork that repository and edit the doods/config.json file and remove the devices
section and add it as your own repository and it should work. It sounds like Hyper-V is not very HASS friendly though.
from doods.
It sounds like Hyper-V is not very HASS friendly though.
It's just that Hyper-V has zero ability to use USB devices. HassIO (well, Home Assistant in general) uses USB for quite a number of things, Coral devices for TF, and USB Z-wave and ZigBee radios are the the biggest examples, but even things like adding Bluetooth or, well, anything else that uses USB. Proxmox works really well, or if you have a need to run Windows as the base OS, VirtualBox allows USB pass-through and works well too. It's a shame, really, since otherwise Hyper-V is a quite good hypervisor.
from doods.
Yeah hyper-v hasen't really given me problems, except for this usb problem really ;)
proxmox seems fine and all, the reason it's not "easy" to switch from server 2016 to proxmox is the many tb's i have as reFS on there in storage spaces, If i happen to find some more storage space to move stuff back and forth i might setup proxmox with zfs and go with that.
A bit off topic, sorry :)
Otoh, if this issues ultmately leads to being able to customize this during the config phase by the user home-assistant/supervisor#1389 that would possibly benefit more ppl, so that's a win.
from doods.
FWIW, I have a pretty good size home lab but I still run Hass on a raspberry pi. If I'm working on my server, all the home automations still work. :-)
from doods.
I'm going to close this one for now.
from doods.
Related Issues (20)
- Expected memory / log rotate? HOT 1
- Label variable in DOODS intergration doco for HA HOT 4
- REALLY slow performance with Arm H3 HOT 14
- Updating Tensorflow version HOT 5
- Text/Labels appear too small in 4K camera HOT 1
- Dog detected as a person HOT 1
- Fails to initialize edgetpu in Docker on Synology HOT 12
- https HOT 3
- coral usb accelerator HOT 1
- Feature request: Angle of the area Lines HOT 6
- Run with Jetson Nano and got platform error HOT 2
- Detecting Eggs HOT 7
- Green and glitches HOT 2
- DOODS with Node-RED HOT 1
- Custom model returns Invalid Graphdef HOT 10
- [FR] option to convert images to black and white before inference. HOT 10
- Can't do docker build on RPi3b HOT 3
- dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: HOT 7
- How could i implement my own database? HOT 2
- How do you build a new model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doods.