Je me suis fabriqué un gateway Mysensors et une sonde qualité de l'air.
J'obtiens ceci dans mes matériels Dans configuration Si je clique sur le premier noeud Si je clique sur le second noeud Dans le fichier log, j'ai
Code : Tout sélectionner
2020-05-03 09:31:00.023 Status: MySensors: Using serial port: /dev/ttyUSB2
2020-05-03 09:37:08.927 Status: MySensors: Node: 1, Sketch Name: Air Quality Sensor
2020-05-03 09:37:08.928 Status: MySensors: Node: 1, Sketch Version: 1.0
2020-05-03 11:48:54.511 MySensors: Gateway Ready...
2020-05-03 11:48:54.586 MySensors: Gateway Version: 2.3.2 Code : Tout sélectionner
__ __ ____
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.3.2
16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=16,REL=255,VER=2.3.2
26 TSM:INIT
28 TSF:WUR:MS=0
34 TSM:INIT:TSP OK
36 TSF:SID:OK,ID=1
37 TSM:FPAR
41 ?TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
800 TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
805 TSF:MSG:FPAR OK,ID=0,D=1
2050 TSM:FPAR:OK
2051 TSM:ID
2052 TSM:ID:OK
2054 TSM:UPL
2057 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
2080 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1
2085 TSF:MSG:PONG RECV,HP=1
2088 TSM:UPL:OK
2089 TSM:READY:ID=1,PAR=0,DIS=1
2097 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
2104 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
2113 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.2
2121 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
2131 TSF:MSG:READ,0-0-1,s=255,c=3,t=6,pt=0,l=1,sg=0:M
2139 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=OK:Air Quality Sensor
2151 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
2159 TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=22,pt=0,l=0,sg=0,ft=0,st=OK:
2165 MCO:REG:REQ
2168 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
2191 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1
2196 MCO:PIM:NODE REG=1
2198 MCO:BGN:STP
27209 MCO:BGN:INIT OK,TSP=1
0
LPG:0ppm CO:0ppm SMOKE:0ppm
28218 MCO:SLP:MS=30000,SMS=0,I1=255,M1=255,I2=255,M2=255
28223 TSF:TDI:TSL
28225 MCO:SLP:WUP=-1
28227 TSF:TRI:TSB
0
LPG:0ppm CO:0ppm SMOKE:0ppm
29240 MCO:SLP:MS=30000,SMS=0,I1=255,M1=255,I2=255,M2=255
29245 TSF:TDI:TSL
29247 MCO:SLP:WUP=-1
29249 TSF:TRI:TSB
0
LPG:0ppm CO:0ppm SMOKE:0ppm
30262 MCO:SLP:MS=30000,SMS=0,I1=255,M1=255,I2=255,M2=255
30267 TSF:TDI:TSL
Code : Tout sélectionner
0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,FQ=16,REL=255,VER=2.3.2
0;255;3;0;9;5 TSM:INIT
0;255;3;0;9;7 TSF:WUR:MS=0
0;255;3;0;9;15 TSM:INIT:TSP OK
0;255;3;0;9;18 TSM:INIT:GW MODE
0;255;3;0;9;21 TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;24 MCO:REG:NOT NEEDED
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.3.2
0;255;3;0;9;28 MCO:BGN:STP
0;255;3;0;9;35 MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;38 TSM:READY:NWD REQ
0;255;3;0;9;45 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK: J'ai essayé d'uiliser Myscontroller mais mes capacités sont très limités pour interpréter les messages En branchant la sonde sur MyScontroller, j'ai le message suivant
Code : Tout sélectionner
Errorflag=255, Msg=72150 TSF:TDI:TDLMerci pour votre aide

