itead / Sonoff_Zigbee_Dongle_Firmware

155 stars 18 forks source link

[REQUEST] Touchlink (touchlinking) support enabled in Zigbee Coordinator NCP firmware image for Dongle-E #6

Open Hedda opened 1 year ago

Hedda commented 1 year ago

Note! This request is for ZDongle-E with Zigbee Coordinator firmware (and not related to request with "Zigbee Router firmware").

@Daniel-zhan-itead Can you enable "touchlink" (touchlinking) support in Zigbee Coordinator NCP firmware image for Dongle-E?

https://www.zigbee2mqtt.io/guide/usage/touchlink.html

https://github.com/Koenkk/zigbee-herdsman/pull/551

https://github.com/Koenkk/zigbee2mqtt.io/pull/1570

Question about ezsp adapter touchlink for Zigbee Light Link (ZLL) devices with the Sonoff ZBDongle-E was brought up here:

https://github.com/Koenkk/zigbee-herdsman/issues/319

kirovilya then wrote in this other thread that the current firmware for ITead's new "ZBDongle-E" does not have Touchlink support enabled in firmware but that the ezsp adapter for zigbee-herdsman/Zigbee2MQTT/IoBroker does support touchlink and touchlinking functionality does work on other efr32 adapters:

https://github.com/Koenkk/zigbee2mqtt/discussions/13893

Originally posted by @kirovilya in https://github.com/Koenkk/zigbee2mqtt/discussions/13893#discussioncomment-3591453

I know that in other dongles on efr32, the touchlink functionality works. But in the firmware for sonoff dongle-e it is disabled (according to my information). To make it work - you need another firmware (I don’t know which one yet).

PS: For comparison, a other Zigbee2MQTT user managed to pair a "SM-011" based ZYZBP008/ZB-GW04 USB dongle via touch link and it also is using an EFR32MG21 chip but with a firmware compiled by https://github.com/xsp1989/zigbeeFirmware/

https://github.com/Koenkk/zigbee-herdsman/issues/319#issuecomment-1241133124

Loic691 commented 1 year ago

Hi Touchlink is working (tested on hue device) with EZSP firmware 7.1.1.0 build 273 (EZSP v9)

Hedda commented 1 year ago

Touchlink is working (tested on hue device) with EZSP firmware 7.1.1.0 build 273 (EZSP v9)

Assuming you mean unofficial firmware from grobasoz and not official firmware from ITead?

https://github.com/grobasoz/zigbee-firmware/issues/25

https://github.com/grobasoz/zigbee-firmware/

Also assume that you only tested with Zigbee2MQTT or Home Assistant’s ZHA integration (which both added support for EZSP v9) and not OpenHAB’s ZigBee Binding which have not yet added EZSP v9 support as far as I know. OpenHAB Zigbee depends on zsmartsystems framework/libraries:

https://github.com/openhab/org.openhab.binding.zigbee/issues/778

https://github.com/zsmartsystems/com.zsmartsystems.zigbee/issues/1332

I do not recommend that ITead release official 7.1.x based firmware until EZSP v9 have been proven mature and to be stable in all those three Zigbee solutions. Until then it will be better for ITead to release firmware based on 6.7.x, 6.10.x, and/or 7.0.x as all those still use EZSP v8 which is mature in all popular DIY open source home automation solutions.

Loic691 commented 1 year ago

Hi @Hedda Yes i use this grobasoz 7.1.1 firmware seams specific to sonoff ZBDongle E https://github.com/grobasoz/zigbee-firmware/tree/master/Sonoff-ZBBridge I changed firmware to enabe touchlink features because i had no other choice to reset my hue devices.

I used the kirovilya method to updoad it without problem. https://github.com/grobasoz/zigbee-firmware/issues/25#issuecomment-1241050101

Yes I don't think itead have 7.x.x firmware now yes again I use only Z2M... Neither ZHA nor OpenHAB

Loic691 commented 1 year ago

I can test it but don't found binary file to flash... There is also the 7.1.2 wich seams more stable ?