@korylprince Firstly let me thank you for your work on developing this add-on, I find it very useful! Really thanks.
Would you please help me in troubleshooting this issue I have on this my configuration?
- HASSIO running on Docker in Synology DSM (thanks to @fredrike Hass.io on Synology DSM (native package))
- APC Back-UPS USB version connected to Synology USB port and natively recognized into Synology DSM
- Latest 1.9 apcupsd add-on installed.
Had many issue at the beginning in starting up. I did a lot of try and it is now running, but there is no connection from apcupsd to USB port, with error similar to this one copied from the thread (don’t have a trace right now of mine):
18-01-23 03:35:31 ERROR (SyncWorker_18) [hassio.docker] Can’t start addon_a722577e_apcupsd: 404 Client Error: Not Found (“linux runtime spec devices: error gathering device information while adding custom device “/dev/usb/hiddev0”: lstat /dev/usb/hiddev0: no such file or directory”)
I discovered I have no /dev/usb devices files at all in my container, but I got:
admin@NAS:/dev/bus/usb/001$ ls -la
total 0
drwxr-xr-x 2 root root 120 Aug 30 16:20 .
drwxr-xr-x 4 root root 100 Aug 27 19:34 …
crw------- 1 root root 189, 5 Sep 4 19:53 006
and the same from:
bash-5.0# lsusb
Bus 001 Device 006: ID 051d:0002
How do I and where I do the modification to let the add-on to install and run correctly with this configuration?
I see there is a config.json in the addons/a722577e/git/apcupsd folder with this entry:
"devices": ["/dev/usb/:/dev/usb/:rwm"]
I tried modifying it with my path but I get a lot of:
Sep 4 01:01:59 a722577e-apcupsd daemon.warn apcupsd[7]: Communications with UPS lost.
HASSIO is talking to the add-on in fact I see the sensors in HA but most of them are in unknown states
Could it be a problem with passing-through the USB port to HASSIO, has anyone had experience with this configuration and could help?
Thanks for your help!