Sur la telecommande je n’ai que A et B. Du coup je peux faire A, puis attendre et relacher. La meme chose pour B. Voila ce que ca donne au final:
Résumé
[2021-02-12 14:12:35][DEBUG] : Message: 0913006ebb8002013260
[2021-02-12 14:12:35][DEBUG] : Decode : 0913006ebb8002013260
[2021-02-12 14:12:35][DEBUG] : Test message: 0913006ebb8002013260
[2021-02-12 14:12:35][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:35][DEBUG] : Length: 10
[2021-02-12 14:12:35][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:35][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:35][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 306, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x6E', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Decoded info : {'pulse': 1224, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:35][DEBUG] : Send to jeedom : {'devices': {'BB800213': {'pulse': 1224, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}}}
[2021-02-12 14:12:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:12:35][DEBUG] : Message: 0913006fbb8002013360
[2021-02-12 14:12:35][DEBUG] : Decode : 0913006fbb8002013360
[2021-02-12 14:12:35][DEBUG] : Test message: 0913006fbb8002013360
[2021-02-12 14:12:35][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:35][DEBUG] : Length: 10
[2021-02-12 14:12:35][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:35][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:35][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 307, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x6F', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Decoded info : {'pulse': 1228, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:35][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
[2021-02-12 14:12:35][DEBUG] : Send to jeedom : {'devices': {'BB800213': {'pulse': 1228, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}}}
[2021-02-12 14:12:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:12:35][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
[2021-02-12 14:12:35][DEBUG] : Message: 09130070bb8002013460
[2021-02-12 14:12:35][DEBUG] : Decode : 09130070bb8002013460
[2021-02-12 14:12:35][DEBUG] : Test message: 09130070bb8002013460
[2021-02-12 14:12:35][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:35][DEBUG] : Length: 10
[2021-02-12 14:12:35][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:35][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:35][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 308, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x70', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Decoded info : {'pulse': 1232, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:35][DEBUG] : Message: 09130071bb8002013350
[2021-02-12 14:12:35][DEBUG] : Decode : 09130071bb8002013350
[2021-02-12 14:12:35][DEBUG] : Test message: 09130071bb8002013350
[2021-02-12 14:12:35][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:35][DEBUG] : Length: 10
[2021-02-12 14:12:35][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:35][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:35][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 307, 'rssi': 5, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x71', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Decoded info : {'pulse': 1228, 'rssi': 5, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:35][DEBUG] : Send to jeedom : {'devices': {'BB800213': {'pulse': 1228, 'rssi': 5, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}}}
[2021-02-12 14:12:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:12:35][DEBUG] : Message: 09130072bb8002013260
[2021-02-12 14:12:35][DEBUG] : Decode : 09130072bb8002013260
[2021-02-12 14:12:35][DEBUG] : Test message: 09130072bb8002013260
[2021-02-12 14:12:35][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:35][DEBUG] : Length: 10
[2021-02-12 14:12:35][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:35][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:35][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 306, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x72', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Decoded info : {'pulse': 1224, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:35][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:36][DEBUG] : Message: 09130073bb8002013450
[2021-02-12 14:12:36][DEBUG] : Decode : 09130073bb8002013450
[2021-02-12 14:12:36][DEBUG] : Test message: 09130073bb8002013450
[2021-02-12 14:12:36][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:36][DEBUG] : Length: 10
[2021-02-12 14:12:36][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:36][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:36][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 308, 'rssi': 5, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x73', 'subtype': '0x00'}
[2021-02-12 14:12:36][DEBUG] : Decoded info : {'pulse': 1232, 'rssi': 5, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:36][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:36][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
[2021-02-12 14:12:36][DEBUG] : Message: 09130074bb8002013360
[2021-02-12 14:12:36][DEBUG] : Decode : 09130074bb8002013360
[2021-02-12 14:12:36][DEBUG] : Test message: 09130074bb8002013360
[2021-02-12 14:12:36][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:36][DEBUG] : Length: 10
[2021-02-12 14:12:36][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:36][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:36][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 307, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x74', 'subtype': '0x00'}
[2021-02-12 14:12:36][DEBUG] : Decoded info : {'pulse': 1228, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:36][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:36][DEBUG] : Message: 09130075bb8002013260
[2021-02-12 14:12:36][DEBUG] : Decode : 09130075bb8002013260
[2021-02-12 14:12:36][DEBUG] : Test message: 09130075bb8002013260
[2021-02-12 14:12:36][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:36][DEBUG] : Length: 10
[2021-02-12 14:12:36][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:36][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:36][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 306, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x75', 'subtype': '0x00'}
[2021-02-12 14:12:36][DEBUG] : Decoded info : {'pulse': 1224, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:36][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:36][DEBUG] : Message: 09130076bb8002013450
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130077bb8002013360
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130078bb8002013250
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130079bb8002013450
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 0913007abb8002013350
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 0913007bbb8002013260
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 0913007cbb8002013360
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 0913007dbb8002013260
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 0913007ebb8002013360
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 0913007fbb8002013460
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130080bb8002013360
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130081bb8002013460
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130082bb8002013360
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130083bb8002013460
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130084bb8002013360
(...)
[2021-02-12 14:12:36][DEBUG] : Message: 09130085bb8002013460
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 09130086bb8002013360
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 09130087bb8002013460
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 09130088bb8002013560
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 09130089bb8002013250
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 0913008abb8002013350
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 0913008bbb8002013260
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 0913008cbb8002013350
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 0913008dbb8002013460
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 0913008ebb8002013360
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 0913008fbb8002013460
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 09130090bb8002013350
(...)
[2021-02-12 14:12:37][DEBUG] : Message: 09130091bb8002013260
[2021-02-12 14:12:37][DEBUG] : Message: 09130092bb8002013360
[2021-02-12 14:12:37][DEBUG] : Decode : 09130092bb8002013360
[2021-02-12 14:12:37][DEBUG] : Test message: 09130092bb8002013360
[2021-02-12 14:12:37][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:37][DEBUG] : Length: 10
[2021-02-12 14:12:37][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:37][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:37][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 307, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x92', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Decoded info : {'pulse': 1228, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:37][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
[2021-02-12 14:12:37][DEBUG] : Message: 09130093bb8002013460
[2021-02-12 14:12:37][DEBUG] : Decode : 09130093bb8002013460
[2021-02-12 14:12:37][DEBUG] : Test message: 09130093bb8002013460
[2021-02-12 14:12:37][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:37][DEBUG] : Length: 10
[2021-02-12 14:12:37][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:37][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:37][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 308, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x93', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Decoded info : {'pulse': 1232, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:37][DEBUG] : Send to jeedom : {'devices': {'BB800213': {'pulse': 1232, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}}}
[2021-02-12 14:12:37][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:12:37][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
[2021-02-12 14:12:37][DEBUG] : Message: 09130094bb8002013360
[2021-02-12 14:12:37][DEBUG] : Decode : 09130094bb8002013360
[2021-02-12 14:12:37][DEBUG] : Test message: 09130094bb8002013360
[2021-02-12 14:12:37][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:37][DEBUG] : Length: 10
[2021-02-12 14:12:37][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:37][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:37][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 307, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x94', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Decoded info : {'pulse': 1228, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:37][DEBUG] : Message: 09130095bb8002013460
[2021-02-12 14:12:37][DEBUG] : Decode : 09130095bb8002013460
[2021-02-12 14:12:37][DEBUG] : Test message: 09130095bb8002013460
[2021-02-12 14:12:37][DEBUG] : PacketType: 0x13
[2021-02-12 14:12:37][DEBUG] : Length: 10
[2021-02-12 14:12:37][DEBUG] : Start decoding packet type 0x13
[2021-02-12 14:12:37][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 14:12:37][DEBUG] : Data : {'packetlen': '0x09', 'pulse': 308, 'rssi': 6, 'packettype': '0x13', 'cmd1': '0xBB', 'cmd3': '0x02', 'filler': 0, 'cmd2': '0x80', 'seqnbr': '0x95', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Decoded info : {'pulse': 1232, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}
[2021-02-12 14:12:37][DEBUG] : Device is known id : BB8002
[2021-02-12 14:12:37][DEBUG] : Send to jeedom : {'devices': {'BB800213': {'pulse': 1232, 'rssi': 6, 'packettype': '0x13', 'id': 'BB8002', 'subtype': '0x00'}}}
[2021-02-12 14:12:37][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:12:38][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
Pour B, de facon surprenante, la trame est differente, et ne continue pas d’emettre lorsque je reste appuyé. Que j’appuie court, ou que j’appuie long et je relache, une seule trame (mais qui tourne aussi):
Résumé
[2021-02-12 14:40:33][DEBUG] : Message: 08200136bb80000469
[2021-02-12 14:40:33][DEBUG] : Decode : 08200136bb80000469
[2021-02-12 14:40:33][DEBUG] : Test message: 08200136bb80000469
[2021-02-12 14:40:33][DEBUG] : PacketType: 0x20
[2021-02-12 14:40:33][DEBUG] : Length: 9
[2021-02-12 14:40:33][DEBUG] : Start decoding packet type 0x20
[2021-02-12 14:40:33][DEBUG] : Subtype = X10 security motion sensor
[2021-02-12 14:40:33][DEBUG] : Data : {'packetlen': '0x08', 'id3': '0x00', 'id2': '0x80', 'packettype': '0x20', 'rssi': 6, 'battery': 9, 'id1': '0xBB', 'seqnbr': '0x36', 'status': 4, 'subtype': '0x01'}
[2021-02-12 14:40:33][DEBUG] : Decoded info : {'status': 4, 'packettype': '0x20', 'rssi': 6, 'id': 'BB8000', 'battery': 9, 'subtype': '0x01'}
[2021-02-12 14:40:33][DEBUG] : Device is known id : BB8000
[2021-02-12 14:40:33][DEBUG] : Send to jeedom : {'devices': {'BB800020': {'status': 4, 'packettype': '0x20', 'rssi': 6, 'id': 'BB8000', 'battery': 9, 'subtype': '0x01'}}}
[2021-02-12 14:40:33][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:22:03][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0
[2021-02-12 14:40:36][DEBUG] : Message: 08200137bb80000469
[2021-02-12 14:40:36][DEBUG] : Decode : 08200137bb80000469
[2021-02-12 14:40:36][DEBUG] : Test message: 08200137bb80000469
[2021-02-12 14:40:36][DEBUG] : PacketType: 0x20
[2021-02-12 14:40:36][DEBUG] : Length: 9
[2021-02-12 14:40:36][DEBUG] : Start decoding packet type 0x20
[2021-02-12 14:40:36][DEBUG] : Subtype = X10 security motion sensor
[2021-02-12 14:40:36][DEBUG] : Data : {'packetlen': '0x08', 'id3': '0x00', 'id2': '0x80', 'packettype': '0x20', 'rssi': 6, 'battery': 9, 'id1': '0xBB', 'seqnbr': '0x37', 'status': 4, 'subtype': '0x01'}
[2021-02-12 14:40:36][DEBUG] : Decoded info : {'status': 4, 'packettype': '0x20', 'rssi': 6, 'id': 'BB8000', 'battery': 9, 'subtype': '0x01'}
[2021-02-12 14:40:36][DEBUG] : Device is known id : BB8000
[2021-02-12 14:40:36][DEBUG] : Send to jeedom : {'devices': {'BB800020': {'status': 4, 'packettype': '0x20', 'rssi': 6, 'id': 'BB8000', 'battery': 9, 'subtype': '0x01'}}}
[2021-02-12 14:40:36][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 14:22:03][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey= (...) HTTP/1.1" 200 0