Unable to connect to /dev/ttyUSB0 [Solved]
David Pinnock last edited by David Pinnock
If I had any hair I would have pulled it all out trying to configure MySensors with HASS
I don't understand as I have it working fine in Domoticz configured as dev/ttyUSB0 so why can't HASS connect?!
settings ini configuration.yaml are:
- device: '/dev/ttyUSB0'
persistence file: '/home/homeassistant/.homeassistant/mysensors.json'
It's been ages since I set this up in Domoticz, I do vaguely recall having issues but that might have just been detecting sensors.
I remember something about adding user permissions to the serial port but I'm not entirely sure since I never used serial gw
David Pinnock last edited by
Thanks @gohan !! Another google about accessing usb and found some detail about adding to the dialout group. So I did this:
sudo adduser homeassistant dialout
It doesn't work unless you reboot but its now connecting to the usb!! I'm getting other errors about my sensors now but this is progress at least! Thanks