Giter Club home page Giter Club logo

Comments (12)

ogulf avatar ogulf commented on July 1, 2024

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'}

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

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 ;)

from domoticz-rfplayer.

ogulf avatar ogulf commented on July 1, 2024

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 :

domoticz/domoticz#1711

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

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

;)

from domoticz-rfplayer.

ogulf avatar ogulf commented on July 1, 2024

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

from domoticz-rfplayer.

ogulf avatar ogulf commented on July 1, 2024

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...

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

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

merci

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

from domoticz-rfplayer.

ogulf avatar ogulf commented on July 1, 2024

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

from domoticz-rfplayer.

zaraki673 avatar zaraki673 commented on July 1, 2024

from domoticz-rfplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.