oui, il est branché directement sur un usb du Raspberry Pi 4 sur lequel est installé home assistant
Non c’est pour faire des tests si tu as des bugs avec le Rfplayer …
Si tu as des sensors qui remontent sur le Rfplayer laisse le tourner jusqu’à voir des Sensors Disponible
Sur le Rfxcom c’est pareil !
d’accord ca marche
normalement tout ce qui a été fait est bon ?
Je vais attendre de voir si jamais il y a d’autres sensors …
merci
dans les logs j’ai ca:
2023-06-13 14:24:32.698 DEBUG (SyncWorker_7) [RFXtrx] Send: 0x0b 0x11 0x00 0xdd 0x00 0x00 0x00 0x01 0x03 0x01 0x0f 0x70
2023-06-13 14:24:33.267 WARNING (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] Error during decode of data, invalid data: �
2023-06-13 14:24:33.367 DEBUG (Thread-5 (_connect)) [RFXtrx] Recv: 0x04
par contre sur le journal du rfplayer, je n’ai rien
tu as un bug sur le rfplayer !
Le Rfxcom répond bien au message, car il dit message accepté avec le ( tu as tronqué d’ailleurs) !
Recv: 0x04 0x02 0x01 0xdd 0x00
2023-06-13 13:26:39.687 DEBUG (SyncWorker_14) [RFXtrx] Send: 0x0b 0x11 0x00 0xdd 0x00 0x00 0x00 0x01 0x03 0x01 0x0f 0x70
2023-06-13 13:26:40.053 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-36", "floorNoise": "-103", "rfQuality": "10", "protocol": "4", "protocolMeaning": "CHACON", "infoType": "1", "frequency": "433920"},"infos": {"subType": "1", "id": "66", "subTypeMeaning": "ON"}}}
2023-06-13 13:26:40.053 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'CHACON_66typ_typ', 'subType': 'ON', 'value': 'ON', 'unit': None, 'platform': 'sensor', 'protocol': 'CHACON'}
2023-06-13 13:26:40.053 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'CHACON_66cmd_cmd', 'command': 'ON', 'value': 'ON', 'unit': None, 'platform': 'sensor', 'protocol': 'CHACON'}
2023-06-13 13:26:40.590 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x04 0x02 0x01 0xdd 0x00
d’accord (bonne nouvelle du coup)
comment résoudre ce soucis ? ![]()
Essai de faire une cde sur le développement du Rfplayer de type Hello
Il faut choisir HELLO et avec le protocol Vide
Pas création
service: rfplayer.send_command
data:
command: HELLO
automatic_add: false
entity_type: switch
protocol: " "
2023-06-13 14:32:49.339 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': 'HELLO', 'automatic_add': False, 'entity_type': 'switch', 'protocol': ' '}
2023-06-13 14:32:49.339 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++HELLO \n\r'
je n’ai que ca, je n’ai pas eu de retour
Il devrait donner l’info de Type :
2023-06-13 13:31:13.504 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': 'HELLO', 'automatic_add': False, 'entity_type': 'switch', 'protocol': ' '}
2023-06-13 13:31:13.504 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++HELLO \n\r'
2023-06-13 13:31:13.529 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--Welcome to Ziblue Dongle RFPLAYER (RFP1000, Firmware=V1.39 F=433Mhz & 868Mhz EU)!
Pour réinitialiser le Rfplayer j’ai mis une cde spéciale, la 2eme !
service: rfplayer.send_command
data:
command: 1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE
automatic_add: false
entity_type: switch
protocol: " "
2023-06-13 14:34:49.005 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': 'HELLO', 'automatic_add': False, 'entity_type': 'switch', 'protocol': ' '}
2023-06-13 14:34:49.005 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++HELLO \n\r'
j’ai re-testé mais toujours pas de retour
ca marche je vais lancer la commande
je viens de lancer la commande, il m’a mis cela :
2023-06-13 14:36:09.871 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': '1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE', 'automatic_add': False, 'entity_type': 'switch', 'protocol': ' '}
2023-06-13 14:36:09.872 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE \n\r'
2023-06-13 14:36:16.003 DEBUG (MainThread) [custom_components.rfplayer.cover] Open cover : <entity cover.rts_a1_2=open>
2023-06-13 14:36:16.003 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON A1 RTS \n\r'
Tu as bien cela dans le dev !
On voit pas le protocol , mais est avec espace ! comme dans le Yaml
Doit te répondre avec sa config et un test de Jamming !
2023-06-13 13:35:32.826 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': '1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE', 'automatic_add': False, 'entity_type': 'switch', 'protocol': ' '}
2023-06-13 13:35:32.826 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE \n\r'
2023-06-13 13:35:32.994 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
systemStatus request number=1
Version: 1.39, Jamming: 7, Time: 608804s, Mac: 0xF2FC7AF4, LBT: 16dBm, Factory: 1464773430, ClusterID: 0, RTdenials: 0, SigfoxID: 0, SigfoxPAC: -, 2.4Ghz: 0, MaskT: 0xFFFFFFFF, MaskA: 0xFFFFFFFF,
transmitter available: VISONIC433 VISONIC868 CHACON DOMIA X10 X2D433 X2D868 X2DSHUTTER X2DELEC X2DGAS RTS BLYSS PARROT KD101 FS20 EDISIO
receiver available: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 JAMMING EDISIO
2023-06-13 13:35:33.037 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: receiver enabled: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 JAMMING EDISIO
repeater available: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 EDISIO
repeater enabled: X10 RTS VISONIC BLYSS CHACON OREGONV1 OREGONV2 OREGONV3/OWL DOMIA X2D KD101 PARROT TIC FS20 EDISIO
2023-06-13 13:35:33.197 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA--
2023-06-13 13:35:33.242 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: radioStatus request number=1
Frequency: 433920Khz Most 433Mhz devices,
Selectivity: 0 Default value, FloorNoise: -104dBm Very small noise, DspTrigger: 8dBm, RFlink: 1 Enabled, RFlinkTrigger: 16dBm, sentFrames: 368, discFrames: 0, dutyCycle: 360000ms/h by ETSI, remainDC: 360000ms,
Frequency: 868350Khz Deltadore X2D/FS20/Edisio,
Selectivity: 0 Default value, FloorNoise: -106dBm Very small noise, DspTrigger: 8dBm, RFlink: 1 Enabled, RFlinkTrigger: 16dBm, sentFrames: 4380, discFrames: 0, dut
2023-06-13 13:35:33.257 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: yCycle: 36000ms/h by ETSI, remainDC: 36000ms,
2023-06-13 13:35:33.481 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"fram
2023-06-13 13:35:33.519 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: eType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-85", "floorNoise": "-104", "rfQuality": "4", "protocol": "15", "protocolMeaning": "JAMMING", "infoType": "1", "frequency": "433920"},"infos": {"subType": "1", "id": "0", "subTypeMeaning": "ON"}}}
2023-06-13 13:35:33.519 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'jamming_detection', 'subType': 'ON', 'value': 'ON', 'unit': None, 'platform': 'sensor', 'protocol': 'JAMMING'}
2023-06-13 13:35:33.520 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'jamming_detection', 'command': 'ON', 'value': 'ON', 'unit': None, 'platform': 'sensor', 'protocol': 'JAMMING'}
2023-06-13 13:35:35.422 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol]
et ensuite plus loin devrait y avoir le test Jamming à OFF qui remonte !
2023-06-13 13:35:38.345 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-80", "floorNoise": "-105", "rfQuality": "6", "protocol": "15", "protocolMeaning": "JAMMING", "infoType": "1", "frequency": "868350"},"infos": {"subType": "0", "id": "0", "subTypeMeaning": "OFF"}}}
2023-06-13 13:35:38.346 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'jamming_detection', 'subType': 'OFF', 'value': 'OFF', 'unit': None, 'platform': 'sensor', 'protocol': 'JAMMING'}
2023-06-13 13:35:38.346 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'jamming_detection', 'command': 'OFF', 'value': 'OFF', 'unit': None, 'platform': 'sensor', 'protocol': 'JAMMING'}
C’est la cde JAMMING SIMULATE avec le Réglage JAMMING 7 qui fait un test Interne du Rfplayer !
je l’ai relancé au cas ou :
2023-06-13 14:39:44.409 DEBUG (MainThread) [custom_components.rfplayer] Rfplayer send command for {'command': '1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE', 'automatic_add': False, 'entity_type': 'switch', 'protocol': ' '}
2023-06-13 14:39:44.409 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++1 FACTORYRESET. FORMAT JSON. STATUS. JAMMING 7. JAMMING SIMULATE \n\r'
2023-06-13 14:41:01.236 DEBUG (MainThread) [custom_components.rfplayer.cover] Open cover : <entity cover.rts_a1_2=closed>
2023-06-13 14:41:01.236 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] writing data: b'ZIA++ON A1 RTS \n\r'
je n’ai rien d’autre
C’est Quoi ce truc !











