irakhlin / hassio-usbip-mounter

Apache License 2.0
9 stars 14 forks source link

Feature Request - detach when shutting down #6

Closed judo16 closed 4 months ago

judo16 commented 8 months ago

Hi there,

First of all, I'd likes to say thanks for creating this Home Assistant add-on. You don't know how useful it's been for instances with VMs, USB devices no where near the VM host, etc. The code you've done works great for me and is stable. I was wondering if it would be possible for it to run a detach command when HA is rebooting, shutting down and / or stopping the add-on so that the remote device is available to attach again once HA is up and running again?

Alternately, would it be possible to automate running commands remotely via SSH to unbind and bind the USB device uning the HA add-on when the add-on starts prior to attaching?

Thanks in advance :)

irakhlin commented 4 months ago

Sorry this took so long, this should now be working in version 1.4

irakhlin commented 4 months ago

resolved