[Résolu] Comment envoyer des commande ?

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
cyberfilou
Messages : 22
Inscription : 12 juin 2015, 17:11

[Résolu] Comment envoyer des commande ?

Message par cyberfilou »

Bonjour,

J'ai ajouté a mon domoticz le fameux multiprise LIDL
il m'a ajouté un switch, qui commande la 1er prise
Logs

Code : Tout sélectionner

2021-07-03 11:32:25.995 Status: User: Admin (IP: 192.168.1.2) initiated a switch command (392/zigate - TS011F_Switch-bc33acfffe5915fd-01/Off)
2021-07-03 11:32:26.036 zigate: (zigate) UpdateDevice - (zigate - TS011F_Switch-bc33acfffe5915fd-01) 0:Off
2021-07-03 11:32:26.968 Status: User: Admin (IP: 192.168.1.2) initiated a switch command (392/zigate - TS011F_Switch-bc33acfffe5915fd-01/On)
2021-07-03 11:32:27.011 zigate: (zigate) UpdateDevice - (zigate - TS011F_Switch-bc33acfffe5915fd-01) 1:On
La tout est ok
je suis allez directement dans l'interface de la zigate (port 9440 ) et j'ai envoyé manuellement une commande via l'onglet commande zigate.
là c'est la prise 3 qui est commandée LOL
Logs

Code : Tout sélectionner

2021-07-03 11:33:49.994 zigate: (zigate) ---> Data: {'NwkId': '6f61', 'Command': 'Toggle', 'Value': None, 'Color': None, 'Type': 'Switch'}
2021-07-03 11:33:49.994 zigate: (zigate) rest_dev_command - Command: Toggle on object: 6f61 with extra None None
2021-07-03 11:33:49.994 zigate: (zigate) actuators - Action: Toggle on 6f61/03 with Switch None 0 {}
2021-07-03 11:33:51.152 zigate: (zigate) ---> Data: {'NwkId': '6f61', 'Command': 'Toggle', 'Value': None, 'Color': None, 'Type': 'Switch'}
2021-07-03 11:33:51.152 zigate: (zigate) rest_dev_command - Command: Toggle on object: 6f61 with extra None None
2021-07-03 11:33:51.152 zigate: (zigate) actuators - Action: Toggle on 6f61/03 with Switch None 0 {}
Maintenant je me pose la question, ou trouver la possibilité d'ajouter les bouton sur domoticz, ou a quel endroit dois-je modifier pour que les autres prise fonctionne

Merci d'avance
Dernière modification par cyberfilou le 08 août 2021, 14:24, modifié 1 fois.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: comment envoyer des commande ?

Message par pipiche »

Bonjour,

ce serait cool d'apporter un peu plus d'info. tu trouveras pas mal de choses ici:

viewtopic.php?f=28&t=10886

Avec les informations cela pourrait aiguiller un début de réponse voir de solution, comme par exemple sur quelle version du plugin es-tu ?
onlinux
Messages : 5
Inscription : 15 juil. 2021, 16:53

Re: comment envoyer des commande ?

Message par onlinux »

Bonjour,

Après basculement sur la branche stable5 du plugin Domoticz-Zigate (git checkout stable5) et re-appairage de la multiprise Lidl, j'obtiens bien 3 switches distincts dans Domoticz.

Code : Tout sélectionner

pi@raspi4 ~/domoticz/plugins/Domoticz-Zigate $ git status
On branch stable5
Your branch is up to date with 'origin/stable5'.

nothing to commit, working tree clean
Je suis équipé du module PiZigate, Firmware: 031d, Plugin: 5.1.005
Domoticz 2020-2

Voici un extrait de la log Domoticz après appairage de la prise multiple Lidl:

Code : Tout sélectionner

2021-07-17 12:43:16.080  (Zigate) --> Adding device 20ef in self.DevicesInPairingMode
2021-07-17 12:43:16.081  (Zigate) --> ['20ef']
2021-07-17 12:43:16.165  Status: (Zigate) [-] NEW OBJECT: 20ef Active Endpoint Response Ep: 01 LQI: 135
2021-07-17 12:43:16.165  Status: (Zigate) [-] NEW OBJECT: 20ef Active Endpoint Response Ep: 02 LQI: 135
2021-07-17 12:43:16.165  Status: (Zigate) [-] NEW OBJECT: 20ef Active Endpoint Response Ep: 03 LQI: 135
2021-07-17 12:43:16.165  Status: (Zigate) [-] NEW OBJECT: 20ef Active Endpoint Response Ep: f2 LQI: 135
2021-07-17 12:43:16.166  (Zigate) [-] NEW OBJECT: 20ef Request Model Name
2021-07-17 12:43:16.166  (Zigate) ReadAttributeRequest_0000 - Key: 20ef , Scope: False
2021-07-17 12:43:16.167  (Zigate) Request Basic  Manufacturer via Read Attribute request: 0004
2021-07-17 12:43:16.174  (Zigate) EP: {'01': {}, '02': {}, '03': {}, 'f2': {}}
2021-07-17 12:43:16.175  Status: (Zigate) [-] NEW OBJECT: 20ef Request Simple Descriptor for Ep: 01
2021-07-17 12:43:16.175  Status: (Zigate) [-] NEW OBJECT: 20ef Request Simple Descriptor for Ep: 02
2021-07-17 12:43:16.176  Status: (Zigate) [-] NEW OBJECT: 20ef Request Simple Descriptor for Ep: 03
2021-07-17 12:43:16.176  Status: (Zigate) [-] NEW OBJECT: 20ef Request Simple Descriptor for Ep: f2
2021-07-17 12:43:19.299  Status: (Zigate) [-] NEW OBJECT: 20ef Simple Descriptor Response EP: 0x01 LQI: 141
2021-07-17 12:43:19.299  Status: (Zigate) [-]    NEW OBJECT: 20ef ProfileID 0104
2021-07-17 12:43:19.299  Status: (Zigate) [-]    NEW OBJECT: 20ef ZDeviceID 010a
2021-07-17 12:43:19.300  Status: (Zigate) [-]    NEW OBJECT: 20ef Application Version 0001
2021-07-17 12:43:19.300  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster IN Count: 05
2021-07-17 12:43:19.300  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 1: 0000 (Basic)
2021-07-17 12:43:19.301  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 2: 0003 (Identify)
2021-07-17 12:43:19.301  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 3: 0004 (Groups)
2021-07-17 12:43:19.302  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 4: 0005 (Scenes)
2021-07-17 12:43:19.302  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 5: 0006 (On/Off)
2021-07-17 12:43:19.302  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster OUT Count: 02
2021-07-17 12:43:19.303  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster Out 1: 0019 (Over-the-Air Upgrade)
2021-07-17 12:43:19.303  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster Out 2: 000a (Time)
2021-07-17 12:43:19.676  Status: (Zigate) [-] NEW OBJECT: 20ef Simple Descriptor Response EP: 0x02 LQI: 132
2021-07-17 12:43:19.677  Status: (Zigate) [-]    NEW OBJECT: 20ef ProfileID 0104
2021-07-17 12:43:19.678  Status: (Zigate) [-]    NEW OBJECT: 20ef ZDeviceID 010a
2021-07-17 12:43:19.678  Status: (Zigate) [-]    NEW OBJECT: 20ef Application Version 0001
2021-07-17 12:43:19.679  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster IN Count: 04
2021-07-17 12:43:19.679  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 1: 0003 (Identify)
2021-07-17 12:43:19.680  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 2: 0004 (Groups)
2021-07-17 12:43:19.682  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 3: 0005 (Scenes)
2021-07-17 12:43:19.682  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 4: 0006 (On/Off)
2021-07-17 12:43:19.683  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster OUT Count: 00
2021-07-17 12:43:20.004  Status: (Zigate) [-] NEW OBJECT: 20ef Simple Descriptor Response EP: 0x03 LQI: 138
2021-07-17 12:43:20.004  Status: (Zigate) [-]    NEW OBJECT: 20ef ProfileID 0104
2021-07-17 12:43:20.005  Status: (Zigate) [-]    NEW OBJECT: 20ef ZDeviceID 010a
2021-07-17 12:43:20.005  Status: (Zigate) [-]    NEW OBJECT: 20ef Application Version 0001
2021-07-17 12:43:20.005  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster IN Count: 04
2021-07-17 12:43:20.006  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 1: 0003 (Identify)
2021-07-17 12:43:20.006  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 2: 0004 (Groups)
2021-07-17 12:43:20.006  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 3: 0005 (Scenes)
2021-07-17 12:43:20.007  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster In 4: 0006 (On/Off)
2021-07-17 12:43:20.007  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster OUT Count: 00
2021-07-17 12:43:20.350  Status: (Zigate) [-] NEW OBJECT: 20ef Simple Descriptor Response EP: 0xf2 LQI: 138
2021-07-17 12:43:20.350  Status: (Zigate) [-]    NEW OBJECT: 20ef ProfileID a1e0
2021-07-17 12:43:20.351  Status: (Zigate) [-]    NEW OBJECT: 20ef ZDeviceID 0061
2021-07-17 12:43:20.351  Status: (Zigate) [-]    NEW OBJECT: 20ef Application Version 0000
2021-07-17 12:43:20.351  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster IN Count: 00
2021-07-17 12:43:20.351  Status: (Zigate) [-]    NEW OBJECT: 20ef Cluster OUT Count: 01
2021-07-17 12:43:20.352  Status: (Zigate) [-]       NEW OBJECT: 20ef Cluster Out 1: 0021
2021-07-17 12:43:21.301  Status: (Zigate) [0] NEW OBJECT: 20ef Model Name: TS011F-multiprise
2021-07-17 12:43:21.301  Status: (Zigate) [0] NEW OBJECT: 20ef Model Name: TS011F-multiprise
2021-07-17 12:43:21.301  Status: (Zigate) [0] NEW OBJECT: 20ef Request Node Descriptor

Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: comment envoyer des commande ?

Message par Keros »

Si le sujet est terminé, merci de bien vouloir modifier le premier message de cette discussion pour indiquer [Résolu] dans le titre du sujet comme il est demandé dans [A lire avant de poster] Guide pour bien formuler une demande
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
cyberfilou
Messages : 22
Inscription : 12 juin 2015, 17:11

Re: [Resolu]comment envoyer des commande ?

Message par cyberfilou »

Merci a tous,

je suis donc passé en Stable5, et tout a bien fonctionné

encore Merci

RESOLU
Répondre