Giter Club home page Giter Club logo

Comments (11)

DanielWinks avatar DanielWinks commented on July 27, 2024

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.

gurkburk76 avatar gurkburk76 commented on July 27, 2024

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.

snowzach avatar snowzach commented on July 27, 2024

Are you running it with docker compose? remove the devices: section from the docker compose file.

from doods.

gurkburk76 avatar gurkburk76 commented on July 27, 2024

Are you running it with docker compose? remove the devices: section from the docker compose file.

Running hass.io.

from doods.

snowzach avatar snowzach commented on July 27, 2024

Hm, I am not sure how to fix this without creating a whole other repository.

from doods.

DanielWinks avatar DanielWinks commented on July 27, 2024

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.

snowzach avatar snowzach commented on July 27, 2024

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.

DanielWinks avatar DanielWinks commented on July 27, 2024

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.

gurkburk76 avatar gurkburk76 commented on July 27, 2024

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.

snowzach avatar snowzach commented on July 27, 2024

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.

snowzach avatar snowzach commented on July 27, 2024

I'm going to close this one for now.

from doods.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.