RFXCOM Relais jog mode et decodage de trame

Ok encore une colle … :wink:
J’ai un double relais chinois 433 " emylo,
Comprendre une carte avec deux relais 10a.
Je dois m’en servir pour piloter un moteur de VMC. Il est imperatif de ne pas commuter les deux vitesse en même temps.

3 Mode sur cette carte :
Un toggle
Un momentary
Un Jog mode <--------- c’est celui la qui m’intéresse dans le fonctionnement c’est assez proche d’une commande a volet.

Il se pilote de la sorte avec la télécommande:
Bouton A —> relais 2 Off puis relais 1 On
Bouton B ----> relais 1 off puis relais 2 On
Bouton A+B ----> deux relais Off
Il se commande en lighting4 , j’arrive a créer une télécommande virtuel avec rfxcom/jeedom et a déclencher A, puis B mais impossible de déclencher A+B

Et pour cause , lorsque j’ecoute les trame de la telecommande
Bouton A =

[2020-04-03 23:32:43][ERROR] : Unknown house command received, '5D'
[2020-04-03 23:32:43][ERROR] : Unknown command received, 'B2' => 	_]²kP
[2020-04-03 23:32:44][ERROR] : Unknown house command received, '5D'
[2020-04-03 23:32:44][ERROR] : Unknown command received, 'B0' => 	`]°kP

Bouton B =

[2020-04-03 23:32:43][ERROR] : Unknown house command received, '5D'
[2020-04-03 23:32:43][ERROR] : Unknown command received, 'B4' => 	_]²kP
[2020-04-03 23:32:44][ERROR] : Unknown house command received, '5D'
[2020-04-03 23:32:44][ERROR] : Unknown command received, 'B0' => 	`]°kP

Bouton A + B

[2020-04-03 23:32:43][ERROR] : Unknown house command received, '5D'
[2020-04-03 23:32:43][ERROR] : Unknown command received, 'B6' => 	_]²kP
[2020-04-03 23:32:44][ERROR] : Unknown house command received, '5D'
[2020-04-03 23:32:44][ERROR] : Unknown command received, 'B0' => 	`]°kP

Alors ma question, comment creer des trames qui pourrai ressembler a celle de la télécommande.

Slt :thinking:

:see_no_evil: :hear_no_evil: :speak_no_evil:
Tu « ecoutes » avec quoi et comment (plugin RFXCom en mode debug ?)
@+DÖM (Ô¿Ô) :vulcan_salute:

Non juste avec les Logs.
Etrangement je n’ai plus de « mode debug » sur le plugin RFXCOM tu sais comment le réactiver ?

Ok J’ai trouvé la commande de-bug qui se trouve dans les log mais il faut bien redémarrer le deamon sinon ça ne fonctionne pas .
Du coup j’ai réussis a récupérer toute les commandes de la telec et a les décoder. donc c’est … comment dire ? Parfait !

Pour ceux que cela interesse
Relais 433 a double contacteur :
En mode JOG ( mode roller shutter / volets roulants ) )
Se pilote de la sorte.
Touche A « B2 »
Logical ID 0913000A5DC2B2016D50

Touche B « B4 »
Logical ID 0913006E5DC2B4016B50

Touche Stop « B6 » ( les deux relais a zero )

Logical id 0913006D5DC2B6016A50

Signal release ( laché de touche) B0
Logical ID 0913000B5DC2B0016B50

A noter que la carte attend le signal B0 pour signifier le lâché de touche ( que ce soit pour B2 B4 B6). sans quoi il y a une latence d’exécution de commande ( il attend que vous relâchiez quoi… )

Par contre pour ce qui est de reconnaitre la composition du code … je laisse ca a Dom :wink:

Bonjour, je deterre ce sujet car j’ai le meme probleme avec le meme relais. Et c’est aussi pour commander un extracteur d’air au final :).

Je ne vois pas passer les meme trames, mais surtout je n’ai pas reussi a faire un objet dont la commande enverra bien la touche A puis le signal release.

J’ai essayé plusieurs choses, mais rien n’y fait. Est-ce que tu pourrais stp me décrire comment tu as generé un objet (et ses commandes) pour que tu puisses commander le emylo a partir de Jeedom?

Merci!

Bonjour,
Tu aurais du répondre au message de @Oleeve , il l’aurait vu si ne suit plus !
Sinon montre les onglets de ton équipement , en attendant @Oleeve
@+DÖM (Ô¿Ô)

Bonjour, Tu as raison @Doubledom , je reponds ici ce coup-ci, au cas ou tu écoute @Adefx:slight_smile: Pour info, je cherche a faire la meme chose que toi, mais sans succes.

Sur le meme equipement que celui qui a ete detecté en mode inclusion de rfxcom (0x13, Lighintg4), Pulse et RSSI sont arrivé automatiquement lorsque j’ai appuyé sur mon bouton A. J’y ai ajouté une commande qui fait ca

Apres, je vois passer plusieurs choses lorsque j’appuie sur A, donc cela ressemble bien a plusieurs trames. Maintenant comment les envoyer de Jeedom?

[2021-02-12 09:19:02][DEBUG] : Message: 0913000ebb8002013360
[2021-02-12 09:19:02][DEBUG] : Decode : 0913000ebb8002013360
[2021-02-12 09:19:02][DEBUG] : Test message: 0913000ebb8002013360
[2021-02-12 09:19:02][DEBUG] : PacketType: 0x13
[2021-02-12 09:19:02][DEBUG] : Length: 10
[2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13
[2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 307, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x0E ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1228, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002
[2021-02-12 09:19:02][DEBUG] : Message: 0913000fbb8002013260
[2021-02-12 09:19:02][DEBUG] : Decode : 0913000fbb8002013260
[2021-02-12 09:19:02][DEBUG] : Test message: 0913000fbb8002013260
[2021-02-12 09:19:02][DEBUG] : PacketType: 0x13
[2021-02-12 09:19:02][DEBUG] : Length: 10
[2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13
[2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 306, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x0F ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1224, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002
[2021-02-12 09:19:02][DEBUG] : Message: 09130010bb8002013460
[2021-02-12 09:19:02][DEBUG] : Decode : 09130010bb8002013460
[2021-02-12 09:19:02][DEBUG] : Test message: 09130010bb8002013460
[2021-02-12 09:19:02][DEBUG] : PacketType: 0x13
[2021-02-12 09:19:02][DEBUG] : Length: 10
[2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13
[2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 308, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x10 ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1232, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002
[2021-02-12 09:19:02][DEBUG] : Send to jeedom : {‹ devices ›: {‹ BB800213 ›: {‹ pulse ›: 1232, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}}}
[2021-02-12 09:19:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-12 09:19:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php (…) " 200 0
[2021-02-12 09:19:02][DEBUG] : Message: 09130011bb8002013360
[2021-02-12 09:19:02][DEBUG] : Decode : 09130011bb8002013360
[2021-02-12 09:19:02][DEBUG] : Test message: 09130011bb8002013360
[2021-02-12 09:19:02][DEBUG] : PacketType: 0x13
[2021-02-12 09:19:02][DEBUG] : Length: 10
[2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13
[2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz
[2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 307, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x11 ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1228, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}
[2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002
[2021-02-12 09:19:02][DEBUG] : Send to jeedom : {‹ devices ›: {‹ BB800213 ›: {‹ pulse ›: 1228, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}}}

Sert toi des balises pour insertion log

Cela donne

[2021-02-12 09:19:02][DEBUG] : Message: 0913000ebb8002013360 [2021-02-12 09:19:02][DEBUG] : Decode : 0913000ebb8002013360 [2021-02-12 09:19:02][DEBUG] : Test message: 0913000ebb8002013360 [2021-02-12 09:19:02][DEBUG] : PacketType: 0x13 [2021-02-12 09:19:02][DEBUG] : Length: 10 [2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13 [2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz [2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 307, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x0E ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1228, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002 [2021-02-12 09:19:02][DEBUG] : Message: 0913000fbb8002013260 [2021-02-12 09:19:02][DEBUG] : Decode : 0913000fbb8002013260 [2021-02-12 09:19:02][DEBUG] : Test message: 0913000fbb8002013260 [2021-02-12 09:19:02][DEBUG] : PacketType: 0x13 [2021-02-12 09:19:02][DEBUG] : Length: 10 [2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13 [2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz [2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 306, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x0F ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1224, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002 [2021-02-12 09:19:02][DEBUG] : Message: 09130010bb8002013460 [2021-02-12 09:19:02][DEBUG] : Decode : 09130010bb8002013460 [2021-02-12 09:19:02][DEBUG] : Test message: 09130010bb8002013460 [2021-02-12 09:19:02][DEBUG] : PacketType: 0x13 [2021-02-12 09:19:02][DEBUG] : Length: 10 [2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13 [2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz [2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 308, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x10 ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1232, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002 [2021-02-12 09:19:02][DEBUG] : Send to jeedom : {‹ devices ›: {‹ BB800213 ›: {‹ pulse ›: 1232, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}}} [2021-02-12 09:19:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2021-02-12 09:19:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php (…) " 200 0 [2021-02-12 09:19:02][DEBUG] : Message: 09130011bb8002013360 [2021-02-12 09:19:02][DEBUG] : Decode : 09130011bb8002013360 [2021-02-12 09:19:02][DEBUG] : Test message: 09130011bb8002013360 [2021-02-12 09:19:02][DEBUG] : PacketType: 0x13 [2021-02-12 09:19:02][DEBUG] : Length: 10 [2021-02-12 09:19:02][DEBUG] : Start decoding packet type 0x13 [2021-02-12 09:19:02][DEBUG] : Subtype = PT2262, EV1527 433.92MHz [2021-02-12 09:19:02][DEBUG] : Data : {‹ packetlen ›: ‹ 0x09 ›, ‹ pulse ›: 307, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ cmd1 ›: ‹ 0xBB ›, ‹ cmd3 ›: ‹ 0x02 ›, ‹ filler ›: 0, ‹ cmd2 ›: ‹ 0x80 ›, ‹ seqnbr ›: ‹ 0x11 ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Decoded info : {‹ pulse ›: 1228, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›} [2021-02-12 09:19:02][DEBUG] : Device is known id : BB8002 [2021-02-12 09:19:02][DEBUG] : Send to jeedom : {‹ devices ›: {‹ BB800213 ›: {‹ pulse ›: 1228, ‹ rssi ›: 6, ‹ packettype ›: ‹ 0x13 ›, ‹ id ›: ‹ BB8002 ›, ‹ subtype ›: ‹ 0x00 ›}}}

Ce qu’il faut c’est que tu fasses appuie sur touche A, puis B, puis Stop et enfin release
comme cela on pourra décoder la trame ( le décodage du 0x13 x00 n’est pas le même, pour votre matériel (relais Jog), c’est le 13éme octet Low qui fais la cde A ici 2, voir si tu fais B = 4, si Stop = 6 et si release = 0)

Le cas de @Adefx

Touche A « B2 »
09 1300 0A 5DC2 B2 016D 50
(09 Long, 1300 PackectType et Subtype, 0A seqnbr, 5DC2 ID, B2 Cde(Low), 016D Pulse, 50 RSSI (high) Bat (Low)

Touche B « B4 »
09 1300 6E 5DC2 B4 016B 50

Touche Stop « B6 » ( les deux relais a zero )
09 1300 6D 5DC2 B6 016A 50

Signal release ( lâché de touche) B0
09 1300 0B 5DC2 B0 016B 50

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:

Pour A, plusieurs trames se suivent:

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

→ il semble envoyer un rolling code, non?

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

Pourtant, c’est aussi un eMylo dual channel, cela a l’air different de @Adefx.
Du coup, est-ce que c’est gerable par Jeedom ce genre de trame qui change?

OK,
Du coup il t’a remonté 2 équipements ?
Un avec ID BB80 02 du type x13 x00 pour le Bp A il y a un Pulse qui change (c’est normal)
et un autre BB80 00 du type 0x20 x10 pour le Bp B idem pour le Pulse

Donc effectivement on peut simuler les A et B ( a tester) à toi de voir ce que tu veux au final comme cde qui aboutisse sur le relais ( suivant ce que tu veux y brancher [ derrière relais] )

Yep, 2 equipements. Ca c’est pas grave.
Ce qui m’interesse c’est
Appui A et relaché → relais 1 ON
puis:
Appui A et relaché → relais 1 OFF

Pareil pour B
C’est le mode Latched / Verouillé.

Du coup ca ce construit comment dans Jeedom pour simuler les A et B?

est-ce que ton relais répond de cette façon avec ta Tlcde ?
La touche A fait « toogle »
Pas d’accès à d’autre « relais » ? 1 seul ou 2

Oui c’est comme cela que le relais est programmé. Il peut etre re-programmé, mais en ce moment c’est comme cela qu’il reagit, donc tout va bien. Maintenant, comment emuler la telecommande via RFXCom…?

Dans ce que tu avais avec le A, est-ce que cela répond quand tu test ta cde ?
Il faut ajouter le B avec sa cde dans le même équipement.
Le mieux serait de faire un virtuel pour avoir les 2 cde et leur "pulse " ou l’on pourrait voir si la trame est passée.

Les equipements créés n’ont que des infos, pas de commande… C’est mon probleme. Je dois maintenant creer une commande qui va envoyer la trame. Mais lorsque Jeedom/rfxcom identifie le bouton en mode inclusion, il ne cree que des « infos ». pas de commande.

Passe en MP

Hello, désolé je débarque un peu après la bataille.
C’est étrange que ta teleco envoi deux sorte de code.
Les elmylo ne sont pas en rolling code, trop complexe pour ce genre de matos.
c’est etrange ce que tu me dit : meme sur un materiel créé après une inclusion tu peux créer une commande et choisir info ( reception ) ou action ( envoi de trame.

Du coup ca m’a refroidi, je vais passer sur un DIO, plus facile je pense. Avec peut-etre une meilleure reception (c’etait peut-etre ca le probleme au final…)