action ou script sans effet sur la gateway

Forum dédié à l'intégration de la Gateway ZigBee Xiaomi dans DomoticZ.
Pour les questions concernant les objets ZigBee Xiaomi, merci d'utiliser le forum ZigBee au-dessus.
cedlag
Messages : 2
Inscription : 04 nov. 2017, 12:26

action ou script sans effet sur la gateway

Message par cedlag »

Bonjour,

Je débute tout juste avec la gateway et domoticz.
Je viens de recevoir ma gateway.
J'ai installé domoticz sur un nas synology (package domoticz, auteur jadahl, version 3.0.8153-7)

J'ai bien réussi à integrer la gateway dans domoticz, je récupere bien mes devices mais avant de ma lancer dans les scripts pour gérer mon alarme, j'ai voulu faire quelques essais "basiques" et la rien ne marche

j'ai fait un script blocky comme celui en exemple dans ce lien:
https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)


pour allumer la gateway RGB et faire sonner la doorbell, il ne se passe rien quand le script s'execute par contre les interupteurs changent bien de statut. Si j'essaye directement depuis le panneau interrupteur de changer la doorbell par exemple, pas mieux.

En regardant les logs, j'ai trouvé des messages d'erreur mais pas trouvé de solution sur google

le demarrage du log:

2017-11-04 12:37:46.146 Domoticz V3.8153 (c)2012-2017 GizMoCuz
2017-11-04 12:37:46.151 Build Hash: 494fff7-modified, Date: 2017-07-30 12:19:41
2017-11-04 12:37:46.153 Startup Path: /usr/local/domoticz/
2017-11-04 12:37:54.403 Sunrise: 07:27:00 SunSet:17:21:00
2017-11-04 12:37:54.673 EventSystem: reset all events...
2017-11-04 12:37:58.521 Active notification Subsystems: email (1/12)
2017-11-04 12:38:02.448 WebServer(HTTP) started on address: :: with port 8584
2017-11-04 12:38:09.232 WebServer(SSL) started on address: :: with port 8543
2017-11-04 12:38:09.360 Proxymanager started.
2017-11-04 12:38:10.294 Starting shared server on: :::6144
2017-11-04 12:38:10.336 RxQueue: queue worker started...
2017-11-04 12:38:10.336 TCPServer: shared server started...
2017-11-04 12:38:12.815 XiaomiGateway: will listen on 9898 for hardware id 2
2017-11-04 12:38:12.825 XiaomiGateway: Delaying worker startup...
2017-11-04 12:38:17.987 XiaomiGateway: Worker started...
2017-11-04 12:38:18.173 EventSystem: reset all events...
2017-11-04 12:38:18.399 EventSystem: reset all device statuses...
2017-11-04 12:38:18.481 XiaomiGateway: Using 192.168.0.11 for local IP address.
2017-11-04 12:38:18.743 Error: XiaomiGateway: system
2017-11-04 12:38:18.779 XiaomiGateway: stopped
2017-11-04 12:38:19.086 EventSystem: Started
2017-11-04 12:39:01.343 Error: Gateway hardware (2) thread seems to have ended unexpectedly
2017-11-04 12:39:31.852 Error: Gateway hardware (2) thread seems to have ended unexpectedly


le lancement de mon script
2017-11-04 12:42:51.444 User: Admin initiated a switch command (9/Xiaomi interupteur/Set Level)
2017-11-04 12:42:52.131 EventSystem: Event triggered: essai_1
2017-11-04 12:42:52.135 (Gateway) Light/Switch (Xiaomi interupteur)
2017-11-04 12:42:52.326 (Gateway) Light/Switch (Xiaomi Gateway Volume)
2017-11-04 12:42:52.487 (Gateway) Light/Switch (Xiaomi Gateway Doorbell)
2017-11-04 12:42:52.647 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-11-04 12:43:00.673 Error: Gateway hardware (2) thread seems to have ended unexpectedly
2017-11-04 12:43:12.337 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-11-04 12:43:12.497 (Gateway) Light/Switch (Xiaomi Gateway Doorbell)
2017-11-04 12:43:30.273 Error: Gateway hardware (2) thread seems to have ended unexpectedly

Quelqu'un aurait il une idée???

Merci
cedlag
Messages : 2
Inscription : 04 nov. 2017, 12:26

Re: action ou script sans effet sur la gateway

Message par cedlag »

mise à jour:
J'ai fait plusieurs reboot, je n'ai plus les messages d'erreur dans le log
par contre, il ne se passe rien
J'ai installé domoticz sur mon PC, si j'execute des actions depuis la version PC en coupas le nas, la gateway repond parfaitement.
Par contre depuis la version sur le nas, ca veut rien savoir
dans les logs, il n'y a plus aucune erreur:

Code : Tout sélectionner

 2017-11-04 14:32:20.563 User: Admin initiated a switch command (9/Xiaomi interupteur/Set Level)
2017-11-04 14:32:20.747 (Gateway) Light/Switch (Xiaomi interupteur)
2017-11-04 14:32:26.252 (Gateway) General/Voltage (Xiaomi Voltage)
2017-11-04 14:32:26.523 User: Admin initiated a switch command (9/Xiaomi interupteur/Set Level)
2017-11-04 14:32:26.689 (Gateway) Light/Switch (Xiaomi interupteur)
2017-11-04 14:32:50.460 User: Admin initiated a switch command (4/Xiaomi Gateway Doorbell/Set Level)
2017-11-04 14:32:50.618 (Gateway) Light/Switch (Xiaomi Gateway Doorbell)
2017-11-04 14:32:55.728 User: Admin initiated a switch command (4/Xiaomi Gateway Doorbell/Set Level)
2017-11-04 14:32:55.888 (Gateway) Light/Switch (Xiaomi Gateway Doorbell)
2017-11-04 14:32:58.829 User: Admin initiated a switch command (6/Xiaomi Gateway Volume/Set Level)
2017-11-04 14:32:58.987 (Gateway) Light/Switch (Xiaomi Gateway Volume)
2017-11-04 14:33:00.110 User: Admin initiated a switch command (6/Xiaomi Gateway Volume/Set Level)
2017-11-04 14:33:00.278 (Gateway) Light/Switch (Xiaomi Gateway Volume)
2017-11-04 14:33:02.925 User: Admin initiated a switch command (6/Xiaomi Gateway Volume/Set Level)
2017-11-04 14:33:03.088 (Gateway) Light/Switch (Xiaomi Gateway Volume)
2017-11-04 14:33:05.237 User: Admin initiated a switch command (6/Xiaomi Gateway Volume/Set Level)
2017-11-04 14:33:05.397 (Gateway) Light/Switch (Xiaomi Gateway Volume)
2017-11-04 14:34:00.091 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-11-04 14:34:00.093 (Gateway) Lux (Xiaomi Gateway Lux)
2017-11-04 14:34:00.100 (Gateway) Light/Switch (Xiaomi Gateway Doorbell)
2017-11-04 14:34:00.154 (Gateway) Light/Switch (Xiaomi Gateway Volume)
2017-11-04 14:34:03.074 (Gateway) Lighting Limitless/Applamp (Xiaomi RGB Gateway)
2017-11-04 14:34:03.077 (Gateway) Lux (Xiaomi Gateway Lux) 
Répondre