I also have troubles with MySensors connected to HomeAssistant using serial gateway.
My testing configuration is:
MySensors 1.4 & 1.5 built with Arduino Nano 328.
Home-Assistant v.0.9.1
Python 3.4
PySerial 2.7
PC: Linux Mint 17.2 & 17.3
Serial Gateway - Arduino IDE 1.6.5 monitor:
0;0;3;0;14;Gateway startup complete.
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
255;255;3;0;3;
Relay Actuator - Arduino IDE 1.6.5 monitor:
nreq node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
repeater started, id 255
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
Home-Assistant configuration.yaml:
sensor:
- platform: mysensors
gateway: serial
port: /dev/ttyUSB0
Error from home-assistant.log:
mysensors.mysensors: Error decoding message from gateway, probably received bad byte.
I have modified the port speed in MyConfig.h from 115200 to 9600 and get the message on terminal:
INFO:homeassistant.loader:Loaded sensor.mysensors from homeassistant.components.sensor.mysensors
INFO:homeassistant.components.sensor.mysensors:sensor_update sensor_update: node 1
but nothing shown in HomeAssistant page.
May I have to manually declare each sensor built in MySensors inside the configuration.yaml? How they should appear there?
Thank you.