Open shbatm opened 5 years ago
Thank you for all the work. I'll test these in the next couple of days and merge the pull request (after a quick look I don't expect any issues).
@vladbabii Any update on this?
All, I am not planning to continue with this PR. If anyone else would like to make the changes and incorporate the code, please feel free.
I ended up switching to use usbip
instead of socat
and found that I can pass through my device from the host using the /dev/serial/by-id/
path into HASS.io, therefore, this is no longer needed in my setup.
Can you share your config with usbip or point me to a guide. Thanks.
søn. 9. jun. 2019 23.33 skrev shbatm notifications@github.com:
All, I am not planning to continue with this PR. If anyone else would like to make the changes and incorporate the code, please feel free.
I ended up switching to use usbip instead of socat and found that I can pass through my device from the host using the /dev/serial/by-id/ path into HASS.io, therefore, this is no longer needed in my setup.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vladbabii/homeassistant-socat/pull/2?email_source=notifications&email_token=AAV6P7Z4JQD6XQUSCJO6C4TPZVZI5A5CNFSM4GT3RGF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXISWJA#issuecomment-500247332, or mute the thread https://github.com/notifications/unsubscribe-auth/AAV6P75ADWIKVTMKJRSNOWTPZVZI5ANCNFSM4GT3RGFQ .
Sharing some changes I made for my personal use. I made some modifications to use
s6-overlay
to manage socat and HASS startup.I also modified the Dockerfile to use Alpine Linux's
apk add
instead of Ubuntu'sapt-get install
since the new Home Assistant images are based on Alpine. In addition, you can provide--build-arg BUILD_FROM=...
in yourdocker build
command to specify the base Home Assistant image to use. For example, I use--build-arg BUILD_FROM=homeassistant/qemuarm-64-homeassistant
for my system.