Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers] Zigate

Pour échanger sur les plugins classés en catégorie "Protocoles domotiques"
Sacha
Timide
Messages : 35
Inscription : 03 janv. 2016, 14:13
Localisation : Vincennes

Re: [Plugin Tiers] Zigate

Message par Sacha » 29 juin 2018, 13:28

Je souhaite ajouter un aqara lumi.sensor_magnet.aq2. J'en ai déjà ajouté 3 sans problème.

Voici le log après avoir relancé le Demon.

[2018-06-29 13:24:12][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device 192.168.0.55 --loglevel debug --apikey 13gOjfguIO9U6PQTabBl8FFlflpHDOii --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 1
[2018-06-29 13:24:13][INFO][root] : Start zigated
[2018-06-29 13:24:13][INFO][root] : Log level : debug
[2018-06-29 13:24:13][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-06-29 13:24:13][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-06-29 13:24:13][INFO][root] : Apikey : 13gOjfguIO9U6PQTabBl8FFlflpHDOii
[2018-06-29 13:24:13][INFO][root] : Device : 192.168.0.55
[2018-06-29 13:24:13][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-06-29 13:24:13][INFO][root] : Python version : 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1]
[2018-06-29 13:24:13][INFO][root] : zigate version : 0.16.0
[2018-06-29 13:24:13][INFO][root] : Plugin Abeille d\xe9tect\xe9, v\xe9rification de l'\xe9tat
[2018-06-29 13:24:13][INFO][root] : Ok, le plugin Abeille ne semble pas en fonctionnement.
[2018-06-29 13:24:13][DEBUG][root] : Writing PID 20310 to /tmp/jeedom/zigate/daemon.pid
[2018-06-29 13:24:13][DEBUG][root] : Send to test to jeedom
[2018-06-29 13:24:13][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-06-29 13:24:13][DEBUG] : Array ( [action] => test )
[2018-06-29 13:24:13][DEBUG][root] : Jeedom reply : {'success': True}
[2018-06-29 13:24:13][INFO][root] : D\xe9marrage ZiGate WiFi 192.168.0.55 9999
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0010
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'0010000010'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8010 - Version list : major:1, installer:30d, rssi:0, version:3.0d
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0010:0
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for message 0x8010
[2018-06-29 13:24:14][DEBUG][zigate] : Stop waiting, got message 0x8010
[2018-06-29 13:24:14][INFO][root] : Firmware ZiGate : 3.0d
[2018-06-29 13:24:14][DEBUG][zigate] : Try loading persistent file
[2018-06-29 13:24:14][DEBUG][zigate] : Load success
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0021 b'\x03\x18\xc8\x00'
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'00210004f60318c800'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10!\x02\x10\x02\x14\xf6\x02\x13\x18\xc8\x02\x10\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0021
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0021:0
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0023 b'\x00'
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'002300012200'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10#\x02\x10\x02\x11"\x02\x10\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0023
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0023:0
[2018-06-29 13:24:14][DEBUG][zigate] : Check network state
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0024
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'0024000024'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10$\x02\x10\x02\x10$\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0024
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0024:0
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0009
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'0009000009'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x02\x19\x02\x10\x02\x10\x02\x19\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0009
[2018-06-29 13:24:14][INFO] : Démon zigate lancé
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][ERROR][zigate] : Bad checksum 45 != 184
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0009:0
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for message 0x8009
[2018-06-29 13:24:17][ERROR][zigate] : No response waiting command 0x8009
[2018-06-29 13:24:17][ERROR][zigate] : Failed to get network state
[2018-06-29 13:24:17][DEBUG][zigate] : Network is down, start it
[2018-06-29 13:24:17][DEBUG][zigate] : REQUEST : 0x0024
[2018-06-29 13:24:17][DEBUG][zigate] : Msg to send b'0024000024'
[2018-06-29 13:24:17][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10$\x02\x10\x02\x10$\x03'
[2018-06-29 13:24:17][DEBUG][zigate] : Waiting for status message for command 0x0024
[2018-06-29 13:24:17][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
[2018-06-29 13:24:17][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:17][DEBUG][zigate] : STATUS code to command 0x0024:0
[2018-06-29 13:24:17][DEBUG][zigate] : Waiting for message 0x8024
[2018-06-29 13:24:20][ERROR][zigate] : No response waiting command 0x8024
[2018-06-29 13:24:20][DEBUG][zigate] : REQUEST : 0x0015
[2018-06-29 13:24:20][DEBUG][zigate] : Msg to send b'0015000015'
[2018-06-29 13:24:20][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x15\x02\x10\x02\x10\x15\x03'
[2018-06-29 13:24:20][DEBUG][zigate] : Waiting for status message for command 0x0015
[2018-06-29 13:24:20][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', rssi:0
[2018-06-29 13:24:20][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:20][ERROR][zigate] : Bad length 105 != 108 : b'\x81$\x10#\x00\x85\xe3 $\x12G\x83\xcf\x00<\x01\xab\xf9\x00\x15\x8d\x00\x02G\x84a\x00n\x02,+\x00\x15\x8d\x00\x02>\xb0\x1c\x00\x97\x03\xd97\x00\x15\x8d\x00\x027\x81\xda\x00~\x04\xdd\xa6\x00\x15\x8d\x00\x027b:\x00N\x05\x14\x0e\x00\x15\x8d\x00\x02>\xb0\x10\x00\x84\x06+=\x00\x15\x8d\x00\x02\x13R,\x00\xc0\x07\xec\xe2\x00\x15\xe3 $\x12G\x84w\x00\xa9'
[2018-06-29 13:24:20][DEBUG][zigate] : STATUS code to command 0x0015:0
[2018-06-29 13:24:20][DEBUG][zigate] : Waiting for message 0x8015
[2018-06-29 13:24:23][ERROR][zigate] : No response waiting command 0x8015
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 8b88
[2018-06-29 13:24:23][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:23][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 8b88
[2018-06-29 13:24:23][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 8b88 , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device f5d7 lumi.weather
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device abf9 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 4f89 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 0023 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 4924 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 140e lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device a890 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 2c2b lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device f693
[2018-06-29 13:24:23][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:23][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device f693
[2018-06-29 13:24:23][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device f693 , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 52ad
[2018-06-29 13:24:23][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:23][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 52ad
[2018-06-29 13:24:23][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 52ad , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device dda6 lumi.weather
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device d937 lumi.weather
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device 0e5e
[2018-06-29 13:24:24][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:24][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 0e5e
[2018-06-29 13:24:24][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 0e5e , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device 44dc
[2018-06-29 13:24:24][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:24][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 44dc
[2018-06-29 13:24:24][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 44dc , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:24][DEBUG][zigate] : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/.zigate.json
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 8b88 }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [descriptor_capability] => 00000000 [max_rx] => 100 [addr] => 8b88 [mac_capability] => 10000000 [manufacturer] => 1037 [ieee] => 00158d00024783cf [server_mask] => 0 [last_seen] => 2018-06-25 23:43:25 [bit_field] => 0100000000000010 [max_tx] => 100 [max_buffer] => 127 [rssi] => 48 ) [addr] => 8b88 [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 65535 [3] => 6 ) [profile] => 260 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [name] => application_version [data] => 3 [attribute] => 1 [value] => 3 ) [1] => Array ( [name] => battery [data] => 01212b0c0328170421a81305217400062401000000000a210000641000 [unit] => V [attribute] => 65281 [value] => 3.115 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => 1 [attribute] => 0 [value] => 1 ) ) ) ) [endpoint] => 1 [device] => 24321 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device f693 }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [addr] => f693 [last_seen] => 2018-06-26 00:22:08 [rssi] => 72 ) [addr] => f693 [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( ) [in_clusters] => Array ( ) [profile] => 0 [clusters] => Array ( [0] => Array ( [cluster] => 1027 [attributes] => Array ( [0] => Array ( [data] => -1 [attribute] => 20 ) ) ) ) [endpoint] => 17 [device] => 0 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 52ad }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [descriptor_capability] => 00000000 [max_rx] => 100 [addr] => 52ad [mac_capability] => 10000000 [manufacturer] => 1037 [server_mask] => 0 [bit_field] => 0100000000000010 [rssi] => 111 [max_tx] => 100 [max_buffer] => 127 [last_seen] => 2018-06-26 19:02:47 ) [addr] => 52ad [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( ) [in_clusters] => Array ( ) [profile] => 0 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [name] => battery [data] => 01212b0c03281e0421a81305211901062401000000000a210000641001 [unit] => V [attribute] => 65281 [value] => 3.115 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => [attribute] => 0 [value] => ) ) ) ) [endpoint] => 1 [device] => 0 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 0e5e }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [addr] => 0e5e [last_seen] => 2018-06-24 23:09:47 [rssi] => 141 ) [addr] => 0e5e [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( ) [in_clusters] => Array ( ) [profile] => 0 [clusters] => Array ( [0] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => 1 [attribute] => 0 [value] => 1 ) ) ) ) [endpoint] => 1 [device] => 0 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 44dc }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [descriptor_capability] => 00000000 [max_rx] => 100 [addr] => 44dc [mac_capability] => 10000000 [manufacturer] => 1037 [ieee] => 00158d00023eb01c [server_mask] => 0 [last_seen] => 2018-06-25 23:44:29 [bit_field] => 0100000000000010 [max_tx] => 100 [max_buffer] => 127 [rssi] => 63 ) [addr] => 44dc [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 65535 [3] => 6 ) [profile] => 260 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [name] => battery [data] => 01210d0c0328200421a81305216d00062401000000000a210000641000 [unit] => V [attribute] => 65281 [value] => 3.085 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => 1 [attribute] => 0 [value] => 1 ) ) ) ) [endpoint] => 1 [device] => 24321 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
RPi2 Jeedom Core Stable - Mini contrôleur usb z-wave plus z-wave.me
Fibaro : Dimmer 2 - Roller Shutter 2
Qubino : ZMNHBD1
Clef Zigate
Xiaomi : Aqara

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 29 juin 2018, 13:34

Sacha a écrit :Je souhaite ajouter un aqara lumi.sensor_magnet.aq2. J'en ai déjà ajouté 3 sans problème.

Voici le log après avoir relancé le Demon.

[2018-06-29 13:24:12][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device 192.168.0.55 --loglevel debug --apikey 13gOjfguIO9U6PQTabBl8FFlflpHDOii --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 1
[2018-06-29 13:24:13][INFO][root] : Start zigated
[2018-06-29 13:24:13][INFO][root] : Log level : debug
[2018-06-29 13:24:13][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-06-29 13:24:13][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-06-29 13:24:13][INFO][root] : Apikey : 13gOjfguIO9U6PQTabBl8FFlflpHDOii
[2018-06-29 13:24:13][INFO][root] : Device : 192.168.0.55
[2018-06-29 13:24:13][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-06-29 13:24:13][INFO][root] : Python version : 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1]
[2018-06-29 13:24:13][INFO][root] : zigate version : 0.16.0
[2018-06-29 13:24:13][INFO][root] : Plugin Abeille d\xe9tect\xe9, v\xe9rification de l'\xe9tat
[2018-06-29 13:24:13][INFO][root] : Ok, le plugin Abeille ne semble pas en fonctionnement.
[2018-06-29 13:24:13][DEBUG][root] : Writing PID 20310 to /tmp/jeedom/zigate/daemon.pid
[2018-06-29 13:24:13][DEBUG][root] : Send to test to jeedom
[2018-06-29 13:24:13][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-06-29 13:24:13][DEBUG] : Array ( [action] => test )
[2018-06-29 13:24:13][DEBUG][root] : Jeedom reply : {'success': True}
[2018-06-29 13:24:13][INFO][root] : D\xe9marrage ZiGate WiFi 192.168.0.55 9999
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0010
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'0010000010'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8010 - Version list : major:1, installer:30d, rssi:0, version:3.0d
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0010:0
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for message 0x8010
[2018-06-29 13:24:14][DEBUG][zigate] : Stop waiting, got message 0x8010
[2018-06-29 13:24:14][INFO][root] : Firmware ZiGate : 3.0d
[2018-06-29 13:24:14][DEBUG][zigate] : Try loading persistent file
[2018-06-29 13:24:14][DEBUG][zigate] : Load success
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0021 b'\x03\x18\xc8\x00'
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'00210004f60318c800'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10!\x02\x10\x02\x14\xf6\x02\x13\x18\xc8\x02\x10\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0021
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0021:0
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0023 b'\x00'
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'002300012200'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10#\x02\x10\x02\x11"\x02\x10\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0023
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0023:0
[2018-06-29 13:24:14][DEBUG][zigate] : Check network state
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0024
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'0024000024'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10$\x02\x10\x02\x10$\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0024
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0024:0
[2018-06-29 13:24:14][DEBUG][zigate] : REQUEST : 0x0009
[2018-06-29 13:24:14][DEBUG][zigate] : Msg to send b'0009000009'
[2018-06-29 13:24:14][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x02\x19\x02\x10\x02\x10\x02\x19\x03'
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for status message for command 0x0009
[2018-06-29 13:24:14][INFO] : Démon zigate lancé
[2018-06-29 13:24:14][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', rssi:0
[2018-06-29 13:24:14][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:14][ERROR][zigate] : Bad checksum 45 != 184
[2018-06-29 13:24:14][DEBUG][zigate] : STATUS code to command 0x0009:0
[2018-06-29 13:24:14][DEBUG][zigate] : Waiting for message 0x8009
[2018-06-29 13:24:17][ERROR][zigate] : No response waiting command 0x8009
[2018-06-29 13:24:17][ERROR][zigate] : Failed to get network state
[2018-06-29 13:24:17][DEBUG][zigate] : Network is down, start it
[2018-06-29 13:24:17][DEBUG][zigate] : REQUEST : 0x0024
[2018-06-29 13:24:17][DEBUG][zigate] : Msg to send b'0024000024'
[2018-06-29 13:24:17][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10$\x02\x10\x02\x10$\x03'
[2018-06-29 13:24:17][DEBUG][zigate] : Waiting for status message for command 0x0024
[2018-06-29 13:24:17][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
[2018-06-29 13:24:17][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:17][DEBUG][zigate] : STATUS code to command 0x0024:0
[2018-06-29 13:24:17][DEBUG][zigate] : Waiting for message 0x8024
[2018-06-29 13:24:20][ERROR][zigate] : No response waiting command 0x8024
[2018-06-29 13:24:20][DEBUG][zigate] : REQUEST : 0x0015
[2018-06-29 13:24:20][DEBUG][zigate] : Msg to send b'0015000015'
[2018-06-29 13:24:20][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x15\x02\x10\x02\x10\x15\x03'
[2018-06-29 13:24:20][DEBUG][zigate] : Waiting for status message for command 0x0015
[2018-06-29 13:24:20][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', rssi:0
[2018-06-29 13:24:20][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-06-29 13:24:20][ERROR][zigate] : Bad length 105 != 108 : b'\x81$\x10#\x00\x85\xe3 $\x12G\x83\xcf\x00<\x01\xab\xf9\x00\x15\x8d\x00\x02G\x84a\x00n\x02,+\x00\x15\x8d\x00\x02>\xb0\x1c\x00\x97\x03\xd97\x00\x15\x8d\x00\x027\x81\xda\x00~\x04\xdd\xa6\x00\x15\x8d\x00\x027b:\x00N\x05\x14\x0e\x00\x15\x8d\x00\x02>\xb0\x10\x00\x84\x06+=\x00\x15\x8d\x00\x02\x13R,\x00\xc0\x07\xec\xe2\x00\x15\xe3 $\x12G\x84w\x00\xa9'
[2018-06-29 13:24:20][DEBUG][zigate] : STATUS code to command 0x0015:0
[2018-06-29 13:24:20][DEBUG][zigate] : Waiting for message 0x8015
[2018-06-29 13:24:23][ERROR][zigate] : No response waiting command 0x8015
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 8b88
[2018-06-29 13:24:23][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:23][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 8b88
[2018-06-29 13:24:23][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 8b88 , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device f5d7 lumi.weather
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device abf9 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 4f89 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 0023 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 4924 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 140e lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device a890 lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 2c2b lumi.sensor_magnet.aq2
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device f693
[2018-06-29 13:24:23][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:23][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device f693
[2018-06-29 13:24:23][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device f693 , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:23][DEBUG][zigate] : Check Need refresh Device 52ad
[2018-06-29 13:24:23][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:23][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 52ad
[2018-06-29 13:24:23][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 52ad , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device dda6 lumi.weather
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device d937 lumi.weather
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device 0e5e
[2018-06-29 13:24:24][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:24][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 0e5e
[2018-06-29 13:24:24][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 0e5e , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:24][DEBUG][zigate] : Check Need refresh Device 44dc
[2018-06-29 13:24:24][DEBUG][zigate] : Need refresh : no type
[2018-06-29 13:24:24][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_NEED_REFRESH Device 44dc
[2018-06-29 13:24:24][DEBUG][root] : External command ZIGATE_DEVICE_NEED_REFRESH : {'device': Device 44dc , 'zigate': <zigate.core.ZiGateWiFi object at 0x76443ff0>}
[2018-06-29 13:24:24][DEBUG][zigate] : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/.zigate.json
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 8b88 }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [descriptor_capability] => 00000000 [max_rx] => 100 [addr] => 8b88 [mac_capability] => 10000000 [manufacturer] => 1037 [ieee] => 00158d00024783cf [server_mask] => 0 [last_seen] => 2018-06-25 23:43:25 [bit_field] => 0100000000000010 [max_tx] => 100 [max_buffer] => 127 [rssi] => 48 ) [addr] => 8b88 [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 65535 [3] => 6 ) [profile] => 260 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [name] => application_version [data] => 3 [attribute] => 1 [value] => 3 ) [1] => Array ( [name] => battery [data] => 01212b0c0328170421a81305217400062401000000000a210000641000 [unit] => V [attribute] => 65281 [value] => 3.115 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => 1 [attribute] => 0 [value] => 1 ) ) ) ) [endpoint] => 1 [device] => 24321 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device f693 }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [addr] => f693 [last_seen] => 2018-06-26 00:22:08 [rssi] => 72 ) [addr] => f693 [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( ) [in_clusters] => Array ( ) [profile] => 0 [clusters] => Array ( [0] => Array ( [cluster] => 1027 [attributes] => Array ( [0] => Array ( [data] => -1 [attribute] => 20 ) ) ) ) [endpoint] => 17 [device] => 0 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 52ad }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [descriptor_capability] => 00000000 [max_rx] => 100 [addr] => 52ad [mac_capability] => 10000000 [manufacturer] => 1037 [server_mask] => 0 [bit_field] => 0100000000000010 [rssi] => 111 [max_tx] => 100 [max_buffer] => 127 [last_seen] => 2018-06-26 19:02:47 ) [addr] => 52ad [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( ) [in_clusters] => Array ( ) [profile] => 0 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [name] => battery [data] => 01212b0c03281e0421a81305211901062401000000000a210000641001 [unit] => V [attribute] => 65281 [value] => 3.115 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => [attribute] => 0 [value] => ) ) ) ) [endpoint] => 1 [device] => 0 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 0e5e }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [addr] => 0e5e [last_seen] => 2018-06-24 23:09:47 [rssi] => 141 ) [addr] => 0e5e [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( ) [in_clusters] => Array ( ) [profile] => 0 [clusters] => Array ( [0] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => 1 [attribute] => 0 [value] => 1 ) ) ) ) [endpoint] => 1 [device] => 0 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
[2018-06-29 13:24:24][DEBUG][root] : Send to jeedom : {'action': 'ZIGATE_DEVICE_NEED_REFRESH', 'device': Device 44dc }
[2018-06-29 13:24:24][DEBUG] : Array ( [action] => ZIGATE_DEVICE_NEED_REFRESH [device] => Array ( [info] => Array ( [descriptor_capability] => 00000000 [max_rx] => 100 [addr] => 44dc [mac_capability] => 10000000 [manufacturer] => 1037 [ieee] => 00158d00023eb01c [server_mask] => 0 [last_seen] => 2018-06-25 23:44:29 [bit_field] => 0100000000000010 [max_tx] => 100 [max_buffer] => 127 [rssi] => 63 ) [addr] => 44dc [endpoints] => Array ( [0] => Array ( [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 65535 [3] => 6 ) [profile] => 260 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [name] => battery [data] => 01210d0c0328200421a81305216d00062401000000000a210000641000 [unit] => V [attribute] => 65281 [value] => 3.085 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [name] => onoff [data] => 1 [attribute] => 0 [value] => 1 ) ) ) ) [endpoint] => 1 [device] => 24321 ) ) ) )
[2018-06-29 13:24:24][ERROR][root] : Error on send request to jeedom, return code 500 - Internal Server Error
Merci pour le log, l'erreur 500 n'est pas normale effectivement.
Par ailleurs je vois que tu utilises la zigate wifi, il faut savoir que le module wifi est actuellement défaillant, c'est un défaut de conception qui je l'espère pourra être corrigé par une mise à jour du firmware wifi, mais ça ne dépend pas de moi.


Sacha
Timide
Messages : 35
Inscription : 03 janv. 2016, 14:13
Localisation : Vincennes

Re: [Plugin Tiers] Zigate

Message par Sacha » 29 juin 2018, 13:37

Merci pour la réponse rapide.
J'étais également en wifi avec la version précédente je n'avais pas de problème d'inclusion, est il possible de revenir à la version précédente?
RPi2 Jeedom Core Stable - Mini contrôleur usb z-wave plus z-wave.me
Fibaro : Dimmer 2 - Roller Shutter 2
Qubino : ZMNHBD1
Clef Zigate
Xiaomi : Aqara

Sacha
Timide
Messages : 35
Inscription : 03 janv. 2016, 14:13
Localisation : Vincennes

Re: [Plugin Tiers] Zigate

Message par Sacha » 29 juin 2018, 13:38

je vais essayer en me connectant directement en usb et je reviens vers toi pour donner des nouvelles.
Merc
RPi2 Jeedom Core Stable - Mini contrôleur usb z-wave plus z-wave.me
Fibaro : Dimmer 2 - Roller Shutter 2
Qubino : ZMNHBD1
Clef Zigate
Xiaomi : Aqara

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 29 juin 2018, 13:40

Sacha a écrit :je vais essayer en me connectant directement en usb et je reviens vers toi pour donner des nouvelles.
Merc
Le problème du wifi est qu'il y a des pertes de données de façon aléatoire entre le module zigate et le module wifi, le plugin ne peut rien n'y changer.
Parfois ça marche, parfois non.

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 29 juin 2018, 13:48

Sacha a écrit :je vais essayer en me connectant directement en usb et je reviens vers toi pour donner des nouvelles.
Merc
Pour résoudre le problème de l'erreur 500 il faudrait mettre jeedom en mode debug et aller voir dans le log http.error
Merci d'avance

Sacha
Timide
Messages : 35
Inscription : 03 janv. 2016, 14:13
Localisation : Vincennes

Re: [Plugin Tiers] Zigate

Message par Sacha » 29 juin 2018, 14:34

Bon en usb cela fonctionne, donc je vais le laisser comme ça en attendant une mise à jour wifi.

Merci
RPi2 Jeedom Core Stable - Mini contrôleur usb z-wave plus z-wave.me
Fibaro : Dimmer 2 - Roller Shutter 2
Qubino : ZMNHBD1
Clef Zigate
Xiaomi : Aqara

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Tiers] Zigate

Message par Nebz » 30 juin 2018, 01:14

Sacha a écrit :Bon en usb cela fonctionne, donc je vais le laisser comme ça en attendant une mise à jour wifi.

Merci
Pour faire avancer les choses, tu peux fournir le log demandé ? Car même si ton problème est réglé, on va essayer d'aider aussi les autres ok ;-) ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Avatar de l’utilisateur
Deepcore
Timide
Messages : 190
Inscription : 11 déc. 2017, 20:40
Localisation : Région Parisienne

Re: [Plugin Tiers] Zigate

Message par Deepcore » 30 juin 2018, 08:22

Bonjour,

J'ai une question bête : comment on supprime un équipement hs sur le plug-in ? :D
Jeedom Prod VM Debian 9 sous ESXi 6.7
Jeedom Dev Pi 2 Debian 9
Antenne : VM Debian 8 - HA-Bridge, Nut Serveur sous ESXi 6.0
Protocole : ZWave, ZigBee (Hue,Ikea,Xiaomi et Zigate), IP devices, Bluetooth
160 modules gérés

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 30 juin 2018, 08:58

Nebz a écrit :
Sacha a écrit :Bon en usb cela fonctionne, donc je vais le laisser comme ça en attendant une mise à jour wifi.

Merci
Pour faire avancer les choses, tu peux fournir le log demandé ? Car même si ton problème est réglé, on va essayer d'aider aussi les autres ok ;-) ?


Envoyé de mon iPhone en utilisant Tapatalk
Le problème du wifi est connu et n'a rien à voir avec le plugin, c'est le module wifi lui même qui est défaillant.
Peut-être qu'une mise à jour du firmware wifi pourra résoudre le problème mais rien de certain pour le moment.

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 30 juin 2018, 08:59

Deepcore a écrit :Bonjour,

J'ai une question bête : comment on supprime un équipement hs sur le plug-in ? :D
Très bonne question, en le supprimant de jeedom normalement mais il est pas impossible qu'il revienne.
Je n'ai pas trop testé cette partie

Avatar de l’utilisateur
Deepcore
Timide
Messages : 190
Inscription : 11 déc. 2017, 20:40
Localisation : Région Parisienne

Re: [Plugin Tiers] Zigate

Message par Deepcore » 30 juin 2018, 09:59

doudz a écrit :
30 juin 2018, 08:59
Deepcore a écrit :Bonjour,

J'ai une question bête : comment on supprime un équipement hs sur le plug-in ? :D
Très bonne question, en le supprimant de jeedom normalement mais il est pas impossible qu'il revienne.
Je n'ai pas trop testé cette partie
Bah j'ai testé 😊

Le problème c'est que ça ne supprime pas l'association du périphérique à la zigate, donc dès que je fais une synchro il réapparaît...

Tu penses pouvoir gérer ça sur le plug in ?
Jeedom Prod VM Debian 9 sous ESXi 6.7
Jeedom Dev Pi 2 Debian 9
Antenne : VM Debian 8 - HA-Bridge, Nut Serveur sous ESXi 6.0
Protocole : ZWave, ZigBee (Hue,Ikea,Xiaomi et Zigate), IP devices, Bluetooth
160 modules gérés

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 30 juin 2018, 10:01

Deepcore a écrit :
doudz a écrit :
30 juin 2018, 08:59
Deepcore a écrit :Bonjour,

J'ai une question bête : comment on supprime un équipement hs sur le plug-in ? :D
Très bonne question, en le supprimant de jeedom normalement mais il est pas impossible qu'il revienne.
Je n'ai pas trop testé cette partie
Bah j'ai testé

Le problème c'est que ça ne supprime pas l'association du périphérique à la zigate, donc dès que je fais une synchro il réapparaît...

Tu penses pouvoir gérer ça sur le plug in ?
Ok merci pour le retour.
Je vais regarder ce qui cloche.

J'ouvre un issue sur github

snowman69
Timide
Messages : 92
Inscription : 18 janv. 2016, 20:55
Localisation : Lyon

Re: [Plugin Tiers] Zigate

Message par snowman69 » 03 juil. 2018, 23:06

Impossible de faire fonctionner le plug-in. J'ai toujours le même problème, j'ai l'impression qu'il ne voit pas la zigate..


Envoyé de mon iPhone en utilisant Tapatalk
Tahoma serenity
Velux IO x3
Volet Velux IO x3
BSO Somfy IO x3
VR Somfy IO x 2
VMC Atlantic Optimocosy HR plus IO
JEEDOM SMART
Zigate
Qubino Din Dimmer x2
Nuki SmartLock + Bridge
Centrale Chauffage Thermozyklus ZE Wifi 9 zones de chauffage

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 04 juil. 2018, 07:02

snowman69 a écrit :Impossible de faire fonctionner le plug-in. J'ai toujours le même problème, j'ai l'impression qu'il ne voit pas la zigate..


Envoyé de mon iPhone en utilisant Tapatalk
As-tu essayé la commande reset ?

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 04 juil. 2018, 07:08

snowman69 a écrit :Impossible de faire fonctionner le plug-in. J'ai toujours le même problème, j'ai l'impression qu'il ne voit pas la zigate..


Envoyé de mon iPhone en utilisant Tapatalk
Je suis preneur de log si possible

snowman69
Timide
Messages : 92
Inscription : 18 janv. 2016, 20:55
Localisation : Lyon

Re: [Plugin Tiers] Zigate

Message par snowman69 » 04 juil. 2018, 09:51

Oui ca me donne "ECHEC"

[2018-07-04 09:35:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:35:05][INFO][root] : Start zigated
[2018-07-04 07:35:05][INFO][root] : Log level : debug
[2018-07-04 07:35:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:35:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:35:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:35:05][INFO][root] : Device : auto
[2018-07-04 07:35:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:35:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:35:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:35:05][DEBUG][root] : Writing PID 27444 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:35:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:35:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:35:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:35:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:35:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:35:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:35:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:35:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:35:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:35:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:35:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:35:06][INFO] : Démon zigate lancé
[2018-07-04 07:35:08][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:35:08][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:35:11][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:40:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:40:05][INFO][root] : Start zigated
[2018-07-04 07:40:05][INFO][root] : Log level : debug
[2018-07-04 07:40:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:40:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:40:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:40:05][INFO][root] : Device : auto
[2018-07-04 07:40:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:40:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:40:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:40:05][DEBUG][root] : Writing PID 29224 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:40:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:40:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:40:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:40:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:40:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:40:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:40:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:40:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:40:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:40:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:40:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:40:06][INFO] : Démon zigate lancé
[2018-07-04 07:40:07][DEBUG][root] : Signal 15 caught, exiting...
[2018-07-04 07:40:07][DEBUG][root] : Shutdown
[2018-07-04 07:40:07][DEBUG][root] : Saving zigate state
[2018-07-04 07:40:07][DEBUG][root] : Closing zigate
[2018-07-04 07:40:07][DEBUG][root] : Shutting down callback server
[2018-07-04 07:40:07][DEBUG][root] : Shutting down local server
[2018-07-04 09:40:13][ERROR] : Impossible d'arrêter le démon zigate, tuons-le
[2018-07-04 09:41:57][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:41:58][INFO][root] : Start zigated
[2018-07-04 07:41:58][INFO][root] : Log level : debug
[2018-07-04 07:41:58][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:41:58][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:41:58][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:41:58][INFO][root] : Device : auto
[2018-07-04 07:41:58][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:41:58][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:41:58][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:41:58][DEBUG][root] : Writing PID 29978 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:41:58][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:41:58][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:41:58][DEBUG] : Array ( [action] => test )
[2018-07-04 07:41:58][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:41:58][INFO][root] : D\xe9marrage ZiGate USB auto
[2018-07-04 07:41:58][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:41:58][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:41:58][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:41:58][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:41:58][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:41:58][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:41:58][INFO] : Démon zigate lancé
[2018-07-04 07:42:01][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:42:01][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:42:04][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:43:10][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:43:11][INFO][root] : Start zigated
[2018-07-04 07:43:11][INFO][root] : Log level : debug
[2018-07-04 07:43:11][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:43:11][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:43:11][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:43:11][INFO][root] : Device : auto
[2018-07-04 07:43:11][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:43:11][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:43:11][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:43:11][DEBUG][root] : Writing PID 30551 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:43:11][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:43:11][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:43:11][DEBUG] : Array ( [action] => test )
[2018-07-04 07:43:11][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:43:11][INFO][root] : D\xe9marrage ZiGate USB auto
[2018-07-04 07:43:11][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:43:11][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:43:11][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:43:11][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:43:11][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:43:11][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:43:12][INFO] : Démon zigate lancé
[2018-07-04 07:43:14][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:43:14][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:43:17][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:45:05][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:45:05][INFO][root] : Start zigated
[2018-07-04 07:45:05][INFO][root] : Log level : debug
[2018-07-04 07:45:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:45:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:45:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:45:05][INFO][root] : Device : auto
[2018-07-04 07:45:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:45:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:45:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:45:05][DEBUG][root] : Writing PID 31533 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:45:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:45:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:45:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:45:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:45:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:45:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:45:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:45:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:45:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:45:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:45:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:45:06][INFO] : Démon zigate lancé
[2018-07-04 07:45:08][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:45:08][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:45:12][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:50:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:50:05][INFO][root] : Start zigated
[2018-07-04 07:50:05][INFO][root] : Log level : debug
[2018-07-04 07:50:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:50:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:50:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:50:05][INFO][root] : Device : auto
[2018-07-04 07:50:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:50:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:50:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:50:05][DEBUG][root] : Writing PID 1334 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:50:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:50:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:50:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:50:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:50:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:50:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:50:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:50:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:50:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:50:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:50:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:50:06][INFO] : Démon zigate lancé
[2018-07-04 07:50:08][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:50:08][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:50:11][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
Tahoma serenity
Velux IO x3
Volet Velux IO x3
BSO Somfy IO x3
VR Somfy IO x 2
VMC Atlantic Optimocosy HR plus IO
JEEDOM SMART
Zigate
Qubino Din Dimmer x2
Nuki SmartLock + Bridge
Centrale Chauffage Thermozyklus ZE Wifi 9 zones de chauffage

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 04 juil. 2018, 09:59

snowman69 a écrit :Oui ca me donne "ECHEC"

[2018-07-04 09:35:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:35:05][INFO][root] : Start zigated
[2018-07-04 07:35:05][INFO][root] : Log level : debug
[2018-07-04 07:35:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:35:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:35:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:35:05][INFO][root] : Device : auto
[2018-07-04 07:35:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:35:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:35:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:35:05][DEBUG][root] : Writing PID 27444 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:35:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:35:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:35:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:35:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:35:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:35:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:35:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:35:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:35:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:35:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:35:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:35:06][INFO] : Démon zigate lancé
[2018-07-04 07:35:08][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:35:08][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:35:11][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:40:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:40:05][INFO][root] : Start zigated
[2018-07-04 07:40:05][INFO][root] : Log level : debug
[2018-07-04 07:40:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:40:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:40:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:40:05][INFO][root] : Device : auto
[2018-07-04 07:40:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:40:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:40:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:40:05][DEBUG][root] : Writing PID 29224 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:40:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:40:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:40:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:40:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:40:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:40:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:40:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:40:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:40:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:40:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:40:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:40:06][INFO] : Démon zigate lancé
[2018-07-04 07:40:07][DEBUG][root] : Signal 15 caught, exiting...
[2018-07-04 07:40:07][DEBUG][root] : Shutdown
[2018-07-04 07:40:07][DEBUG][root] : Saving zigate state
[2018-07-04 07:40:07][DEBUG][root] : Closing zigate
[2018-07-04 07:40:07][DEBUG][root] : Shutting down callback server
[2018-07-04 07:40:07][DEBUG][root] : Shutting down local server
[2018-07-04 09:40:13][ERROR] : Impossible d'arrêter le démon zigate, tuons-le
[2018-07-04 09:41:57][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:41:58][INFO][root] : Start zigated
[2018-07-04 07:41:58][INFO][root] : Log level : debug
[2018-07-04 07:41:58][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:41:58][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:41:58][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:41:58][INFO][root] : Device : auto
[2018-07-04 07:41:58][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:41:58][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:41:58][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:41:58][DEBUG][root] : Writing PID 29978 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:41:58][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:41:58][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:41:58][DEBUG] : Array ( [action] => test )
[2018-07-04 07:41:58][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:41:58][INFO][root] : D\xe9marrage ZiGate USB auto
[2018-07-04 07:41:58][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:41:58][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:41:58][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:41:58][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:41:58][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:41:58][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:41:58][INFO] : Démon zigate lancé
[2018-07-04 07:42:01][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:42:01][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:42:04][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:43:10][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:43:11][INFO][root] : Start zigated
[2018-07-04 07:43:11][INFO][root] : Log level : debug
[2018-07-04 07:43:11][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:43:11][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:43:11][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:43:11][INFO][root] : Device : auto
[2018-07-04 07:43:11][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:43:11][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:43:11][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:43:11][DEBUG][root] : Writing PID 30551 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:43:11][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:43:11][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:43:11][DEBUG] : Array ( [action] => test )
[2018-07-04 07:43:11][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:43:11][INFO][root] : D\xe9marrage ZiGate USB auto
[2018-07-04 07:43:11][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:43:11][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:43:11][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:43:11][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:43:11][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:43:11][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:43:12][INFO] : Démon zigate lancé
[2018-07-04 07:43:14][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:43:14][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:43:17][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:45:05][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:45:05][INFO][root] : Start zigated
[2018-07-04 07:45:05][INFO][root] : Log level : debug
[2018-07-04 07:45:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:45:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:45:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:45:05][INFO][root] : Device : auto
[2018-07-04 07:45:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:45:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:45:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:45:05][DEBUG][root] : Writing PID 31533 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:45:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:45:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:45:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:45:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:45:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:45:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:45:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:45:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:45:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:45:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:45:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:45:06][INFO] : Démon zigate lancé
[2018-07-04 07:45:08][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:45:08][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:45:12][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
[2018-07-04 09:50:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device auto --loglevel debug --apikey wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php --sharedata 0
[2018-07-04 07:50:05][INFO][root] : Start zigated
[2018-07-04 07:50:05][INFO][root] : Log level : debug
[2018-07-04 07:50:05][INFO][root] : Socket : /tmp/jeedom/zigate/daemon.sock
[2018-07-04 07:50:05][INFO][root] : PID file : /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:50:05][INFO][root] : Apikey : wgPiiFUsE3D03F5TSyjrwLKt14Tf8tl4
[2018-07-04 07:50:05][INFO][root] : Device : auto
[2018-07-04 07:50:05][INFO][root] : Callback : http://127.0.0.1:80/plugins/zigate/core ... ZiGate.php
[2018-07-04 07:50:05][INFO][root] : Python version : 3.4.2 (default, Oct 8 2014, 12:59:09)
[GCC 4.9.1]
[2018-07-04 07:50:05][INFO][root] : zigate version : 0.16.0
[2018-07-04 07:50:05][DEBUG][root] : Writing PID 1334 to /tmp/jeedom/zigate/daemon.pid
[2018-07-04 07:50:05][DEBUG][root] : Send to test to jeedom
[2018-07-04 07:50:05][DEBUG][root] : Send to jeedom : {'action': 'test'}
[2018-07-04 09:50:05][DEBUG] : Array ( [action] => test )
[2018-07-04 07:50:05][DEBUG][root] : Jeedom reply : {'success': True}
[2018-07-04 07:50:05][INFO][root] : Démarrage ZiGate USB auto
[2018-07-04 07:50:05][INFO][zigate] : Searching ZiGate port
[2018-07-04 07:50:05][INFO][zigate] : ZiGate found at /dev/ttyUSB0
[2018-07-04 07:50:05][DEBUG][zigate] : REQUEST : 0x0010
[2018-07-04 07:50:05][DEBUG][zigate] : Msg to send b'0010000010'
[2018-07-04 07:50:05][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10\x10\x02\x10\x02\x10\x10\x03'
[2018-07-04 07:50:05][DEBUG][zigate] : Waiting for status message for command 0x0010
[2018-07-04 09:50:06][INFO] : Démon zigate lancé
[2018-07-04 07:50:08][ERROR][zigate] : No response after command 0x0010
[2018-07-04 07:50:08][DEBUG][zigate] : Waiting for message 0x8010
[2018-07-04 07:50:11][ERROR][zigate] : No response waiting command 0x8010
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 281, in <module>
version = z.get_version_text()
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 541, in get_version_text
v = self.get_version(refresh)['version']
File "/usr/local/lib/python3.4/dist-packages/zigate/core.py", line 534, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
La zigate semble être détecté sur le port ttyUSB0 mais pourtant elle ne répond pas.
Est ce qu'il y a d'autres périphériques USB branchés ? Peut-être que le mode auto choisi par erreur le mauvais port

As tu essayé de débrancher la zigate ?
Est ce que la zigate a été flashé récemment ?
IL est déjà arrivé que l'adaptateur USB de la zigate lâche... Akila en a déjà remplacé en SAV

snowman69
Timide
Messages : 92
Inscription : 18 janv. 2016, 20:55
Localisation : Lyon

Re: [Plugin Tiers] Zigate

Message par snowman69 » 04 juil. 2018, 10:02

Oui j'ai essayé plusieurs fois de la debrancher et rebrancher.
Je n'ai pas d'autre périphériques branchés en USB.

J'ai flashé le dernier Firmware en version D de mémoire.
Tahoma serenity
Velux IO x3
Volet Velux IO x3
BSO Somfy IO x3
VR Somfy IO x 2
VMC Atlantic Optimocosy HR plus IO
JEEDOM SMART
Zigate
Qubino Din Dimmer x2
Nuki SmartLock + Bridge
Centrale Chauffage Thermozyklus ZE Wifi 9 zones de chauffage

doudz
Timide
Messages : 236
Inscription : 04 janv. 2016, 13:41

Re: [Plugin Tiers] Zigate

Message par doudz » 04 juil. 2018, 10:05

snowman69 a écrit :Oui j'ai essayé plusieurs fois de la debrancher et rebrancher.

J'ai flashé le dernier Firmware en version D de mémoire.
Il faudrait brancher la clé sur un pc windows et tester avec le logiciel testgui disponible sur le site zigate.fr , si ça ne fonctionne pas non plus il faudra probablement contacter le SAV zigate

Répondre

Revenir vers « [Catégorie] Protocoles domotiques »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 5 invités