'Bad byte' error
-
If you check the content of
/var/opt/homeassistantWhat does it show?
-
That's where all my configuration is. And there is a mysensors.json file present.
-
Try deleting the json file and have the full path to the json file in the config, as before. Restart hass.
Edit: Also delete any pickle files, if any.
-
full path and no file, gets me
File does not exist or is not readable: /var/opt/homeassistant/mysensors.jsonbut will get me a gateway started.
-
That's fine, I think. If you check the contents of the folder again, you should see a json file again. It creates the file the first time.
-
nope no file
-
Oh yeah, I think it will create it when the first sensor is added.
Do you get the gateway started message now?
-
Yes i have the gateway started, so i should try to start a sensor to see if it will make the json. and be present in the webgui
-
Yes. Make sure you follow the presentation guide in the docs for mysensors on the HA web.
-
thank you so much, that seem to do the trick. the gate way was started and the sensor was add, as soon as it was turned on.
-
:thumbsup:
I'll think about updating the docs at HA web, to explain things a bit more.
-
Maybe also put in about the pyserial?
-
Well pyserial should be installed automatically when you run hass the first time with mysensors activated in the config. There shouldn't be a need to do that on your own.
Are you sure it wasn't installed for you?