Mise à jour de l'addon ( [ Rfplayer](https://github.com/Doubledom45/HA_RFPLAYER))

Bonjour.
J’ai passé une mise à jour de l’addon ( la version)

Cette version ajoute un décodage du protocole TIC de Cartelectronic
image
Suite à une demande sur le GitHub de IGwenI
Décodage en 433Mhz Ok, a voir si utilisateur de la version 868Mhz.
image

sensor.tic_xxxxxxxxxxxxxhc1 => Normalement  Heure creuse
sensor.tic_xxxxxxxxxxxxxhp2 => Normalement  Heure pleine
sensor.tic_xxxxxxxxxxxxxpow => Mesure de puissance
sensor.tic_xxxxxxxxxxxxtyp  => le type de mesure

Si bug merci de me remonté les logs du Rfplayer !

@+DoM(Ô¿Ô)

Merci Doubledom !
Je te mets quelques logs :

2023-10-19 08:59:27.893 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-92", "floorNoise": "-104", "rfQuality": "3", "protocol": "13", "protocolMeaning": "TIC", "infoType": "13", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "TELEINFO", "id": "811961618075", "qualifier": "2", "info": "35", "measures": [{"type" : "cnt1", "value" : "24307934", "unit" : "Wh"}, {"type" : "cnt2", "value" : "28265684", "unit" : "Wh"}, {"type" : "power","value" : "490", "uni
2023-10-19 08:59:27.909 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: t" : "W"}]}}}
2023-10-19 08:59:27.910 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.910 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.910 DEBUG (MainThread) [custom_components.rfplayer] event_type: sensor
2023-10-19 08:59:27.910 DEBUG (MainThread) [custom_components.rfplayer] event_id: TIC_811961618075typ_typ
2023-10-19 08:59:27.911 DEBUG (MainThread) [custom_components.rfplayer] event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.911 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.911 DEBUG (MainThread) [custom_components.rfplayer] {'sensor': <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>, 'command': <function async_setup_entry.<locals>.add_new_device at 0x7f6a90dd00>, 'cover': <function async_setup_entry.<locals>.add_new_device at 0x7f5e84e0c0>}
2023-10-19 08:59:27.911 DEBUG (MainThread) [custom_components.rfplayer] <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>
2023-10-19 08:59:27.913 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.913 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.913 DEBUG (MainThread) [custom_components.rfplayer] event_type: sensor
2023-10-19 08:59:27.914 DEBUG (MainThread) [custom_components.rfplayer] event_id: TIC_811961618075hc1_hc1
2023-10-19 08:59:27.914 DEBUG (MainThread) [custom_components.rfplayer] event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.914 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.914 DEBUG (MainThread) [custom_components.rfplayer] {'sensor': <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>, 'command': <function async_setup_entry.<locals>.add_new_device at 0x7f6a90dd00>, 'cover': <function async_setup_entry.<locals>.add_new_device at 0x7f5e84e0c0>}
2023-10-19 08:59:27.915 DEBUG (MainThread) [custom_components.rfplayer] <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>
2023-10-19 08:59:27.917 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265684', 'value': '28265684', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.918 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.918 DEBUG (MainThread) [custom_components.rfplayer] event_type: sensor
2023-10-19 08:59:27.918 DEBUG (MainThread) [custom_components.rfplayer] event_id: TIC_811961618075hp2_hp2
2023-10-19 08:59:27.918 DEBUG (MainThread) [custom_components.rfplayer] event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265684', 'value': '28265684', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.918 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.918 DEBUG (MainThread) [custom_components.rfplayer] {'sensor': <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>, 'command': <function async_setup_entry.<locals>.add_new_device at 0x7f6a90dd00>, 'cover': <function async_setup_entry.<locals>.add_new_device at 0x7f5e84e0c0>}
2023-10-19 08:59:27.919 DEBUG (MainThread) [custom_components.rfplayer] <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>
2023-10-19 08:59:27.921 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075pow_pow', 'power': '490', 'value': '490', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.921 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.921 DEBUG (MainThread) [custom_components.rfplayer] event_type: sensor
2023-10-19 08:59:27.921 DEBUG (MainThread) [custom_components.rfplayer] event_id: TIC_811961618075pow_pow
2023-10-19 08:59:27.921 DEBUG (MainThread) [custom_components.rfplayer] event: {'id': 'TIC_811961618075pow_pow', 'power': '490', 'value': '490', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.921 DEBUG (MainThread) [custom_components.rfplayer] device_id not known, adding new device
2023-10-19 08:59:27.922 DEBUG (MainThread) [custom_components.rfplayer] {'sensor': <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>, 'command': <function async_setup_entry.<locals>.add_new_device at 0x7f6a90dd00>, 'cover': <function async_setup_entry.<locals>.add_new_device at 0x7f5e84e0c0>}
2023-10-19 08:59:27.922 DEBUG (MainThread) [custom_components.rfplayer] <function async_setup_entry.<locals>.add_new_device at 0x7f601cb740>
2023-10-19 08:59:27.923 DEBUG (MainThread) [custom_components.rfplayer.sensor] Add sensor entity {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.924 DEBUG (MainThread) [custom_components.rfplayer.sensor] Add sensor entity {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.924 DEBUG (MainThread) [custom_components.rfplayer.sensor] Add sensor entity {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265684', 'value': '28265684', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 08:59:27.924 DEBUG (MainThread) [custom_components.rfplayer.sensor] Add sensor entity {'id': 'TIC_811961618075pow_pow', 'power': '490', 'value': '490', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}

2023-10-19 09:01:02.521 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-92", "floorNoise": "-104", "rfQuality": "3", "protocol": "13", "protocolMeaning": "TIC", "infoType": "13", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "TELEINFO", "id": "811961618075", "qualifier": "2", "info": "35", "measures": [{"type" : "cnt1", "value" : "24307934", "unit" : "Wh"}, {"type" : "cnt2", "value" : "28265695", "unit" : "Wh"}, {"type" : "power","value" : "500", "uni
2023-10-19 09:01:02.537 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: t" : "W"}]}}}
2023-10-19 09:01:02.538 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:01:02.538 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:01:02.539 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265695', 'value': '28265695', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:01:02.539 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075pow_pow', 'power': '500', 'value': '500', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:02:29.453 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header
2023-10-19 09:02:29.508 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-93", "floorNoise": "-104", "rfQuality": "2", "protocol": "13", "protocolMeaning": "TIC", "infoType": "13", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "TELEINFO", "id": "811961618075", "qualifier": "2", "info": "35", "measures": [{"type" : "cnt1", "value" : "24307934", "unit" : "Wh"}, {"type" : "cnt2", "value" : "28265705", "unit" : "Wh"}, {"type" : "power","value" : "500", "unit" : "W"}]}}}
2023-10-19 09:02:29.509 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:02:29.510 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:02:29.510 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265705', 'value': '28265705', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:02:29.511 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075pow_pow', 'power': '500', 'value': '500', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}

2023-10-19 09:04:58.174 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-92", "floorNoise": "-104", "rfQuality": "3", "protocol": "13", "protocolMeaning": "TIC", "infoType": "13", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "TELEINFO", "id": "811961618075", "qualifier": "2", "info": "35", "measures": [{"type" : "cnt1", "value" : "24307934", "unit" : "Wh"}, {"type" : "cnt2", "value" : "28265723", "unit" : "Wh"}, {"type" : "power","value" : "500", "uni
2023-10-19 09:04:58.190 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: t" : "W"}]}}}
2023-10-19 09:04:58.191 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:04:58.191 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:04:58.192 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265723', 'value': '28265723', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:04:58.193 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075pow_pow', 'power': '500', 'value': '500', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}

2023-10-19 09:06:25.012 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-91", "floorNoise": "-104", "rfQuality": "3", "protocol": "13", "protocolMeaning": "TIC", "infoType": "13", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "TELEINFO", "id": "811961618075", "qualifier": "2", "info": "35", "measures": [{"type" : "cnt1", "value" : "24307934", "unit" : "Wh"}, {"type" : "cnt2", "value" : "28265733", "unit" : "Wh"}, {"type" : "power","value" : "450", "uni
2023-10-19 09:06:25.027 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: t" : "W"}]}}}
2023-10-19 09:06:25.027 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:06:25.028 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:06:25.028 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265733', 'value': '28265733', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:06:25.029 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075pow_pow', 'power': '450', 'value': '450', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}

2023-10-19 09:07:43.249 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-92", "floorNoise": "-104", "rfQuality": "3", "protocol": "13", "protocolMeaning": "TIC", "infoType": "13", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "TELEINFO", "id": "811961618075", "qualifier": "2", "info": "35", "measures": [{"type" : "cnt1", "value" : "24307934", "unit" : "Wh"}, {"type" : "cnt2", "value" : "28265740", "unit" : "Wh"}, {"type" : "power","value" : "450", "uni
2023-10-19 09:07:43.265 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] received data: t" : "W"}]}}}
2023-10-19 09:07:43.265 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075typ_typ', 'subType': 'TELEINFO', 'value': 'TELEINFO', 'unit': None, 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:07:43.266 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hc1_hc1', 'cnt1': '24307934', 'value': '24307934', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:07:43.266 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075hp2_hp2', 'cnt2': '28265740', 'value': '28265740', 'unit': 'Wh', 'platform': 'sensor', 'protocol': 'TIC'}
2023-10-19 09:07:43.266 DEBUG (MainThread) [custom_components.rfplayer.rflib.rfpprotocol] got event: {'id': 'TIC_811961618075pow_pow', 'power': '450', 'value': '450', 'unit': 'W', 'platform': 'sensor', 'protocol': 'TIC'}

Tout à l’air de marcher…
Gwen

Salut …
Bienvenue …
Regarde de temps le « qualifier » suivant les compteurs il devrait changer!
Je le rajouterai plus tard , en même temps que le décodage de l’ID ! sera moins long !

N’oublie pas de passer par case présentation ! :stuck_out_tongue_winking_eye: