Utilisateur RFPLAYER + Version Béta "en cours 16" VOIR NEW

Pour le Jaming il est effectivement ajouté mais ne fonctionne pas non plus.

PS Voir le fonctionnement sur Béta 14

Pour le voir passe par configuration, puis
image
va sur le rfplayer
image
clic sur 1 appareil et tu devrais avoir Jamming en bas
image
que tu ajoute du coup a un Lovelace

image

Ah ben oui mais du coup comme je n’arrive pas ajouter d’appareil c’est compliqué lol

A ok, il faut effectivement qu’il soit bien configuré, mais je voyais des logs sur ton info GitHub ?
EST CE QUE TU AS LE BON PORT ?
Et aussi :
voir dans configurer
image
Regarde si dans les | " trois points verticaux"
image

image
c’est comme cela dans la partie

Je ne suis pas certain de t’aider @Czara1 mais je remarque que ton adaptateur USB est reconnu comme un Ziblue alors que @Doubledom et moi avons un FTDI_FT232R. Serait-ce lié a la version du firmware de la clé ?

Quelle installation de HA utilises-tu ? pour ma part j’ai Ha Supervised ( la meme version que l’on installe dans une VM ou directement sur un mini-pc ).

rfplayer_usb

Serait-ce la source de ton problème ?

Salut
tu as quoi à la réponse de la commande Hello depuis HA

2022-02-23 22:48:25 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
2022-02-23 22:48:25 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
2022-02-23 22:48:25 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'automatic_add': False, 'command': 'Hello', 'protocol': ' '}
2022-02-23 22:48:25 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++  Hello\n\r'
2022-02-23 22:48:25 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!
2022-02-23 22:48:25 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': 'Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!'}
2022-02-23 22:48:25 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-02-23 22:48:25 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!

J’ai un autre Rfplayer ancien 1ere génération sur un autre system (Jeedom)

7928|[2022-02-23 22:45:22][DEBUG] : Commande SEND
7929|[2022-02-23 22:45:22][DEBUG] : Hello
7930|[2022-02-23 22:45:22][DEBUG] : Sending message ZIA++Hello
7931|[2022-02-23 22:45:22][DEBUG] : Writen > ZIA++Hello
7932|[2022-02-23 22:45:22][DEBUG] : ZIA--Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.38 F=433Mhz & 868Mhz EU)!
7933|[2022-02-23 22:45:22][DEBUG] : Connected to rfplayer !
7934|[2022-02-23 22:45:22][DEBUG] : Sending message ZIA++FORMAT OFF
7935|[2022-02-23 22:45:22][DEBUG] : Writen > ZIA++FORMAT OFF
7936|[2022-02-23 22:45:22][DEBUG] : Sending message ZIA++STATUS JSON
7937|[2022-02-23 22:45:22][DEBUG] : Writen > ZIA++STATUS JSON
7938|[2022-02-23 22:45:22][DEBUG] : ZIA--{"systemStatus": {"reqNum": "0", "info": [{"n" : "Version", "v" : "1.38"}, {"n" : "Jamming", "v" : "7"}, {"n" : "Time", "v" : "797061", "unit" : "s"}, {"n" : "Mac", "v" : "0xFF480784"}, {"n" : "LBT", "v" : "16", "unit" : "dBm"}, {"n" : "Factory", "v" : "1526388294"}, {"n" : "ClusterID", "v" : "0"}, {"n" : "RTdenials", "v" : "0"}, {"n" : "SigfoxID", "v" : "0"}, {"n" : "SigfoxPAC", "v" : "-"}, {"n" : "2.4Ghz", "v" : "0"}, {"n" : "MaskT", "v" : "0xFFFFFFFF"}, {"n" : "MaskA", "v" : "0xFFFFFFFF"}, {"transmitter": {"available": { "p": ["VISONIC433", "VISONIC868", "CHACON", "DOMIA", "X10", "X2D433", "X2D868", "X2DSHUTTER", "X2DELEC", "X2DGAS", "RTS", "BLYSS", "PARROT", "KD101", "FS20", "EDISIO"]}}}, {"receiver": {"available": { "p": ["X10", "RTS", "VISONIC", "BLYSS", "CHACON", "OREGONV1", "OREGONV2", "OREGONV3/OWL", "DOMIA", "X2D", "KD101", "PARROT", "TIC", "FS20", "JAMMING", "EDISIO"]}}}, {"receiver": {"enabled": { "p": ["X10", "RTS", "VISONIC", "BLYSS", "CHACON", "OREGONV1", "OREGONV2", "OREGONV3/OWL", "DOMIA", "X2D", "KD101", "PARROT", "TIC", "FS20", "JAMMING", "EDISIO"]}}}, {"repeater": {"available": { "p": ["X10", "RTS", "VISONIC", "BLYSS", "CHACON", "OREGONV1", "OREGONV2", "OREGONV3/OWL", "DOMIA", "X2D", "KD101", "PARROT", "TIC", "FS20", "EDISIO"]}}}, {"repeater": {"enabled": { "p": ["X10", "RTS", "VISONIC", "BLYSS", "CHACON", "OREGONV1", "OREGONV2", "OREGONV3/OWL", "DOMIA", "X2D", "KD101", "PARROT", "TIC", "FS20", "EDISIO"]}}}]}}
7939|[2022-02-23 22:45:22][DEBUG] : SystemStatus // Version : 1.38
7940|[2022-02-23 22:45:22][DEBUG] : Send to jeedom :  {'systemStatus': {'info': [{'n': 'Version', 'v': '1.38'}, {'n': 'Jamming', 'v': '7'}, {'n': 'Time', 'unit': 's', 'v': '797061'}, {'n': 'Mac', 'v': '0xFF480784'}, {'n': 'LBT', 'unit': 'dBm', 'v': '16'}, {'n': 'Factory', 'v': '1526388294'}, {'n': 'ClusterID', 'v': '0'}, {'n': 'RTdenials', 'v': '0'}, {'n': 'SigfoxID', 'v': '0'}, {'n': 'SigfoxPAC', 'v': '-'}, {'n': '2.4Ghz', 'v': '0'}, {'n': 'MaskT', 'v': '0xFFFFFFFF'}, {'n': 'MaskA', 'v': '0xFFFFFFFF'}, {'transmitter': {'available': {'p': ['VISONIC433', 'VISONIC868', 'CHACON', 'DOMIA', 'X10', 'X2D433', 'X2D868', 'X2DSHUTTER', 'X2DELEC', 'X2DGAS', 'RTS', 'BLYSS', 'PARROT', 'KD101', 'FS20', 'EDISIO']}}}, {'receiver': {'available': {'p': ['X10', 'RTS', 'VISONIC', 'BLYSS', 'CHACON', 'OREGONV1', 'OREGONV2', 'OREGONV3/OWL', 'DOMIA', 'X2D', 'KD101', 'PARROT', 'TIC', 'FS20', 'JAMMING', 'EDISIO']}}}, {'receiver': {'enabled': {'p': ['X10', 'RTS', 'VISONIC', 'BLYSS', 'CHACON', 'OREGONV1', 'OREGONV2', 'OREGONV3/OWL', 'DOMIA', 'X2D', 'KD101', 'PARROT', 'TIC', 'FS20', 'JAMMING', 'EDISIO']}}}, {'repeater': {'available': {'p': ['X10', 'RTS', 'VISONIC', 'BLYSS', 'CHACON', 'OREGONV1', 'OREGONV2', 'OREGONV3/OWL', 'DOMIA', 'X2D', 'KD101', 'PARROT', 'TIC', 'FS20', 'EDISIO']}}}, {'repeater': {'enabled': {'p': ['X10', 'RTS', 'VISONIC', 'BLYSS', 'CHACON', 'OREGONV1', 'OREGONV2', 'OREGONV3/OWL', 'DOMIA', 'X2D', 'KD101', 'PARROT', 'TIC', 'FS20', 'EDISIO']}}}], 'reqNum': '0'}}
7941|[2022-02-23 22:45:22][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
7942|[2022-02-23 22:45:22][INFO] : API RfPlayer solicité
7943|[2022-02-23 22:45:22][DEBUG] : Status recu
7944|[2022-02-23 22:45:22][DEBUG] : Version RFplayer > 1.38
7945|[2022-02-23 22:45:22][DEBUG] : transmitter RFplayer > VISONIC433,VISONIC868,CHACON,DOMIA,X10,X2D433,X2D868,X2DSHUTTER,X2DELEC,X2DGAS,RTS,BLYSS,PARROT,KD101,FS20,EDISIO
7946|[2022-02-23 22:45:22][DEBUG] : receiver RFplayer > X10,RTS,VISONIC,BLYSS,CHACON,OREGONV1,OREGONV2,OREGONV3/OWL,DOMIA,X2D,KD101,PARROT,TIC,FS20,JAMMING,EDISIO
7947|[2022-02-23 22:45:22][DEBUG] : receiver enabled RFplayer > X10,RTS,VISONIC,BLYSS,CHACON,OREGONV1,OREGONV2,OREGONV3/OWL,DOMIA,X2D,KD101,PARROT,TIC,FS20,JAMMING,EDISIO
7948|[2022-02-23 22:45:22][DEBUG] : repeater RFplayer > X10,RTS,VISONIC,BLYSS,CHACON,OREGONV1,OREGONV2,OREGONV3/OWL,DOMIA,X2D,KD101,PARROT,TIC,FS20,EDISIO
7949|[2022-02-23 22:45:22][DEBUG] : repeater enabled RFplayer > X10,RTS,VISONIC,BLYSS,CHACON,OREGONV1,OREGONV2,OREGONV3/OWL,DOMIA,X2D,KD101,PARROT,TIC,FS20,EDISIO

@+DOM

Bonjour

Ah merci pour cette commande que je n’avais pas vu :


  File "/config/custom_components/rfplayer/rflib/rfpprotocol.py", line 201, in send_command_ack
    self.send_command(protocol, command, device_address, device_id)
  File "/config/custom_components/rfplayer/rflib/rfpprotocol.py", line 166, in send_command
    raise KeyError("device_address or device_id must be specified")
KeyError: 'device_address or device_id must be specified'

Bonjour
Effectivement ce n’est pas la même chose.
Je vais regarder à trouver la version car la commande hello ne semble pas fonctionner chez moi.
Je suis sous proxmox sous un Nuc en version supervised aussi.

J’ai cela pour ma part

DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'protocol': ' ', 'command': 'Hello', 'automatic_add': False}
DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++  Hello\n\r'
DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--Welcome to Ziblue Dongle RFPLAYER (RFP1000,
DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: Firmware=V1.39 F=433Mhz & 868Mhz EU)!
DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': 'Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!'}
DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!

Est ce que tu peux débrancher le Rfplayer, puis attendre 10 sec et rebrancher.
Ensuite va voir le journal du système.

Bonjour,

Pour que les autres suivent, voici les informations suite à un redémarrage de HA comme demandé par @Doubledom :

2022-02-24 19:21:08 INFO (MainThread) [custom_components.rfplayer] Initiating Rfplayer connection
2022-02-24 19:21:08 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] CommandSerialization
2022-02-24 19:21:08 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] PacketHandling
2022-02-24 19:21:08 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] EventHandling
2022-02-24 19:21:08 INFO (MainThread) [custom_components.rfplayer] Connected to Rfplayer

2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] connected
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++HELLO\n\r'
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++RECEIVER + *\n\r'
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++FORMAT JSON\n\r'
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] initialized
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.36 F=433Mhz & 868Mhz EU)!

ZIA--RECEIVED PROTOCOLS: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 EDISIO
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': 'Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.36 F=433Mhz & 868Mhz EU)!'}
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.36 F=433Mhz & 868Mhz EU)!
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': 'RECEIVED PROTOCOLS: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 EDISIO'}
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-02-24 19:21:09 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:RECEIVED PROTOCOLS: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 EDISIO

2022-02-24 19:21:09 INFO (MainThread) [homeassistant.components.switch] Setting up swi

Bonjour,

@Aohzan si tu passes par là, je suis preneur d’idée :slight_smile:

Merci et bonne journée à tous

Bonjour à tous,

Merci beaucoup à @Doubledom d’avoir pris du temps ce jour, nous avons pu trouver pourquoi ça ne fonctionnait pas chez moi.
Lorsque l’on intègre le module RFPlayer, il y a une option que l’on peut cocher ou pas et qui permet d’ajouter (ou pas) des appareils automatiquement détectés.
Lorsque j’ai fait mon intégration, je me suis dit que je ne voulais pas intégrer du matériel détecté automatiquement et c’était là mon erreur. Si on choisit de ne pas intégrer le matériel inconnu on se retrouve avec les erreurs que je rencontrais.

En testant avec @Doubledom, j’ai autorisé l’ajout de matériel inconnus et ça fonctionne. Je me dis juste, dans la compréhension que j’ai de l’intégration, que ça ne devrait pas se passer comme ça. Il faut penser à désactiver cette ajout automatique lorsque vous avez terminé d’intégrer vos matériels.
Mais lorsque que l’on utilise le service pour tester et enregistrer de nouvelles entités, là ou l’on peut ajouter ou pas l’entités générée (en activant un bouton), il faut aussi que l’option d’ajout de l’intégration soit activée.

Je pense qu’il y a quelques corrections à apporter à ce développement, je suis prêt à aider pour tester si c’est utile.

Merci encore @Doubledom !!!

Slt…
Même si tu as désactivé les options d’ajout automatique ( que ce soit par Configurer ou Options système) ,
image
image
si tu passes par Outils développement services et que tu actives en plus Create entity Create associated switch entity ton ident est créé quand même si OK.

2022-02-28 10:07:11 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
2022-02-28 10:07:11 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': 'OFF', 'protocol': 'CHACON', 'device_id': 'B13', 'automatic_add': True}
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF CHACON ID B13\n\r'
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer] Add device for {'command': 'OFF', 'protocol': 'CHACON', 'device_id': 'B13', 'automatic_add': True}
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer] DOMAIN rfplayer
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer] DATA_DEVICE_REGISTER device_register
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer] EVENT_KEY_COMMAND command
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer] hass.data[DOMAIN][DATA_DEVICE_REGISTER] {'sensor': <function async_setup_entry.<locals>.add_new_device at 0xffff877d6af0>, 'command': <function async_setup_entry.<locals>.add_new_device at 0xffff899d98b0>}
2022-02-28 10:07:11 DEBUG (MainThread) [custom_components.rfplayer.switch] Add switch entity {'protocol': 'CHACON', 'device_address': None, 'device_id': 'B13', 'command': True, 'id': 'CHACON_B13'}
2022-02-28 10:07:11 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.rfplayer entity: switch.chacon_b13


image

@+dom

désolé j’ai pas eu le temps que je voulais pour travailler dessus, et pfiou y’a du backlog à rattraper :sweat_smile:
je vais essayer de régler les soucis de jamming
pour les autres soucis, n’hésitez pas à contribuer au repo via des pull request, ce qui vous permet de valider facilement à plusieurs le bon fonctionnement, sachant que j’ai toujours un peu de mal à reproduire quand j’ai pas le matériel chez moi avec les mêmes protocoles

Slt… @Aohzan et le reste des utilisateurs Rfplayer sous HA
Regarde un peu ce que l’on pourrais faire pour remonter plusieurs value dans des « idents », j’ai bidouiller mais c’est pas très propre ( j’ai créé autre ident avec « 0 » de plus, pour les valeurs)…

Du coup s’il y a des personnes sous Rfplayer avec Matos (type Edisio ou autre matos en 868 reconnaissable par lui ) je suis preneur pour test avec prog beta
:vulcan_salute: Merci @+DÕ¿ÕM

PS voir issues 10 sur Github

pour ceux qui veulent tester une version Béta

13/02/2022

Salut,
Moi aussi je suis utilisateur du rfplayer. J’ai bien galéré pour y arriver, mais c’est juste une question de nullité de ma part :sweat_smile:
Un grand merci à @Aohzan pour son travail et à tous ceux qui partagent leurs problèmes/réflexions/avancées !

A ma première installation de l’intégration, en activant l’option " Ajouter les appareil automatiquement lorsqu’un signal est reçu", des sensors sont apparus (les miens et ceux de tous mes voisins :grin:), mais je ne savais absolument pas quoi en faire…
J’ai réellement commencé à avancer grâce aux indications données par e-caille (Emmanuel Caillé) · GitHub dans Intégration Somfy RTS partielle · Issue #5 · gce-electronics/HA_RFPlayer · GitHub. Un grand merci à lui aussi !

Au final, j’ai 11 volets Somfy RTS que j’ai appairés au rfplayer via le configurateur java.
Ils apparaissent dans HA sous forme de covers templates que j’ai créés à la main dans un fichier yaml.

Du coup, je n’ai rien qui soit directement lié à l’intégration, pas d’appareil, ni d’entités :
Capture d’écran du 2022-03-14 21-14-40

Ce n’est pas très orthodoxe mais ça marche parfaitement.

J’ai aussi récupéré une vieille prise connectée Chacon YCR-3500 que je commande désormais dans HA après avoir utilisé le mode PARROT pour récupérer les trames de la télécommande d’origine. Pareil, j’ai créé un switch template
et ça marche sans problème aussi.

Voilà, je fais dans le basique mais ça fait le job. Je suivrai l’évolution de ce sujet pour progresser.

Salut
As-tu essayé la version que je propose sur GitHub ?
Normalement le « RTS » devrait être OK, j’ai fait test en mode évènement avec une adresse au hasard ( je n’ai pas de volet en RTS)


Le switch est bien créé avec une ID switch.rts_b5 un ON et un OFF qui devrait envoyé la trame normale …
Là on voit autre ID de test en RTS ( il faut que je regarde le DIM) …
image

INFO LOG

le log appuie sur Bp OFF et ON

2022-03-15 10:50:58 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++OFF RTS B5\n\r'
2022-03-15 10:51:02 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON RTS B5\n\r'

Ayant un Rflink de connecté je vois bien les trames acceptées :

2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] received data: 20;
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] received data: 15;Debug;RTS P1;a6490000
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] received data: 36ab14;
20;16;RTS;ID=36
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] got packet: 20;15;Debug;RTS P1;a649000036ab14;
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'debug', 'rts_p1': 'a649000036ab14'}
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'raw', 'value': None, 'tm': None, 'pulses': None}
2022-03-15 10:50:58 DEBUG (MainThread) [homeassistant.components.rflink] event of type unknown: {'id': 'raw', 'value': None, 'tm': None, 'pulses': None}
2022-03-15 10:50:58 DEBUG (MainThread) [homeassistant.components.rflink] unhandled event of type: unknown
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] received data: ab14;SWITCH=01;CMD=DOWN;
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] received data: 
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] got packet: 20;16;RTS;ID=36ab14;SWITCH=01;CMD=DOWN;
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'rts', 'id': '36ab14', 'switch': '01', 'command': 'down'}
2022-03-15 10:50:58 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'rts_36ab14_01', 'command': 'down'}
2022-03-15 10:50:58 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'rts_36ab14_01', 'command': 'down'}
2022-03-15 10:50:58 DEBUG (MainThread) [homeassistant.components.rflink] entity_ids: ['light.rts_36ab14_01']
2022-03-15 10:50:58 DEBUG (MainThread) [homeassistant.components.rflink] passing event to light.rts_36ab14_01

Et du coup un light.rts_36ab14_01 de créé avec le RFLINK ?

Si tu pouvais essayer de ton côté, fais sauvegarde avant si tu veux récupérer des ID comme avant !
image Merci @+DÕ¿ÕM

Bonjour,
Non je n’ai pas essayé ta version, mais j’y jetterai un œil ce week-end. Promis :wink:

Ceci dit, j’ai besoin du DIM dans mes automatisations (mes volets laissent passer la lumière en semaine pour qu’on arrive à se réveiller et ils sont complètement fermés week-end/jours fériés/vacances pour faire la grasse matinée :grin:).

Du coup, c’est plus intéressant pour moi d’avoir des entités covers que des switches.

Pour ce type de prise ce doit être du X10
Si tu as réglage canaux de A à P et de 1 à 16 il devrait remonter dans HA avec son ID du type
sensor.x10_0 pour A1, pour A16 doit être sensor.x10_15
après on passe sensor.x10_16 pour B1 jusqu’à sensor.x10_31 pour B16
et ainsi de suite jusqu’à P16 sensor.x10_255 qui est le maxi des cdes …

Pour remonter les ID type P16 il faudrait modifier la prise en compte de l’ID par le "idMeaning": "P16"
J’attends des tests de ce type en réel …
@+DÕ¿ÕM

PS: Si utilisateur du Rfplayer sur HA avec RTS ou autre merci de faire test, et remonter les logs ( voir derniere version de test sur Github, Issues 10)

Si vous voulez récupérer les commandes Parrot en mémoire dans le Rfplayer (avec la modif du fichier [services.yaml] de la version Béta) :

La vraie commande est STATUS PARROT XML « remplacer le TXT par XML »

service: rfplayer.send_command
data:
  command: STATUS
  automatic_add: false
  device_address: 'TXT '
  protocol: PARROT

ou


ne pas sélectionner:
Create entity
Create associated switch entity

ensuite voir les logs:

exemple de log
2022-03-16 13:26:19 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': 'STATUS', 'automatic_add': False, 'device_address': 'TXT ', 'protocol': 'PARROT'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++STATUS PARROT TXT \n\r'
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 1 (A2), action: 0 (OFF), rank: 1/12, reminder: Bp 4 Bp All Off,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 1 (A2), action: 0 (OFF), rank: 1/12, reminder: Bp 4 Bp All Off, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 1 (A2), action: 0 (OFF), rank: 1/12, reminder: Bp 4 Bp All Off, 

2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 1 (A2), action: 1 (ON), rank: 2/12, reminder: Bp 1,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 1 (A2), action: 1 (ON), rank: 2/12, reminder: Bp 1, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 1 (A2), action: 1 (ON), rank: 2/12, reminder: Bp 1, 

2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 2 (A3), action: 1 (ON), rank: 3/12, reminder: Bp2 On,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 2 (A3), action: 1 (ON), rank: 3/12, reminder: Bp2 On, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 2 (A3), action: 1 (ON), rank: 3/12, reminder: Bp2 On, 

2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 3 (A4), action: 1 (ON), rank: 4/12, reminder: Bp3 On,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 3 (A4), action: 1 (ON), rank: 4/12, reminder: Bp3 On, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 3 (A4), action: 1 (ON), rank: 4/12, reminder: Bp3 On, 

2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 4 (A5), action: 1 (ON), rank: 5/12, reminder: Bp All On,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 4 (A5), action: 1 (ON), rank: 5/12, reminder: Bp All On, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 4 (A5), action: 1 (ON), rank: 5/12, reminder: Bp All On, 

2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 7 (A8), action: 1 (ON), rank: 6/12, reminder: telecde 54761 4 on,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 7 (A8), action: 1 (ON), rank: 6/12, reminder: telecde 54761 4 on, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 7 (A8), action: 1 (ON), rank: 6/12, reminder: telecde 54761 4 on, 

2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 8 (A9), action: 0 (OFF), rank: 7/12, reminder: telecde 54761 4 off,
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 8 (A9), action: 0 (OFF), rank: 7/12, reminder: telecde 54761 4 off, \n'}
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:19 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 8 (A9), action: 0 (OFF), rank: 7/12, reminder: telecde 54761 4 off, 

2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 10 (A11), action: 0 (OFF), rank: 8/12, reminder: Bp 1 off,
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 10 (A11), action: 0 (OFF), rank: 8/12, reminder: Bp 1 off, \n'}
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 10 (A11), action: 0 (OFF), rank: 8/12, reminder: Bp 1 off, 

2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 16 (B1), action: 1 (ON), rank: 9/12, reminder: test all on,
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 16 (B1), action: 1 (ON), rank: 9/12, reminder: test all on, \n'}
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 16 (B1), action: 1 (ON), rank: 9/12, reminder: test all on, 

2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 20 (B5), action: 0 (OFF), rank: 10/12, reminder: Bp2 Off,
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 20 (B5), action: 0 (OFF), rank: 10/12, reminder: Bp2 Off, \n'}
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 20 (B5), action: 0 (OFF), rank: 10/12, reminder: Bp2 Off, 

2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 29 (B14), action: 1 (ON), rank: 11/12, reminder: Bp 4 Bp  1,
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 29 (B14), action: 1 (ON), rank: 11/12, reminder: Bp 4 Bp  1, \n'}
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 29 (B14), action: 1 (ON), rank: 11/12, reminder: Bp 4 Bp  1, 

2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
parrotStatus request number=0
id: 30 (B15), action: 0 (OFF), rank: 12/12, reminder: Bp3 Off,
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] decoded packet: {'node': 'gateway', 'message': '\nparrotStatus request number=0\nid: 30 (B15), action: 0 (OFF), rank: 12/12, reminder: Bp3 Off, \n'}
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:node,v:gateway
2022-03-16 13:26:20 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpparser] f:message,v:
parrotStatus request number=0
id: 30 (B15), action: 0 (OFF), rank: 12/12, reminder: Bp3 Off,

Vous pouvez tester d’autres commandes de la même façon … Voir RTS ou réglage du Rfplayer
@+DÕ¿ÕM