Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "Xiaomi Aqara vibration sensor" #26

Closed
llaumgui opened this issue Sep 3, 2018 · 28 comments
Closed

Support "Xiaomi Aqara vibration sensor" #26

llaumgui opened this issue Sep 3, 2018 · 28 comments

Comments

@llaumgui
Copy link
Contributor

llaumgui commented Sep 3, 2018

Cf: http://faire-ca-soi-meme.fr/domotique/2018/09/03/test-xiaomi-aqara-vibration-sensor/#Compatibilite_ZiGate

@llaumgui
Copy link
Contributor Author

Je viens de le recevoir... J'ai bien l'objet qui se créé dans ma solution domotique (Jeedom). Par contre j'ai beau le taper fort, j'ai pas de trace qui remonte dans mes logs.

Je regarde ce qui peut y avoir de spécifique dans le code du daemon mais j'ai un peu de mal à comprendre l'ajout d'équipement...

@llaumgui
Copy link
Contributor Author

D'autant plus étrange qu'il est dans la liste...
https://zigate.fr/produits-xiaomi-compatibles-zigate/

@doudz
Copy link
Owner

doudz commented Sep 11, 2018

C'est normal, je dois ajouter la gestion de nouveau cluster pour que ça fonctionne

@llaumgui
Copy link
Contributor Author

OK, en lisant le code de cluster.py je comprends des choses... Il te faut des info pour ça ?

@doudz
Copy link
Owner

doudz commented Sep 12, 2018

J'ai poussé un commit pour supporter le capteur de vibration, à tester

@llaumgui
Copy link
Contributor Author

llaumgui commented Sep 15, 2018

Je viens de tester, dès que je le secou, ça plante:

Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 140, in _event_loop
self.decode_data(packet)
File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 349, in decode_data
response = RESPONSES.get(msg_type, Response)(value, rssi)
File "/usr/local/lib/python3.5/dist-packages/zigate/responses.py", line 45, in __init__
self.decode()
File "/usr/local/lib/python3.5/dist-packages/zigate/responses.py", line 291, in decode
data = struct.unpack(fmt, self.data['data'])[0]
struct.error: unpack requires a bytes object of length 4

@doudz
Copy link
Owner

doudz commented Sep 15, 2018

idéalement peux-tu mettre en mode DEBUG et m'envoyer le log ?

@llaumgui
Copy link
Contributor Author

llaumgui commented Sep 17, 2018

On parle du mode débug du plugin ? Il y a pas de mode débug dans la lib ?

@ioull
Copy link

ioull commented Sep 17, 2018

Voila ce que j'ai
[2018-09-17 19:55:56][DEBUG] : callZiGate permit_join [2018-09-17 19:55:56][DEBUG][root] : Message received in socket [2018-09-17 19:55:56][DEBUG][root] : {'args': '', 'action': 'permit_join'} [2018-09-17 19:55:56][DEBUG][zigate] : REQUEST : 0x0049 FFFC1E00 [2018-09-17 19:55:56][DEBUG][zigate] : Msg to send b'0049000450fffc1e00' [2018-09-17 19:55:56][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10I\x02\x10\x02\x14P\xff\xfc\x1e\x02\x10\x03' [2018-09-17 19:55:56][DEBUG][zigate] : Waiting for status message for command 0x0049 [2018-09-17 19:55:56][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:116, packet_type:73, error:b'', rssi:0 [2018-09-17 19:55:56][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:55:56][DEBUG][zigate] : STATUS code to command 0x0049:0 [2018-09-17 19:55:56][DEBUG][root] : {'success': True, 'result': 0} [2018-09-17 19:55:56][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 0 ) [2018-09-17 19:56:01][DEBUG][zigate] : RESPONSE 0x004D - Device announce : addr:9cde, ieee:00158d0002a51c56, mac_capability:10000000, rssi:156 [2018-09-17 19:56:01][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:01][DEBUG][zigate] : Device Announce [2018-09-17 19:56:01][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_ADDED [2018-09-17 19:56:01][DEBUG][root] : External command ZIGATE_DEVICE_ADDED : {'device': Device 9cde , 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:01][DEBUG][zigate] : REQUEST : 0x0042 9cde [2018-09-17 19:56:01][DEBUG][zigate] : Msg to send b'00420002029cde' [2018-09-17 19:56:01][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10B\x02\x10\x02\x12\x02\x12\x9c\xde\x03' [2018-09-17 19:56:01][DEBUG][zigate] : Waiting for status message for command 0x0042 [2018-09-17 19:56:01][DEBUG][root] : Send to jeedom : {'device': Device 9cde , 'action': 'ZIGATE_DEVICE_ADDED'} [2018-09-17 19:56:01][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:01][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 156 ) [endpoints] => Array ( ) [addr] => 9cde ) [action] => ZIGATE_DEVICE_ADDED ) [2018-09-17 19:56:01][DEBUG] : createcommands for 9cde [2018-09-17 19:56:01][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:01][DEBUG][root] : Message received in socket [2018-09-17 19:56:01][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:01][DEBUG][root] : {'success': True, 'result': {}} [2018-09-17 19:56:01][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( ) ) [2018-09-17 19:56:01][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:01][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:01][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:03][DEBUG] : callZiGate get_version_text [2018-09-17 19:56:03][DEBUG][root] : Message received in socket [2018-09-17 19:56:03][DEBUG][root] : {'args': '', 'action': 'get_version_text'} [2018-09-17 19:56:03][DEBUG][root] : {'success': True, 'result': '3.0d'} [2018-09-17 19:56:03][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 3.0d ) [2018-09-17 19:56:04][ERROR][zigate] : No response after command 0x0042 [2018-09-17 19:56:04][DEBUG][zigate] : REQUEST : 0x0045 9cde [2018-09-17 19:56:04][DEBUG][zigate] : Msg to send b'00450002059cde' [2018-09-17 19:56:04][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10E\x02\x10\x02\x12\x02\x15\x9c\xde\x03' [2018-09-17 19:56:04][DEBUG][zigate] : Waiting for status message for command 0x0045 [2018-09-17 19:56:07][ERROR][zigate] : No response after command 0x0045 [2018-09-17 19:56:07][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:117, packet_type:66, error:b'', rssi:0 [2018-09-17 19:56:07][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:07][DEBUG][zigate] : RESPONSE 0x004D - Device announce : addr:9cde, ieee:00158d0002a51c56, mac_capability:10000000, rssi:168 [2018-09-17 19:56:07][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:07][DEBUG][zigate] : Device Announce [2018-09-17 19:56:07][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_UPDATED [2018-09-17 19:56:07][DEBUG][root] : External command ZIGATE_DEVICE_UPDATED : {'device': Device 9cde , 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:07][DEBUG][root] : Send to jeedom : {'device': Device 9cde , 'action': 'ZIGATE_DEVICE_UPDATED'} [2018-09-17 19:56:07][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:07][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 ) [endpoints] => Array ( ) [addr] => 9cde ) [action] => ZIGATE_DEVICE_UPDATED ) [2018-09-17 19:56:07][DEBUG] : createcommands for 9cde [2018-09-17 19:56:07][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:07][DEBUG][root] : Message received in socket [2018-09-17 19:56:07][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:07][DEBUG][root] : {'success': True, 'result': {}} [2018-09-17 19:56:07][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( ) ) [2018-09-17 19:56:07][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:07][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:07][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8701 - Route Discovery Confirmation : status:0, network_status:0, rssi:168 [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:9cde, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:18, data:lumi.vibration.aq1, rssi:168 [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:08][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:9cde, endpoint:1, cluster:0, attribute:1, status:0, data_type:32, size:1, data:8, rssi:168 [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:08][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:08][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:08][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 [last_seen] => 2018-09-17 19:56:08 ) [endpoints] => Array ( [0] => Array ( [device] => 0 [out_clusters] => Array ( ) [endpoint] => 1 [in_clusters] => Array ( ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 8 [attribute] => 1 [value] => 8 [name] => application_version ) [1] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) ) ) ) [profile] => 0 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => lumi.vibration.aq1 [cluster] => 0 [value] => lumi.vibration.aq1 [addr] => 9cde [endpoint] => 1 [attribute] => 5 [name] => type ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:08][DEBUG] : createcommands for 9cde [2018-09-17 19:56:08][DEBUG] : create command 1.0.1 [2018-09-17 19:56:08][DEBUG] : create command 1.0.5 [2018-09-17 19:56:08][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:08][DEBUG][root] : Message received in socket [2018-09-17 19:56:08][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:08][DEBUG][root] : {'success': True, 'result': {1: []}} [2018-09-17 19:56:08][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) ) ) [2018-09-17 19:56:08][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:08][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:08][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:08][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 [last_seen] => 2018-09-17 19:56:08 ) [endpoints] => Array ( [0] => Array ( [device] => 0 [out_clusters] => Array ( ) [endpoint] => 1 [in_clusters] => Array ( ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 8 [attribute] => 1 [value] => 8 [name] => application_version ) [1] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) ) ) ) [profile] => 0 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 8 [cluster] => 0 [value] => 8 [addr] => 9cde [endpoint] => 1 [attribute] => 1 [name] => application_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:9cde, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:46, data:01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204, rssi:168 [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:08][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'value': 3.085, 'unit': 'V', 'addr': '9cde', 'name': 'battery', 'data': '01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204', 'cluster': 0, 'endpoint': 1, 'attribute': 65281}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:08][DEBUG] : createcommands for 9cde [2018-09-17 19:56:08][DEBUG] : create command 1.0.1 [2018-09-17 19:56:08][DEBUG] : create command 1.0.5 [2018-09-17 19:56:08][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:08][DEBUG][root] : Message received in socket [2018-09-17 19:56:08][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:08][DEBUG][root] : {'success': True, 'result': {1: []}} [2018-09-17 19:56:08][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) ) ) [2018-09-17 19:56:08][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:08][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:08][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'value': 3.085, 'unit': 'V', 'addr': '9cde', 'name': 'battery', 'data': '01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204', 'cluster': 0, 'endpoint': 1, 'attribute': 65281}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:08][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 [last_seen] => 2018-09-17 19:56:08 ) [endpoints] => Array ( [0] => Array ( [device] => 0 [out_clusters] => Array ( ) [endpoint] => 1 [in_clusters] => Array ( ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 8 [attribute] => 1 [value] => 8 [name] => application_version ) [1] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [2] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 0 ) ) [addr] => 9cde ) [attribute] => Array ( [value] => 3.085 [unit] => V [addr] => 9cde [name] => battery [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [cluster] => 0 [endpoint] => 1 [attribute] => 65281 ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:08][DEBUG] : createcommands for 9cde [2018-09-17 19:56:08][DEBUG] : create command 1.0.1 [2018-09-17 19:56:08][DEBUG] : create command 1.0.5 [2018-09-17 19:56:08][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8042 - Node descriptor : sequence:117, status:0, addr:9cde, manufacturer:1037, max_rx:100, max_tx:100, server_mask:0, descriptor_capability:00000000, mac_capability:10000000, max_buffer:127, bit_field:0100000000000010, rssi:171 [2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:08][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:08][DEBUG][root] : Message received in socket [2018-09-17 19:56:08][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:08][DEBUG][root] : {'success': True, 'result': {1: []}} [2018-09-17 19:56:08][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) ) ) [2018-09-17 19:56:08][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:08][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:09][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:118, packet_type:69, error:b'', rssi:0 [2018-09-17 19:56:09][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:09][DEBUG][zigate] : RESPONSE 0x8045 - Active endpoints : endpoints:[OrderedDict([('endpoint', 1)]), OrderedDict([('endpoint', 2)])], sequence:118, status:0, addr:9cde, endpoint_count:2, rssi:168 [2018-09-17 19:56:09][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:09][DEBUG][zigate] : REQUEST : 0x0043 b'\x9c\xde\x01' [2018-09-17 19:56:09][DEBUG][zigate] : Msg to send b'00430003039cde01' [2018-09-17 19:56:09][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10C\x02\x10\x02\x13\x02\x13\x9c\xde\x02\x11\x03' [2018-09-17 19:56:09][DEBUG][zigate] : Waiting for status message for command 0x0043 [2018-09-17 19:56:12][ERROR][zigate] : No response after command 0x0043 [2018-09-17 19:56:12][DEBUG][zigate] : REQUEST : 0x0043 b'\x9c\xde\x02' [2018-09-17 19:56:12][DEBUG][zigate] : Msg to send b'00430003009cde02' [2018-09-17 19:56:12][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10C\x02\x10\x02\x13\x02\x10\x9c\xde\x02\x12\x03' [2018-09-17 19:56:12][DEBUG][zigate] : Waiting for status message for command 0x0043 [2018-09-17 19:56:15][ERROR][zigate] : No response after command 0x0043 [2018-09-17 19:56:15][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:119, packet_type:67, error:b'', rssi:0 [2018-09-17 19:56:15][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:15][DEBUG][zigate] : RESPONSE 0x8043 - Simple descriptor : sequence:119, status:0, addr:9cde, length:28, endpoint:1, profile:260, device:10, bit_field:00000001, inout_clusters:b'\x04\x00\x00\x00\x03\x00\x19\x01\x01\x06\x00\x00\x00\x04\x00\x03\x00\x05\x00\x19\x01\x01', rssi:156, in_clusters:(0, 3, 25, 257), out_clusters:(0, 4, 3, 5, 25, 257) [2018-09-17 19:56:15][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:15][DEBUG][zigate] : REQUEST : 0x0100 b'\x02\x9c\xde\x01\x01\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x01\x00\x02\x00\x03\x00\x04\x00\x05\x00\x06\x00\x07\xff\x01\x00\x10' [2018-09-17 19:56:15][DEBUG][zigate] : Msg to send b'0100002085029cde01010000000000000a00000001000200030004000500060007ff010010' [2018-09-17 19:56:15][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x11\x02\x10\x02\x10 \x85\x02\x12\x9c\xde\x02\x11\x02\x11\x02\x10\x02\x10\x02\x10\x02\x10\x02\x10\x02\x10\x02\x1a\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x02\x15\x02\x10\x02\x16\x02\x10\x02\x17\xff\x02\x11\x02\x10\x10\x03' [2018-09-17 19:56:15][DEBUG][zigate] : Waiting for status message for command 0x0100 [2018-09-17 19:56:18][ERROR][zigate] : No response after command 0x0100 [2018-09-17 19:56:18][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:120, packet_type:67, error:b'', rssi:0 [2018-09-17 19:56:18][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:19][DEBUG][zigate] : RESPONSE 0x8043 - Simple descriptor : sequence:120, status:0, addr:9cde, length:20, endpoint:2, profile:260, device:24322, bit_field:00000001, inout_clusters:b'\x02\x00\x03\x00\x12\x04\x00\x04\x00\x03\x00\x05\x00\x12', rssi:153, in_clusters:(3, 18), out_clusters:(4, 3, 5, 18) [2018-09-17 19:56:19][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:19][DEBUG][zigate] : REQUEST : 0x0100 b'\x02\x9c\xde\x01\x02\x00\x12\x00\x00\x00\x00\x01\x00U' [2018-09-17 19:56:19][DEBUG][zigate] : Msg to send b'0100000e0a029cde0102001200000000010055' [2018-09-17 19:56:19][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x11\x02\x10\x02\x10\x02\x1e\x02\x1a\x02\x12\x9c\xde\x02\x11\x02\x12\x02\x10\x12\x02\x10\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10U\x03' [2018-09-17 19:56:19][DEBUG][zigate] : Waiting for status message for command 0x0100 [2018-09-17 19:56:22][ERROR][zigate] : No response after command 0x0100 [2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:81, packet_type:256, error:b'', rssi:0 [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:0, status:0, data_type:32, size:1, data:1, rssi:153 [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:22][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 1, 'cluster': 0, 'value': 1, 'addr': '9cde', 'endpoint': 1, 'attribute': 0, 'name': 'zcl_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:1, status:0, data_type:32, size:1, data:8, rssi:153 [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED [2018-09-17 19:56:22][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:2, status:0, data_type:32, size:1, data:2, rssi:153 [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:22][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 2, 'cluster': 0, 'value': 2, 'addr': '9cde', 'endpoint': 1, 'attribute': 2, 'name': 'stack_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:22][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 1, 'cluster': 0, 'value': 1, 'addr': '9cde', 'endpoint': 1, 'attribute': 0, 'name': 'zcl_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:22][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:22][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:22 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [4] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 1 [cluster] => 0 [value] => 1 [addr] => 9cde [endpoint] => 1 [attribute] => 0 [name] => zcl_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:22][DEBUG] : createcommands for 9cde [2018-09-17 19:56:22][DEBUG] : create command 1.0.0 [2018-09-17 19:56:22][DEBUG] : create command 1.0.1 [2018-09-17 19:56:22][DEBUG] : create command 1.0.2 [2018-09-17 19:56:23][DEBUG] : create command 1.0.5 [2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:3, status:0, data_type:32, size:1, data:3, rssi:153 [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 3, 'name': 'hardware_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:23][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:23][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:23][DEBUG][root] : Message received in socket [2018-09-17 19:56:23][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:23][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:23][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:23][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED'} [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [5] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 8 [cluster] => 0 [value] => 8 [addr] => 9cde [endpoint] => 1 [attribute] => 1 [name] => application_version ) [action] => ZIGATE_ATTRIBUTE_UPDATED ) [2018-09-17 19:56:23][DEBUG] : create command 1.0.1 [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 2, 'cluster': 0, 'value': 2, 'addr': '9cde', 'endpoint': 1, 'attribute': 2, 'name': 'stack_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [5] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 2 [cluster] => 0 [value] => 2 [addr] => 9cde [endpoint] => 1 [attribute] => 2 [name] => stack_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:23][DEBUG] : createcommands for 9cde [2018-09-17 19:56:23][DEBUG] : create command 1.0.0 [2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:4, status:0, data_type:66, size:4, data:LUMI, rssi:153 [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'LUMI', 'cluster': 0, 'value': 'LUMI', 'addr': '9cde', 'endpoint': 1, 'attribute': 4, 'name': 'manufacturer'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:23][DEBUG] : create command 1.0.1 [2018-09-17 19:56:23][DEBUG] : create command 1.0.2 [2018-09-17 19:56:23][DEBUG] : create command 1.0.3 [2018-09-17 19:56:23][DEBUG] : create command 1.0.5 [2018-09-17 19:56:23][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:23][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:23][DEBUG][root] : Message received in socket [2018-09-17 19:56:23][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:23][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:23][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:23][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:18, data:lumi.vibration.aq1, rssi:153 [2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 3, 'name': 'hardware_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED [2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [6] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 3 [cluster] => 0 [value] => 3 [addr] => 9cde [endpoint] => 1 [attribute] => 3 [name] => hardware_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:23][DEBUG] : createcommands for 9cde [2018-09-17 19:56:23][DEBUG] : create command 1.0.0 [2018-09-17 19:56:23][DEBUG] : create command 1.0.1 [2018-09-17 19:56:23][DEBUG] : create command 1.0.2 [2018-09-17 19:56:23][DEBUG] : create command 1.0.3 [2018-09-17 19:56:23][DEBUG] : create command 1.0.4 [2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:6, status:0, data_type:66, size:9, data:20180130, rssi:153 [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '20180130\x00', 'cluster': 0, 'value': '20180130\x00', 'addr': '9cde', 'endpoint': 1, 'attribute': 6, 'name': 'datecode'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:23][DEBUG] : create command 1.0.5 [2018-09-17 19:56:23][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:23][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:23][DEBUG][root] : Message received in socket [2018-09-17 19:56:23][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:23][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:23][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:23][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'LUMI', 'cluster': 0, 'value': 'LUMI', 'addr': '9cde', 'endpoint': 1, 'attribute': 4, 'name': 'manufacturer'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => LUMI [cluster] => 0 [value] => LUMI [addr] => 9cde [endpoint] => 1 [attribute] => 4 [name] => manufacturer ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:23][DEBUG] : createcommands for 9cde [2018-09-17 19:56:23][DEBUG] : create command 1.0.0 [2018-09-17 19:56:23][DEBUG] : create command 1.0.1 [2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:7, status:0, data_type:48, size:1, data:3, rssi:153 [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 7, 'name': 'power_source'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:23][DEBUG] : create command 1.0.2 [2018-09-17 19:56:23][DEBUG] : create command 1.0.3 [2018-09-17 19:56:23][DEBUG] : create command 1.0.4 [2018-09-17 19:56:24][DEBUG] : create command 1.0.5 [2018-09-17 19:56:24][DEBUG] : create command 1.0.6 [2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:65281, status:134, data_type:255, size:0, data:, rssi:153 [2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:24][DEBUG][zigate] : Receive Bad status [2018-09-17 19:56:24][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:24][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:24][DEBUG][root] : Message received in socket [2018-09-17 19:56:24][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:24][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:24][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:24][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:24][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:24][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED'} [2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:24][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => lumi.vibration.aq1 [cluster] => 0 [value] => lumi.vibration.aq1 [addr] => 9cde [endpoint] => 1 [attribute] => 5 [name] => type ) [action] => ZIGATE_ATTRIBUTE_UPDATED ) [2018-09-17 19:56:24][DEBUG] : create command 1.0.5 [2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:24][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:24][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '20180130\x00', 'cluster': 0, 'value': '20180130\x00', 'addr': '9cde', 'endpoint': 1, 'attribute': 6, 'name': 'datecode'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:24][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 20180130 [cluster] => 0 [value] => 20180130 [addr] => 9cde [endpoint] => 1 [attribute] => 6 [name] => datecode ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:16, status:0, data_type:66, size:0, data:, rssi:153 [2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED [2018-09-17 19:56:24][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '', 'cluster': 0, 'value': '', 'addr': '9cde', 'endpoint': 1, 'attribute': 16, 'name': 'description'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} [2018-09-17 19:56:24][DEBUG] : createcommands for 9cde [2018-09-17 19:56:24][DEBUG] : create command 1.0.0 [2018-09-17 19:56:24][DEBUG] : create command 1.0.1 [2018-09-17 19:56:24][DEBUG] : create command 1.0.2 [2018-09-17 19:56:24][DEBUG] : create command 1.0.3 [2018-09-17 19:56:24][DEBUG] : create command 1.0.4 [2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:82, packet_type:256, error:b'', rssi:0 [2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:24][DEBUG] : create command 1.0.5 [2018-09-17 19:56:24][DEBUG] : create command 1.0.6 [2018-09-17 19:56:24][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:24][DEBUG] : create command 1.0.7 [2018-09-17 19:56:24][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:24][DEBUG][root] : Message received in socket [2018-09-17 19:56:24][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:24][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:24][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:24][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:24][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:24][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 7, 'name': 'power_source'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:24][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:24 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) [9] => Array ( [data] => [attribute] => 16 [value] => [name] => description ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 3 [cluster] => 0 [value] => 3 [addr] => 9cde [endpoint] => 1 [attribute] => 7 [name] => power_source ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8101 - Default device response : sequence:82, endpoint:2, cluster:18, cmd:0, status:132, rssi:153 [2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED [2018-09-17 19:56:24][DEBUG] : createcommands for 9cde [2018-09-17 19:56:24][DEBUG] : create command 1.0.0 [2018-09-17 19:56:24][DEBUG] : create command 1.0.1 [2018-09-17 19:56:24][DEBUG] : create command 1.0.2 [2018-09-17 19:56:24][DEBUG] : create command 1.0.3 [2018-09-17 19:56:24][DEBUG] : create command 1.0.4 [2018-09-17 19:56:24][DEBUG] : create command 1.0.5 [2018-09-17 19:56:24][DEBUG] : create command 1.0.6 [2018-09-17 19:56:24][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:25][DEBUG] : create command 1.0.7 [2018-09-17 19:56:25][DEBUG] : create command 1.0.16 [2018-09-17 19:56:25][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:25][DEBUG][root] : Message received in socket [2018-09-17 19:56:25][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:25][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:25][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:25][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:25][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:25][DEBUG][root] : Jeedom reply : {'success': True} [2018-09-17 19:56:25][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '', 'cluster': 0, 'value': '', 'addr': '9cde', 'endpoint': 1, 'attribute': 16, 'name': 'description'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} [2018-09-17 19:56:25][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 [2018-09-17 19:56:25][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-09-17 19:56:24 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) [9] => Array ( [data] => [attribute] => 16 [value] => [name] => description ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => [cluster] => 0 [value] => [addr] => 9cde [endpoint] => 1 [attribute] => 16 [name] => description ) [action] => ZIGATE_ATTRIBUTE_ADDED ) [2018-09-17 19:56:25][DEBUG] : createcommands for 9cde [2018-09-17 19:56:25][DEBUG] : create command 1.0.0 [2018-09-17 19:56:25][DEBUG] : create command 1.0.1 [2018-09-17 19:56:25][DEBUG] : create command 1.0.2 [2018-09-17 19:56:25][DEBUG] : create command 1.0.3 [2018-09-17 19:56:25][DEBUG] : create command 1.0.4 [2018-09-17 19:56:25][DEBUG] : create command 1.0.5 [2018-09-17 19:56:25][DEBUG] : create command 1.0.6 [2018-09-17 19:56:25][DEBUG] : create command 1.0.65281 [2018-09-17 19:56:25][DEBUG] : create command 1.0.7 [2018-09-17 19:56:25][DEBUG] : create command 1.0.16 [2018-09-17 19:56:25][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) [2018-09-17 19:56:25][DEBUG][root] : Message received in socket [2018-09-17 19:56:25][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} [2018-09-17 19:56:25][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} [2018-09-17 19:56:25][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) [2018-09-17 19:56:25][DEBUG] : create action refresh for endpoint 0 [2018-09-17 19:56:25][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 [2018-09-17 19:56:25][DEBUG][root] : Jeedom reply : {'success': True}

@llaumgui
Copy link
Contributor Author

La même version avec les sauts de ligne:

[2018-09-17 19:55:56][DEBUG] : callZiGate permit_join 
[2018-09-17 19:55:56][DEBUG][root] : Message received in socket 
[2018-09-17 19:55:56][DEBUG][root] : {'args': '', 'action': 'permit_join'} 
[2018-09-17 19:55:56][DEBUG][zigate] : REQUEST : 0x0049 FFFC1E00 
[2018-09-17 19:55:56][DEBUG][zigate] : Msg to send b'0049000450fffc1e00' 
[2018-09-17 19:55:56][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10I\x02\x10\x02\x14P\xff\xfc\x1e\x02\x10\x03' 
[2018-09-17 19:55:56][DEBUG][zigate] : Waiting for status message for command 0x0049 
[2018-09-17 19:55:56][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:116, packet_type:73, error:b'', rssi:0 
[2018-09-17 19:55:56][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:55:56][DEBUG][zigate] : STATUS code to command 0x0049:0 
[2018-09-17 19:55:56][DEBUG][root] : {'success': True, 'result': 0} 
[2018-09-17 19:55:56][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 0 ) 
[2018-09-17 19:56:01][DEBUG][zigate] : RESPONSE 0x004D - Device announce : addr:9cde, ieee:00158d0002a51c56, mac_capability:10000000, rssi:156 
[2018-09-17 19:56:01][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:01][DEBUG][zigate] : Device Announce 
[2018-09-17 19:56:01][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_ADDED 
[2018-09-17 19:56:01][DEBUG][root] : External command ZIGATE_DEVICE_ADDED : {'device': Device 9cde , 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:01][DEBUG][zigate] : REQUEST : 0x0042 9cde 
[2018-09-17 19:56:01][DEBUG][zigate] : Msg to send b'00420002029cde' 
[2018-09-17 19:56:01][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10B\x02\x10\x02\x12\x02\x12\x9c\xde\x03' 
[2018-09-17 19:56:01][DEBUG][zigate] : Waiting for status message for command 0x0042 
[2018-09-17 19:56:01][DEBUG][root] : Send to jeedom : {'device': Device 9cde , 'action': 'ZIGATE_DEVICE_ADDED'} 
[2018-09-17 19:56:01][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:01][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 156 ) [endpoints] => Array ( ) [addr] => 9cde ) [action] => ZIGATE_DEVICE_ADDED ) 
[2018-09-17 19:56:01][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:01][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:01][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:01][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:01][DEBUG][root] : {'success': True, 'result': {}} 
[2018-09-17 19:56:01][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( ) ) 
[2018-09-17 19:56:01][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:01][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:01][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:03][DEBUG] : callZiGate get_version_text 
[2018-09-17 19:56:03][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:03][DEBUG][root] : {'args': '', 'action': 'get_version_text'} 
[2018-09-17 19:56:03][DEBUG][root] : {'success': True, 'result': '3.0d'} 
[2018-09-17 19:56:03][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 3.0d ) 
[2018-09-17 19:56:04][ERROR][zigate] : No response after command 0x0042 
[2018-09-17 19:56:04][DEBUG][zigate] : REQUEST : 0x0045 9cde 
[2018-09-17 19:56:04][DEBUG][zigate] : Msg to send b'00450002059cde' 
[2018-09-17 19:56:04][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10E\x02\x10\x02\x12\x02\x15\x9c\xde\x03' 
[2018-09-17 19:56:04][DEBUG][zigate] : Waiting for status message for command 0x0045 
[2018-09-17 19:56:07][ERROR][zigate] : No response after command 0x0045 
[2018-09-17 19:56:07][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:117, packet_type:66, error:b'', rssi:0 
[2018-09-17 19:56:07][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:07][DEBUG][zigate] : RESPONSE 0x004D - Device announce : addr:9cde, ieee:00158d0002a51c56, mac_capability:10000000, rssi:168 
[2018-09-17 19:56:07][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:07][DEBUG][zigate] : Device Announce 
[2018-09-17 19:56:07][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_UPDATED 
[2018-09-17 19:56:07][DEBUG][root] : External command ZIGATE_DEVICE_UPDATED : {'device': Device 9cde , 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:07][DEBUG][root] : Send to jeedom : {'device': Device 9cde , 'action': 'ZIGATE_DEVICE_UPDATED'} 
[2018-09-17 19:56:07][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:07][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 ) [endpoints] => Array ( ) [addr] => 9cde ) [action] => ZIGATE_DEVICE_UPDATED ) 
[2018-09-17 19:56:07][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:07][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:07][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:07][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:07][DEBUG][root] : {'success': True, 'result': {}} 
[2018-09-17 19:56:07][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( ) ) 
[2018-09-17 19:56:07][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:07][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:07][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8701 - Route Discovery Confirmation : status:0, network_status:0, rssi:168 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:9cde, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:18, data:lumi.vibration.aq1, rssi:168 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:08][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:9cde, endpoint:1, cluster:0, attribute:1, status:0, data_type:32, size:1, data:8, rssi:168 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:08][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:08][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:08][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 [last_seen] => 2018-[2018-09-17 19:56:08 ) [endpoints] => Array ( [0] => Array ( [device] => 0 [out_clusters] => Array ( ) [endpoint] => 1 [in_clusters] => Array ( ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 8 [attribute] => 1 [value] => 8 [name] => application_version ) [1] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) ) ) ) [profile] => 0 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => lumi.vibration.aq1 [cluster] => 0 [value] => lumi.vibration.aq1 [addr] => 9cde [endpoint] => 1 [attribute] => 5 [name] => type ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:08][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:08][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:08][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:08][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:08][DEBUG][root] : {'success': True, 'result': {1: []}} 
[2018-09-17 19:56:08][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) ) ) 
[2018-09-17 19:56:08][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:08][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:08][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:08][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 [last_seen] => 2018-[2018-09-17 19:56:08 ) [endpoints] => Array ( [0] => Array ( [device] => 0 [out_clusters] => Array ( ) [endpoint] => 1 [in_clusters] => Array ( ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 8 [attribute] => 1 [value] => 8 [name] => application_version ) [1] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) ) ) ) [profile] => 0 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 8 [cluster] => 0 [value] => 8 [addr] => 9cde [endpoint] => 1 [attribute] => 1 [name] => application_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:9cde, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:46, data:01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204, rssi:168 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:08][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'value': 3.085, 'unit': 'V', 'addr': '9cde', 'name': 'battery', 'data': '01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204', 'cluster': 0, 'endpoint': 1, 'attribute': 65281}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:08][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:08][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:08][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:08][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:08][DEBUG][root] : {'success': True, 'result': {1: []}} 
[2018-09-17 19:56:08][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) ) ) 
[2018-09-17 19:56:08][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:08][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:08][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'value': 3.085, 'unit': 'V', 'addr': '9cde', 'name': 'battery', 'data': '01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204', 'cluster': 0, 'endpoint': 1, 'attribute': 65281}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:08][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 168 [last_seen] => 2018-[2018-09-17 19:56:08 ) [endpoints] => Array ( [0] => Array ( [device] => 0 [out_clusters] => Array ( ) [endpoint] => 1 [in_clusters] => Array ( ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 8 [attribute] => 1 [value] => 8 [name] => application_version ) [1] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [2] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 0 ) ) [addr] => 9cde ) [attribute] => Array ( [value] => 3.085 [unit] => V [addr] => 9cde [name] => battery [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [cluster] => 0 [endpoint] => 1 [attribute] => 65281 ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:08][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:08][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:08][DEBUG][zigate] : RESPONSE 0x8042 - Node descriptor : sequence:117, status:0, addr:9cde, manufacturer:1037, max_rx:100, max_tx:100, server_mask:0, descriptor_capability:00000000, mac_capability:10000000, max_buffer:127, bit_field:0100000000000010, rssi:171 
[2018-09-17 19:56:08][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:08][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:08][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:08][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:08][DEBUG][root] : {'success': True, 'result': {1: []}} 
[2018-09-17 19:56:08][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) ) ) 
[2018-09-17 19:56:08][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:08][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:08][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:09][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:118, packet_type:69, error:b'', rssi:0 
[2018-09-17 19:56:09][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:09][DEBUG][zigate] : RESPONSE 0x8045 - Active endpoints : endpoints:[OrderedDict([('endpoint', 1)]), OrderedDict([('endpoint', 2)])], sequence:118, status:0, addr:9cde, endpoint_count:2, rssi:168 
[2018-09-17 19:56:09][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:09][DEBUG][zigate] : REQUEST : 0x0043 b'\x9c\xde\x01' 
[2018-09-17 19:56:09][DEBUG][zigate] : Msg to send b'00430003039cde01' 
[2018-09-17 19:56:09][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10C\x02\x10\x02\x13\x02\x13\x9c\xde\x02\x11\x03' 
[2018-09-17 19:56:09][DEBUG][zigate] : Waiting for status message for command 0x0043 
[2018-09-17 19:56:12][ERROR][zigate] : No response after command 0x0043 
[2018-09-17 19:56:12][DEBUG][zigate] : REQUEST : 0x0043 b'\x9c\xde\x02' 
[2018-09-17 19:56:12][DEBUG][zigate] : Msg to send b'00430003009cde02' 
[2018-09-17 19:56:12][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10C\x02\x10\x02\x13\x02\x10\x9c\xde\x02\x12\x03' 
[2018-09-17 19:56:12][DEBUG][zigate] : Waiting for status message for command 0x0043 
[2018-09-17 19:56:15][ERROR][zigate] : No response after command 0x0043 
[2018-09-17 19:56:15][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:119, packet_type:67, error:b'', rssi:0 
[2018-09-17 19:56:15][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:15][DEBUG][zigate] : RESPONSE 0x8043 - Simple descriptor : sequence:119, status:0, addr:9cde, length:28, endpoint:1, profile:260, device:10, bit_field:00000001, inout_clusters:b'\x04\x00\x00\x00\x03\x00\x19\x01\x01\x06\x00\x00\x00\x04\x00\x03\x00\x05\x00\x19\x01\x01', rssi:156, in_clusters:(0, 3, 25, 257), out_clusters:(0, 4, 3, 5, 25, 257) 
[2018-09-17 19:56:15][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:15][DEBUG][zigate] : REQUEST : 0x0100 b'\x02\x9c\xde\x01\x01\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x01\x00\x02\x00\x03\x00\x04\x00\x05\x00\x06\x00\x07\xff\x01\x00\x10' 
[2018-09-17 19:56:15][DEBUG][zigate] : Msg to send b'0100002085029cde01010000000000000a00000001000200030004000500060007ff010010' 
[2018-09-17 19:56:15][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x11\x02\x10\x02\x10 \x85\x02\x12\x9c\xde\x02\x11\x02\x11\x02\x10\x02\x10\x02\x10\x02\x10\x02\x10\x02\x10\x02\x1a\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x02\x15\x02\x10\x02\x16\x02\x10\x02\x17\xff\x02\x11\x02\x10\x10\x03' 
[2018-09-17 19:56:15][DEBUG][zigate] : Waiting for status message for command 0x0100 
[2018-09-17 19:56:18][ERROR][zigate] : No response after command 0x0100 
[2018-09-17 19:56:18][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:120, packet_type:67, error:b'', rssi:0 
[2018-09-17 19:56:18][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:19][DEBUG][zigate] : RESPONSE 0x8043 - Simple descriptor : sequence:120, status:0, addr:9cde, length:20, endpoint:2, profile:260, device:24322, bit_field:00000001, inout_clusters:b'\x02\x00\x03\x00\x12\x04\x00\x04\x00\x03\x00\x05\x00\x12', rssi:153, in_clusters:(3, 18), out_clusters:(4, 3, 5, 18) 
[2018-09-17 19:56:19][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:19][DEBUG][zigate] : REQUEST : 0x0100 b'\x02\x9c\xde\x01\x02\x00\x12\x00\x00\x00\x00\x01\x00U' 
[2018-09-17 19:56:19][DEBUG][zigate] : Msg to send b'0100000e0a029cde0102001200000000010055' 
[2018-09-17 19:56:19][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x11\x02\x10\x02\x10\x02\x1e\x02\x1a\x02\x12\x9c\xde\x02\x11\x02\x12\x02\x10\x12\x02\x10\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10U\x03' 
[2018-09-17 19:56:19][DEBUG][zigate] : Waiting for status message for command 0x0100 
[2018-09-17 19:56:22][ERROR][zigate] : No response after command 0x0100 
[2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:81, packet_type:256, error:b'', rssi:0 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:0, status:0, data_type:32, size:1, data:1, rssi:153 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:22][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 1, 'cluster': 0, 'value': 1, 'addr': '9cde', 'endpoint': 1, 'attribute': 0, 'name': 'zcl_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:1, status:0, data_type:32, size:1, data:8, rssi:153 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED 
[2018-09-17 19:56:22][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:22][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:2, status:0, data_type:32, size:1, data:2, rssi:153 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:22][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:22][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 2, 'cluster': 0, 'value': 2, 'addr': '9cde', 'endpoint': 1, 'attribute': 2, 'name': 'stack_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:22][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 1, 'cluster': 0, 'value': 1, 'addr': '9cde', 'endpoint': 1, 'attribute': 0, 'name': 'zcl_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:22][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:22][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:22 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [4] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 1 [cluster] => 0 [value] => 1 [addr] => 9cde [endpoint] => 1 [attribute] => 0 [name] => zcl_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:22][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:22][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:22][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:22][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:3, status:0, data_type:32, size:1, data:3, rssi:153 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 3, 'name': 'hardware_version'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:23][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:23][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:23][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:23][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:23][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:23][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 8, 'cluster': 0, 'value': 8, 'addr': '9cde', 'endpoint': 1, 'attribute': 1, 'name': 'application_version'}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED'} 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [5] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 8 [cluster] => 0 [value] => 8 [addr] => 9cde [endpoint] => 1 [attribute] => 1 [name] => application_version ) [action] => ZIGATE_ATTRIBUTE_UPDATED ) 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 2, 'cluster': 0, 'value': 2, 'addr': '9cde', 'endpoint': 1, 'attribute': 2, 'name': 'stack_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [5] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 2 [cluster] => 0 [value] => 2 [addr] => 9cde [endpoint] => 1 [attribute] => 2 [name] => stack_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:23][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:4, status:0, data_type:66, size:4, data:LUMI, rssi:153 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'LUMI', 'cluster': 0, 'value': 'LUMI', 'addr': '9cde', 'endpoint': 1, 'attribute': 4, 'name': 'manufacturer'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.3 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:23][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:23][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:23][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:23][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:23][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:23][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:18, data:lumi.vibration.aq1, rssi:153 
[2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 3, 'name': 'hardware_version'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED 
[2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [data] => lumi.vibration.aq1 [attribute] => 5 [value] => lumi.vibration.aq1 [name] => type ) [6] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 3 [cluster] => 0 [value] => 3 [addr] => 9cde [endpoint] => 1 [attribute] => 3 [name] => hardware_version ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:23][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.3 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.4 
[2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:6, status:0, data_type:66, size:9, data:20180130, rssi:153 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '20180130\x00', 'cluster': 0, 'value': '20180130\x00', 'addr': '9cde', 'endpoint': 1, 'attribute': 6, 'name': 'datecode'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:23][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:23][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:23][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:23][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:23][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:23][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:23][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:23][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'LUMI', 'cluster': 0, 'value': 'LUMI', 'addr': '9cde', 'endpoint': 1, 'attribute': 4, 'name': 'manufacturer'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:23][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:23][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => LUMI [cluster] => 0 [value] => LUMI [addr] => 9cde [endpoint] => 1 [attribute] => 4 [name] => manufacturer ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:23][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:7, status:0, data_type:48, size:1, data:3, rssi:153 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 7, 'name': 'power_source'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.3 
[2018-09-17 19:56:23][DEBUG] : create command 1.0.4 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.6 
[2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:65281, status:134, data_type:255, size:0, data:, rssi:153 
[2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:24][DEBUG][zigate] : Receive Bad status 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:24][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:24][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:24][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:24][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:24][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:24][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:24][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:24][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 'lumi.vibration.aq1', 'cluster': 0, 'value': 'lumi.vibration.aq1', 'addr': '9cde', 'endpoint': 1, 'attribute': 5, 'name': 'type'}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED'} 
[2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:24][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => lumi.vibration.aq1 [cluster] => 0 [value] => lumi.vibration.aq1 [addr] => 9cde [endpoint] => 1 [attribute] => 5 [name] => type ) [action] => ZIGATE_ATTRIBUTE_UPDATED ) 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:24][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:24][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '20180130\x00', 'cluster': 0, 'value': '20180130\x00', 'addr': '9cde', 'endpoint': 1, 'attribute': 6, 'name': 'datecode'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:24][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:23 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 20180130 [cluster] => 0 [value] => 20180130 [addr] => 9cde [endpoint] => 1 [attribute] => 6 [name] => datecode ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:9cde, endpoint:1, cluster:0, attribute:16, status:0, data_type:66, size:0, data:, rssi:153 
[2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED 
[2018-09-17 19:56:24][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '', 'cluster': 0, 'value': '', 'addr': '9cde', 'endpoint': 1, 'attribute': 16, 'name': 'description'}, 'zigate': <zigate.core.ZiGate object at 0x7fb5ba46b198>} 
[2018-09-17 19:56:24][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.3 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.4 
[2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:82, packet_type:256, error:b'', rssi:0 
[2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.6 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.7 
[2018-09-17 19:56:24][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:24][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:24][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:24][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:24][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:24][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:24][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:24][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': 3, 'cluster': 0, 'value': 3, 'addr': '9cde', 'endpoint': 1, 'attribute': 7, 'name': 'power_source'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:24][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:24 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) [9] => Array ( [data] => [attribute] => 16 [value] => [name] => description ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => 3 [cluster] => 0 [value] => 3 [addr] => 9cde [endpoint] => 1 [attribute] => 7 [name] => power_source ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:24][DEBUG][zigate] : RESPONSE 0x8101 - Default device response : sequence:82, endpoint:2, cluster:18, cmd:0, status:132, rssi:153 
[2018-09-17 19:56:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED 
[2018-09-17 19:56:24][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.3 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.4 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.6 
[2018-09-17 19:56:24][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.7 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.16 
[2018-09-17 19:56:25][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:25][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:25][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:25][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:25][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:25][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:25][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:25][DEBUG][root] : Jeedom reply : {'success': True} 
[2018-09-17 19:56:25][DEBUG][root] : Send to jeedom : {'device': Device 9cde lumi.vibration.aq1, 'attribute': {'data': '', 'cluster': 0, 'value': '', 'addr': '9cde', 'endpoint': 1, 'attribute': 16, 'name': 'description'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED'} 
[2018-09-17 19:56:25][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1 
[2018-09-17 19:56:25][DEBUG] : Array ( [device] => Array ( [info] => Array ( [addr] => 9cde [ieee] => 00158d0002a51c56 [mac_capability] => 10000000 [rssi] => 153 [last_seen] => 2018-[2018-09-17 19:56:24 [descriptor_capability] => 00000000 [max_buffer] => 127 [manufacturer] => 1037 [server_mask] => 0 [max_tx] => 100 [bit_field] => 0100000000000010 [max_rx] => 100 ) [endpoints] => Array ( [0] => Array ( [device] => 10 [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) [endpoint] => 1 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [data] => 1 [attribute] => 0 [value] => 1 [name] => zcl_version ) [1] => Array ( [value] => 8 [data] => 8 [attribute] => 1 [name] => application_version ) [2] => Array ( [data] => 2 [attribute] => 2 [value] => 2 [name] => stack_version ) [3] => Array ( [data] => 3 [attribute] => 3 [value] => 3 [name] => hardware_version ) [4] => Array ( [data] => LUMI [attribute] => 4 [value] => LUMI [name] => manufacturer ) [5] => Array ( [value] => lumi.vibration.aq1 [data] => lumi.vibration.aq1 [attribute] => 5 [name] => type ) [6] => Array ( [data] => 20180130 [attribute] => 6 [value] => 20180130 [name] => datecode ) [7] => Array ( [data] => 01210d0c03281e0421a8010521050006240100000000082108030a21000098212800992100009a2521001100d204 [attribute] => 65281 [value] => 3.085 [unit] => V [name] => battery ) [8] => Array ( [data] => 3 [attribute] => 7 [value] => 3 [name] => power_source ) [9] => Array ( [data] => [attribute] => 16 [value] => [name] => description ) ) ) ) [profile] => 260 ) [1] => Array ( [device] => 24322 [out_clusters] => Array ( [0] => 4 [1] => 3 [2] => 5 [3] => 18 ) [endpoint] => 2 [in_clusters] => Array ( [0] => 3 [1] => 18 ) [clusters] => Array ( ) [profile] => 260 ) ) [addr] => 9cde ) [attribute] => Array ( [data] => [cluster] => 0 [value] => [addr] => 9cde [endpoint] => 1 [attribute] => 16 [name] => description ) [action] => ZIGATE_ATTRIBUTE_ADDED ) 
[2018-09-17 19:56:25][DEBUG] : createcommands for 9cde 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.0 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.1 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.2 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.3 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.4 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.5 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.6 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.65281 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.7 
[2018-09-17 19:56:25][DEBUG] : create command 1.0.16 
[2018-09-17 19:56:25][DEBUG] : callZiGate available_actions Array ( [0] => 9cde ) 
[2018-09-17 19:56:25][DEBUG][root] : Message received in socket 
[2018-09-17 19:56:25][DEBUG][root] : {'args': ['9cde'], 'action': 'available_actions'} 
[2018-09-17 19:56:25][DEBUG][root] : {'success': True, 'result': {1: [], 2: []}} 
[2018-09-17 19:56:25][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [1] => Array ( ) [2] => Array ( ) ) ) 
[2018-09-17 19:56:25][DEBUG] : create action refresh for endpoint 0 
[2018-09-17 19:56:25][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=hHWPN5tmZPbDbHuIl8j6GSgcwR07xZrI HTTP/1.1" 200 16 
[2018-09-17 19:56:25][DEBUG][root] : Jeedom reply : {'success': True}

Pour moi tu n'as pas d'erreur comme moi...

@doudz
Copy link
Owner

doudz commented Sep 17, 2018

Oui en regardant comme ça je vois pas de problème

@llaumgui
Copy link
Contributor Author

Alors après tests :

  • J'ai plus de crash Python.
  • J'ai un objet qui c'est créé mais qui est pas complet AMHA:

image

  • J'arrive plus à le suprimer, il revient à chaque restart.
  • Comme il est déjà là, pas moyen de le réinclude.

Mais j'ai beau tapper ça envoi rien.

@llaumgui
Copy link
Contributor Author

En virant le patch, l’objet se créé bien... Mais rien ne passe...

@llaumgui
Copy link
Contributor Author

@ioull > tu as posté tes logs... Mais tu as un problème particulier ?
@doudz > On est OK que pour tester j'applique le patch, je supprime le pycache et je lance le daemon pour regénérer le pycache ?

@ioull
Copy link

ioull commented Sep 17, 2018 via email

@doudz
Copy link
Owner

doudz commented Sep 18, 2018

@llaumgui met ton plugin en mode DEBUG, utilise l'objet afin de produire le crash et post le log ici

@llaumgui
Copy link
Contributor Author

Le problème c'est qu'il ne plante plus... Mais aucune info.

@doudz
Copy link
Owner

doudz commented Sep 18, 2018

Et si tu refais la procédure d'appairage, un nouvel objet sera créé, avec un peu de chance ça reproduira le défaut, si ce n'est pas le cas c'est qu'il s'agissait d'un simple problème de transmission

@llaumgui
Copy link
Contributor Author

Je testerais un reset ce soir. Pour sortir l'objet puis un réappairage...

@llaumgui
Copy link
Contributor Author

Ayé, j'ai reproduit !!!!!

[2018-09-21 21:11:12][DEBUG] : callZiGate get_version_text 
[2018-09-21 19:11:12][DEBUG][root] : Message received in socket
[2018-09-21 19:11:12][DEBUG][root] : {'action': 'get_version_text', 'args': ''}
[2018-09-21 19:11:12][DEBUG][root] : {'success': True, 'result': '3.0d'}
[2018-09-21 21:11:12][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 3.0d ) 
[2018-09-21 21:11:20][DEBUG] : callZiGate remove_device Array (     [0] => 63c7 ) 
[2018-09-21 19:11:20][DEBUG][root] : Message received in socket
[2018-09-21 19:11:20][DEBUG][root] : {'action': 'remove_device', 'args': ['63c7']}
[2018-09-21 19:11:20][DEBUG][zigate] : REQUEST : 0x0026 b'\x00\x15\x8d\x00\x02\xa4\x92l\x00\x15\x8d\x00\x02\xa4\x92l'
[2018-09-21 19:11:20][DEBUG][zigate] : Msg to send b'002600103600158d0002a4926c00158d0002a4926c'
[2018-09-21 19:11:20][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10&\x02\x10\x106\x02\x10\x15\x8d\x02\x10\x02\x12\xa4\x92l\x02\x10\x15\x8d\x02\x10\x02\x12\xa4\x92l\x03'
[2018-09-21 19:11:20][DEBUG][zigate] : Waiting for status message for command 0x0026
[2018-09-21 19:11:20][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:169, sequence:0, packet_type:38, error:b'', rssi:0
[2018-09-21 19:11:20][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:20][ERROR][zigate] : Command 0x0026 failed Failed (ZigBee event codes) 169 : b''
[2018-09-21 19:11:20][DEBUG][zigate] : STATUS code to command 0x0026:169
[2018-09-21 19:11:20][DEBUG][root] : {'success': True, 'result': 169}
[2018-09-21 21:11:20][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 169 ) 
[2018-09-21 21:11:20][DEBUG] : callZiGate get_version_text 
[2018-09-21 19:11:20][DEBUG][root] : Message received in socket
[2018-09-21 19:11:20][DEBUG][root] : {'action': 'get_version_text', 'args': ''}
[2018-09-21 19:11:20][DEBUG][root] : {'success': True, 'result': '3.0d'}
[2018-09-21 21:11:20][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 3.0d ) 
[2018-09-21 21:11:26][DEBUG] : callZiGate permit_join 
[2018-09-21 19:11:26][DEBUG][root] : Message received in socket
[2018-09-21 19:11:26][DEBUG][root] : {'action': 'permit_join', 'args': ''}
[2018-09-21 19:11:26][DEBUG][zigate] : REQUEST : 0x0049 FFFC1E00
[2018-09-21 19:11:26][DEBUG][zigate] : Msg to send b'0049000450fffc1e00'
[2018-09-21 19:11:26][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10I\x02\x10\x02\x14P\xff\xfc\x1e\x02\x10\x03'
[2018-09-21 19:11:26][DEBUG][zigate] : Waiting for status message for command 0x0049
[2018-09-21 19:11:27][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:228, packet_type:73, error:b'', rssi:0
[2018-09-21 19:11:27][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:27][DEBUG][zigate] : STATUS code to command 0x0049:0
[2018-09-21 19:11:27][DEBUG][root] : {'success': True, 'result': 0}
[2018-09-21 21:11:27][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 0 ) 
[2018-09-21 19:11:35][DEBUG][zigate] : RESPONSE 0x004D - Device announce : addr:1190, ieee:00158d0002a4926c, mac_capability:10000000, rssi:84
[2018-09-21 19:11:35][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:35][DEBUG][zigate] : Device Announce
[2018-09-21 19:11:35][WARNING][zigate] : Device already exists with another addr 63c7, removing it.
[2018-09-21 19:11:35][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_REMOVED
[2018-09-21 19:11:35][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_ADDED
[2018-09-21 19:11:35][DEBUG][root] : External command ZIGATE_DEVICE_ADDED : {'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 }
[2018-09-21 19:11:35][DEBUG][zigate] : REQUEST : 0x0042 1190
[2018-09-21 19:11:35][DEBUG][zigate] : Msg to send b'00420002c11190'
[2018-09-21 19:11:35][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10B\x02\x10\x02\x12\xc1\x11\x90\x03'
[2018-09-21 19:11:35][DEBUG][zigate] : Waiting for status message for command 0x0042
[2018-09-21 19:11:35][DEBUG][root] : Send to jeedom :  {'action': 'ZIGATE_DEVICE_ADDED', 'device': Device 1190 }
[2018-09-21 19:11:35][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:35][DEBUG] : Array (     [action] => ZIGATE_DEVICE_ADDED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                 )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 84                 )          )  ) 
[2018-09-21 21:11:36][DEBUG] : createcommands for 1190
[2018-09-21 21:11:36][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
[2018-09-21 19:11:36][DEBUG][root] : Message received in socket
[2018-09-21 19:11:36][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:36][DEBUG][root] : {'success': True, 'result': {}}
[2018-09-21 21:11:36][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (         )  ) 
[2018-09-21 21:11:36][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:36][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:36][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 21:11:37][DEBUG] : callZiGate get_version_text 
[2018-09-21 19:11:37][DEBUG][root] : Message received in socket
[2018-09-21 19:11:37][DEBUG][root] : {'action': 'get_version_text', 'args': ''}
[2018-09-21 19:11:37][DEBUG][root] : {'success': True, 'result': '3.0d'}
[2018-09-21 21:11:37][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 3.0d ) 
[2018-09-21 21:11:37][DEBUG] : callZiGate get_version_text 
[2018-09-21 19:11:37][DEBUG][root] : Message received in socket
[2018-09-21 19:11:37][DEBUG][root] : {'action': 'get_version_text', 'args': ''}
[2018-09-21 19:11:37][DEBUG][root] : {'success': True, 'result': '3.0d'}
[2018-09-21 21:11:37][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 3.0d ) 
[2018-09-21 21:11:38][DEBUG] : callZiGate get_version_text 
[2018-09-21 19:11:38][DEBUG][root] : Message received in socket
[2018-09-21 19:11:38][DEBUG][root] : {'action': 'get_version_text', 'args': ''}
[2018-09-21 19:11:38][DEBUG][root] : {'success': True, 'result': '3.0d'}
[2018-09-21 21:11:38][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 3.0d ) 
[2018-09-21 19:11:38][ERROR][zigate] : No response after command 0x0042
[2018-09-21 19:11:38][DEBUG][zigate] : REQUEST : 0x0045 1190
[2018-09-21 19:11:38][DEBUG][zigate] : Msg to send b'00450002c61190'
[2018-09-21 19:11:38][DEBUG][zigate] : Encoded Msg to send b'\x01\x02\x10E\x02\x10\x02\x12\xc6\x11\x90\x03'
[2018-09-21 19:11:38][DEBUG][zigate] : Waiting for status message for command 0x0045
[2018-09-21 19:11:41][ERROR][zigate] : No response after command 0x0045
[2018-09-21 19:11:42][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:229, packet_type:66, error:b'', rssi:0
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:42][DEBUG][zigate] : RESPONSE 0x004D - Device announce : addr:1190, ieee:00158d0002a4926c, mac_capability:10000000, rssi:120
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:42][DEBUG][zigate] : Device Announce
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_DEVICE_UPDATED
[2018-09-21 19:11:42][DEBUG][root] : External command ZIGATE_DEVICE_UPDATED : {'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 }
[2018-09-21 19:11:42][DEBUG][zigate] : RESPONSE 0x8701 - Route Discovery Confirmation : status:0, network_status:0, rssi:120
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:42][DEBUG][root] : Send to jeedom :  {'action': 'ZIGATE_DEVICE_UPDATED', 'device': Device 1190 }
[2018-09-21 19:11:42][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:42][DEBUG] : Array (     [action] => ZIGATE_DEVICE_UPDATED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                 )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 120                 )          )  ) 
[2018-09-21 21:11:42][DEBUG] : createcommands for 1190
[2018-09-21 21:11:42][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
[2018-09-21 19:11:42][DEBUG][root] : Message received in socket
[2018-09-21 19:11:42][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:42][DEBUG][root] : {'success': True, 'result': {}}
[2018-09-21 21:11:42][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (         )  ) 
[2018-09-21 21:11:42][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:42][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:42][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:42][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:1190, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:18, data:lumi.vibration.aq1, rssi:132
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED
[2018-09-21 19:11:42][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'attribute': {'attribute': 5, 'addr': '1190', 'value': 'lumi.vibration.aq1', 'endpoint': 1, 'cluster': 0, 'name': 'type', 'data': 'lumi.vibration.aq1'}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:42][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:1190, endpoint:1, cluster:0, attribute:1, status:0, data_type:32, size:1, data:8, rssi:132
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:42][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED
[2018-09-21 19:11:42][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'attribute': {'attribute': 1, 'addr': '1190', 'value': 8, 'endpoint': 1, 'cluster': 0, 'name': 'application_version', 'data': 8}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:43][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:1190, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:46, data:0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04, rssi:156
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED
[2018-09-21 19:11:43][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'attribute': {'addr': '1190', 'value': 2.945, 'endpoint': 1, 'cluster': 0, 'name': 'battery', 'data': '0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04', 'attribute': 65281, 'unit': 'V'}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:43][DEBUG][root] : Send to jeedom :  {'attribute': {'attribute': 5, 'addr': '1190', 'value': 'lumi.vibration.aq1', 'endpoint': 1, 'cluster': 0, 'name': 'type', 'data': 'lumi.vibration.aq1'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:43][DEBUG] : Array (     [attribute] => Array         (             [attribute] => 5             [addr] => 1190             [value] => lumi.vibration.aq1             [endpoint] => 1             [cluster] => 0             [name] => type             [data] => lumi.vibration.aq1         )      [action] => ZIGATE_ATTRIBUTE_ADDED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 156                     [last_seen] => 2018-09-21 19:11:43                 )          )  ) 
[2018-09-21 21:11:43][DEBUG] : createcommands for 1190
[2018-09-21 21:11:43][DEBUG] : create command 1.0.1
[2018-09-21 21:11:43][DEBUG] : create command 1.0.5
[2018-09-21 19:11:43][DEBUG][zigate] : RESPONSE 0x8042 - Node descriptor : sequence:229, status:0, addr:1190, manufacturer:1037, max_rx:100, max_tx:100, server_mask:0, descriptor_capability:00000000, mac_capability:10000000, max_buffer:127, bit_field:0100000000000010, rssi:159
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 21:11:43][DEBUG] : create command 1.0.65281
[2018-09-21 21:11:43][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
[2018-09-21 19:11:43][DEBUG][root] : Message received in socket
[2018-09-21 19:11:43][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:43][DEBUG][root] : {'success': True, 'result': {1: []}}
[2018-09-21 21:11:43][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (             [1] => Array                 (                 )          )  ) 
[2018-09-21 21:11:43][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:43][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:43][DEBUG][root] : Send to jeedom :  {'attribute': {'attribute': 1, 'addr': '1190', 'value': 8, 'endpoint': 1, 'cluster': 0, 'name': 'application_version', 'data': 8}, 'action': 'ZIGATE_ATTRIBUTE_ADDED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:43][DEBUG] : Array (     [attribute] => Array         (             [attribute] => 1             [addr] => 1190             [value] => 8             [endpoint] => 1             [cluster] => 0             [name] => application_version             [data] => 8         )      [action] => ZIGATE_ATTRIBUTE_ADDED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 159                     [last_seen] => 2018-09-21 19:11:43                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 19:11:43][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:2, addr:1190, endpoint:1, cluster:257, attribute:85, status:0, data_type:33, size:2, data:1, rssi:162
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:43][DEBUG][zigate] : Set expire timer for 1-257-85 in 2
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED
[2018-09-21 19:11:43][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'attribute': {'addr': '1190', 'value': 'take', 'endpoint': 1, 'cluster': 257, 'name': 'movement', 'data': 1, 'expire': 2, 'expire_value': '', 'attribute': 85}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 21:11:43][DEBUG] : createcommands for 1190
[2018-09-21 21:11:43][DEBUG] : create command 1.0.1
[2018-09-21 21:11:43][DEBUG] : create command 1.0.5
[2018-09-21 21:11:43][DEBUG] : create command 1.0.65281
[2018-09-21 21:11:43][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
[2018-09-21 19:11:43][DEBUG][root] : Message received in socket
[2018-09-21 19:11:43][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:43][DEBUG][root] : {'success': True, 'result': {1: []}}
[2018-09-21 21:11:43][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (             [1] => Array                 (                 )          )  ) 
[2018-09-21 21:11:43][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:43][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:43][DEBUG][root] : Send to jeedom :  {'attribute': {'addr': '1190', 'value': 2.945, 'endpoint': 1, 'cluster': 0, 'name': 'battery', 'data': '0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04', 'attribute': 65281, 'unit': 'V'}, 'action': 'ZIGATE_ATTRIBUTE_ADDED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 19:11:43][DEBUG][zigate] : RESPONSE 0x8000 - Status response : status:0, sequence:230, packet_type:69, error:b'', rssi:0
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 21:11:43][DEBUG] : Array (     [attribute] => Array         (             [addr] => 1190             [value] => 2.945             [endpoint] => 1             [cluster] => 0             [name] => battery             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04             [attribute] => 65281             [unit] => V         )      [action] => ZIGATE_ATTRIBUTE_ADDED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                      [1] => Array                                         (                                             [cluster] => 257                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [expire] => 2                                                             [value] => take                                                             [expire_value] =>                                                              [attribute] => 85                                                             [name] => movement                                                             [data] => 1                                                         )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 162                     [last_seen] => 2018-09-21 19:11:43                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 21:11:43][DEBUG] : createcommands for 1190
[2018-09-21 21:11:43][DEBUG] : create command 1.0.1
[2018-09-21 21:11:43][DEBUG] : create command 1.0.5
[2018-09-21 21:11:43][DEBUG] : create command 1.0.65281
[2018-09-21 19:11:43][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:3, addr:1190, endpoint:1, cluster:257, attribute:85, status:0, data_type:33, size:2, data:2, rssi:138
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:43][DEBUG][zigate] : Set expire timer for 1-257-85 in 2
[2018-09-21 19:11:43][DEBUG][zigate] : Cancel previous Timer <Timer(Thread-93, started daemon 281473215099392)>
[2018-09-21 19:11:43][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-09-21 21:11:43][DEBUG] : create command 1.257.85
[2018-09-21 19:11:43][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'attribute': {'addr': '1190', 'value': 'tilt', 'endpoint': 1, 'cluster': 257, 'name': 'movement', 'data': 2, 'expire': 2, 'expire_value': '', 'attribute': 85}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 21:11:43][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
[2018-09-21 19:11:43][DEBUG][root] : Message received in socket
[2018-09-21 19:11:43][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:43][DEBUG][root] : {'success': True, 'result': {1: []}}
[2018-09-21 21:11:43][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (             [1] => Array                 (                 )          )  ) 
[2018-09-21 21:11:43][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:43][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:43][DEBUG][root] : Send to jeedom :  {'attribute': {'addr': '1190', 'value': 'take', 'endpoint': 1, 'cluster': 257, 'name': 'movement', 'data': 1, 'expire': 2, 'expire_value': '', 'attribute': 85}, 'action': 'ZIGATE_ATTRIBUTE_ADDED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:43][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:43][DEBUG] : Array (     [attribute] => Array         (             [addr] => 1190             [value] => take             [endpoint] => 1             [cluster] => 257             [name] => movement             [data] => 1             [expire] => 2             [expire_value] =>              [attribute] => 85         )      [action] => ZIGATE_ATTRIBUTE_ADDED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                      [1] => Array                                         (                                             [cluster] => 257                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [expire] => 2                                                             [value] => tilt                                                             [expire_value] =>                                                              [attribute] => 85                                                             [name] => movement                                                             [data] => 2                                                         )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 138                     [last_seen] => 2018-09-21 19:11:43                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 21:11:44][DEBUG] : createcommands for 1190
[2018-09-21 21:11:44][DEBUG] : create command 1.0.1
[2018-09-21 21:11:44][DEBUG] : create command 1.0.5
[2018-09-21 19:11:44][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:3, addr:1190, endpoint:1, cluster:257, attribute:1283, status:0, data_type:33, size:2, data:10, rssi:138
[2018-09-21 19:11:44][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-09-21 19:11:44][DEBUG][zigate] : Set expire timer for 1-257-1283 in 2
[2018-09-21 19:11:44][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_ADDED
[2018-09-21 19:11:44][DEBUG][root] : External command ZIGATE_ATTRIBUTE_ADDED : {'attribute': {'addr': '1190', 'value': 10, 'endpoint': 1, 'cluster': 257, 'name': 'rotation', 'data': 10, 'expire': 2, 'expire_value': '', 'attribute': 1283}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 21:11:44][DEBUG] : create command 1.0.65281
[2018-09-21 21:11:44][DEBUG] : create command 1.257.85
[2018-09-21 21:11:44][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
[2018-09-21 19:11:44][DEBUG][root] : Message received in socket
[2018-09-21 19:11:44][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:44][DEBUG][root] : {'success': True, 'result': {1: []}}
[2018-09-21 21:11:44][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (             [1] => Array                 (                 )          )  ) 
[2018-09-21 21:11:44][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:44][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:44][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:44][DEBUG][root] : Send to jeedom :  {'attribute': {'addr': '1190', 'value': 'tilt', 'endpoint': 1, 'cluster': 257, 'name': 'movement', 'data': 2, 'expire': 2, 'expire_value': '', 'attribute': 85}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:44][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:44][DEBUG] : Array (     [attribute] => Array         (             [addr] => 1190             [value] => tilt             [endpoint] => 1             [cluster] => 257             [name] => movement             [data] => 2             [expire] => 2             [expire_value] =>              [attribute] => 85         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                      [1] => Array                                         (                                             [cluster] => 257                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [expire] => 2                                                             [value] => 10                                                             [expire_value] =>                                                              [attribute] => 1283                                                             [name] => rotation                                                             [data] => 10                                                         )                                                      [1] => Array                                                         (                                                             [expire] => 2                                                             [value] => tilt                                                             [expire_value] =>                                                              [attribute] => 85                                                             [name] => movement                                                             [data] => 2                                                         )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 138                     [last_seen] => 2018-09-21 19:11:44                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 21:11:44][DEBUG] : create command 1.257.85
[2018-09-21 19:11:44][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:44][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:44][DEBUG][root] : Send to jeedom :  {'attribute': {'addr': '1190', 'value': 10, 'endpoint': 1, 'cluster': 257, 'name': 'rotation', 'data': 10, 'expire': 2, 'expire_value': '', 'attribute': 1283}, 'action': 'ZIGATE_ATTRIBUTE_ADDED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:44][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:44][DEBUG] : Array (     [attribute] => Array         (             [addr] => 1190             [value] => 10             [endpoint] => 1             [cluster] => 257             [name] => rotation             [data] => 10             [expire] => 2             [expire_value] =>              [attribute] => 1283         )      [action] => ZIGATE_ATTRIBUTE_ADDED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                      [1] => Array                                         (                                             [cluster] => 257                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [expire] => 2                                                             [value] => 10                                                             [expire_value] =>                                                              [attribute] => 1283                                                             [name] => rotation                                                             [data] => 10                                                         )                                                      [1] => Array                                                         (                                                             [expire] => 2                                                             [value] => tilt                                                             [expire_value] =>                                                              [attribute] => 85                                                             [name] => movement                                                             [data] => 2                                                         )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 138                     [last_seen] => 2018-09-21 19:11:44                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 21:11:44][DEBUG] : createcommands for 1190
[2018-09-21 21:11:44][DEBUG] : create command 1.0.1
[2018-09-21 21:11:44][DEBUG] : create command 1.0.5
[2018-09-21 21:11:44][DEBUG] : create command 1.0.65281
[2018-09-21 21:11:44][DEBUG] : create command 1.257.1283
[2018-09-21 21:11:44][DEBUG] : create command 1.257.85
[2018-09-21 21:11:44][DEBUG] : callZiGate available_actions Array (     [0] => 1190 ) 
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 140, in _event_loop
    self.decode_data(packet)
  File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 349, in decode_data
    response = RESPONSES.get(msg_type, Response)(value, rssi)
  File "/usr/local/lib/python3.5/dist-packages/zigate/responses.py", line 45, in __init__
    self.decode()
  File "/usr/local/lib/python3.5/dist-packages/zigate/responses.py", line 291, in decode
    data = struct.unpack(fmt, self.data['data'])[0]
struct.error: unpack requires a bytes object of length 4

[2018-09-21 19:11:44][DEBUG][root] : Message received in socket
[2018-09-21 19:11:44][DEBUG][root] : {'action': 'available_actions', 'args': ['1190']}
[2018-09-21 19:11:44][DEBUG][root] : {'success': True, 'result': {1: []}}
[2018-09-21 21:11:44][DEBUG] : result callZiGate Array (     [success] => 1     [result] => Array         (             [1] => Array                 (                 )          )  ) 
[2018-09-21 21:11:44][DEBUG] : create action refresh for endpoint 0
[2018-09-21 19:11:44][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:44][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:45][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-09-21 19:11:45][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'attribute': {'addr': '1190', 'value': '', 'endpoint': 1, 'cluster': 257, 'name': 'movement', 'data': '', 'expire': 2, 'expire_value': '', 'attribute': 85}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:46][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-09-21 19:11:46][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'attribute': {'addr': '1190', 'value': '', 'endpoint': 1, 'cluster': 257, 'name': 'rotation', 'data': '', 'expire': 2, 'expire_value': '', 'attribute': 1283}, 'zigate': <zigate.core.ZiGate object at 0xffffaec2f2e8>, 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:46][DEBUG][root] : Send to jeedom :  {'attribute': {'addr': '1190', 'value': '', 'endpoint': 1, 'cluster': 257, 'name': 'movement', 'data': '', 'expire': 2, 'expire_value': '', 'attribute': 85}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:46][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:46][DEBUG] : Array (     [attribute] => Array         (             [addr] => 1190             [value] =>              [endpoint] => 1             [cluster] => 257             [name] => movement             [data] =>              [expire] => 2             [expire_value] =>              [attribute] => 85         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                      [1] => Array                                         (                                             [cluster] => 257                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [expire] => 2                                                             [value] =>                                                              [expire_value] =>                                                              [attribute] => 1283                                                             [name] => rotation                                                             [data] =>                                                          )                                                      [1] => Array                                                         (                                                             [expire] => 2                                                             [value] =>                                                              [expire_value] =>                                                              [attribute] => 85                                                             [name] => movement                                                             [data] =>                                                          )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 138                     [last_seen] => 2018-09-21 19:11:44                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 21:11:46][DEBUG] : create command 1.257.85
[2018-09-21 19:11:46][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:46][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 19:11:46][DEBUG][root] : Send to jeedom :  {'attribute': {'addr': '1190', 'value': '', 'endpoint': 1, 'cluster': 257, 'name': 'rotation', 'data': '', 'expire': 2, 'expire_value': '', 'attribute': 1283}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 1190 lumi.vibration.aq1}
[2018-09-21 19:11:46][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-09-21 21:11:46][DEBUG] : Array (     [attribute] => Array         (             [addr] => 1190             [value] =>              [endpoint] => 1             [cluster] => 257             [name] => rotation             [data] =>              [expire] => 2             [expire_value] =>              [attribute] => 1283         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [addr] => 1190             [endpoints] => Array                 (                     [0] => Array                         (                             [clusters] => Array                                 (                                     [0] => Array                                         (                                             [cluster] => 0                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [attribute] => 1                                                             [value] => 8                                                             [name] => application_version                                                             [data] => 8                                                         )                                                      [1] => Array                                                         (                                                             [attribute] => 5                                                             [value] => lumi.vibration.aq1                                                             [name] => type                                                             [data] => lumi.vibration.aq1                                                         )                                                      [2] => Array                                                         (                                                             [attribute] => 65281                                                             [value] => 2.945                                                             [name] => battery                                                             [data] => 0121810b0328200421a8010521240006240100000000082108030a21000098212800992100009a258bff22ff9a04                                                             [unit] => V                                                         )                                                  )                                          )                                      [1] => Array                                         (                                             [cluster] => 257                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [expire] => 2                                                             [value] =>                                                              [expire_value] =>                                                              [attribute] => 1283                                                             [name] => rotation                                                             [data] =>                                                          )                                                      [1] => Array                                                         (                                                             [expire] => 2                                                             [value] =>                                                              [expire_value] =>                                                              [attribute] => 85                                                             [name] => movement                                                             [data] =>                                                          )                                                  )                                          )                                  )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [in_clusters] => Array                                 (                                 )                              [profile] => 0                             [device] => 0                         )                  )              [info] => Array                 (                     [addr] => 1190                     [ieee] => 00158d0002a4926c                     [mac_capability] => 10000000                     [rssi] => 138                     [last_seen] => 2018-09-21 19:11:44                     [max_tx] => 100                     [server_mask] => 0                     [bit_field] => 0100000000000010                     [descriptor_capability] => 00000000                     [max_buffer] => 127                     [manufacturer] => 1037                     [max_rx] => 100                 )          )  ) 
[2018-09-21 21:11:46][DEBUG] : create command 1.257.1283
[2018-09-21 19:11:46][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-09-21 19:11:46][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-09-21 21:11:56][DEBUG] : callZiGate get_version_text 
[2018-09-21 19:11:56][DEBUG][root] : Message received in socket
[2018-09-21 19:11:56][DEBUG][root] : {'action': 'get_version_text', 'args': ''}
[2018-09-21 19:11:56][DEBUG][root] : {'success': True, 'result': '3.0d'}
[2018-09-21 21:11:56][DEBUG] : result callZiGate Array (     [success] => 1     [result] => 3.0d ) 

@llaumgui
Copy link
Contributor Author

Du coup @doudz ça t'aide ?

@doudz
Copy link
Owner

doudz commented Sep 28, 2018

A vrai dire non, car c'est le décodage de la réponse qui plante mais il manque une ligne de DEBUG pour comprendre ce qu'il se passe.
Je viens de pousser une toute petite modif pour ajouter une ligne de debug

@llaumgui
Copy link
Contributor Author

OK. En // tu as vu ma PR ?

@doudz
Copy link
Owner

doudz commented Sep 28, 2018

oui j'ai vu. C'est intéressant, je verrai ça la semaine prochaine

@llaumgui
Copy link
Contributor Author

Voila:

[2018-10-10 19:00:23][DEBUG][zigate] : Received response 0x8102: b'\xa4{\x9a\x02\x00\x12\x00U\x00!\x00\x02\x00\x02'
[2018-10-10 19:00:23][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:164, addr:7b9a, endpoint:2, cluster:18, attribute:85, status:0, data_type:33, size:2, data:2, rssi:156
[2018-10-10 19:00:23][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-10-10 19:00:23][DEBUG][zigate] : Set expire timer for 2-18-85 in 2
[2018-10-10 19:00:23][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-10-10 19:00:23][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'zigate': <zigate.core.ZiGate object at 0xffffbda8f080>, 'device': Device 7b9a lumi.sensor_cube, 'attribute': {'endpoint': 2, 'addr': '7b9a', 'expire': 2, 'value': 'wakeup', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': 2, 'cluster': 18}}
[2018-10-10 19:00:24][DEBUG][root] : Send to jeedom :  {'attribute': {'endpoint': 2, 'addr': '7b9a', 'expire': 2, 'value': 'wakeup', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': 2, 'cluster': 18}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 7b9a lumi.sensor_cube}
[2018-10-10 19:00:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-10-10 21:00:24][DEBUG] : Array (     [attribute] => Array         (             [endpoint] => 2             [addr] => 7b9a             [expire] => 2             [value] => wakeup             [name] => movement             [attribute] => 85             [expire_value] =>              [data] => 2             [cluster] => 18         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [endpoints] => Array                 (                     [0] => Array                         (                             [in_clusters] => Array                                 (                                 )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => application_version                                                             [value] => 3                                                             [attribute] => 1                                                             [data] => 3                                                         )                                                      [1] => Array                                                         (                                                             [name] => type                                                             [value] => lumi.sensor_cube                                                             [attribute] => 5                                                             [data] => lumi.sensor_cube                                                         )                                                      [2] => Array                                                         (                                                             [value] => 2.975                                                             [unit] => V                                                             [name] => battery                                                             [attribute] => 65281                                                             [data] => 01219f0b0328180421a8130521c300062407000000000a210000972100009821ac03992101039a210300                                                         )                                                  )                                              [cluster] => 0                                         )                                  )                              [profile] => 0                             [device] => 0                         )                      [1] => Array                         (                             [in_clusters] => Array                                 (                                 )                              [endpoint] => 2                             [out_clusters] => Array                                 (                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => movement                                                             [expire] => 2                                                             [value] => wakeup                                                             [attribute] => 85                                                             [expire_value] =>                                                              [data] => 2                                                         )                                                  )                                              [cluster] => 18                                         )                                  )                              [profile] => 0                             [device] => 0                         )                      [2] => Array                         (                             [in_clusters] => Array                                 (                                 )                              [endpoint] => 3                             [out_clusters] => Array                                 (                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [value] => 0                                                             [expire] => 2                                                             [name] => rotation                                                             [attribute] => 65285                                                             [data] => 0                                                         )                                                      [1] => Array                                                         (                                                             [value] =>                                                              [expire] => 2                                                             [name] => rotation_angle?                                                             [attribute] => 85                                                             [data] =>                                                          )                                                  )                                              [cluster] => 12                                         )                                  )                              [profile] => 0                             [device] => 0                         )                  )              [addr] => 7b9a             [info] => Array                 (                     [id] => 16                     [addr] => 7b9a                     [server_mask] => 0                     [last_seen] => 2018-10-10 19:00:23                     [max_rx] => 100                     [rssi] => 156                     [max_tx] => 100                     [manufacturer] => 1037                     [mac_capability] => 10000000                     [ieee] => 00158d00010b2d4a                     [power_type] => 0                     [max_buffer] => 127                     [descriptor_capability] => 00000000                     [bit_field] => 0100000000000010                 )          )  )
[2018-10-10 21:00:24][DEBUG] : create command 2.18.85
[2018-10-10 19:00:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-10-10 19:00:24][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-10-10 19:00:24][DEBUG][zigate] : Received response 0x8102: b'\x033\xac\x01\x01\x01\x00U\x00!\x00\x02\x00\x01'
[2018-10-10 19:00:24][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:3, addr:33ac, endpoint:1, cluster:257, attribute:85, status:0, data_type:33, size:2, data:1, rssi:114
[2018-10-10 19:00:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-10-10 19:00:24][DEBUG][zigate] : Set expire timer for 1-257-85 in 2
[2018-10-10 19:00:24][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-10-10 19:00:24][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'zigate': <zigate.core.ZiGate object at 0xffffbda8f080>, 'device': Device 33ac lumi.vibration.aq1, 'attribute': {'endpoint': 1, 'addr': '33ac', 'expire': 2, 'value': 'take', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': 1, 'cluster': 257}}
[2018-10-10 19:00:24][DEBUG][zigate] : Received response 0x8102: b'\x043\xac\x01\x01\x01\x00U\x00!\x00\x02\x00\x03'
[2018-10-10 19:00:24][DEBUG][zigate] : RESPONSE 0x8102 - Individual Attribute Report : sequence:4, addr:33ac, endpoint:1, cluster:257, attribute:85, status:0, data_type:33, size:2, data:3, rssi:117
[2018-10-10 19:00:24][DEBUG][zigate] : Dispatch ZIGATE_RESPONSE_RECEIVED
[2018-10-10 19:00:24][DEBUG][zigate] : Set expire timer for 1-257-85 in 2
[2018-10-10 19:00:24][DEBUG][zigate] : Cancel previous Timer <Timer(Thread-22, started daemon 281473617752576)>
[2018-10-10 19:00:24][DEBUG][root] : Send to jeedom :  {'attribute': {'endpoint': 1, 'addr': '33ac', 'expire': 2, 'value': 'take', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': 1, 'cluster': 257}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 33ac lumi.vibration.aq1}
[2018-10-10 19:00:24][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-10-10 19:00:24][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'zigate': <zigate.core.ZiGate object at 0xffffbda8f080>, 'device': Device 33ac lumi.vibration.aq1, 'attribute': {'endpoint': 1, 'addr': '33ac', 'expire': 2, 'value': 'drop', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': 3, 'cluster': 257}}
[2018-10-10 19:00:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-10-10 21:00:24][DEBUG] : Array (     [attribute] => Array         (             [endpoint] => 1             [addr] => 33ac             [expire] => 2             [value] => take             [name] => movement             [attribute] => 85             [expire_value] =>              [data] => 1             [cluster] => 257         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [endpoints] => Array                 (                     [0] => Array                         (                             [in_clusters] => Array                                 (                                     [0] => 0                                     [1] => 3                                     [2] => 25                                     [3] => 257                                 )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                     [0] => 0                                     [1] => 4                                     [2] => 3                                     [3] => 5                                     [4] => 25                                     [5] => 257                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => zcl_version                                                             [value] => 1                                                             [attribute] => 0                                                             [data] => 1                                                         )                                                      [1] => Array                                                         (                                                             [name] => application_version                                                             [value] => 8                                                             [attribute] => 1                                                             [data] => 8                                                         )                                                      [2] => Array                                                         (                                                             [name] => stack_version                                                             [value] => 2                                                             [attribute] => 2                                                             [data] => 2                                                         )                                                      [3] => Array                                                         (                                                             [name] => hardware_version                                                             [value] => 3                                                             [attribute] => 3                                                             [data] => 3                                                         )                                                      [4] => Array                                                         (                                                             [name] => manufacturer                                                             [value] => LUMI                                                             [attribute] => 4                                                             [data] => LUMI                                                         )                                                      [5] => Array                                                         (                                                             [name] => type                                                             [value] => lumi.vibration.aq1                                                             [attribute] => 5                                                             [data] => lumi.vibration.aq1                                                         )                                                      [6] => Array                                                         (                                                             [name] => datecode                                                             [value] => 20180130                                                             [attribute] => 6                                                             [data] => 20180130                                                         )                                                      [7] => Array                                                         (                                                             [value] => 2.955                                                             [unit] => V                                                             [name] => battery                                                             [attribute] => 65281                                                             [data] => 01218b0b03281c0421a8010521240006240100000000082108030a21000098212800992100009a25dcffe2ff9504                                                         )                                                      [8] => Array                                                         (                                                             [name] => power_source                                                             [value] => 3                                                             [attribute] => 7                                                             [data] => 3                                                         )                                                      [9] => Array                                                         (                                                             [name] => description                                                             [value] =>                                                              [attribute] => 16                                                             [data] =>                                                          )                                                  )                                              [cluster] => 0                                         )                                      [1] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => lockstate                                                             [value] => 0                                                             [attribute] => 0                                                             [data] => 0                                                         )                                                      [1] => Array                                                         (                                                             [name] => locktype                                                             [value] => 0                                                             [attribute] => 1                                                             [data] => 0                                                         )                                                      [2] => Array                                                         (                                                             [name] => enabled                                                             [value] =>                                                              [attribute] => 2                                                             [data] =>                                                          )                                                      [3] => Array                                                         (                                                             [name] => movement                                                             [expire] => 2                                                             [value] => drop                                                             [attribute] => 85                                                             [expire_value] =>                                                              [data] => 3                                                         )                                                  )                                              [cluster] => 257                                         )                                  )                              [profile] => 260                             [device] => 10                         )                      [1] => Array                         (                             [in_clusters] => Array                                 (                                     [0] => 3                                     [1] => 18                                 )                              [endpoint] => 2                             [out_clusters] => Array                                 (                                     [0] => 4                                     [1] => 3                                     [2] => 5                                     [3] => 18                                 )                              [clusters] => Array                                 (                                 )                              [profile] => 260                             [device] => 24322                         )                  )              [addr] => 33ac             [info] => Array                 (                     [id] => 4                     [addr] => 33ac                     [server_mask] => 0                     [last_seen] => 2018-10-10 19:00:24                     [max_rx] => 100                     [rssi] => 117                     [max_tx] => 100                     [manufacturer] => 1037                     [mac_capability] => 10000000                     [ieee] => 00158d0002a4926c                     [power_type] => 0                     [max_buffer] => 127                     [descriptor_capability] => 00000000                     [bit_field] => 0100000000000010                 )          )  )
[2018-10-10 21:00:24][DEBUG] : create command 1.257.85
[2018-10-10 19:00:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-10-10 19:00:24][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-10-10 19:00:24][DEBUG][root] : Send to jeedom :  {'attribute': {'endpoint': 1, 'addr': '33ac', 'expire': 2, 'value': 'drop', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': 3, 'cluster': 257}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 33ac lumi.vibration.aq1}
[2018-10-10 19:00:24][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-10-10 21:00:24][DEBUG] : Array (     [attribute] => Array         (             [endpoint] => 1             [addr] => 33ac             [expire] => 2             [value] => drop             [name] => movement             [attribute] => 85             [expire_value] =>              [data] => 3             [cluster] => 257         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [endpoints] => Array                 (                     [0] => Array                         (                             [in_clusters] => Array                                 (                                     [0] => 0                                     [1] => 3                                     [2] => 25                                     [3] => 257                                 )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                     [0] => 0                                     [1] => 4                                     [2] => 3                                     [3] => 5                                     [4] => 25                                     [5] => 257                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => zcl_version                                                             [value] => 1                                                             [attribute] => 0                                                             [data] => 1                                                         )                                                      [1] => Array                                                         (                                                             [name] => application_version                                                             [value] => 8                                                             [attribute] => 1                                                             [data] => 8                                                         )                                                      [2] => Array                                                         (                                                             [name] => stack_version                                                             [value] => 2                                                             [attribute] => 2                                                             [data] => 2                                                         )                                                      [3] => Array                                                         (                                                             [name] => hardware_version                                                             [value] => 3                                                             [attribute] => 3                                                             [data] => 3                                                         )                                                      [4] => Array                                                         (                                                             [name] => manufacturer                                                             [value] => LUMI                                                             [attribute] => 4                                                             [data] => LUMI                                                         )                                                      [5] => Array                                                         (                                                             [name] => type                                                             [value] => lumi.vibration.aq1                                                             [attribute] => 5                                                             [data] => lumi.vibration.aq1                                                         )                                                      [6] => Array                                                         (                                                             [name] => datecode                                                             [value] => 20180130                                                             [attribute] => 6                                                             [data] => 20180130                                                         )                                                      [7] => Array                                                         (                                                             [value] => 2.955                                                             [unit] => V                                                             [name] => battery                                                             [attribute] => 65281                                                             [data] => 01218b0b03281c0421a8010521240006240100000000082108030a21000098212800992100009a25dcffe2ff9504                                                         )                                                      [8] => Array                                                         (                                                             [name] => power_source                                                             [value] => 3                                                             [attribute] => 7                                                             [data] => 3                                                         )                                                      [9] => Array                                                         (                                                             [name] => description                                                             [value] =>                                                              [attribute] => 16                                                             [data] =>                                                          )                                                  )                                              [cluster] => 0                                         )                                      [1] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => lockstate                                                             [value] => 0                                                             [attribute] => 0                                                             [data] => 0                                                         )                                                      [1] => Array                                                         (                                                             [name] => locktype                                                             [value] => 0                                                             [attribute] => 1                                                             [data] => 0                                                         )                                                      [2] => Array                                                         (                                                             [name] => enabled                                                             [value] =>                                                              [attribute] => 2                                                             [data] =>                                                          )                                                      [3] => Array                                                         (                                                             [name] => movement                                                             [expire] => 2                                                             [value] => drop                                                             [attribute] => 85                                                             [expire_value] =>                                                              [data] => 3                                                         )                                                  )                                              [cluster] => 257                                         )                                  )                              [profile] => 260                             [device] => 10                         )                      [1] => Array                         (                             [in_clusters] => Array                                 (                                     [0] => 3                                     [1] => 18                                 )                              [endpoint] => 2                             [out_clusters] => Array                                 (                                     [0] => 4                                     [1] => 3                                     [2] => 5                                     [3] => 18                                 )                              [clusters] => Array                                 (                                 )                              [profile] => 260                             [device] => 24322                         )                  )              [addr] => 33ac             [info] => Array                 (                     [id] => 4                     [addr] => 33ac                     [server_mask] => 0                     [last_seen] => 2018-10-10 19:00:24                     [max_rx] => 100                     [rssi] => 117                     [max_tx] => 100                     [manufacturer] => 1037                     [mac_capability] => 10000000                     [ieee] => 00158d0002a4926c                     [power_type] => 0                     [max_buffer] => 127                     [descriptor_capability] => 00000000                     [bit_field] => 0100000000000010                 )          )  )
[2018-10-10 21:00:24][DEBUG] : create command 1.257.85
[2018-10-10 19:00:24][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-10-10 19:00:24][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-10-10 19:00:25][DEBUG][zigate] : Received response 0x8102: b'\x053\xac\x01\x01\x01\x05\x08\x00%\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00'
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 140, in _event_loop
self.decode_data(packet)
File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 350, in decode_data
response = RESPONSES.get(msg_type, Response)(value, rssi)
File "/usr/local/lib/python3.5/dist-packages/zigate/responses.py", line 45, in __init__
self.decode()
File "/usr/local/lib/python3.5/dist-packages/zigate/responses.py", line 291, in decode
data = struct.unpack(fmt, self.data['data'])[0]
struct.error: unpack requires a bytes object of length 4
[2018-10-10 19:00:25][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-10-10 19:00:25][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'zigate': <zigate.core.ZiGate object at 0xffffbda8f080>, 'device': Device 7b9a lumi.sensor_cube, 'attribute': {'endpoint': 2, 'addr': '7b9a', 'expire': 2, 'value': '', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': '', 'cluster': 18}}
[2018-10-10 19:00:25][DEBUG][root] : Send to jeedom :  {'attribute': {'endpoint': 2, 'addr': '7b9a', 'expire': 2, 'value': '', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': '', 'cluster': 18}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 7b9a lumi.sensor_cube}
[2018-10-10 19:00:26][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-10-10 21:00:26][DEBUG] : Array (     [attribute] => Array         (             [endpoint] => 2             [addr] => 7b9a             [expire] => 2             [value] =>              [name] => movement             [attribute] => 85             [expire_value] =>              [data] =>              [cluster] => 18         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [endpoints] => Array                 (                     [0] => Array                         (                             [in_clusters] => Array                                 (                                 )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => application_version                                                             [value] => 3                                                             [attribute] => 1                                                             [data] => 3                                                         )                                                      [1] => Array                                                         (                                                             [name] => type                                                             [value] => lumi.sensor_cube                                                             [attribute] => 5                                                             [data] => lumi.sensor_cube                                                         )                                                      [2] => Array                                                         (                                                             [value] => 2.975                                                             [unit] => V                                                             [name] => battery                                                             [attribute] => 65281                                                             [data] => 01219f0b0328180421a8130521c300062407000000000a210000972100009821ac03992101039a210300                                                         )                                                  )                                              [cluster] => 0                                         )                                  )                              [profile] => 0                             [device] => 0                         )                      [1] => Array                         (                             [in_clusters] => Array                                 (                                 )                              [endpoint] => 2                             [out_clusters] => Array                                 (                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => movement                                                             [expire] => 2                                                             [value] =>                                                              [attribute] => 85                                                             [expire_value] =>                                                              [data] =>                                                          )                                                  )                                              [cluster] => 18                                         )                                  )                              [profile] => 0                             [device] => 0                         )                      [2] => Array                         (                             [in_clusters] => Array                                 (                                 )                              [endpoint] => 3                             [out_clusters] => Array                                 (                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [value] => 0                                                             [expire] => 2                                                             [name] => rotation                                                             [attribute] => 65285                                                             [data] => 0                                                         )                                                      [1] => Array                                                         (                                                             [value] =>                                                              [expire] => 2                                                             [name] => rotation_angle?                                                             [attribute] => 85                                                             [data] =>                                                          )                                                  )                                              [cluster] => 12                                         )                                  )                              [profile] => 0                             [device] => 0                         )                  )              [addr] => 7b9a             [info] => Array                 (                     [id] => 16                     [addr] => 7b9a                     [server_mask] => 0                     [last_seen] => 2018-10-10 19:00:23                     [max_rx] => 100                     [rssi] => 156                     [max_tx] => 100                     [manufacturer] => 1037                     [mac_capability] => 10000000                     [ieee] => 00158d00010b2d4a                     [power_type] => 0                     [max_buffer] => 127                     [descriptor_capability] => 00000000                     [bit_field] => 0100000000000010                 )          )  )
[2018-10-10 21:00:26][DEBUG] : create command 2.18.85
[2018-10-10 19:00:26][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-10-10 19:00:26][DEBUG][root] : Jeedom reply :  {'success': True}
[2018-10-10 19:00:26][DEBUG][zigate] : Dispatch ZIGATE_ATTRIBUTE_UPDATED
[2018-10-10 19:00:26][DEBUG][root] : External command ZIGATE_ATTRIBUTE_UPDATED : {'zigate': <zigate.core.ZiGate object at 0xffffbda8f080>, 'device': Device 33ac lumi.vibration.aq1, 'attribute': {'endpoint': 1, 'addr': '33ac', 'expire': 2, 'value': '', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': '', 'cluster': 257}}
[2018-10-10 19:00:27][DEBUG][root] : Send to jeedom :  {'attribute': {'endpoint': 1, 'addr': '33ac', 'expire': 2, 'value': '', 'name': 'movement', 'attribute': 85, 'expire_value': '', 'data': '', 'cluster': 257}, 'action': 'ZIGATE_ATTRIBUTE_UPDATED', 'device': Device 33ac lumi.vibration.aq1}
[2018-10-10 19:00:27][DEBUG][requests.packages.urllib3.connectionpool] : Starting new HTTP connection (1): 127.0.0.1
[2018-10-10 21:00:27][DEBUG] : Array (     [attribute] => Array         (             [endpoint] => 1             [addr] => 33ac             [expire] => 2             [value] =>              [name] => movement             [attribute] => 85             [expire_value] =>              [data] =>              [cluster] => 257         )      [action] => ZIGATE_ATTRIBUTE_UPDATED     [device] => Array         (             [endpoints] => Array                 (                     [0] => Array                         (                             [in_clusters] => Array                                 (                                     [0] => 0                                     [1] => 3                                     [2] => 25                                     [3] => 257                                 )                              [endpoint] => 1                             [out_clusters] => Array                                 (                                     [0] => 0                                     [1] => 4                                     [2] => 3                                     [3] => 5                                     [4] => 25                                     [5] => 257                                 )                              [clusters] => Array                                 (                                     [0] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => zcl_version                                                             [value] => 1                                                             [attribute] => 0                                                             [data] => 1                                                         )                                                      [1] => Array                                                         (                                                             [name] => application_version                                                             [value] => 8                                                             [attribute] => 1                                                             [data] => 8                                                         )                                                      [2] => Array                                                         (                                                             [name] => stack_version                                                             [value] => 2                                                             [attribute] => 2                                                             [data] => 2                                                         )                                                      [3] => Array                                                         (                                                             [name] => hardware_version                                                             [value] => 3                                                             [attribute] => 3                                                             [data] => 3                                                         )                                                      [4] => Array                                                         (                                                             [name] => manufacturer                                                             [value] => LUMI                                                             [attribute] => 4                                                             [data] => LUMI                                                         )                                                      [5] => Array                                                         (                                                             [name] => type                                                             [value] => lumi.vibration.aq1                                                             [attribute] => 5                                                             [data] => lumi.vibration.aq1                                                         )                                                      [6] => Array                                                         (                                                             [name] => datecode                                                             [value] => 20180130                                                             [attribute] => 6                                                             [data] => 20180130                                                         )                                                      [7] => Array                                                         (                                                             [value] => 2.955                                                             [unit] => V                                                             [name] => battery                                                             [attribute] => 65281                                                             [data] => 01218b0b03281c0421a8010521240006240100000000082108030a21000098212800992100009a25dcffe2ff9504                                                         )                                                      [8] => Array                                                         (                                                             [name] => power_source                                                             [value] => 3                                                             [attribute] => 7                                                             [data] => 3                                                         )                                                      [9] => Array                                                         (                                                             [name] => description                                                             [value] =>                                                              [attribute] => 16                                                             [data] =>                                                          )                                                  )                                              [cluster] => 0                                         )                                      [1] => Array                                         (                                             [attributes] => Array                                                 (                                                     [0] => Array                                                         (                                                             [name] => lockstate                                                             [value] => 0                                                             [attribute] => 0                                                             [data] => 0                                                         )                                                      [1] => Array                                                         (                                                             [name] => locktype                                                             [value] => 0                                                             [attribute] => 1                                                             [data] => 0                                                         )                                                      [2] => Array                                                         (                                                             [name] => enabled                                                             [value] =>                                                              [attribute] => 2                                                             [data] =>                                                          )                                                      [3] => Array                                                         (                                                             [name] => movement                                                             [expire] => 2                                                             [value] =>                                                              [attribute] => 85                                                             [expire_value] =>                                                              [data] =>                                                          )                                                  )                                              [cluster] => 257                                         )                                  )                              [profile] => 260                             [device] => 10                         )                      [1] => Array                         (                             [in_clusters] => Array                                 (                                     [0] => 3                                     [1] => 18                                 )                              [endpoint] => 2                             [out_clusters] => Array                                 (                                     [0] => 4                                     [1] => 3                                     [2] => 5                                     [3] => 18                                 )                              [clusters] => Array                                 (                                 )                              [profile] => 260                             [device] => 24322                         )                  )              [addr] => 33ac             [info] => Array                 (                     [id] => 4                     [addr] => 33ac                     [server_mask] => 0                     [last_seen] => 2018-10-10 19:00:24                     [max_rx] => 100                     [rssi] => 117                     [max_tx] => 100                     [manufacturer] => 1037                     [mac_capability] => 10000000                     [ieee] => 00158d0002a4926c                     [power_type] => 0                     [max_buffer] => 127                     [descriptor_capability] => 00000000                     [bit_field] => 0100000000000010                 )          )  )
[2018-10-10 21:00:27][DEBUG] : create command 1.257.85
[2018-10-10 19:00:27][DEBUG][requests.packages.urllib3.connectionpool] : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=bXcO5Pj3l35FFPj3rN4kWSnEL94iU32g HTTP/1.1" 200 16
[2018-10-10 19:00:27][DEBUG][root] : Jeedom reply :  {'success': True}

Désolé pour le temps.

@doudz
Copy link
Owner

doudz commented Oct 11, 2018

Merci.
J'ai fait une correction, ça devrait fonctionner maintenant.
La trame qui ne passait pas est le "mode libération"
https://faire-ca-soi-meme.fr/domotique/2018/09/03/test-xiaomi-aqara-vibration-sensor/

Mode libération
Type: 0x8102 (Attribute Report)
SQN: 0x0C
Src Addr: 0xCDD1
Src Ep: 0x01
Cluster ID: 0x0101 (General: Door Lock)
Attribute ID: 0x0508
Attribute Size: 0x0008
Attribute Type: 0x25 (Unknown)
Status: 0x00

Cette trame permet d’éviter l’inondation d’actions. Tant que cette trame n’est pas lancée, on ne peut pas lancer d’autres actions.

C'est une trame vide donc ça ne changera rien au fonctionnement, mais il n'y aura plus de crash

@doudz
Copy link
Owner

doudz commented Oct 11, 2018

9f93a75

@doudz doudz closed this as completed Oct 11, 2018
@llaumgui
Copy link
Contributor Author

OK, je te ferai mon retours ce WE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants