Getting the error “Failed to probe the usb device” when trying to setup my new SkyConnect USB.
Any ideas? I can’t seem to see anything useful in the logs…but maybe I’m missing something. I’ve tried with and without the USB Extension and I’m exposing /dev/ttyUSB0 to docker.
It seems like I was stupidly using an old version of Home Assistant…(I think…I’m using CasaOS).
Now maybe it’s related ot the dialout group permission:
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/dev/ttyUSB0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
I just need to figure out what user CasaOS is using and how to add the permission.
edit: hmmm it seems to have the correct groups…but I must be missing something. Seems like my docker image is run with root by casaos.