Recommended installation method and device passthrough

I’m deploying home-assistant locally to manage various appliances that are reachable via: local network or chardev attached to server (e.g. ttyACM0)
First step was to research the proper (most future proof) deployment methods:

  1. HAOS - the batteries-included VM, KVM was my first choice
    I couldn’t configure the KVM to statically passthrough USB devices.
    I need the VM to get up after the server restart (which is rather common case on-premises)
    USB bus/port is dynamic, product/vendor is not enough if you have multiple same devices attached
    Did anyone overcome aforementioned issues?
    For what I’ve checked it is not doable

  2. Supervised - pretty much the same benefits as previous version but some apt commands on your own
    Turns out that this supervised just spaws bunch of containers for you and doesn’t give any possibility to customize the container configuration.
    I need to pass devices and volumes to running containers - how to do this?

Additionally both methods make it tough to configure certs

Is there any way to overcome 1 or 2?
If not - why should the user even consider aforementioned methods?

You don’t

Supervised is just HAOS where instead of a managed OS you have to managed Debian very precisely.

If you want full control then use the Container (native Docker) method. No add-ons, but you can do what you want.

1 Like