SpaWnOL a écrit :jk77 a écrit :SpaWnOL a écrit :Tojours mon probleme identique avec mon switch Xiaomi.. il est détecté sous Domoticz mais je n'arrive à faire fonctionner que le 1 click. Aucune réaction sur 2 clicks / 3 clicks / 4 clicks...
Pas d'erreur dans les logs de Domoticz.. qu'aurais je fait de mal ?
La solution ici, merci à rollyfx !
https://github.com/sasu-drooz/Domoticz-Zigate/issues/65
Quant à la doc, elle est dispo ici :
http://zigate.fr/xiaomi-bouton-switch-cluster/
... effectivement, l'attribute ID est different entre un simple clic et un multi clics
Super, je viens de faire la modif et ca fonctionne enfin....... merci pour ta réponse !
Bonjour à tous,
Alors oui cela fonctionne mais voici ce que j'ai remarqué :
https://github.com/sasu-drooz/Domoticz-Zigate/issues/71 :
Je débute avec ma Zigate. Je n'arrive pas à faire fonctionner en même temps un capteur ouverture/fermeture et un bouton aqara. Dans le fichier plugin.py si ligne 11OO est égal à : if MsgAttrID=="0000": alors le capteur fonctionne mais le bouton reste toujours à 1 click et si la ligne 1100 est égal à : if MsgAttrID=="8000": alors le bouton fonctionne mais pas le capteur.
Autre chose je suis aussi tombé sur le même problème que SpaWnOL :
2018-03-18 20:54:02.494 Error: (ZIGATE) 'onStart' failed 'KeyError'.
2018-03-18 20:54:02.494 Error: (ZIGATE) ----> Line 278 in /home/pi/domoticz/plugins/Domoticz-Zigate-2.2.3/plugin.py, function onStart
2018-03-18 20:54:02.494 Error: (ZIGATE) ----> Line 68 in /home/pi/domoticz/plugins/Domoticz-Zigate-2.2.3/plugin.py, function onStart
et mon DeviceList :
dad9 : {'Battery': 104, 'Model': 'lumi.sensor_switch.aq2', 'Ep': {'01': {'0006': {}, '0000': {}}}, 'IEEE': '00158d0002134d06', 'ProfileID': {}, 'Status': 'inDB', 'ZDeviceID': {}, 'Heartbeat': '402', 'MacCapa': '80', 'Type': 'MSwitch', 'RIA': '3'}
6e5f : {'Battery': 102, 'Model': 'lumi.sensor_magnet.aq2', 'Ep': {'01': {'0006': '00', '0000': {}}}, 'IEEE': '00158d0001b7bd9d', 'ProfileID': {}, 'Status': 'inDB', 'ZDeviceID': {}, 'Heartbeat': '402', 'MacCapa': '80', 'Type': 'Door', 'RIA': '8'}
e5dd : {'Battery': 99, 'Model': 'lumi.weather', 'Ep': {'01': {'0403': 982.2, '0402': 9.7, '0405': 75.4, '0000': {}}}, 'IEEE': '00158d0001b92251', 'ProfileID': {}, 'Status': 'inDB', 'ZDeviceID': {}, 'Heartbeat': '402', 'MacCapa': '80', 'Type': 'Temp/Humi/Baro', 'RIA': '24'}
ad9b : {'Battery': 102, 'Model': 'lumi.sensor_magnet.aq2', 'Ep': {'01': {'0006': '00', '0000': {}}}, 'IEEE': '00158d0001b7bc49', 'ProfileID': {}, 'Status': 'inDB', 'ZDeviceID': {}, 'Heartbeat': '402', 'MacCapa': '80', 'Type': 'Door', 'RIA': '10'}
bb36 : {'Battery': 102, 'Model': 'lumi.sensor_magnet.aq2', 'Ep': {'01': {'0006': '01', '0000': {}}}, 'IEEE': '00158d0001e48a2f', 'ProfileID': {}, 'Status': 'inDB', 'ZDeviceID': {}, 'Heartbeat': '402', 'MacCapa': '80', 'Type': 'Door', 'RIA': '7'}
ce0b : {'Battery': 102, 'Model': 'lumi.sensor_motion.aq2', 'Ep': {'01': {'0400': 10, '0000': {}, '0406': '01'}}, 'IEEE': '00158d000225495e', 'ProfileID': {}, 'Status': 'inDB', 'ZDeviceID': {}, 'Heartbeat': '402', 'MacCapa': '80', 'Type': 'Motion/Lux', 'RIA': '75'}
Pour moi aussi ce souci est arrivé sans raison particulière. La première fois j'ai tous réinitialisé mais j'aimerai bien comprendre ce qu'il se passe.
Voila, merci pour votre aide