Open Elephantoplasty opened 3 months ago
The device failed to pair, try to re-pair it.
I've tried about 20 times.
Different batteries (alkaline and charged NiMH), moved to beside coordinator (SLZB-06), rebooted coordinator.
Always the same result.
I've tried about 20 times.
Different batteries (alkaline and charged NiMH), moved to beside coordinator (SLZB-06), rebooted coordinator.
Always the same result.
The TRETAKT plug itself should not have any batteries at all. Are sure sure, you don't mix up devices? Maybe it's the remote you are talking about?
see also: https://www.ikea.com/au/en/assembly_instructions/tretakt-plug-smart__AA-2417803-2-100.pdf
You're right, my mistake. Batteries was the water sensor I had hassles with - got it paired eventually.
I still tried multiple location with Tretakt, and followed the written instructions which specified how to reset. Did try a variety of other potential resets approaches also.
No matter what I did, always the same result - unsupported.
No matter what I did, always the same result - unsupported.
I expect it to be detected as unsupported, but does the interview also always fail? (from your db entry: "interviewCompleted":false
)
Yes, interview completed comes up as false.
could you provide the debug log of the interview?
I got a mate to have a go at the Tretakt, and he had it setup fine. He is using the most recent version of Z2M.
Once I work out how to update Z2M in my Homeseer, I'll have a go. Z2M is updated only moderately regularly by Homeseer, and is a couple of versions behind. But there is a manual way of updating it posted somewhere......
Downloaded Z2M 1.39.1 - no change despite a few attempts.
I have debug logging level on under Advanced, but all I can find in the logs is below:
error 2024-08-08 11:35:15zh:controller: Interview failed for '0x94b216fffec684a3 with error 'Error: Interview failed because can not get node descriptor ('0x94b216fffec684a3')' error 2024-08-08 11:35:15z2m: Failed to interview '0x94b216fffec684a3', device has not successfully been paired
Thanks for your help.
Dave
With debug logging activated, you should get much more logging during interview.
See this on how to enable debug logging.
Ah, got it thanks. Had set logging to debug level, but not to publish to front end....
Running Z2M version 1.39.1
Log had multiple attempts like below: [2024-08-09 07:56:30] debug: zh:controller:device: Interview - quirks check for 'undefined'-'undefined'-'Unknown' [2024-08-09 07:56:30] debug: zh:controller:device: Interview - quirks did not match [2024-08-09 07:56:30] debug: zh:controller:device: Interview - node descriptor request failed for '0x94b216fffec684a3', attempt 1
Interview failed message is: [2024-08-09 07:57:17] debug: zh:controller:device: Interview - failed for device '0x94b216fffec684a3' with error 'Error: Interview failed because can not get node descriptor ('0x94b216fffec684a3') at Device.interviewInternal (C:\Program Files (x86)\Homeseer HS4\Data\ZigbeePlus\zigbee2mqtt\node_modules\zigbee-herdsman\src\controller\model\device.ts:874:19) at Device.interview (C:\Program Files (x86)\Homeseer HS4\Data\ZigbeePlus\zigbee2mqtt\node_modules\zigbee-herdsman\src\controller\model\device.ts:755:13) at Controller.onDeviceJoined (C:\Program Files (x86)\Homeseer HS4\Data\ZigbeePlus\zigbee2mqtt\node_modules\zigbee-herdsman\src\controller\controller.ts:644:17)'
and: [2024-08-09 07:57:17] error: zh:controller: Interview failed for '0x94b216fffec684a3 with error 'Error: Interview failed because can not get node descriptor ('0x94b216fffec684a3')' [2024-08-09 07:57:17] error: z2m: Failed to interview '0x94b216fffec684a3', device has not successfully been paired
That is all I can find in the log file relating to the interview.
Thanks,
Dave
It seems the device does not stay in the network for some reason. One thing that may help is to try to pair the device closer to the coordinator. Otherwise we need to start sniffing to see what is going on: https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html
I've tried on multiple times to pair it right beside the coordinator - exactly the same result.
I don't have the hardware or skills to undertake or understand the sniffing I'm afraid.
Thanks, Dave
@Elephantoplasty I got two of these today. For me they connected to Z2M in an instant however Z2M identifies it as E2204 even though the physical device states E2217. I turned it on and off a few times and it works (you can see that at the end of the logs below). Here is the output of the logs (sorry there is a bunch of data from my other devices, I dont know how to separate it):
2024-08-14 18:13:42z2m: Zigbee: allowing new devices to join.
info 2024-08-14 18:13:42z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"434k3-1"}'
info 2024-08-14 18:13:50z2m: Zigbee: disabling joining new devices.
info 2024-08-14 18:13:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":false},"status":"ok","transaction":"434k3-2"}'
info 2024-08-14 18:13:52z2m: Zigbee: allowing new devices to join.
info 2024-08-14 18:13:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"434k3-3"}'
info 2024-08-14 18:13:57z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Front Light 3', payload '{"brightness":254,"color_mode":"color_temp","color_options":null,"color_temp":370,"linkquality":69,"power_on_behavior":null,"state":"ON","update":{"installed_version":65554,"latest_version":65554,"state":"idle"},"update_available":null}'
info 2024-08-14 18:14:03zh:controller: Interview for '0x94b216fffec685a2' started
info 2024-08-14 18:14:03z2m: Device '0x94b216fffec685a2' joined
info 2024-08-14 18:14:03z2m: Starting interview of '0x94b216fffec685a2'
info 2024-08-14 18:14:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x94b216fffec685a2","ieee_address":"0x94b216fffec685a2"},"type":"device_joined"}'
info 2024-08-14 18:14:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x94b216fffec685a2","ieee_address":"0x94b216fffec685a2","status":"started"},"type":"device_interview"}'
info 2024-08-14 18:14:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x94b216fffec685a2","ieee_address":"0x94b216fffec685a2"},"type":"device_announce"}'
info 2024-08-14 18:14:04zh:controller: Succesfully interviewed '0x94b216fffec685a2'
info 2024-08-14 18:14:04z2m: Successfully interviewed '0x94b216fffec685a2', device has successfully been paired
info 2024-08-14 18:14:04z2m: Device '0x94b216fffec685a2' is supported, identified as: IKEA TRETAKT smart plug (E2204)
info 2024-08-14 18:14:04z2m: Configuring '0x94b216fffec685a2'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/switch/0x94b216fffec685a2/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x94b216fffec685a2/set","device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"name":null,"object_id":"0x94b216fffec685a2","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"TRETAKT smart plug","exposes":[{"features":[{"access":7,"description":"On/off state of the switch","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"category":"config","description":"Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it.","label":"Power-on behavior","name":"power_on_behavior","property":"power_on_behavior","type":"enum","values":["off","on","toggle","previous"]},{"access":2,"category":"config","description":"Initiate device identification","label":"Identify","name":"identify","property":"identify","type":"enum","values":["identify"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"E2204","options":[{"access":2,"description":"Sets the duration of the identification procedure in seconds (i.e., how long the device would flash).The value ranges from 1 to 30 seconds (default: 3).","label":"Identify timeout","name":"identify_timeout","property":"identify_timeout","type":"numeric","value_max":30,"value_min":1},{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true}],"supports_ota":true,"vendor":"IKEA"},"friendly_name":"0x94b216fffec685a2","ieee_address":"0x94b216fffec685a2","status":"successful","supported":true},"type":"device_interview"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94b216fffec685a2/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:power-settings","name":"Power-on behavior","object_id":"0x94b216fffec685a2_power_on_behavior","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/select/0x94b216fffec685a2/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x94b216fffec685a2/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"enabled_by_default":true,"entity_category":"config","icon":"mdi:power-settings","name":"Power-on behavior","object_id":"0x94b216fffec685a2_power_on_behavior","options":["off","on","toggle","previous"],"origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/select/0x94b216fffec685a2/identify/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x94b216fffec685a2/set/identify","device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"device_class":"identify","enabled_by_default":false,"object_id":"0x94b216fffec685a2_identify","options":["identify"],"origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"unique_id":"0x94b216fffec685a2_identify_zigbee2mqtt"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/button/0x94b216fffec685a2/identify/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x94b216fffec685a2/set/identify","device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"device_class":"identify","object_id":"0x94b216fffec685a2_identify","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"payload_press":"identify","unique_id":"0x94b216fffec685a2_identify_zigbee2mqtt"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94b216fffec685a2/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x94b216fffec685a2_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x94b216fffec685a2/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Update state","object_id":"0x94b216fffec685a2_update_state","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/0x94b216fffec685a2/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","name":null,"object_id":"0x94b216fffec685a2_update_available","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'homeassistant/update/0x94b216fffec685a2/update/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x94b216fffec685a2"],"manufacturer":"IKEA","model":"TRETAKT smart plug (E2204)","name":"0x94b216fffec685a2","sw_version":"2.4.4","via_device":"zigbee2mqtt_bridge_0x00124b002e1ea10d"},"device_class":"firmware","entity_category":"config","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","json_attributes_template":"{\"in_progress\": {{ iif(value_json['update']['state'] == 'updating', 'true', 'false') }} }","json_attributes_topic":"zigbee2mqtt/0x94b216fffec685a2","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/0x94b216fffec685a2","name":null,"object_id":"0x94b216fffec685a2","origin":{"name":"Zigbee2MQTT","sw":"1.39.1","url":"https://www.zigbee2mqtt.io"},"payload_install":"{\"id\": \"0x94b216fffec685a2\"}","state_topic":"zigbee2mqtt/0x94b216fffec685a2","unique_id":"0x94b216fffec685a2_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":null,"state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
info 2024-08-14 18:14:04z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
info 2024-08-14 18:14:04z2m: Successfully configured '0x94b216fffec685a2'
info 2024-08-14 18:14:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":"previous","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
info 2024-08-14 18:14:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
info 2024-08-14 18:14:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":"previous","state":"ON","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
info 2024-08-14 18:14:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null}'
info 2024-08-14 18:15:50z2m: Zigbee: disabling joining new devices.
info 2024-08-14 18:15:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":false},"status":"ok","transaction":"434k3-4"}'
info 2024-08-14 18:16:11z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x94b216fffec685a2', payload '{"linkquality":153,"power_on_behavior":"previous","state":"OFF","update":{"installed_version":33816580,"latest_version":33816613,"state":"available"},"update_available":null}'
info 2024-08-14 18:16:11z2m: Update available for '0x94b216fffec685a2'
Screenshot from Devices tab:
Screenshot of map:
Having same problem here - just purchased one of these not knowing it is a E2217 and I am seeing no attempt to connect... any ideas?
I've tried with this plugged in next to the co-ordinator (Conbee III) and within a few metres distance with same result.
Actually putting debug on does appear to have some problem:
[2024-09-16 13:44:21] debug: zh:deconz:driver: DATA_INDICATION - sending read data request - SeqNr. 228
[2024-09-16 13:44:21] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - seqNr. 228 srcAddr: 0x94b216fffeed6213 destAddr: 0xffff profile id: 0x0 cluster id: 0x13 lqi: 216
[2024-09-16 13:44:21] debug: zh:deconz:frameparser: response payload: 129,76,174,19,98,237,254,255,22,178,148,142
[2024-09-16 13:44:21] debug: zh:deconz: Try to find network address of 94b216fffeed6213
[2024-09-16 13:44:21] debug: zh:deconz:frameparser: DATA_INDICATION RESPONSE - AssertionError [ERR_ASSERTION]: Failed to find srcAddr of message
Link
https://www.ikea.com/au/en/p/tretakt-plug-smart-10556517/
Database entry
{"id":4,"type":"Unknown","ieeeAddr":"0x94b216fffec684a3","nwkAddr":45848,"epList":[],"endpoints":{},"interviewCompleted":false,"meta":{},"lastSeen":1722743756080}
Comments
Trying to get the Australian version (E2217) of the Tretakt connected. The EU one is supported, but not the Australian one.
Multiple attempts at pairing fail, always with a reported support status as 'Null'. and manufacturer as 'Unsupported'.
I had a go at creating a new device, but when I looked for what it exposes, it just says 'Empty exposes definition'.
The External definition is empty.
This is about the limit of my abilities, so I'd appreciate someone with more skills having a go at getting this supported.
Much appreciated.
External definition