sasu-drooz / Domoticz-Rfplayer

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

Brand new install, issues #53

Closed frolic60 closed 6 years ago

frolic60 commented 6 years ago

Bonjour, Je viens d'installer un nouveau serveur Domoticz. Hardware : Raspberry PI B + RFPlayer surle port USB inférieur

Software : Rasbian Jessie - install neuve + Python 3 RFPlayer plugin

J'ai suivi toutes les etapes : update/upgrade, install domoticz. Je me suis mis en Beta et j'ai fait une mise a jour. Mon matériel est ajouté, il détecte bien ma télécommande DIO dans les devices.

Mes problèmes
1/ Si je clique tu ajout manuel dans les interrupteurs, je ne vois pas RFPlayer dans la première liste déroulante (matériel). Elle reste vide. (je voulais ajouter mes commutateur 1000W CHACON)

2/ Je peux voir de nouveaux device dans la liste (learning mode est sur on), e la je peux créer un interrupteur. Si j’utilise ma télécommande, l'interface et mes ampoules réelles s'allument. Si je clique sur mon interrupteur, seule l'interface change, mon ampoule ne s'allume ou ne s’éteint pas. 3/ Si je vais dans matériel et que je change un paramètre dans le RFPLayer et que je sauve, mon systeme se bloque. Je suis obliger de delancer le service Domoticz.

Merci Olivier

zzdomi commented 6 years ago

La dernière version de domoticz qui ne se bloque pas quand on change un parametre c'est la v3.8786.

frolic60 commented 6 years ago

Bonsoir,

merci de la réponse. J'ai tout reinstallé sur un Raspberry PI 3 Debian Stretch. Domoticz : 3.8794 Build Hash: 470448c2 Fichier plugin.py : 77592 octets

ca bloque toujours dans materiel. J'ai un telecommande DIO 54760 en mode debug si j'appuie sur une touche j'ai ca : 2017-12-21 00:34:49.666 (My 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-12-21 00:34:49.666 (My RFPlayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType": 2017-12-21 00:34:49.666 (My 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-12-21 00:34:49.666 (My RFPlayer) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 30 22 2c 20 22 ,."dataFlag":."0",." 2017-12-21 00:34:49.666 (My RFPlayer) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 35 32 22 2c 20 22 66 6c rfLevel":."-52",."fl 2017-12-21 00:34:49.666 (My RFPlayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 32 22 2c 20 22 oorNoise":."-102",." 2017-12-21 00:34:49.666 (My 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-12-21 00:34:49.666 (My RFPlayer) 72 6f 74 6f 63 6f 6c 22 3a 20 22 34 22 2c 20 22 70 72 6f 74 rotocol":."4",."prot 2017-12-21 00:34:49.666 (My RFPlayer) 6f 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 43 48 41 43 4f ocolMeaning":."CHACO 2017-12-21 00:34:49.666 (My RFPlayer) 4e 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 31 22 2c N",."infoType":."1", 2017-12-21 00:34:49.666 (My RFPlayer) 20 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 34 33 33 39 32 ."frequency":."43392 2017-12-21 00:34:49.666 (My RFPlayer) 30 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 0"},"infos":.{"subTy 2017-12-21 00:34:49.666 (My RFPlayer) 70 65 22 3a 20 22 31 22 2c 20 22 69 64 22 3a 20 22 31 36 32 pe":."1",."id":."162 2017-12-21 00:34:49.667 (My RFPlayer) 39 37 32 36 33 33 36 22 2c 20 22 73 75 62 54 79 70 65 4d 65 9726336",."subTypeMe 2017-12-21 00:34:49.667 (My RFPlayer) 61 6e 69 6e 67 22 3a 20 22 4f 4e 22 7d 7d 7d 0a 0d .. .. .. aning":."ON"}}}.. 2017-12-21 00:34:49.667 (My RFPlayer) Calling message handler 'onMessage'. 2017-12-21 00:34:49.667 (My RFPlayer) Last Message was 28.853307 seconds ago, Message clear 2017-12-21 00:34:49.667 (My RFPlayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-52", "floorNoise": "-102", "rfQuality": "10", "protocol": "4", "protocolMeaning": "CHACON", "infoType": "1", "frequency": "433920"},"infos": {"subType": "1", "id": "1629726336", "subTypeMeaning": "ON"}}} 2017-12-21 00:34:49.667 (My RFPlayer) infoType : 1 2017-12-21 00:34:49.667 (My RFPlayer) id : 1629726336 2017-12-21 00:34:49.668 (My RFPlayer) id binary : 1100001001000111010011010000000 2017-12-21 00:34:49.668 (My RFPlayer) Unit b: 000000 2017-12-21 00:34:49.668 (My RFPlayer) id decode b: 1100001001000111010011010 2017-12-21 00:34:49.668 (My RFPlayer) Unit i: 1 2017-12-21 00:34:49.668 (My RFPlayer) id decode i: 25464474 2017-12-21 00:34:49.668 (My RFPlayer) id decode h: 1848e9a 2017-12-21 00:34:49.668 (My RFPlayer) Options to find or set : {'infoType': '1', 'id_msb': '1', 'id': '1629726336', 'protocol': '4', 'id_lsb': '1848e9a'} 2017-12-21 00:34:49.668 (My RFPlayer) DOptions : {'id_lsb': '1848e9a', 'infoType': '1', 'id_msb': '1', 'id': '1629726336', 'protocol': '4'} 2017-12-21 00:34:49.668 (My RFPlayer) Devices already exist. Unit=1 2017-12-21 00:34:49.668 (My RFPlayer) Options found in DB: {'id_lsb': '1848e9a', 'infoType': '1', 'id_msb': '1', 'id': '1629726336', 'protocol': '4'} for devices unit 1 2017-12-21 00:34:49.668 (My RFPlayer) update devices : 1 2017-12-21 00:34:49.668 (My RFPlayer - 4 - 1629726336 - 1) Updating device from 1:'1' to have values 1:'1'.

et dans le dispositif correspondant dans Domoticz j'ai ceci Idx : 7 Materiel : MyRFPlayer ID : 由 Unit : 1 Nom : My RFPlayer - 4 - 1629726336 - 1 Type : Lighting 1 sous type : X10

Merci encore

Olivier (je peux donner acces à mon PI si besoin (en MP))

zaraki673 commented 6 years ago

Bonjour,

1/ voir avec l'équipe domoticz, pourquoi un plugin python ne peut être utiliser au niveau de ces détection

2/ as tu effectuer une association du devices domoticz avec ta prise chacon ? si oui, envoie les logs de ce qui se passe quand tu appuies sur le devices dans domoticz, si non, c est normal, limitations "anti piratage" de ziblue

3/ zzdomi a répondu juste avant

;)

2017-12-21 0:38 GMT+01:00 frolic60 notifications@github.com:

Bonsoir,

merci de la réponse. J'ai tout reinstallé sur un Raspberry PI 3 Debian Stretch. Domoticz : 3.8794 Build Hash: 470448c2 Fichier plugin.py : 77592 octets

ca bloque toujours dans materiel. J'ai un telecommande DIO 54760 en mode debug si j'appuie sur une touche j'ai ca : 2017-12-21 00:34:49.666 (My 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-12-21 00:34:49.666 (My RFPlayer) 61 64 65 72 22 3a 20 7b 22 66 72 61 6d 65 54 79 70 65 22 3a ader":.{"frameType": 2017-12-21 00:34:49.666 (My 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-12-21 00:34:49.666 (My RFPlayer) 2c 20 22 64 61 74 61 46 6c 61 67 22 3a 20 22 30 22 2c 20 22 ,."dataFlag":."0",." 2017-12-21 00:34:49.666 (My RFPlayer) 72 66 4c 65 76 65 6c 22 3a 20 22 2d 35 32 22 2c 20 22 66 6c rfLevel":."-52",."fl 2017-12-21 00:34:49.666 (My RFPlayer) 6f 6f 72 4e 6f 69 73 65 22 3a 20 22 2d 31 30 32 22 2c 20 22 oorNoise":."-102",." 2017-12-21 00:34:49.666 (My 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-12-21 00:34:49.666 (My RFPlayer) 72 6f 74 6f 63 6f 6c 22 3a 20 22 34 22 2c 20 22 70 72 6f 74 rotocol":."4",."prot 2017-12-21 00:34:49.666 (My RFPlayer) 6f 63 6f 6c 4d 65 61 6e 69 6e 67 22 3a 20 22 43 48 41 43 4f ocolMeaning":."CHACO 2017-12-21 00:34:49.666 (My RFPlayer) 4e 22 2c 20 22 69 6e 66 6f 54 79 70 65 22 3a 20 22 31 22 2c N",."infoType":."1", 2017-12-21 00:34:49.666 (My RFPlayer) 20 22 66 72 65 71 75 65 6e 63 79 22 3a 20 22 34 33 33 39 32 ."frequency":."43392 2017-12-21 00:34:49.666 (My RFPlayer) 30 22 7d 2c 22 69 6e 66 6f 73 22 3a 20 7b 22 73 75 62 54 79 0"},"infos":.{"subTy 2017-12-21 00:34:49.666 (My RFPlayer) 70 65 22 3a 20 22 31 22 2c 20 22 69 64 22 3a 20 22 31 36 32 pe":."1",."id":."162 2017-12-21 00:34:49.667 (My RFPlayer) 39 37 32 36 33 33 36 22 2c 20 22 73 75 62 54 79 70 65 4d 65 9726336",."subTypeMe 2017-12-21 00:34:49.667 (My RFPlayer) 61 6e 69 6e 67 22 3a 20 22 4f 4e 22 7d 7d 7d 0a 0d .. .. .. aning":."ON"}}}.. 2017-12-21 00:34:49.667 (My RFPlayer) Calling message handler 'onMessage'. 2017-12-21 00:34:49.667 (My RFPlayer) Last Message was 28.853307 seconds ago, Message clear 2017-12-21 00:34:49.667 (My RFPlayer) ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-52", "floorNoise": "-102", "rfQuality": "10", "protocol": "4", "protocolMeaning": "CHACON", "infoType": "1", "frequency": "433920"},"infos": {"subType": "1", "id": "1629726336", "subTypeMeaning": "ON"}}} 2017-12-21 00:34:49.667 (My RFPlayer) infoType : 1 2017-12-21 00:34:49.667 (My RFPlayer) id : 1629726336 2017-12-21 00:34:49.668 (My RFPlayer) id binary : 1100001001000111010011010000000 2017-12-21 00:34:49.668 (My RFPlayer) Unit b: 000000 2017-12-21 00:34:49.668 (My RFPlayer) id decode b: 1100001001000111010011010 2017-12-21 00:34:49.668 (My RFPlayer) Unit i: 1 2017-12-21 00:34:49.668 (My RFPlayer) id decode i: 25464474 2017-12-21 00:34:49.668 (My RFPlayer) id decode h: 1848e9a 2017-12-21 00:34:49.668 (My RFPlayer) Options to find or set : {'infoType': '1', 'id_msb': '1', 'id': '1629726336', 'protocol': '4', 'id_lsb': '1848e9a'} 2017-12-21 00:34:49.668 (My RFPlayer) DOptions : {'id_lsb': '1848e9a', 'infoType': '1', 'id_msb': '1', 'id': '1629726336', 'protocol': '4'} 2017-12-21 00:34:49.668 (My RFPlayer) Devices already exist. Unit=1 2017-12-21 00:34:49.668 (My RFPlayer) Options found in DB: {'id_lsb': '1848e9a', 'infoType': '1', 'id_msb': '1', 'id': '1629726336', 'protocol': '4'} for devices unit 1 2017-12-21 00:34:49.668 (My RFPlayer) update devices : 1 2017-12-21 00:34:49.668 (My RFPlayer - 4 - 1629726336 - 1) Updating device from 1:'1' to have values 1:'1'.

et dans le dispositif correspondant dans Domoticz j'ai ceci Idx : 7 Materiel : MyRFPlayer ID : 由 Unit : 1 Nom : My RFPlayer - 4 - 1629726336 - 1 Type : Lighting 1 sous type : X10

Merci encore

Olivier (je peux donner acces à mon PI si besoin (en MP))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sasu-drooz/Domoticz-Rfplayer/issues/53#issuecomment-353214695, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGF7Ps2MYTAU_s7HlnCrNU7W3-a0mrTks5tCZqGgaJpZM4RHCnT .

frolic60 commented 6 years ago

puis je utiliser le plugin et le materiel ziblue de domoticz en meme temps ?