Essai de mettre les logs en txt ou de les mettre direct ici … Pas facile comme cela en « pdf »
[2021-01-18 20:59:18][DEBUG] : Message: 0a520d0b67020029560359
[2021-01-18 20:59:18][DEBUG] : Decode : 0a520d0b67020029560359
[2021-01-18 20:59:18][DEBUG] : Test message: 0a520d0b67020029560359
[2021-01-18 20:59:18][DEBUG] : PacketType: 0x52
[2021-01-18 20:59:18][DEBUG] : Length: 11
[2021-01-18 20:59:18][DEBUG] : Start decoding packet type 0x52
[2021-01-18 20:59:18][DEBUG] : Subtype = TH13 is Alecto WS1700 and compatibles
[2021-01-18 20:59:18][DEBUG] : Data : {'subtype': '0x0D', 'humidity': 86, 'battery': 100, 'id1': '0x67',
'rssi': 5, 'temperaturesign': '', 'seqnbr': '0x0B', 'packettype': '0x52', 'id2': '0x02', 'temperature': 41,
'packetlen': '0x0A', 'humidity_status': 3}
[2021-01-18 20:59:18][DEBUG] : Decoded info : {'subtype': '0x0D', 'humidity': 86, 'battery': 100,
'temperature': '4.1', 'id': '6702', 'rssi': 5, 'humidity_status': 3, 'packettype': '0x52'}
[2021-01-18 20:59:18][DEBUG] : unknown device id : 6702
Tu as une sonde qui devrait s’inclure avec ID 6702.
Faire une inclusion pour voir …
Par contre je vois des messages incorrect du type
[2021-01-18 20:59:24][DEBUG] : Message: 1401ff0219532b0a08070001031c05554658434f4d
[2021-01-18 20:59:24][DEBUG] : Decode : 1401ff0219532b0a08070001031c05554658434f4d
[2021-01-18 20:59:24][DEBUG] : Test message: 1401ff0219532b0a08070001031c05554658434f4d
[2021-01-18 20:59:24][DEBUG] : PacketType: 0x01
[2021-01-18 20:59:24][DEBUG] : Length: 21
[2021-01-18 20:59:24][DEBUG] : Start decoding packet type 0x01
[2021-01-18 20:59:24][DEBUG] : Data : {'msg7': '0x01', 'msg2': '0x2B', 'subtype': '0xFF', 'msg13':
'0x58', 'msg4': '0x08', 'msg12': '0x46', 'msg10': '0x05', 'msg15': '0x4F', 'msg9': 28, 'seqnbr': '0x02',
'msg6': '0x00', 'packettype': '0x01', 'msg5': '0x07', 'msg11': '0x55', 'msg3': '0x0A', 'cmnd': '0x19',
'msg16': '0x4D', 'msg14': '0x43', 'msg1': '0x53', 'packetlen': '0x14', 'msg8': '0x03'}
[2021-01-18 20:59:24][DEBUG] : Subtype = wrong command received from the application
C’est le 01ff qui n’est pas normal …