Hi
I have some problem in my Termostat project
Termostat write data into RS485 --> Gateway485 capture data into HA
Mysensors debug in my NODE [termostat]
__ __ ____
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.2.0
16 MCO:BGN:INIT NODE,CP=RSNNA---,VER=2.2.0
25 TSM:INIT
26 TSF:WUR:MS=0
28 TSM:INIT:TSP OK
29 TSM:INIT:STATID=20
31 TSF:SID:OK,ID=20
33 TSM:FPAR
51 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
631 TSF:MSG:READ,0-0-20,s=255,c=3,t=8,pt=1,l=1,sg=0:0
636 TSF:MSG:FPAR OK,ID=0,D=1
2059 TSM:FPAR:OK
2060 TSM:ID
2061 TSM:ID:OK
2063 TSM:UPL
2081 TSF:MSG:SEND,20-20-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
2110 TSF:MSG:READ,0-0-20,s=255,c=3,t=25,pt=1,l=1,sg=0:1
2115 TSF:MSG:PONG RECV,HP=1
2117 TSM:UPL:OK
2119 TSM:READY:ID=20,PAR=0,DIS=1
2141 TSF:MSG:SEND,20-20-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
2166 TSF:MSG:READ,0-0-20,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
2194 TSF:MSG:SEND,20-20-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.2.0
2217 TSF:MSG:SEND,20-20-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
2254 TSF:MSG:READ,0-0-20,s=255,c=3,t=6,pt=0,l=1,sg=0:M
2292 TSF:MSG:SEND,20-20-0-0,s=255,c=3,t=11,pt=0,l=16,sg=0,ft=0,st=OK:Master Termostat
2320 TSF:MSG:SEND,20-20-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:2.1
2343 TSF:MSG:SEND,20-20-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2366 TSF:MSG:SEND,20-20-0-0,s=2,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2388 TSF:MSG:SEND,20-20-0-0,s=3,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2411 TSF:MSG:SEND,20-20-0-0,s=4,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2435 TSF:MSG:SEND,20-20-0-0,s=5,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2457 TSF:MSG:SEND,20-20-0-0,s=6,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2480 TSF:MSG:SEND,20-20-0-0,s=7,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2502 TSF:MSG:SEND,20-20-0-0,s=8,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK:
2525 TSF:MSG:SEND,20-20-0-0,s=9,c=0,t=29,pt=0,l=0,sg=0,ft=0,st=OK:
2547 TSF:MSG:SEND,20-20-0-0,s=20,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
2553 MCO:REG:REQ
2573 TSF:MSG:SEND,20-20-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
2597 TSF:MSG:READ,0-0-20,s=255,c=3,t=27,pt=1,l=1,sg=0:1
2603 MCO:PIM:NODE REG=1
2605 MCO:BGN:STP
=+=START=+=
4020 TSF:MSG:SEND,20-20-0-0,s=20,c=1,t=2,pt=2,l=2,sg=0,ft=0,st=OK:0
4026 MCO:BGN:INIT OK,TSP=1
6980 TSF:MSG:SEND,20-20-0-0,s=9,c=1,t=45,pt=7,l=5,sg=0,ft=0,st=OK:15.0
7009 TSF:MSG:SEND,20-20-0-0,s=9,c=1,t=44,pt=7,l=5,sg=0,ft=0,st=OK:30.0
DATA[0] niezgodna
60371 TSF:MSG:SEND,20-20-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:26.0
DATA[1] niezgodna
60399 TSF:MSG:SEND,20-20-0-0,s=2,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:26.5
DATA[2] niezgodna
60428 TSF:MSG:SEND,20-20-0-0,s=3,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:26.0
DATA[3] niezgodna
60456 TSF:MSG:SEND,20-20-0-0,s=4,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:26.5
DATA[4] niezgodna
60485 TSF:MSG:SEND,20-20-0-0,s=5,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:26.5
60514 TSF:MSG:SEND,20-20-0-0,s=9,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:26.5
DATA[5] niezgodna
DATA[6] niezgodna
60542 TSF:MSG:SEND,20-20-0-0,s=7,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:23.0
DATA[7] niezgodna
60571 TSF:MSG:SEND,20-20-0-0,s=7,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:18.0
DATA[8] niezgodna
60600 TSF:MSG:SEND,20-20-0-0,s=8,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:23.0
DATA[9] niezgodna
60628 TSF:MSG:SEND,20-20-0-0,s=8,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:19.0
DATA[11] niezgodna
60657 TSF:MSG:SEND,20-20-0-0,s=9,c=1,t=45,pt=7,l=5,sg=0,ft=0,st=OK:15.0
DATA[12] niezgodna
60686 TSF:MSG:SEND,20-20-0-0,s=9,c=1,t=44,pt=7,l=5,sg=0,ft=0,st=OK:30.0
6980 sending V_HVAC_SETPOINT_HEAT
7009 sending V_HVAC_SETPOINT_COOL
after minute Send few V_TEMP and 2 V_HUM that is work
Restart HA
hassio ha restart
Restart Arduino
Specifically this
2019-02-24 19:54:14 WARNING (MainThread) [mysensors] Not a valid message: Not valid message sub-type: 45 for dictionary value @ data['sub_type']
Info Log HA
Not a valid message: Not valid message sub-type: 44 for dictionary value @ data['sub_type']
19:54 __main__.py (WARNING) - message first occured at 19:53 and shows up 2 times
MySensors Serial Api
Arduino Program [MyMessage] [present]
void presentation()
{
sendSketchInfo("Master Termostat", "2.1");
present(1, S_TEMP);
present(2, S_TEMP);
present(3, S_TEMP);
present(4, S_TEMP);
present(5, S_TEMP);
present(6, S_TEMP);
present(7, S_TEMP);
present(8, S_TEMP);
present(9, S_HVAC); // boiler
// present(10, S_HVAC);
present(20, S_BINARY);
}
//============MySensors message===========
MyMessage msgD1(1, V_TEMP);
MyMessage msgD2(2, V_TEMP);
MyMessage msgD3(3, V_TEMP);
MyMessage msgD4(4, V_TEMP);
MyMessage msgD5(5, V_TEMP);
MyMessage msgD6(6, V_TEMP);
MyMessage msgDHT1_t(7, V_TEMP);
MyMessage msgDHT1_h(7, V_HUM);
MyMessage msgDHT2_t(8, V_TEMP);
MyMessage msgDHT2_h(8, V_HUM);
MyMessage msgBoSH(9, V_HVAC_SETPOINT_HEAT);
MyMessage msgBoT(9, V_TEMP);
MyMessage msgBoSC(9, V_HVAC_SETPOINT_COOL);
//MyMessage msgSP2(10, V_HVAC_SETPOINT_HEAT);
MyMessage msgHot(20, V_STATUS);
Where the problem is?
I hope you could help me.