I'm attempting to use the TemperatureAndHumidity example sketch.
Gateway and Node are running 2.0
When I start up the node, gateway and HA, I get repeat errors Node 1 is unknown
in the HA log. To fix this, I restart the temperature sensor and the first child (child ID 0
) presents and displays in HA correctly and continues to update. However, the second child (ID 1
) never presents leaving HA to constantly logging:
WARNING:mysensors.mysensors:Child 1 is unknown
INFO:mysensors.mysensors:Requesting new presentation for node 1
I also tried using the dev branch of Home Assistant with the same results.
I should also mention I tried configuring the sensor to only run with one child. That worked regardless of whether I was sending Temperature or Humidity sensor info. It seems like it is an issue with 2 or more child elements.
Temp sensor log:
Contains initial startup and the first restart to get it working with HA.
MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.0.1-beta
TSM:INIT
TSM:INIT:TSP OK
TSF:ASID:OK,ID=1
TSM:FPAR
TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSF:MSG:FPAR RES,ID=0,D=0
TSF:MSG:FPAR OK,ID=0,D=1
TSM:FPAR:OK
TSM:ID
TSM:ID:OK,ID=1
TSM:UPL
TSF:PING:SEND,TO=0
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1
TSF:MSG:PONG RECV,HP=1
TSF:CHKUPL:OK
TSM:UPL:OK
TSM:READY
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.0.1-beta
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.4
TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
MCO:REG:REQ
!TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=NACK:2
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=OK:2
TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1
MCO:PIM:NODE REG=1
MCO:BGN:STP
MCO:SLP:MS=1000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
MCO:BGN:INIT OK,ID=1,PAR=0,DIS=1,REG=1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.0.1-beta
TSM:INIT
TSM:INIT:TSP OK
TSF:ASID:OK,ID=1
TSM:FPAR
TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSF:MSG:FPAR RES,ID=0,D=0
TSF:MSG:FPAR OK,ID=0,D=1
TSM:FPAR:OK
TSM:ID
TSM:ID:OK,ID=1
TSM:UPL
TSF:PING:SEND,TO=0
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1
TSF:MSG:PONG RECV,HP=1
TSF:CHKUPL:OK
TSM:UPL:OK
TSM:READY
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.0.1-beta
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
TSF:MSG:READ,0-0-1,s=255,c=3,t=6,pt=0,l=1,sg=0:I
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.4
TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
!TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=NACK:
MCO:REG:REQ
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=OK:2
TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1
MCO:PIM:NODE REG=1
MCO:BGN:STP
MCO:SLP:MS=1000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
MCO:BGN:INIT OK,ID=1,PAR=0,DIS=1,REG=1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
MCO:SLP:WUP=-1
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:73.4
T: 73.40
TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:56.0
H: 56.00
MCO:SLP:MS=10000,SMS=0,I1=255,M1=255,I2=255,M2=255
MCO:SLP:TPD
Netcat log of gateway:
This is after the first restart to get the Node actually presented to HA.
1;255;3;0;11;TemperatureAndHumidity
1;255;3;0;12;1.4
1;0;0;0;7;
1;1;1;0;0;73.4
1;0;1;0;1;56.0
1;1;1;0;0;73.4
1;0;1;0;1;56.0
1;1;1;0;0;73.4
1;0;1;0;1;56.0
I've tried everything I can think of. I really hope someone can shed some light on why the second child never presents.