Closed ChoOo7 closed 5 years ago
Il serait intéressant de refaire le test avec le log en DEBUG
Merci
root@raspberrypi:~# pip3 install zigate --upgrade Collecting zigate Downloading https://files.pythonhosted.org/packages/7e/dc/f3aaa0e9f4a38a3b5d567a8463c5a9b22f06cb3b0c0d3dcba57b997e1335/zigate-0.29.5-py3-none-any.whl (60kB) 100% |████████████████████████████████| 61kB 904kB/s Requirement already up-to-date: RPi.GPIO in /usr/lib/python3/dist-packages (from zigate) Requirement already up-to-date: pyserial in /usr/local/lib/python3.5/dist-packages (from zigate) Requirement already up-to-date: pydispatcher in /usr/local/lib/python3.5/dist-packages (from zigate) Requirement already up-to-date: bottle in /usr/local/lib/python3.5/dist-packages (from zigate) Installing collected packages: zigate Found existing installation: zigate 0.29.4 Uninstalling zigate-0.29.4: Successfully uninstalled zigate-0.29.4 Successfully installed zigate-0.29.5
J'ajoute
LOGGER.setLevel(logging.DEBUG) Après LOGGER = logging.getLogger('zigate') dans /usr/local/lib/python3.5/dist-packages/zigate/core.py
Je lance python3 -m zigate.mqtt_broker --device auto --mqtt_host localhost:1883
puis un reset : $payload = '{"function": "reset", "args": []}'; $mqtt->publish("zigate/command", $payload, 0);
sleep(3);
$payload = '{"function": "erase_persistent", "args": []}'; $mqtt->publish("zigate/command", $payload, 0);
puis un associate $payload = '{"function": "permit_join"}'; $mqtt->publish("zigate/command", $payload, 0);
Et voila la sortie root@raspberrypi:~# python3 -m zigate.mqtt_broker --device auto --mqtt_host localhost:1883 DEBUG:zigate:Try loading persistent file DEBUG:zigate:Load success INFO:zigate:Searching ZiGate port INFO:zigate:ZiGate found at /dev/ttyUSB0 DEBUG:zigate:REQUEST : 0x0010 DEBUG:zigate:Msg to send b'0010000010' DEBUG:zigate:Encoded Msg to send b'01021010021002101003' DEBUG:zigate:Waiting for status message for command 0x0010 DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x02\x10\x02\x10\x10\x02\x10\x03\x01\x80\x10\x02\x10\x02\x15\x9a\x02\x10\x02\x11\x02\x13\x02\x1d\x02\x10\x03' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:Received response 0x8000: b'00000010' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 DEBUG:zigate:Received response 0x8010: b'0001030d' DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:RESPONSE 0x8010 - Version list : major:1, installer:30d, lqi:0, version:3.0d DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 DEBUG:zigate:Waiting for message 0x8010 DEBUG:zigate:Stop waiting, got message 0x8010 DEBUG:zigate:REQUEST : 0x0021 b'\x03\x18\xc8\x00' DEBUG:zigate:Msg to send b'00210004f60318c800' DEBUG:zigate:Encoded Msg to send b'0102102102100214f6021318c8021003' DEBUG:zigate:Waiting for status message for command 0x0021 DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xa4\x02\x10\x02\x10\x02\x10!\x02\x10\x03' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:Received response 0x8000: b'00000021' DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', lqi:0 DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:STATUS code to command 0x0021:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', lqi:0 DEBUG:zigate:REQUEST : 0x0023 b'\x00' DEBUG:zigate:Msg to send b'002300012200' DEBUG:zigate:Encoded Msg to send b'010210230210021122021003' DEBUG:zigate:Waiting for status message for command 0x0023 DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xa6\x02\x10\x02\x10\x02\x10#\x02\x10\x03' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:Received response 0x8000: b'00000023' DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', lqi:0 DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:STATUS code to command 0x0023:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', lqi:0 DEBUG:zigate:Check network state DEBUG:zigate:REQUEST : 0x0009 DEBUG:zigate:Msg to send b'0009000009' DEBUG:zigate:Encoded Msg to send b'010210021902100210021903' DEBUG:zigate:Waiting for status message for command 0x0009 DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x8c\x02\x10\x02\x10\x02\x10\x02\x19\x02\x10\x03\x01\x80\x02\x19\x02\x10\x16\xac\x02\x10\x02\x10\x02\x10\x15\x8d\x02\x10\x02\x11\xec\xbcL\xebi~\xd4~\x10\xd8\x9e\xb5\x02\x18\x02\x1b\x02\x10\x03' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:Received response 0x8000: b'00000009' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', lqi:0 DEBUG:zigate:Received response 0x8009: b'000000158d0001ecbc4ceb697ed47e10d89eb5080b' DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:RESPONSE 0x8009 - Network state response : addr:0000, ieee:00158d0001ecbc4c, panid:60265, extended_panid:9139068154660435208, channel:11, lqi:0 DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:STATUS code to command 0x0009:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', lqi:0 DEBUG:zigate:Waiting for message 0x8009 DEBUG:zigate:Stop waiting, got message 0x8009 DEBUG:zigate:REQUEST : 0x0015 DEBUG:zigate:Msg to send b'0015000015' DEBUG:zigate:Encoded Msg to send b'01021015021002101503' DEBUG:zigate:Waiting for status message for command 0x0015 DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x90\x02\x10\x02\x10\x02\x10\x15\x02\x10\x03\x01\x80\x15\x02\x10\x02\x11\x94\x02\x10\x03' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:Received response 0x8000: b'00000015' DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', lqi:0 DEBUG:zigate:Received response 0x8015: b'' DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:STATUS code to command 0x0015:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', lqi:0 DEBUG:zigate:RESPONSE 0x8015 - Device list : devices:[], lqi:0 DEBUG:zigate:Waiting for message 0x8015 DEBUG:zigate:Known devices in zigate : set() DEBUG:zigate:Stop waiting, got message 0x8015 DEBUG:zigate:Previous devices missing : set() DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED DEBUG:zigate:Auto saving /root/.zigate.json DEBUG:zigate:Saving persistent file DEBUG:zigate:File already existing, make a backup before INFO:root:MQTT connected with result code 0
DEBUG:zigate:REQUEST : 0x0011
DEBUG:zigate:Msg to send b'0011000011'
DEBUG:zigate:Encoded Msg to send b'01021011021002101103'
DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x94\x02\x10\x02\x10\x02\x10\x11\x02\x10\xff'
DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x13\x02\x10\x1e\x9b\x02\x11\x02\x11\x02\x14\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x02\x15\x02\x10\x02\x16\x02\x10\x02\x18\x02\x10\x19\x02\x11\x02\x11\x10\x02\x10\x02\x13\x02\x10\x02\x12\x02\x11\x02\x12\x02\x14\x02\x10\x03\x01\x80\x02\x13\x02\x10\x1a\x8d\x02\x11\x02\x11\x02\x14\x02\x14\x02\x15\x02\x15\x02\x10\x02\x14\x02\x10\x02\x14\x02\x12\x02\x14\x02\x13\x02\x14\x02\x15\x02\x14\x02\x16\x02\x17\x02\x12\x02\x1b\x02\x13\x02\x1b\x02\x14\x10\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x1c\xdf\x02\x11\x02\x11\x02\x14\x02\x10\x02\x10\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@\x02\x10\xff\x02\x11\xff\x02\x12\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x86\x02\x11\x02\x11\x02\x14\x02\x10\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x18\x8b\x02\x11\x02\x11\x02\x14\x02\x10\x02\x13\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x19\xca\x02\x11\x02\x11'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8003: b'0101040000000100030004000500060008001901011000030002010204'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8003 - Clusters list : clusters:[OrderedDict([('cluster', 0)]), OrderedDict([('cluster', 1)]), OrderedDict([('cluster', 3)]), OrderedDict([('cluster', 4)]), OrderedDict([('cluster', 5)]), OrderedDict([('cluster', 6)]), OrderedDict([('cluster', 8)]), OrderedDict([('cluster', 25)]), OrderedDict([('cluster', 257)]), OrderedDict([('cluster', 4096)]), OrderedDict([('cluster', 768)]), OrderedDict([('cluster', 513)]), OrderedDict([('cluster', 516)])], endpoint:1, profile_id:260, lqi:0
DEBUG:zigate:Received response 0x8003: b'010104040505000400040204030405040607020b030b041000'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8003 - Clusters list : clusters:[OrderedDict([('cluster', 1029)]), OrderedDict([('cluster', 1280)]), OrderedDict([('cluster', 1024)]), OrderedDict([('cluster', 1026)]), OrderedDict([('cluster', 1027)]), OrderedDict([('cluster', 1029)]), OrderedDict([('cluster', 1030)]), OrderedDict([('cluster', 1794)]), OrderedDict([('cluster', 2819)]), OrderedDict([('cluster', 2820)]), OrderedDict([('cluster', 4096)])], endpoint:1, profile_id:260, lqi:0
DEBUG:zigate:Received response 0x8004: b'0101040000000000010002000300040005000600074000ff01ff02'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)]), OrderedDict([('attribute', 5)]), OrderedDict([('attribute', 6)]), OrderedDict([('attribute', 7)]), OrderedDict([('attribute', 16384)]), OrderedDict([('attribute', 65281)]), OrderedDict([('attribute', 65282)])], endpoint:1, profile_id:260, cluster:0, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104000000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:0, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400030000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)])], endpoint:1, profile_id:260, cluster:3, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Raw packet received, b'\x02\x14\x02\x10\x02\x13\x02\x10\x02\x11@\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x18\x8c\x02\x11\x02\x11\x02\x14\x02\x10\x02\x14\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x1c\x88\x02\x11\x02\x11\x02\x14\x02\x10\x02\x14\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x10\x03\x01\x80\x02\x14\x02\x10\x12\x96\x02\x11\x02\x11\x02\x14\x02\x10\x02\x15\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\x03\x01\x80\x02\x15\x02\x10\x10\xd0\x02\x11\x02\x11\x02\x14\x02\x10\x02\x15\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x16@AB\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1e\xcb\x02\x11\x02\x11\x02\x14\x02\x10\x02\x16\x02\x10\x02\x10@\x02\x10@\x02\x11@\x02\x12\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x1c\xcb\x02\x11\x02\x11\x02\x14\x02\x10\x02\x16\x02\x10\x02\x11\x02\x12@AB\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1e\x86\x02\x11\x02\x11\x02\x14\x02\x10\x02\x18\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x10\x02\x10\x11\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x1f\x8e\x02\x11\x02\x11\x02\x14\x02\x10\x02\x18\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x16\x02\x17\x02\x18\x02\x10\x03\x01\x80\x02\x14\x02\x10F\xbe\x02\x11\x02\x11\x02\x14\x02\x13\x02\x10\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x17\x02\x10\x02\x18\x02\x10\x10\x02\x10\x11\x02\x10\x12\x02\x10\x13\x02\x10\x15\x02\x10\x16\x02\x10\x17\x02\x10\x19\x02\x10\x1a\x02\x10 \x02\x10!\x02\x10"\x02\x10$\x02\x10%\x02\x10&\x02\x10(\x02\x10)\x02\x10*@\x02\x10@\x02\x11@\x02\x12@\x02\x13@\x02\x14@\x02\x16@\x02\x1a@\x02\x1b@\x02\x1c\x02\x10\x03\x01\x80\x02\x15\x02\x10\x1b\x97\x02\x11\x02\x11\x02\x14\x02\x13\x02\x10\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x16\x02\x17\x02\x18\x02\x19\x02\x1a@ABCDGKL\xfe\xff\x02\x10\x03\x01\x80\x02\x14\x02\x10\x14\x94\x02\x11\x02\x11\x02\x14\x02\x12\x02\x11\x02\x10\x02\x10\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x11\x02\x10\x12\x02\x10\x1b\x02\x10\x1c\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x85\x02\x11\x02\x11\x02\x14\x02\x12\x02\x11\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1e\x8f\x02\x11\x02\x11\x02\x14\x02\x14\x02\x15\x02\x10\x02\x10\x02\x10'
DEBUG:zigate:Raw packet received, b'\x02\x11\x02\x10\x02\x12\x02\x10\x02\x13\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x87\x02\x11\x02\x11\x02\x14\x02\x14\x02\x15\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1a\x9f\x02\x11\x02\x11\x02\x14\x02\x10\x02\x11\x02\x10 \x02\x104\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x87\x02\x11\x02\x11\x02\x14\x02\x10\x02\x11\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x10\x90\x02\x11\x02\x11\x02\x14\x02\x14\x02\x10\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x82\x02\x11\x02\x11\x02\x14\x02\x14\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1c\x89\x02\x11\x02\x11\x02\x14\x02\x14\x02\x12\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x80\x02\x11\x02\x11\x02\x14\x02\x14\x02\x12\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x12\x96\x02\x11\x02\x11\x02\x14\x02\x17\x02\x12\x02\x10\x02\x10\x02\x13\x02\x10\x02\x13\x02\x11\x02\x13\x02\x12\x02\x13\x02\x16\x02\x14\x02\x10\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x83\x02\x11\x02\x11\x02\x14\x02\x17\x02\x12\x02\x10\x02\x10\x03\x01\x80$\x02\x10\x02\x1d&\x02\x11\x02\x10\x02\x10\x02\x10\x15\x8d\x02\x10\x02\x11\xec\xbcL\x02\x1b\x02\x10\x03\x01\x80\x02\x16\x02\x10\x02\x12\x86\x02\x12\x02\x10\x03'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8005: b'0101040003000140'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 64)])], endpoint:1, profile_id:260, cluster:3, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400040000'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)])], endpoint:1, profile_id:260, cluster:4, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040004000102030405'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)])], endpoint:1, profile_id:260, cluster:4, lqi:0
DEBUG:zigate:Received response 0x8004: b'0101040005000000010002000300040005'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)]), OrderedDict([('attribute', 5)])], endpoint:1, profile_id:260, cluster:5, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104000500010203040506404142'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)]), OrderedDict([('command', 6)]), OrderedDict([('command', 64)]), OrderedDict([('command', 65)]), OrderedDict([('command', 66)])], endpoint:1, profile_id:260, cluster:5, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400060000400040014002'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 16384)]), OrderedDict([('attribute', 16385)]), OrderedDict([('attribute', 16386)])], endpoint:1, profile_id:260, cluster:6, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040006000102404142'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 64)]), OrderedDict([('command', 65)]), OrderedDict([('command', 66)])], endpoint:1, profile_id:260, cluster:6, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400080000000100100011'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 16)]), OrderedDict([('attribute', 17)])], endpoint:1, profile_id:260, cluster:8, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040008000102030405060708'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)]), OrderedDict([('command', 6)]), OrderedDict([('command', 7)]), OrderedDict([('command', 8)])], endpoint:1, profile_id:260, cluster:8, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010403000000000100020007000800100011001200130015001600170019001a00200021002200240025002600280029002a400040014002400340044006400a400b400c'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 7)]), OrderedDict([('attribute', 8)]), OrderedDict([('attribute', 16)]), OrderedDict([('attribute', 17)]), OrderedDict([('attribute', 18)]), OrderedDict([('attribute', 19)]), OrderedDict([('attribute', 21)]), OrderedDict([('attribute', 22)]), OrderedDict([('attribute', 23)]), OrderedDict([('attribute', 25)]), OrderedDict([('attribute', 26)]), OrderedDict([('attribute', 32)]), OrderedDict([('attribute', 33)]), OrderedDict([('attribute', 34)]), OrderedDict([('attribute', 36)]), OrderedDict([('attribute', 37)]), OrderedDict([('attribute', 38)]), OrderedDict([('attribute', 40)]), OrderedDict([('attribute', 41)]), OrderedDict([('attribute', 42)]), OrderedDict([('attribute', 16384)]), OrderedDict([('attribute', 16385)]), OrderedDict([('attribute', 16386)]), OrderedDict([('attribute', 16387)]), OrderedDict([('attribute', 16388)]), OrderedDict([('attribute', 16390)]), OrderedDict([('attribute', 16394)]), OrderedDict([('attribute', 16395)]), OrderedDict([('attribute', 16396)])], endpoint:1, profile_id:260, cluster:768, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040300000102030405060708090a4041424344474b4cfeff'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)]), OrderedDict([('command', 6)]), OrderedDict([('command', 7)]), OrderedDict([('command', 8)]), OrderedDict([('command', 9)]), OrderedDict([('command', 10)]), OrderedDict([('command', 64)]), OrderedDict([('command', 65)]), OrderedDict([('command', 66)]), OrderedDict([('command', 67)]), OrderedDict([('command', 68)]), OrderedDict([('command', 71)]), OrderedDict([('command', 75)]), OrderedDict([('command', 76)]), OrderedDict([('command', 254)]), OrderedDict([('command', 255)])], endpoint:1, profile_id:260, cluster:768, lqi:0
DEBUG:zigate:Received response 0x8004: b'010104020100000003000400110012001b001c'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)]), OrderedDict([('attribute', 17)]), OrderedDict([('attribute', 18)]), OrderedDict([('attribute', 27)]), OrderedDict([('attribute', 28)])], endpoint:1, profile_id:260, cluster:513, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104020100'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:513, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010404050000000100020003'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)])], endpoint:1, profile_id:260, cluster:1029, lqi:0
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8005: b'010104040500'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8004: b'010104000100200034'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1029, lqi:0
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 32)]), OrderedDict([('attribute', 52)])], endpoint:1, profile_id:260, cluster:1, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104000100'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1, lqi:0
DEBUG:zigate:Received response 0x8004: b'010104040000000001000200030004'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)])], endpoint:1, profile_id:260, cluster:1024, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104040000'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1024, lqi:0
DEBUG:zigate:Received response 0x8004: b'0101040402000000010002'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)])], endpoint:1, profile_id:260, cluster:1026, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104040200'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1026, lqi:0
DEBUG:zigate:Received response 0x8004: b'0101040702000003000301030203060400'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 768)]), OrderedDict([('attribute', 769)]), OrderedDict([('attribute', 770)]), OrderedDict([('attribute', 774)]), OrderedDict([('attribute', 1024)])], endpoint:1, profile_id:260, cluster:1794, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104070200'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1794, lqi:0
DEBUG:zigate:Received response 0x8024: b'01000000158d0001ecbc4c0b'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8024 - Network joined / formed : status:1, lqi:0, addr:0000, ieee:00158d0001ecbc4c, channel:11
DEBUG:zigate:Received response 0x8006: b'02'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8006 - Non “Factory new” Restart : status:2, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:REQUEST : 0x0012
DEBUG:zigate:Msg to send b'0012000012'
DEBUG:zigate:Encoded Msg to send b'01021012021002101203'
DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x97\x02\x10\x02\x10\x02\x10\x12\x02\x10\xff'
DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x13\x02\x10\x1e\x9b\x02\x11\x02\x11\x02\x14\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x02\x15\x02\x10\x02\x16\x02\x10\x02\x18\x02\x10\x19\x02\x11\x02\x11\x10\x02\x10\x02\x13\x02\x10\x02\x12\x02\x11\x02\x12\x02\x14\x02\x10\x03\x01\x80\x02\x13\x02\x10\x1a\x8d\x02\x11\x02\x11\x02\x14\x02\x14\x02\x15\x02\x15\x02\x10\x02\x14\x02\x10\x02\x14\x02\x12\x02\x14\x02\x13\x02\x14\x02\x15\x02\x14\x02\x16\x02\x17\x02\x12\x02\x1b\x02\x13\x02\x1b\x02\x14\x10\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x1c\xdf\x02\x11\x02\x11\x02\x14\x02\x10\x02\x10\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@\x02\x10\xff\x02\x11\xff\x02\x12\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x86\x02\x11\x02\x11\x02\x14\x02\x10\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x18\x8b\x02\x11\x02\x11\x02\x14\x02\x10\x02\x13\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x19\xca\x02\x11\x02\x11\x02\x14\x02\x10\x02\x13\x02\x10\x02\x11@\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x18\x8c\x02\x11\x02\x11\x02\x14\x02\x10\x02\x14\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x1c\x88\x02\x11\x02\x11\x02\x14\x02\x10\x02\x14\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x10\x03\x01\x80\x02\x14\x02\x10\x12\x96\x02\x11\x02\x11\x02\x14\x02\x10\x02\x15\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\x03\x01\x80\x02\x15\x02\x10\x10\xd0\x02\x11\x02\x11\x02\x14\x02\x10\x02\x15\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8003: b'0101040000000100030004000500060008001901011000030002010204'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8003 - Clusters list : clusters:[OrderedDict([('cluster', 0)]), OrderedDict([('cluster', 1)]), OrderedDict([('cluster', 3)]), OrderedDict([('cluster', 4)]), OrderedDict([('cluster', 5)]), OrderedDict([('cluster', 6)]), OrderedDict([('cluster', 8)]), OrderedDict([('cluster', 25)]), OrderedDict([('cluster', 257)]), OrderedDict([('cluster', 4096)]), OrderedDict([('cluster', 768)]), OrderedDict([('cluster', 513)]), OrderedDict([('cluster', 516)])], endpoint:1, profile_id:260, lqi:0
DEBUG:zigate:Received response 0x8003: b'010104040505000400040204030405040607020b030b041000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8003 - Clusters list : clusters:[OrderedDict([('cluster', 1029)]), OrderedDict([('cluster', 1280)]), OrderedDict([('cluster', 1024)]), OrderedDict([('cluster', 1026)]), OrderedDict([('cluster', 1027)]), OrderedDict([('cluster', 1029)]), OrderedDict([('cluster', 1030)]), OrderedDict([('cluster', 1794)]), OrderedDict([('cluster', 2819)]), OrderedDict([('cluster', 2820)]), OrderedDict([('cluster', 4096)])], endpoint:1, profile_id:260, lqi:0
DEBUG:zigate:Received response 0x8004: b'0101040000000000010002000300040005000600074000ff01ff02'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)]), OrderedDict([('attribute', 5)]), OrderedDict([('attribute', 6)]), OrderedDict([('attribute', 7)]), OrderedDict([('attribute', 16384)]), OrderedDict([('attribute', 65281)]), OrderedDict([('attribute', 65282)])], endpoint:1, profile_id:260, cluster:0, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104000000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:0, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400030000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)])], endpoint:1, profile_id:260, cluster:3, lqi:0
DEBUG:zigate:Raw packet received, b'\x15\x02\x16@AB\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1e\xcb\x02\x11\x02\x11\x02\x14\x02\x10\x02\x16\x02\x10\x02\x10@\x02\x10@\x02\x11@\x02\x12\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x1c\xcb\x02\x11\x02\x11\x02\x14\x02\x10\x02\x16\x02\x10\x02\x11\x02\x12@AB\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1e\x86\x02\x11\x02\x11\x02\x14\x02\x10\x02\x18\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x10\x02\x10\x11\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x1f\x8e\x02\x11\x02\x11\x02\x14\x02\x10\x02\x18\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x16\x02\x17\x02\x18\x02\x10\x03\x01\x80\x02\x14\x02\x10F\xbe\x02\x11\x02\x11\x02\x14\x02\x13\x02\x10\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x17\x02\x10\x02\x18\x02\x10\x10\x02\x10\x11\x02\x10\x12\x02\x10\x13\x02\x10\x15\x02\x10\x16\x02\x10\x17\x02\x10\x19\x02\x10\x1a\x02\x10 \x02\x10!\x02\x10"\x02\x10$\x02\x10%\x02\x10&\x02\x10(\x02\x10)\x02\x10*@\x02\x10@\x02\x11@\x02\x12@\x02\x13@\x02\x14@\x02\x16@\x02\x1a@\x02\x1b@\x02\x1c\x02\x10\x03\x01\x80\x02\x15\x02\x10\x1b\x97\x02\x11\x02\x11\x02\x14\x02\x13\x02\x10\x02\x10\x02\x11\x02\x12\x02\x13\x02\x14\x02\x15\x02\x16\x02\x17\x02\x18\x02\x19\x02\x1a@ABCDGKL\xfe\xff\x02\x10\x03\x01\x80\x02\x14\x02\x10\x14\x94\x02\x11\x02\x11\x02\x14\x02\x12\x02\x11\x02\x10\x02\x10\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x11\x02\x10\x12\x02\x10\x1b\x02\x10\x1c\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x85\x02\x11\x02\x11\x02\x14\x02\x12\x02\x11\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1e\x8f\x02\x11\x02\x11\x02\x14\x02\x14\x02\x15\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x13\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x87\x02\x11\x02\x11\x02\x14\x02\x14\x02\x15\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1a\x9f\x02\x11\x02\x11\x02\x14\x02\x10\x02\x11\x02\x10 \x02\x104\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x87\x02\x11\x02\x11\x02\x14\x02\x10\x02\x11\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x10\x90\x02\x11\x02\x11\x02\x14\x02\x14\x02\x10\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x02\x13\x02\x10\x02\x14\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x82\x02\x11\x02\x11\x02\x14\x02\x14\x02\x10\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x02\x1c\x89\x02'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8005: b'0101040003000140'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 64)])], endpoint:1, profile_id:260, cluster:3, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400040000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)])], endpoint:1, profile_id:260, cluster:4, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040004000102030405'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)])], endpoint:1, profile_id:260, cluster:4, lqi:0
DEBUG:zigate:Received response 0x8004: b'0101040005000000010002000300040005'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)]), OrderedDict([('attribute', 5)])], endpoint:1, profile_id:260, cluster:5, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104000500010203040506404142'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)]), OrderedDict([('command', 6)]), OrderedDict([('command', 64)]), OrderedDict([('command', 65)]), OrderedDict([('command', 66)])], endpoint:1, profile_id:260, cluster:5, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400060000400040014002'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 16384)]), OrderedDict([('attribute', 16385)]), OrderedDict([('attribute', 16386)])], endpoint:1, profile_id:260, cluster:6, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040006000102404142'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 64)]), OrderedDict([('command', 65)]), OrderedDict([('command', 66)])], endpoint:1, profile_id:260, cluster:6, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010400080000000100100011'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 16)]), OrderedDict([('attribute', 17)])], endpoint:1, profile_id:260, cluster:8, lqi:0
DEBUG:zigate:Received response 0x8005: b'0101040008000102030405060708'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)]), OrderedDict([('command', 6)]), OrderedDict([('command', 7)]), OrderedDict([('command', 8)])], endpoint:1, profile_id:260, cluster:8, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8004: b'01010403000000000100020007000800100011001200130015001600170019001a00200021002200240025002600280029002a400040014002400340044006400a400b400c'
DEBUG:zigate:Received response 0x8005: b'0101040300000102030405060708090a4041424344474b4cfeff'
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 7)]), OrderedDict([('attribute', 8)]), OrderedDict([('attribute', 16)]), OrderedDict([('attribute', 17)]), OrderedDict([('attribute', 18)]), OrderedDict([('attribute', 19)]), OrderedDict([('attribute', 21)]), OrderedDict([('attribute', 22)]), OrderedDict([('attribute', 23)]), OrderedDict([('attribute', 25)]), OrderedDict([('attribute', 26)]), OrderedDict([('attribute', 32)]), OrderedDict([('attribute', 33)]), OrderedDict([('attribute', 34)]), OrderedDict([('attribute', 36)]), OrderedDict([('attribute', 37)]), OrderedDict([('attribute', 38)]), OrderedDict([('attribute', 40)]), OrderedDict([('attribute', 41)]), OrderedDict([('attribute', 42)]), OrderedDict([('attribute', 16384)]), OrderedDict([('attribute', 16385)]), OrderedDict([('attribute', 16386)]), OrderedDict([('attribute', 16387)]), OrderedDict([('attribute', 16388)]), OrderedDict([('attribute', 16390)]), OrderedDict([('attribute', 16394)]), OrderedDict([('attribute', 16395)]), OrderedDict([('attribute', 16396)])], endpoint:1, profile_id:260, cluster:768, lqi:0
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Raw packet received, b'\x11\x02\x11\x02\x14\x02\x14\x02\x12\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x02\x12\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x80\x02\x11\x02\x11\x02\x14\x02\x14\x02\x12\x02\x10\x02\x10\x03\x01\x80\x02\x14\x02\x10\x12\x96\x02\x11\x02\x11\x02\x14\x02\x17\x02\x12\x02\x10\x02\x10\x02\x13\x02\x10\x02\x13\x02\x11\x02\x13\x02\x12\x02\x13\x02\x16\x02\x14\x02\x10\x02\x10\x03\x01\x80\x02\x15\x02\x10\x02\x17\x83\x02\x11\x02\x11\x02\x14\x02\x17\x02\x12\x02\x10\x02\x10\x03\x01\x80\x02\x17\x02\x10\x02\x12\x85\x02\x10\x02\x10\x03'
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)]), OrderedDict([('command', 1)]), OrderedDict([('command', 2)]), OrderedDict([('command', 3)]), OrderedDict([('command', 4)]), OrderedDict([('command', 5)]), OrderedDict([('command', 6)]), OrderedDict([('command', 7)]), OrderedDict([('command', 8)]), OrderedDict([('command', 9)]), OrderedDict([('command', 10)]), OrderedDict([('command', 64)]), OrderedDict([('command', 65)]), OrderedDict([('command', 66)]), OrderedDict([('command', 67)]), OrderedDict([('command', 68)]), OrderedDict([('command', 71)]), OrderedDict([('command', 75)]), OrderedDict([('command', 76)]), OrderedDict([('command', 254)]), OrderedDict([('command', 255)])], endpoint:1, profile_id:260, cluster:768, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8004: b'010104020100000003000400110012001b001c'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)]), OrderedDict([('attribute', 17)]), OrderedDict([('attribute', 18)]), OrderedDict([('attribute', 27)]), OrderedDict([('attribute', 28)])], endpoint:1, profile_id:260, cluster:513, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104020100'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:513, lqi:0
DEBUG:zigate:Received response 0x8004: b'01010404050000000100020003'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)])], endpoint:1, profile_id:260, cluster:1029, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104040500'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1029, lqi:0
DEBUG:zigate:Received response 0x8004: b'010104000100200034'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 32)]), OrderedDict([('attribute', 52)])], endpoint:1, profile_id:260, cluster:1, lqi:0
DEBUG:zigate:Received response 0x8005: b'010104000100'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1, lqi:0
DEBUG:zigate:Received response 0x8004: b'010104040000000001000200030004'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)]), OrderedDict([('attribute', 3)]), OrderedDict([('attribute', 4)])], endpoint:1, profile_id:260, cluster:1024, lqi:0
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8005: b'010104040000'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8004: b'0101040402000000010002'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1024, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8005: b'010104040200'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 1)]), OrderedDict([('attribute', 2)])], endpoint:1, profile_id:260, cluster:1026, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8004: b'0101040702000003000301030203060400'
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1026, lqi:0
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8004 - Attribute list : attributes:[OrderedDict([('attribute', 0)]), OrderedDict([('attribute', 768)]), OrderedDict([('attribute', 769)]), OrderedDict([('attribute', 770)]), OrderedDict([('attribute', 774)]), OrderedDict([('attribute', 1024)])], endpoint:1, profile_id:260, cluster:1794, lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Received response 0x8005: b'010104070200'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:RESPONSE 0x8005 - Command list : commands:[OrderedDict([('command', 0)])], endpoint:1, profile_id:260, cluster:1794, lqi:0
DEBUG:zigate:Received response 0x8007: b'00'
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:RESPONSE 0x8007 - “Factory New” Restart : status:0, lqi:0
DEBUG:zigate:REQUEST : 0x0024
DEBUG:zigate:Msg to send b'0024000024'
DEBUG:zigate:Encoded Msg to send b'01021024021002102403'
DEBUG:zigate:Waiting for status message for command 0x0024
DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xa1'
DEBUG:zigate:Raw packet received, b'\x02\x10\x02\x10\x02\x10$\x02\x10\x03'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8000: b'00000024'
DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:STATUS code to command 0x0024:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:Raw packet received, b'\x01\x80$\x02\x10\x02\x1d&\x02\x11\x02\x10\x02\x10\x02\x10\x15\x8d\x02\x10\x02\x11\xec\xbcL\x02\x1b\x02\x10\x03'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8024: b'01000000158d0001ecbc4c0b'
DEBUG:zigate:RESPONSE 0x8024 - Network joined / formed : status:1, lqi:0, addr:0000, ieee:00158d0001ecbc4c, channel:11
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:REQUEST : 0x0049 FFFC1E00
DEBUG:zigate:Msg to send b'0049000450fffc1e00'
DEBUG:zigate:Encoded Msg to send b'010210490210021450fffc1e021003'
DEBUG:zigate:Waiting for status message for command 0x0049
DEBUG:zigate:Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xd2\x02\x10\x1e\x02\x10I\x02\x10\x03'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8000: b'001e0049'
DEBUG:zigate:RESPONSE 0x8000 - Status response : status:0, sequence:30, packet_type:73, error:b'', lqi:0
DEBUG:zigate:Dispatch ZIGATE_RESPONSE_RECEIVED
DEBUG:zigate:STATUS code to command 0x0049:RESPONSE 0x8000 - Status response : status:0, sequence:30, packet_type:73, error:b'', lqi:0
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.5/dist-packages/zigate/mqtt_broker.py", line 112, in
En esperant que cela puisse t'aider Merci
Je n'ai réussi à reproduire le problème...
je n'utilise pas php mais j'ai testé avec mosquitto_pub et tout fonctionne bien
mosquitto_pub -h 192.168.1.100 -t "zigate/command" -m '{"function": "permit_join"}'
Je vais tacher de rajouter du debug pour voir ce qu'il n'arrive pas à serializer / de serialiser
Sinon une idée de comment reinitialiser le tout un peu plus ?
Je vois bien ce qu'il se passe mais je comprends pas pourquoi ça ne se produit pas chez moi. J'ai ajouté un test pour mettre en évidence le défaut et je le corrige prochainement
C'est corrigé dans la branche dev mais j'ai un souci avec Travis, je règle ça avant de publier la mise à jour
Avec la dernière version, je n'ai plus de soucis, j'ai pu associer avec succès mon capteur de temperature xiaomi. Tu peux donc fermer le ticket je pense. Merci bcp et bonne soirée
Bonjour
Je suis face à un souci, possible de m'aider à y voir plus clair ?
Je viens de mettre à jour la lib avec pip3, mais je ne pense pas que le souci vienne de là, je précise juste que je suis à jour.
Je lance le broker avec python3 -m zigate.mqtt_broker --device auto --mqtt_host localhost:1883
Et j'envoie un message avec
Lorsque j'envoie le message, le broker explode en vol ! Voici la stack trace
J'avais quelques soucis, je ne savais pas trop d'ou cela venait, donc j'ai tenté des resets, factory reset, erase persistant (le erase persistant ne me vidait pas le fichier /home/pi/.zigate)
Je l'ai fait à la main du coup, voici le contenu pi@raspberrypi:/var/home/raspberry/zigate $ cat /home/pi/.zigate.json { "devices": [], "groups": {}, "scenes": {} }
$mqtt->close();
Merci d'avance :)