sasu-drooz / Domoticz-Rfplayer

Domoticz python Plugin for Ziblue RfPlayer Rfp1000
GNU General Public License v3.0
12 stars 16 forks source link

Création en double de Device X2D "Thermostat" de zone #24

Closed ogulf closed 7 years ago

ogulf commented 7 years ago

Les devices X2D de zone pour mon DeltaDore 833 sont créés par paire pour chaque zone :

Il arrive que Domoticz crée en double, triple, ce fameux second device.

J'ai ajouté qques lignes au script pour essayer d'identifier cette création en double (ajout de trace dans la log). Voici un exemple de création en double (unit 9 créé en double de unit 2) :

2017-07-22 17:08:49.255 (RFPlayer) Received 462 bytes of data:.
2017-07-22 17:08:49.255 (RFPlayer) 5a 49 41 33 33 7b 20 22 66 72 61 6d 65 22 20 3a 7b 22 68 65 ZIA33{."frame".:{"he
2017-07-22 17:08:49.256 (RFPlayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType":
2017-07-22 17:08:49.256 (RFPlayer) 20 22 30 22 2c 20 22 63 6c 75 73 74 65 72 22 3a 20 22 30 22 ."0",."cluster":."0"
2017-07-22 17:08:49.256 (RFPlayer) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 31 22 2c 20 22 ,."dataFlag":."1",."
2017-07-22 17:08:49.256 (RFPlayer) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 35 34 22 2c 20 22 66 6c rfLevel":."-54",."fl
2017-07-22 17:08:49.256 (RFPlayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 36 22 2c 20 22 oorNoise":."-106",."
2017-07-22 17:08:49.256 (RFPlayer) 72 66 51 75 61 6c 69 74 79 22 3a 20 22 31 30 22 2c 20 22 70 rfQuality":."10",."p
2017-07-22 17:08:49.256 (RFPlayer) 72 6f 74 6f 63 6f 6c 22 3a 20 22 38 22 2c 20 22 70 72 6f 74 rotocol":."8",."prot
2017-07-22 17:08:49.256 (RFPlayer) 6f 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 58 32 44 22 2c ocolMeaning":."X2D",
2017-07-22 17:08:49.256 (RFPlayer) 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 31 30 22 2c 20 22 ."infoType":."10",."
2017-07-22 17:08:49.256 (RFPlayer) 66 72 65 71 75 65 6e 63 79 22 3a 20 22 38 36 38 33 35 30 22 frequency":."868350"
2017-07-22 17:08:49.256 (RFPlayer) 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 70 65 },"infos":.{"subType
2017-07-22 17:08:49.256 (RFPlayer) 22 3a 20 22 35 22 2c 20 22 73 75 62 54 79 70 65 4d 65 61 6e ":."5",."subTypeMean
2017-07-22 17:08:49.256 (RFPlayer) 69 6e 67 22 3a 20 22 44 52 49 56 45 52 20 52 46 22 2c 20 22 ing":."DRIVER.RF",."
2017-07-22 17:08:49.257 (RFPlayer) 69 64 22 3a 20 22 31 38 39 30 39 37 37 30 32 36 22 2c 20 22 id":."1890977026",."
2017-07-22 17:08:49.257 (RFPlayer) 61 72 65 61 22 3a 20 22 32 22 2c 20 22 71 75 61 6c 69 66 69 area":."2",."qualifi
2017-07-22 17:08:49.257 (RFPlayer) 65 72 22 3a 20 22 33 32 22 2c 20 22 71 75 61 6c 69 66 69 65 er":."32",."qualifie
2017-07-22 17:08:49.257 (RFPlayer) 72 4d 65 61 6e 69 6e 67 22 3a 20 7b 20 22 66 6c 61 67 73 22 rMeaning":.{."flags"
2017-07-22 17:08:49.257 (RFPlayer) 3a 20 5b 5d 7d 2c 20 22 66 75 6e 63 74 69 6f 6e 22 3a 20 22 :.[]},."function":."
2017-07-22 17:08:49.257 (RFPlayer) 32 22 2c 20 22 66 75 6e 63 74 69 6f 6e 4d 65 61 6e 69 6e 67 2",."functionMeaning
2017-07-22 17:08:49.257 (RFPlayer) 22 3a 20 22 4f 50 45 52 41 54 49 4e 47 20 4d 4f 44 45 22 2c ":."OPERATING.MODE",
2017-07-22 17:08:49.257 (RFPlayer) 20 22 73 74 61 74 65 22 3a 20 22 37 22 2c 20 22 73 74 61 74 ."state":."7",."stat
2017-07-22 17:08:49.257 (RFPlayer) 65 4d 65 61 6e 69 6e 67 22 3a 20 22 41 55 54 4f 22 7d 7d 7d eMeaning":."AUTO"}}}
2017-07-22 17:08:49.257 (RFPlayer) 0a 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
2017-07-22 17:08:49.257 (RFPlayer) Calling message handler 'onMessage'.
2017-07-22 17:08:49.258 (RFPlayer) Last Message was 1.004037 seconds ago, Message clear
2017-07-22 17:08:49.258 (RFPlayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "1", "rfLevel": "-54", "floorNoise": "-106", "rfQuality": "10", "protocol": "8", "protocolMeaning": "X2D", "infoType": "10", "frequency": "868350"},"infos": {"subType": "5", "subTypeMeaning": "DRIVER RF", "id": "1890977026", "area": "2", "qualifier": "32", "qualifierMeaning": { "flags": []}, "function": "2", "functionMeaning": "OPERATING MODE", "state": "7", "stateMeaning": "AUTO"}}}
2017-07-22 17:08:49.258 (RFPlayer) infoType : 10
2017-07-22 17:08:49.258 (RFPlayer) id binary : 1110000101101100000010100000010
2017-07-22 17:08:49.258 (RFPlayer) area b: 000010
2017-07-22 17:08:49.258 (RFPlayer) id decode b: 1110000101101100000010100
2017-07-22 17:08:49.258 (RFPlayer) area i: 3
2017-07-22 17:08:49.258 (RFPlayer) id decode i: 29546516
2017-07-22 17:08:49.258 (RFPlayer) id decode h: 1c2d814
2017-07-22 17:08:49.259 (RFPlayer) Options to find or set : {'frequency': '868350', 'protocol': '8', 'function': '2', 'id': '1110000101101100000010100', 'LevelActions': '|||||||||', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelOffHidden': 'True', 'infoType': '10', 'subType': '5', 'area': '2', 'SelectorStyle': '0'}
2017-07-22 17:08:49.259 (RFPlayer) Device : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelActions': '|||||||||', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised'} for devices unit 2
2017-07-22 17:08:49.259 (RFPlayer) Device : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelActions': '|||||||||', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised'} for devices unit 3
2017-07-22 17:08:49.259 (RFPlayer) Device : {'frequency': '868350', 'protocol': '8', 'function': '1', 'infoType': '10', 'id': '1890977024', 'subType': '5', 'area': '0'} for devices unit 4
2017-07-22 17:08:49.259 (RFPlayer) Device : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelActions': '|||||||||', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised'} for devices unit 5
2017-07-22 17:08:49.259 (RFPlayer) Device : {'frequency': '868350', 'protocol': '8', 'function': '1', 'infoType': '10', 'id': '1890977026', 'subType': '5', 'area': '2'} for devices unit 6
2017-07-22 17:08:49.259 (RFPlayer) Device : {'frequency': '868350', 'protocol': '8', 'function': '1', 'infoType': '10', 'id': '1890977025', 'subType': '5', 'area': '1'} for devices unit 7
2017-07-22 17:08:49.259 (RFPlayer) Device : {'frequency': '868350', 'protocol': '8', 'function': '2', 'id': '1110000101101100000010100', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'SelectorStyle': '0', 'LevelOffHidden': 'True', 'LevelActions': '|||||||||', 'subType': '5', 'area': '1', 'infoType': '10'} for devices unit 8
2017-07-22 17:08:49.260 (RFPlayer) NbDevice : 8
2017-07-22 17:08:49.260 (RFPlayer) Creating device '8 - 1890977026'.

De mon point de vue, la valeur "Option" de l'unit 2 a été modifié à un moment donné.... Et lorsque l'ordre arrive à nouveau du boitier de commande DeltaDore, Domoticz ne retrouve pas le device par sa valeur "option", et en crée un nouveau... Cf image ci-dessous et log ci-dessus.

http://hpics.li/11c9ab8

ogulf commented 7 years ago

Bon j'ai trouvé la raison... Ce n'est pas à cause du plugin RFPlayer. Mais à cause de Domoticz qui change la valeur "Option" lorsqu'on change l'icone du device. Du coup je me demande si le pb d'envoi de commande n'est pas lié (cf autre issue su rRFPlayer) ==> je vérifierai plus tard

Exemple illustré ci-dessous, sur le device n°8, je vais créer une issue pour Domoticz.

Avant changement d'icone sur unit 9 :

2017-07-22 19:56:07.182 (RFPlayer) Options to find or set : {'LevelOffHidden': 'True', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'function': '2', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'SelectorStyle': '0', 'infoType': '10', 'subType': '5', 'area': '2'}
2017-07-22 19:56:07.182 (RFPlayer) Device 2 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 19:56:07.182 (RFPlayer) Device 3 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 19:56:07.183 (RFPlayer) Device 4 : {'protocol': '8', 'frequency': '868350', 'id': '1890977024', 'function': '1', 'infoType': '10', 'subType': '5', 'area': '0'}
2017-07-22 19:56:07.183 (RFPlayer) Device 5 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 19:56:07.183 (RFPlayer) Device 6 : {'protocol': '8', 'frequency': '868350', 'id': '1890977026', 'function': '1', 'infoType': '10', 'subType': '5', 'area': '2'}
2017-07-22 19:56:07.183 (RFPlayer) Device 7 : {'protocol': '8', 'frequency': '868350', 'id': '1890977025', 'function': '1', 'infoType': '10', 'subType': '5', 'area': '1'}
2017-07-22 19:56:07.183 (RFPlayer) Device 8 : {'function': '2', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'LevelOffHidden': 'True', 'subType': '5', 'SelectorStyle': '0', 'infoType': '10', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'area': '1'}
2017-07-22 19:56:07.183 (RFPlayer) Device 9 : {'function': '2', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'LevelOffHidden': 'True', 'subType': '5', 'SelectorStyle': '0', 'infoType': '10', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'area': '2'}
2017-07-22 19:56:07.183 (RFPlayer) Device 10 : {'function': '2', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'LevelOffHidden': 'True', 'subType': '5', 'SelectorStyle': '0', 'infoType': '10', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'area': '0'}

Après changement d'icone sur unit 9 ==> Option changée, création d'un nouveau Device (unit 11) par le plugin RFPlayer qui ne retrouve plus "son" device unit 9 :

2017-07-22 21:22:36.169 (RFPlayer) Options to find or set : {'LevelOffHidden': 'True', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'function': '2', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'SelectorStyle': '0', 'infoType': '10', 'subType': '5', 'area': '1'}
2017-07-22 21:22:36.169 (RFPlayer) Device 2 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 21:22:36.169 (RFPlayer) Device 3 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 21:22:36.169 (RFPlayer) Device 4 : {'protocol': '8', 'frequency': '868350', 'id': '1890977024', 'function': '1', 'infoType': '10', 'subType': '5', 'area': '0'}
2017-07-22 21:22:36.169 (RFPlayer) Device 5 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 21:22:36.169 (RFPlayer) Device 6 : {'protocol': '8', 'frequency': '868350', 'id': '1890977026', 'function': '1', 'infoType': '10', 'subType': '5', 'area': '2'}
2017-07-22 21:22:36.169 (RFPlayer) Device 7 : {'protocol': '8', 'frequency': '868350', 'id': '1890977025', 'function': '1', 'infoType': '10', 'subType': '5', 'area': '1'}
2017-07-22 21:22:36.169 (RFPlayer) Device 8 : {'function': '2', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'LevelOffHidden': 'True', 'subType': '5', 'SelectorStyle': '0', 'infoType': '10', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'area': '1'}
2017-07-22 21:22:36.170 (RFPlayer) Device 9 : {'LevelOffHidden': 'false', 'SelectorStyle': '0', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'LevelActions': '|||||||||'}
2017-07-22 21:22:36.170 (RFPlayer) Device 10 : {'function': '2', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'LevelOffHidden': 'True', 'subType': '5', 'SelectorStyle': '0', 'infoType': '10', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'area': '0'}
2017-07-22 21:22:36.170 (RFPlayer) Device 11 : {'function': '2', 'protocol': '8', 'frequency': '868350', 'LevelActions': '|||||||||', 'id': '1110000101101100000010100', 'LevelOffHidden': 'True', 'subType': '5', 'SelectorStyle': '0', 'infoType': '10', 'LevelNames': 'Off|Eco|Moderat|Medio|Comfort|Stop|Out of frost|Special|Auto|Centralised', 'area': '2'}
zaraki673 commented 7 years ago

Je reouvre, le probleme est du coté de la lecture des options dans le plugin.

Le fait de modifier l'icone ne devrait pas poser de problème ;)

ogulf commented 7 years ago

Hello zaraki !

Je pensais bien faire du coup, étant persuadé pour le coup que ça ne venait pas du plugin RFPlayer... Je maintiens ouvert l'issue sur Domoticz en attendant de savoir de quoi il retourne :

https://github.com/domoticz/domoticz/issues/1711

zaraki673 commented 7 years ago

la lecture des options est corrigée, on peu désormais changé d'icone sans risque de doublon

;)

ogulf commented 7 years ago

Super, je teste ça prochainement 😀

Je vais ensuite tester dans le detail l'envoi d'une commande X2D aux chauffages... j'ai déjà essayé mais ça ne semble pas fonctionner. Je solliciterai Ziblue aussi pour savoir quelle commande le Rfplayer doit recevoir pour envoyer un ordre "Confort" par exemple (en fait je crois qu'il faut envoyer deux commandes au récepteur mais je ne sais pas si c'est le Rfplayer qui les gère ou si c'est au plugin de les gérer...)

Je pourrai revenir vers toi du coup ?

Olivier

-------- Message d'origine -------- De : zaraki673 notifications@github.com Date : 30/08/2017 05:19 (GMT+01:00) À : sasu-drooz/Domoticz-Rfplayer Domoticz-Rfplayer@noreply.github.com Cc : ogulf ogulf@hotmail.com, State change state_change@noreply.github.com Objet : Re: [sasu-drooz/Domoticz-Rfplayer] Création en double de Device X2D "Thermostat" de zone (#24)

la lecture des options est corrigée, on peu désormais changé d'icone sans risque de doublon

;)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/sasu-drooz/Domoticz-Rfplayer/issues/24#issuecomment-325868049, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcsFq-84NFsBHyYy2l9P-dpKLz6tL0RFks5sdNSjgaJpZM4OgM-0.

zaraki673 commented 7 years ago

Oui bien sur pas de soucis,

je penses que ca va etre au plugin de le gerer, faut voir si vraiment obligatoire cette envoie de deux commandes

;)

Le 30 août 2017 à 10:52, ogulf notifications@github.com a écrit :

Super, je teste ça prochainement 😀

Je vais ensuite tester dans le detail l'envoi d'une commande X2D aux chauffages... j'ai déjà essayé mais ça ne semble pas fonctionner. Je solliciterai Ziblue aussi pour savoir quelle commande le Rfplayer doit recevoir pour envoyer un ordre "Confort" par exemple (en fait je crois qu'il faut envoyer deux commandes au récepteur mais je ne sais pas si c'est le Rfplayer qui les gère ou si c'est au plugin de les gérer...)

Je pourrai revenir vers toi du coup ?

Olivier

-------- Message d'origine -------- De : zaraki673 notifications@github.com Date : 30/08/2017 05:19 (GMT+01:00) À : sasu-drooz/Domoticz-Rfplayer Domoticz-Rfplayer@noreply.github.com Cc : ogulf ogulf@hotmail.com, State change <state_change@noreply.github. com> Objet : Re: [sasu-drooz/Domoticz-Rfplayer] Création en double de Device X2D "Thermostat" de zone (#24)

la lecture des options est corrigée, on peu désormais changé d'icone sans risque de doublon

;)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/ sasu-drooz/Domoticz-Rfplayer/issues/24#issuecomment-325868049, or mute the threadhttps://github.com/notifications/unsubscribe- auth/AcsFq-84NFsBHyYy2l9P-dpKLz6tL0RFks5sdNSjgaJpZM4OgM-0.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sasu-drooz/Domoticz-Rfplayer/issues/24#issuecomment-325927044, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGF7EgtLYDDuY9kZZ3R3mvo3M7aKS4Aks5sdSLpgaJpZM4OgM-0 .

ogulf commented 6 years ago

Est-il possible de rouvrir ? Dès qu'un device X2D créé par le plugin rfplayer est modifié via l'interface de domoticz, la valeur de la colonne "Options" est modifiée... du coup le device n'est plus reconnu par le plugin rfplayer....

Exemple ci-dessous : les champs spécifiquement ajoutés par le plugin pour des modules de chauffages X2D ont disparu après ajout d'un 'Level' dans Domoticz (utiliser un convetisseur Base64 pour retrouver les valeurs en clair).

Contenu du champ Options avant modification :

LevelActions:fHx8fHx8fHx8; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb2M=; LevelOffHidden:RmFsc2U=; SelectorStyle:MA==; area:MA==; frequency:ODY4MzUw; function:Mg==; id:MTExMDAwMDEwMTEwMTEwMDAwMDAxMDEwMA==; infoType:MTA=; protocol:OA==; subType:NQ==

Mise à jour du device par ajout d'un Level (libellé Auto) via domoticz :

LevelActions:fHx8fHx8fA==; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb2N8QXV0bw==; LevelOffHidden:ZmFsc2U=; SelectorStyle:MA==

Les champs dédiés et spécifiques aux modules de chauffage X2D ont "disparus" (area, frequency etc.) Je pense que c'est parce qu'ils ne sont pas dans l'interface graphique de domoticz... Car je ne vois pas en quoi le plugin rfplayer intervient dans cette modification de device...

zaraki673 commented 6 years ago

ouvre plutot un autre, je penses que ce problème en general a tous les protocoles, je pensais l'avoir réglé :(

merci

zaraki673 commented 6 years ago

hum c'est pt etre plutot un bug coté domoticz c est lui qui efface tt a la mise à jour des options du devices :( du coup je suis bloqué pour le moment sur le sujet ...

ogulf commented 6 years ago

C'est ce qu'il me semble aussi : le champ Options ne contient que des valeurs présentent dans la page de mise à jour du device.

J'ai créé une issue sur le Github Domoticz. Dès que j'ai un PC je poste le lien ici.

Edit : voici le lien https://github.com/domoticz/domoticz/issues/1972

zaraki673 commented 6 years ago

ah oki, je comprends pourquoi t as pas ouvert un autre sujet, je m en occupe du coup :D

merci ;)

Le 2 décembre 2017 à 07:27, ogulf notifications@github.com a écrit :

C'est ce qu'il me semble aussi : le champ Options ne contient que des valeurs présentent dans la page de mise à jour du device.

J'ai créé une issue sur le Github Domoticz. Dès que j'ai un PC je poste le lien ici.

-------- Message d'origine -------- De : zaraki673 notifications@github.com Date : 02/12/2017 00:19 (GMT+01:00) À : sasu-drooz/Domoticz-Rfplayer Domoticz-Rfplayer@noreply.github.com Cc : ogulf ogulf@hotmail.com, State change <state_change@noreply.github. com> Objet : Re: [sasu-drooz/Domoticz-Rfplayer] Création en double de Device X2D "Thermostat" de zone (#24)

hum pas sur, pt etre plutot un bug coté domoticz c est lui qui efface tt a la mise à jour des options du devices :(

Le 2 décembre 2017 à 00:18, Kevin Larsonneur azazel673@gmail.com a écrit :

ça devrait être résolu dans la dernière version (1.0.9)

Le 28 novembre 2017 à 20:57, ogulf notifications@github.com a écrit :

Est-il possible de rouvrir ? Dès qu'un device X2D créé par le plugin rfplayer est modifié via l'interface de domoticz, la valeur de la colonne "Options" est modifiée... du coup le device n'est plus reconnu par le plugin rfplayer....

Exemple ci-dessous : les champs spécifiquement ajoutés par le plugin pour des modules de chauffages X2D ont disparu après ajout d'un 'Level' dans Domoticz (utiliser un convetisseur Base64 pour retrouver les valeurs en clair). Contenu du champ Options avant modification :

LevelActions:fHx8fHx8fHx8; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb2M=; LevelOffHidden:RmFsc2U=; SelectorStyle:MA==; area:MA==; frequency:ODY4MzUw; function:Mg==; id:MTExMDAwMDEwMTEwMTEwMDAwMDAxMDEwMA==; infoType:MTA=; protocol:OA==; subType:NQ== Mise à jour du device par ajout d'un Level (libellé Auto) via domoticz :

LevelActions:fHx8fHx8fA==; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb2N8QXV0bw== ; LevelOffHidden:ZmFsc2U=; SelectorStyle:MA==

Les champs dédiés et spécifiques aux modules de chauffage X2D ont "disparus" (area, frequency etc.) Je pense que c'est parce qu'ils ne sont pas dans l'interface graphique de domoticz... Car je ne vois pas en quoi le plugin rfplayer intervient dans cette modification de device...

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sasu-drooz/Domoticz-Rfplayer/ issues/24#issuecomment-347644803, or mute the thread https://github.com/notifications/unsubscribe-auth/ AHGF7Ms5mLfBKDlyhRjoGC0mTWsbQsJxks5s7GWRgaJpZM4OgM-0 .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/ sasu-drooz/Domoticz-Rfplayer/issues/24#issuecomment-348640151, or mute the threadhttps://github.com/notifications/unsubscribe- auth/AcsFq5YkleFHb4iRO_EOSKXQZxRZJw9Zks5s8ImPgaJpZM4OgM-0.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sasu-drooz/Domoticz-Rfplayer/issues/24#issuecomment-348672288, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGF7JFGUM203r93Oq4j0JNVUbHan1uaks5s8O3WgaJpZM4OgM-0 .

zaraki673 commented 6 years ago

voila nouveau sujet : https://github.com/sasu-drooz/Domoticz-Rfplayer/issues/41

;)

Le 2 décembre 2017 à 10:39, Kevin Larsonneur azazel673@gmail.com a écrit :

ah oki, je comprends pourquoi t as pas ouvert un autre sujet, je m en occupe du coup :D

merci ;)

Le 2 décembre 2017 à 07:27, ogulf notifications@github.com a écrit :

C'est ce qu'il me semble aussi : le champ Options ne contient que des valeurs présentent dans la page de mise à jour du device.

J'ai créé une issue sur le Github Domoticz. Dès que j'ai un PC je poste le lien ici.

-------- Message d'origine -------- De : zaraki673 notifications@github.com Date : 02/12/2017 00:19 (GMT+01:00) À : sasu-drooz/Domoticz-Rfplayer Domoticz-Rfplayer@noreply.github.com Cc : ogulf ogulf@hotmail.com, State change < state_change@noreply.github.com> Objet : Re: [sasu-drooz/Domoticz-Rfplayer] Création en double de Device X2D "Thermostat" de zone (#24)

hum pas sur, pt etre plutot un bug coté domoticz c est lui qui efface tt a la mise à jour des options du devices :(

Le 2 décembre 2017 à 00:18, Kevin Larsonneur azazel673@gmail.com a écrit :

ça devrait être résolu dans la dernière version (1.0.9)

Le 28 novembre 2017 à 20:57, ogulf notifications@github.com a écrit :

Est-il possible de rouvrir ? Dès qu'un device X2D créé par le plugin rfplayer est modifié via l'interface de domoticz, la valeur de la colonne "Options" est modifiée... du coup le device n'est plus reconnu par le plugin rfplayer....

Exemple ci-dessous : les champs spécifiquement ajoutés par le plugin pour des modules de chauffages X2D ont disparu après ajout d'un 'Level' dans Domoticz (utiliser un convetisseur Base64 pour retrouver les valeurs en clair). Contenu du champ Options avant modification :

LevelActions:fHx8fHx8fHx8; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb2M=; LevelOffHidden:RmFsc2U=; SelectorStyle:MA==; area:MA==; frequency:ODY4MzUw; function:Mg==; id:MTExMDAwMDEwMTEwMTEwMDAwMDAxMDEwMA==; infoType:MTA=; protocol:OA==; subType:NQ== Mise à jour du device par ajout d'un Level (libellé Auto) via domoticz :

LevelActions:fHx8fHx8fA==; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb 2N8QXV0bw==; LevelOffHidden:ZmFsc2U=; SelectorStyle:MA==

Les champs dédiés et spécifiques aux modules de chauffage X2D ont "disparus" (area, frequency etc.) Je pense que c'est parce qu'ils ne sont pas dans l'interface graphique de domoticz... Car je ne vois pas en quoi le plugin rfplayer intervient dans cette modification de device...

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sasu-drooz/Domoticz-Rfplayer/issues/24# issuecomment-347644803, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGF7Ms5m LfBKDlyhRjoGC0mTWsbQsJxks5s7GWRgaJpZM4OgM-0 .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/sasu -drooz/Domoticz-Rfplayer/issues/24#issuecomment-348640151, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ AcsFq5YkleFHb4iRO_EOSKXQZxRZJw9Zks5s8ImPgaJpZM4OgM-0.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sasu-drooz/Domoticz-Rfplayer/issues/24#issuecomment-348672288, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGF7JFGUM203r93Oq4j0JNVUbHan1uaks5s8O3WgaJpZM4OgM-0 .