doudz / homeassistant-zigate

zigate component for Home Assistant
MIT License
48 stars 15 forks source link

Probleme prise IKEA #77

Closed bouboun59 closed 4 years ago

bouboun59 commented 4 years ago

Bonjour,

La prise IKEA est bien detecté mais aucune action ne fonctionne voici le log Le boitier est à cote du zigate. Zigate en mode GPIO Version plugin 1.3.5 Version lib 0.32.2 Version firmware 3.1a Jeedom 4.0.21

Une idée ?

2019-10-13 08:03:26][DEBUG] : callZiGate action_onoff Array ( [0] => 58a8 [1] => 1 [2] => 1 ) [2019-10-13 06:03:26][DEBUG]root : Message received in socket [2019-10-13 06:03:26][DEBUG]root : {'action': 'action_onoff', 'args': ['58a8', 1, 1]} [2019-10-13 06:03:26][DEBUG]zigate : REQUEST : 0x0092 b'\x02X\xa8\x01\x01\x01' [2019-10-13 06:03:26][DEBUG]zigate : Msg to send b'00920006670258a8010101' [2019-10-13 06:03:26][DEBUG]zigate : Encoded Msg to send b'010210920210021667021258a802110211021103' [2019-10-13 06:03:26][DEBUG]zigate : Waiting for status message for command 0x0092 [2019-10-13 06:03:26][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x16\x02\x10\x02\x11\x02\x10\x92\x02\x10\x03\x01\x87\x02\x12\x02\x10\x02\x18v\xd4\x02\x11\x02\x11\x02\x12X\xa8c\xbe\x03' [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00010092' [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:1, packet_type:146, error:b'', lqi:0 [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8702: b'd401010258a863' [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:58a8, sequence:99, lqi:190 [2019-10-13 06:03:26][ERROR][zigate](ZiGate-Decode data) : RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:58a8, sequence:99, lqi:190 [2019-10-13 06:03:26][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-10-13 06:03:26][DEBUG]zigate : STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:1, packet_type:146, error:b'', lqi:0 [2019-10-13 06:03:26][DEBUG]root : {'result': OrderedDict([('status', 0), ('sequence', 1), ('packet_type', 146), ('error', b''), ('lqi', 0)]), 'success': True} [2019-10-13 08:03:26][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 1 [packet_type] => 146 [error] => [lqi] => 0 ) [success] => 1 ) [2019-10-13 06:03:36][DEBUG]zigate : Raw packet received, b'\x01\x87\x02\x11\x02\x10\x02\x13U\xd0\x02\x10\x02\x10\x03' [2019-10-13 06:03:36][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-10-13 06:03:36][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8701: b'd000' [2019-10-13 06:03:36][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8701 - Route Discovery Confirmation : status:208, network_status:0, lqi:0 [2019-10-13 06:03:36][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-10-13 08:03:37][DEBUG] : callZiGate action_onoff Array ( [0] => 58a8 [1] => 1 [2] => 0 ) [2019-10-13 06:03:37][DEBUG]root : Message received in socket [2019-10-13 06:03:37][DEBUG]root : {'action': 'action_onoff', 'args': ['58a8', 1, 0]} [2019-10-13 06:03:37][DEBUG]zigate : REQUEST : 0x0092 b'\x02X\xa8\x01\x01\x00' [2019-10-13 06:03:37][DEBUG]zigate : Msg to send b'00920006660258a8010100' [2019-10-13 06:03:37][DEBUG]zigate : Encoded Msg to send b'010210920210021666021258a802110211021003' [2019-10-13 06:03:37][DEBUG]zigate : Waiting for status message for command 0x0092 [2019-10-13 06:03:37][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x15\x02\x10\x02\x12\x02\x10\x92\x02\x10\x03\x01\x87\x02\x12\x02\x10\x02\x18q\xd4\x02\x11\x02\x11\x02\x12X\xa8d\xbe\x03' [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00020092' [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:2, packet_type:146, error:b'', lqi:0 [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8702: b'd401010258a864' [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:58a8, sequence:100, lqi:190 [2019-10-13 06:03:37][ERROR][zigate](ZiGate-Decode data) : RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:58a8, sequence:100, lqi:190 [2019-10-13 06:03:37][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-10-13 06:03:37][DEBUG]zigate : STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:2, packet_type:146, error:b'', lqi:0 [2019-10-13 06:03:37][DEBUG]root : {'result': OrderedDict([('status', 0), ('sequence', 2), ('packet_type', 146), ('error', b''), ('lqi', 0)]), 'success': True} [2019-10-13 08:03:37][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 2 [packet_type] => 146 [error] => [lqi] => 0 ) [success] => 1 ) [2019-10-13 06:03:47][DEBUG]zigate : Raw packet received, b'\x01\x87\x02\x11\x02\x10\x02\x13U\xd0\x02\x10\x02\x10\x03' [2019-10-13 06:03:47][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-10-13 06:03:47][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8701: b'd000' [2019-10-13 06:03:47][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8701 - Route Discovery Confirmation : status:208, network_status:0, lqi:0 [2019-10-13 06:03:47][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED

merci

cpainchaud commented 4 years ago

même problème pour moi !

019-10-22 14:48:56 DEBUG (Thread-2) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:238, packet_type:256, error:b'', lqi:0 2019-10-22 14:48:56 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ee7d6d01000000040042000e494b4541206f662053776564656e' 2019-10-22 14:48:56 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:238, addr:7d6d, endpoint:1, cluster:0, attribute:4, status:0, data_type:66, size:14, data:IKEA of Sweden, lqi:84 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ee7d6d0100000005004200165452414446524920636f6e74726f6c206f75746c6574' 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:238, addr:7d6d, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:22, data:TRADFRI control outlet, lqi:84 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device IKEA of Sweden (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device IKEA of Sweden (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_ADDED 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (Thread-2) [zigate] No template found for TRADFRI_control_outlet 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] No template found for TRADFRI_control_outlet 2019-10-22 14:48:56 DEBUG (Thread-2) [zigate] Start automagic bind and report process for device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Start automagic bind and report process for device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (Thread-2) [zigate] Bind and report endpoint 1 for device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Bind and report endpoint 1 for device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_ADDED 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update device IKEA of Sweden TRADFRI control outlet (7d6d) 000d6ffffe2ef00e 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-10-22 14:48:56 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

cpainchaud commented 4 years ago

finalement ça fonctionne après un reset complet de HASS