Hi,
I’ve got HASSIO 0.67.1 and I’m using mysensors without issue until lately. My sensors seem to be working as far as I can tell but, I keep getting this error recently:
Failed config
mysensors:
- Invalid config for [mysensors]: /config directory does not exist or is not writeable for dictionary value @ data[‘mysensors’][‘gateways’][0][‘persistence_file’]. Got ‘mysensors.json’
not a valid value for dictionary value @ data[‘mysensors’][‘gateways’][0][‘device’]. Got ‘/dev/ttyUSB0’. (See /config/configuration.yaml, line 144). Please check the docs at MySensors - Home Assistant
I’ve tried changing a few things in my config to see if that makes a difference, e.g. the path:
From: ‘/config/mysensors.json’
To: ‘mysensors.json’
Both seem to work and I even deleted the file between attempts so it would be regenerated, which it was. Like I say it all seems to work but I keep getting this error and I’m unsure as to why.
This is my config currently:
mysensors:
gateways:
- device: '/dev/ttyUSB0'
persistence_file: '/config/mysensors.json'
baud_rate: 115200
optimistic: true
persistence: true
retain: true
version: '2.0'