Following my Git post @martinhjelmare I’m using the NodeManager system in MySensors so I’m not 100% sure if its a HA or NM issue.
I get this error in HA and my sensor is not present. Before 0.66 the sensor worked but with a warning:
2018-04-01 16:45:08 WARNING (Thread-23) [mysensors] Not a valid message: Not valid message sub-type: 32 for dictionary value @ data[‘sub_type’]
2018-04-01 16:55:47 WARNING (Thread-23) [mysensors] Not a valid message: Not valid message sub-type: 33 for dictionary value @ data[‘sub_type’]
It should be type S_MOISTURE and the message V_LEVEL.
A screen grab from MYSController shows this to be true:
Since i’m using NodeManager there isn’t much code to my sketch - just declare the sensor and set the sleep interval. The types all look ok.
The full serial log from the node:
| / |_ / | ___ _ __ ___ ___ _ __ ___
| |/| | | | _ \ / _ \ _ \/ __|/ _ \|
_/ __|
| | | | || || | / | | _ \ _ | | _
|| ||_, |/ ___|| ||/_/|| |/
|__/ 2.2.0
209 MCO:BGN:INIT NODE,CP=RNNNA—,VER=2.2.0
322 MCO:BGN:BFR
NodeManager v1.7
LIB V=2.2.0 R=N E=- T=N A=A S=- B=-
SOIL I=1 P=35 T=37
RADIO…358 TSM:INIT
439 TSF:WUR:MS=0
462 TSM:INIT:TSP OK
484 TSM:INIT:STATID=60
507 TSF:SID:OK,ID=60
530 TSM:FPAR
578 TSF:MSG:SEND,60-60-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2654 !TSM:FPAR:NO REPLY
2678 TSM:FPAR
2728 TSF:MSG:SEND,60-60-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2909 TSF:MSG:READ,5-5-60,s=255,c=3,t=8,pt=1,l=1,sg=0:1
2966 TSF:MSG:FPAR OK,ID=5,D=2
3705 TSF:MSG:READ,0-0-60,s=255,c=3,t=8,pt=1,l=1,sg=0:0
3763 TSF:MSG:FPAR OK,ID=0,D=1
4804 TSM:FPAR:OK
4822 TSM:ID
4834 TSM:ID:OK
4850 TSM:UPL
4899 !TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
6976 TSM:UPL
7025 !TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
9102 TSM:UPL
9119 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=OK:1
9192 TSF:MSG:READ,0-0-60,s=255,c=3,t=25,pt=1,l=1,sg=0:1
9250 TSF:MSG:PONG RECV,HP=1
9280 TSM:UPL:OK
9296 TSM:READY:ID=60,PAR=0,DIS=1
9367 !TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100
9447 TSF:MSG:READ,0-0-60,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
9522 TSF:MSG:SEND,60-60-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=1,st=OK:2.2.0
9605 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
9677 TSF:MSG:READ,0-0-60,s=255,c=3,t=6,pt=0,l=1,sg=0:M
9735 TSF:MSG:READ,0-0-60,s=255,c=3,t=6,pt=0,l=1,sg=0:M
OK
9817 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=OK:Plant LR1
9915 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
PRES I=1 T=35 D=SOIL
10028 !TSF:MSG:SEND,60-60-0-0,s=1,c=0,t=35,pt=0,l=4,sg=0,ft=0,st=NACK:SOIL
READY
10105 MCO:REG:REQ
10140 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=OK:2
10214 TSF:MSG:READ,0-0-60,s=255,c=3,t=27,pt=1,l=1,sg=0:1
10273 MCO:PIM:NODE REG=1
10300 MCO:BGN:STP
MY I=60 M=1
INT P=3 M=255
INT P=2 M=255
10319 MCO:BGN:INIT OK,TSP=1
SOIL I=1 V=9 %=0
SEND D=0 I=1 C=0 T=37 S= I=0 F=0.00
10497 TSF:MSG:SEND,60-60-0-0,s=1,c=1,t=37,pt=5,l=4,sg=0,ft=0,st=OK:0
SLEEP 600s
10622 MCO:SLP:MS=600000,SMS=1,I1=255,M1=255,I2=255,M2=255
10705 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=32,pt=5,l=4,sg=0,ft=0,st=OK:500
11282 TSF:TDI:TSL
11301 MCO:SLP:WUP=-1
11324 TSF:TRI:TSB
11347 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=33,pt=5,l=4,sg=0,ft=0,st=OK:600000
AWAKE
SOIL I=1 V=10 %=1
SEND D=0 I=1 C=0 T=37 S= I=0 F=0.00
11548 TSF:MSG:SEND,60-60-0-0,s=1,c=1,t=37,pt=5,l=4,sg=0,ft=0,st=OK:1
SLEEP 600s
11657 MCO:SLP:MS=600000,SMS=1,I1=255,M1=255,I2=255,M2=255
11734 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=32,pt=5,l=4,sg=0,ft=0,st=OK:500
12309 TSF:TDI:TSL
12328 MCO:SLP:WUP=-1
12351 TSF:TRI:TSB
12372 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=33,pt=5,l=4,sg=0,ft=0,st=OK:600000
AWAKE
SOIL I=1 V=9 %=0
SEND D=0 I=1 C=0 T=37 S= I=0 F=0.00
12559 TSF:MSG:SEND,60-60-0-0,s=1,c=1,t=37,pt=5,l=4,sg=0,ft=0,st=OK:0
SLEEP 600s
12681 MCO:SLP:MS=600000,SMS=1,I1=255,M1=255,I2=255,M2=255
12760 TSF:MSG:SEND,60-60-0-0,s=255,c=3,t=32,pt=5,l=4,sg=0,ft=0,st=OK:500
13335 TSF:TDI:TSL