Closed ogulf closed 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'}
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 ;)
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 :
la lecture des options est corrigée, on peu désormais changé d'icone sans risque de doublon
;)
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.
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 .
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).
LevelActions:fHx8fHx8fHx8; LevelNames:T2ZmfEhHfEVjb3xNb2RlcmF0fE1lZGlvfENvbWZvcnR8QXNzb2M=; LevelOffHidden:RmFsc2U=; SelectorStyle:MA==; area:MA==; frequency:ODY4MzUw; function:Mg==; id:MTExMDAwMDEwMTEwMTEwMDAwMDAxMDEwMA==; infoType:MTA=; protocol:OA==; subType:NQ==
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...
ouvre plutot un autre, je penses que ce problème en general a tous les protocoles, je pensais l'avoir réglé :(
merci
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 ...
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
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 .
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 .
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) :
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