RFXcomm Unknown command received sur émission

Bonjour à tous,

J’ai des erreurs systématiquement dans mon log RFXcom dès que j’envoie une commande sur une de mes prise connectée.

Ce sont des prises « Télécommandée Programmable, KYG » trouvée sur a…z…n.
Elles ne sont pas super bien reconnues nativement, je les mets sous [Ligthning4] Prise Rising Sun A, et j’ai trouvé qque lots de commande pour les activer/désactiver.

Sur le RFComm j’ai les protocoles 4,12,13,18,20,21,22,23 d’activés,
il était à jour en novembre 2019

quand je lance une commande « on » (en debug) :

09 13 00 00 #ID# 01 7E 70
ID = B7 4C 5C

j’ai l’erreur :

[ERROR] : Unknown house command received, ‹ B7 ›
[ERROR] : Unknown command received, ‹ 5C › => ·L\~p

et qd je lance la commande off :

09 13 00 00 #ID# 01 7E 70
ID = 10 42 03

j’ai :

[ERROR] : Unknown command received, ‹ 03 › => B~p

On voit bien le B7 et le 5C qui sont dans l’émission ainsi que le 03 qui sont évaluer comme erreur en réception,
Ca me donne l’impression que ça capte un echo de la commande lancée…

ça n’occasionne pas d’autre effet que de polluer le log, ce qui n’est pas terrible en soit (sur 8 prises), mais ça ne bloque rien, tout fonctionne parfaitement.

Mes questions :
est ce qu’il y a un paramètre de délais que je n’aurais pas vu?
Est ce qu’il y a moyen d’ajouter des filtres sur la réception?
ou tout autres suggestions!

mon matos dans mon profil au besoin.

Bonsoir,

J’ai actuellement un souci avec des capteurs d’ouverture chacon (Capteur ouverture de porte Chacon 34946 - #8 par LaGaite95)
Le type de packet 13 n’est pas lu correctement actuellement.
Je suis en contact avec l’assistance pour tenter de résoudre le pb; une béta du plugin est dispo (sans évolution sur mon install pour le moment).

A+

Bonjour,

J’ai des erreurs dans les logs qui semblent correspondre à des modules Kerui D026 (capteurs d’ouverture) entre autres. reconnus sous :
Sécurité 1 - X10 security door/windows sensor

Je suis sur la dernière version 4.0.38 de jeedom

[2020-01-24 19:29:53][ERROR] : Unknown house command received, '2F'
[2020-01-24 19:29:53][ERROR] : Unknown command received, 'DF' => 	v/???
[2020-01-24 19:49:02][ERROR] : Unknown command received, '54' => 	U_T?P
[2020-01-25 08:06:33][ERROR] : Unknown house command received, 'BF'
[2020-01-25 08:06:33][ERROR] : Unknown command received, 'F9' => 	}???lp
[2020-01-25 10:29:00][ERROR] : Unknown house command received, '2F'
[2020-01-25 10:29:00][ERROR] : Unknown command received, 'DF' => 	?/???
[2020-01-25 11:52:02][ERROR] : Unknown command received, '54' => 	0U_T?`
[2020-01-25 11:52:19][ERROR] : Unknown command received, '54' => 	3U_T?`
[2020-01-25 11:57:44][ERROR] : Unknown house command received, '2F'
[2020-01-25 11:57:44][ERROR] : Unknown command received, 'DF' => 	_/???
[2020-01-25 12:10:18][ERROR] : Unknown command received, '54' => 	?U_T?`
[2020-01-25 12:10:19][ERROR] : Unknown command received, '54' => 	?U_T?`
[2020-01-25 12:10:21][ERROR] : Unknown command received, '54' => 	?U_T?`
[2020-01-25 15:33:14][ERROR] : Unknown house command received, 'DC'
[2020-01-25 15:33:14][ERROR] : Unknown command received, '20' => 	?ܠ ?
[2020-01-25 17:57:41][ERROR] : Unknown house command received, 'FF'
[2020-01-25 17:57:41][ERROR] : Unknown command received, 'AC' => 	??]?`
[2020-01-25 20:32:55][ERROR] : Unknown house command received, '2F'
[2020-01-25 20:32:55][ERROR] : Unknown command received, 'DF' => 	e/???
[2020-01-26 06:13:38][ERROR] : Unknown house command received, '2F'
[2020-01-26 06:13:38][ERROR] : Unknown command received, 'DF' => 	?/???
[2020-01-26 07:45:59][ERROR] : Unknown house command received, '2F'
[2020-01-26 07:45:59][ERROR] : Unknown command received, 'DF' => 	p/???

J’ai échangé avec RFCOM qui me dit que c’est probablement un problème Jeedom car les modules sont bien pris en charge (avec le firmware RFXCOM PRO1 : firmware adapté à mon modèle : RFXtrx433E)

Quelqu’un d’autre est concerné ? j’ai pu identifier ces modules car ils sont utilisés pour ma boite aux lettres et en les actionnant, 2 à 4 erreurs de logs à chaque action.

Merci pour vos retours.

salut fleproust,

Oui, ça se ressemble pas mal. Mes modules emmetteur ne me renvoient pas d’erreur, uniquement quand j’envoie la commande via le RFXcomm.

Quand je deconnecte le module j’ai toujours l’erreur.
Mon log de debug ressemble à :

[timestamp][DEBUG] : Client connected to [127.0.0.1:38680]
[timestamp][DEBUG] : Message read from socket: {« apikey »:« xxxxxxxxxxxxxxxxxxxxxxxxx »,« cmd »:« send »,« data »:[« 09130000B74C5C017E70 »]}
[timestamp][DEBUG] : Client disconnected from [127.0.0.1:38680]
[timestamp][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[timestamp][DEBUG] : Test message: 09130000B74C5C017E70
[timestamp][DEBUG] : flushOutput serial port
[timestamp][DEBUG] : flushInput serial port
[timestamp][DEBUG] : Write message to serial port
[timestamp][DEBUG] : Write data to serial port : 09 13 00 00 B7 4C 5C 01 7E 70
[timestamp][DEBUG] : Write message ok : 09 13 00 00 B7 4C 5C 01 7E 70
[timestamp][DEBUG] : Decode message
[timestamp][DEBUG] : Decode : 09 13 00 00 B7 4C 5C 01 7E 70
[timestamp][DEBUG] : Test message: 09 13 00 00 B7 4C 5C 01 7E 70
[timestamp][DEBUG] : PacketType: 13
[timestamp][DEBUG] : SubType: 00
[timestamp][DEBUG] : SeqNbr: 00
[timestamp][DEBUG] : Id1: B7
[timestamp][DEBUG] : Id2: 4C
[timestamp][ERROR] : Unknown house command received, ‹ B7 ›
[timestamp][ERROR] : Unknown command received, ‹ 5C › => ·L\~p
[timestamp][DEBUG] : Decode data : {‹ raw ›: ‹ 09130000B74C5C017E70 ›, ‹ signal ›: ‹ 7 ›, ‹ pulse ›: ‹ 382 ›, ‹ subtype ›: ‹ 00 ›, ‹ housecode ›: ‹  ›, ‹ command ›: ‹  ›, ‹ unitcode ›: ‹ 77 ›, ‹ packettype ›: ‹ 13 ›, ‹ id ›: ‹ B74C5C ›}
[timestamp][DEBUG] : Message: 04 02 01 00 00
[timestamp][DEBUG] : Decode : 04 02 01 00 00
[timestamp][DEBUG] : Test message: 04 02 01 00 00
[timestamp][DEBUG] : PacketType: 02
[timestamp][DEBUG] : SubType: 01
[timestamp][DEBUG] : SeqNbr: 00
[timestamp][DEBUG] : Id1: 00
[timestamp][DEBUG] : Decode data : {‹ subtype ›: ‹ 01 ›, ‹ packettype ›: ‹ 02 ›, ‹ raw ›: ‹ 0402010000 ›}

Je ne sais pas quoi tester à partir de là. toujours à la recherche d’info.

Bonjour,

Ci-après le log du plugin rfxcom sur une association de mon clavier reconnu en type 13, et le premier contact après association.
J’ai du mal à saisir…

Association_clavier_On

[2020-01-27 12:42:07][DEBUG] : Client connected to [127.0.0.1:39226]
[2020-01-27 12:42:07][DEBUG] : Message read from socket: {"apikey":"xxx","cmd":"include_mode","state":"1"}
[2020-01-27 12:42:07][DEBUG] : Client disconnected from [127.0.0.1:39226]
[2020-01-27 12:42:07][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-01-27 12:42:07][DEBUG] : Enter in include mode
[2020-01-27 12:42:07][DEBUG] : Send to jeedom :  {'include_mode': u'1'}
[2020-01-27 12:42:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-27 12:42:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxx HTTP/1.1" 200 0
[2020-01-27 12:42:16][DEBUG] : Message: 09 13 00 3E 22 0C 04 01 69 70
[2020-01-27 12:42:16][DEBUG] : Decode : 09 13 00 3E 22 0C 04 01 69 70
[2020-01-27 12:42:16][DEBUG] : Test message: 09 13 00 3E 22 0C 04 01 69 70
[2020-01-27 12:42:16][DEBUG] : PacketType: 13
[2020-01-27 12:42:16][DEBUG] : SubType: 00
[2020-01-27 12:42:16][DEBUG] : SeqNbr: 3E
[2020-01-27 12:42:16][DEBUG] : Id1: 22
[2020-01-27 12:42:16][DEBUG] : Id2: 0C
[2020-01-27 12:42:16][ERROR] : Unknown house command received, '22'
[2020-01-27 12:42:16][ERROR] : Unknown command received, '04' => 	>"ip
[2020-01-27 12:42:16][DEBUG] : Decode data : {'raw': '0913003E220C04016970', 'signal': '7', 'pulse': '361', 'subtype': '00', 'housecode': '', 'command': '', 'unitcode': '13', 'packettype': '13', 'id': '220C04'}
[2020-01-27 12:42:16][DEBUG] : Send to jeedom :  {'include_mode': 0}
[2020-01-27 12:42:16][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-27 12:42:16][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxx HTTP/1.1" 200 0
[2020-01-27 12:42:16][DEBUG] : Send to jeedom : {'devices': {'220C041313': {'raw': '0913003E220C04016970', 'signal': '7', 'pulse': '361', 'subtype': '00', 'housecode': '', 'command': '', 'unitcode': '13', 'packettype': '13', 'id': '220C04'}}}
[2020-01-27 12:42:16][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-27 12:42:19][DEBUG] : Client connected to [127.0.0.1:39236]
[2020-01-27 12:42:19][DEBUG] : Message read from socket: {"apikey":"xxx","cmd":"add","device":{"id":"220C04"}}
[2020-01-27 12:42:19][DEBUG] : Client disconnected from [127.0.0.1:39236]
[2020-01-27 12:42:19][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-01-27 12:42:19][DEBUG] : Add device : {u'id': u'220C04'}
[2020-01-27 12:42:19][DEBUG] : Client connected to [127.0.0.1:39238]
[2020-01-27 12:42:19][DEBUG] : Message read from socket: {"apikey":"xxx","cmd":"add","device":{"id":"220C04"}}
[2020-01-27 12:42:19][DEBUG] : Client disconnected from [127.0.0.1:39238]
[2020-01-27 12:42:19][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-01-27 12:42:19][DEBUG] : Add device : {u'id': u'220C04'}
[2020-01-27 12:42:21][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxx HTTP/1.1" 200 0
[2020-01-27 12:42:42][DEBUG] : Client connected to [127.0.0.1:39242]
[2020-01-27 12:42:42][DEBUG] : Message read from socket: {"apikey":"xxx","cmd":"add","device":{"id":"220C04"}}
[2020-01-27 12:42:42][DEBUG] : Client disconnected from [127.0.0.1:39242]
[2020-01-27 12:42:42][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-01-27 12:42:42][DEBUG] : Add device : {u'id': u'220C04'}


contact_clavier_On

[2020-01-27 12:44:22][DEBUG] : Message: 09 13 00 44 22 0C 04 01 6C 70
[2020-01-27 12:44:22][DEBUG] : Decode : 09 13 00 44 22 0C 04 01 6C 70
[2020-01-27 12:44:22][DEBUG] : Test message: 09 13 00 44 22 0C 04 01 6C 70
[2020-01-27 12:44:22][DEBUG] : PacketType: 13
[2020-01-27 12:44:22][DEBUG] : SubType: 00
[2020-01-27 12:44:22][DEBUG] : SeqNbr: 44
[2020-01-27 12:44:22][DEBUG] : Id1: 22
[2020-01-27 12:44:22][DEBUG] : Id2: 0C
[2020-01-27 12:44:22][ERROR] : Unknown house command received, '22'
[2020-01-27 12:44:22][ERROR] : Unknown command received, '04' => 	D"lp
[2020-01-27 12:44:22][DEBUG] : Decode data : {'raw': '09130044220C04016C70', 'signal': '7', 'pulse': '364', 'subtype': '00', 'housecode': '', 'command': '', 'unitcode': '13', 'packettype': '13', 'id': '220C04'}
[2020-01-27 12:44:22][DEBUG] : Send to jeedom : {'devices': {'220C041313': {'raw': '09130044220C04016C70', 'signal': '7', 'pulse': '364', 'subtype': '00', 'housecode': '', 'command': '', 'unitcode': '13', 'packettype': '13', 'id': '220C04'}}}
[2020-01-27 12:44:22][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-01-27 12:44:22][DEBUG] : http://127.0.0.1:80 "POST /plugins/rfxcom/core/php/jeeRfxcom.php?apikey=xxx HTTP/1.1" 200 0


Slt, :thinking:
Le problème vient du plugin RFXCom Jeedom qui ne décode pas tout le Type 13
Voir RFXCom.pyd
# ---------------------------------------
# 0x13 Lighting4
# ---------------------------------------
if packettype == ‹ 13 ›:
try:
action[‹ housecode ›] = RFXCOM_DECODE[‹ packettype ›][‹ 13 ›][‹ housecode ›][jeedom_utils.ByteToHex(message[4])]

Essayer en mode direct avec le RFXCom sur PC ou autre…
Et regarder les log pour voir s’il décode …
@DÖM (Ô¿Ô)

Oui, en effet, de ce que j’ai compris avec d’autres capteurs, il faut associer le sous type à un code.

Sur les béta du plugin RFX, les dernières MàJ concernées un fichier decode.json dans lequel je trouve ce type de code pour le type 13.

  "13": {
      "00": "ARC",
      "cmd": {
        "14": "no_motion",
        "15": "motion",
        "04": "motion",
        "47": "motion",
        "4C":"no_motion"
      },
      "housecode": {
        "00": "A",
        "01": "I",
        "04": "E",
        "05": "M",
        "10": "C",
        "11": "K",
        "14": "G",
        "15": "O",
        "40": "B",
        "41": "J",
        "44": "F",
        "45": "N",
        "50": "D",
        "51": "L",
        "54": "H",
        "55": "P",
        "A5": "D",
        "22" : "F"
      },
      "length": 10
    },

Côté RFXMNGR, les trames sont bien décodées.

A suivre

erreur sujet… si un modo peut supprimer merci et pardon

Merci @LaGaite95,

du coup je suis aller voir le decode.json dans jeedom (html/plugins/rfxcom/resources/rfxcomd/decode.json)

Mon but étant de lever les erreurs dans le log car sans impact pour moi,
j’ai rajouté mes house command not known et commande dedans (mons cas ds packet type 13 subtype 00) :

"13": {
            "00": "ARC",
            "cmd": {
                "14": "no_motion",
                "15": "motion",
                "04": "motion",
                "47": "motion",
                "4C":"no_motion",
                "1C": "no_err",
                "6C": "no_err",
                "AC": "no_err",
                "5C": "no_err",
                "01": "no_err",
                "02": "no_err",
                "03": "no_err"
            },
            "housecode": {
                "00": "A",
                "01": "I",
                "04": "E",
                "05": "M",
                "10": "C",
                "11": "K",
                "14": "G",
                "15": "O",
                "40": "B",
                "41": "J",
                "44": "F",
                "45": "N",
                "50": "D",
                "51": "L",
                "54": "H",
                "55": "P",
                "A5": "D",
                "22": "F",
                "B7": "no_err",
                "BB": "no_err",
                "BA": "no_err",
                "BD": "no_err"
            },
            "length": 10
        },

ce qui m’évite les erreurs par exemple sur :

[2020-02-06 14:19:00][ERROR] : Unknown house command received, ‹ BD ›
[2020-02-06 14:19:00][ERROR] : Unknown command received, ‹ 1C › => ½”~p
[2020-02-06 14:19:01][ERROR] : Unknown command received, ‹ 02 › => B~p

sur les commandes :

09 13 00 00 #ID# 01 7E 70
ID = BD 94 1C
ID = 10 42 02

j’ai mis « no-err » dans la valeur pour les retrouver okazou, j’ai redémarré le démon, et là, miracle, log propre!

=> dans mon cas, ce que je trouve bizarre, c’est que ce sont les trame envoyées qui sont receptionnées dans la foulée…

En tout cas merci, résolu pour moi!

en attendant l’update à venir

Bonsoir.

Bonne nouvelle alors.
J’ai eu des news du support; Ils m’ont annoncé avoir eu l’accord de rfxcom pour l’utilisation de leur api. Une refonte du plugin est programmée en 2020.
De bonnes nouveautés en perspectives :slight_smile:

A+

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.