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

New feature: Touchlink factory reset #2396

Open
Koenkk opened this issue Nov 23, 2019 · 16 comments
Open

New feature: Touchlink factory reset #2396

Koenkk opened this issue Nov 23, 2019 · 16 comments

Comments

@Koenkk
Copy link
Owner

@Koenkk Koenkk commented Nov 23, 2019

This feature allows to factory reset devices through Touchlink.

Requires latest dev branch

Documentation: link

Demo: video

Known issues

  • Seems to crash (sometimes) on CC2652R/CC1352P, firmware issue??
  • Only working for Hue bulbs now?
@tobimori

This comment has been minimized.

Copy link

@tobimori tobimori commented Nov 25, 2019

Not working for me. GU10 White&Color Newest Gen (with BT)

@lolorc

This comment has been minimized.

Copy link
Contributor

@lolorc lolorc commented Nov 25, 2019

oh i guess i just found an usage for my old cc2531 :)

Koenkk added a commit to Koenkk/zigbee-herdsman that referenced this issue Nov 26, 2019
@Koenkk

This comment has been minimized.

Copy link
Owner Author

@Koenkk Koenkk commented Nov 26, 2019

Also works for non hue bulbs now (tested with Innr and TRADFRI).

@sjorge

This comment has been minimized.

Copy link
Contributor

@sjorge sjorge commented Nov 26, 2019

So it only works when it is close to the controller right? You can do it like with join where you have the bulb near a router?

Minder annoyance but probably preferable than getting one of the hue remotes just to reset bulbs

@Koenkk

This comment has been minimized.

Copy link
Owner Author

@Koenkk Koenkk commented Nov 26, 2019

Yes it has to be close to the coordinator (demo: https://www.youtube.com/watch?v=kcRj77YGyKk).

@bascloin

This comment has been minimized.

Copy link

@bascloin bascloin commented Nov 29, 2019

Hi there,

I get the following error after sending the MQTT message (on 1.7.1+dev (commit #5e16581)):

info 2019-11-29 22:04:46: Starting touchlink factory reset...
error 2019-11-29 22:04:46: Failed to call 'BridgeConfig' 'onMQTTMessage' (TypeError: this.herdsman.touchlinkFactoryReset is not a function
at Zigbee.touchlinkFactoryReset (/opt/zigbee2mqtt/lib/zigbee.js:249:30)
at BridgeConfig.touchlinkFactoryReset (/opt/zigbee2mqtt/lib/extension/bridgeConfig.js:336:42)
at BridgeConfig.onMQTTMessage (/opt/zigbee2mqtt/lib/extension/bridgeConfig.js:314:44)
at Controller.callExtensionMethod (/opt/zigbee2mqtt/lib/controller.js:320:44)
at process._tickCallback (internal/process/next_tick.js:68:7))

Could you advise me on this?

@Koenkk

This comment has been minimized.

Copy link
Owner Author

@Koenkk Koenkk commented Nov 29, 2019

@bascloin in the zigbee2mqtt directory, execute rm -rf node_modules && npm install.

@bascloin

This comment has been minimized.

Copy link

@bascloin bascloin commented Nov 29, 2019

That was it... thanks a lot man!

@ejalal

This comment has been minimized.

Copy link

@ejalal ejalal commented Nov 30, 2019

Hi @Koenkk
Can't get this to work with the hassio zigbee2mqtt-edge image (Zigbee2mqtt 1.7.1+dev)
Actually the very first bulb (1 out of 4) paired with the stable release 1.7.1 without any problems, but all 3 other bulbs don't want to pair at all, this why I found this topic.
The bulbs blink when I try to factory reset them, but then they don't pair (I use CC2531 USB dongle)
My bulbs (all 4 brand new) are Hue white A60 bulb E27 bluetooth (8718699673147)
Really need some help here, but I can get you some logs if you want to take a look at it.

@ejalal

This comment has been minimized.

Copy link

@ejalal ejalal commented Nov 30, 2019

I just paired one of the failing bulbs with the Hue Bluetooth app and it paired fine, it's detected as a LWA001 in the app, but has a different model number printed on the bulb itself which is 9290018216 which is different from the one supported (8718699673147)

@sjorge

This comment has been minimized.

Copy link
Contributor

@sjorge sjorge commented Dec 1, 2019

Just reset a Philips Hue white and color ambiance E26/E27/E14 (9290012573A) using this methode.... I had join disable.

I then moved the bulb to the new spot, enabled join and turned on the bulb. It joined by using the nearby router and all is well.

So you can both reset and join at the coordinator or only do the reset step. This is great!

@ejalal

This comment has been minimized.

Copy link

@ejalal ejalal commented Dec 2, 2019

It did work in the end, I just had to literally reboot the raspberry pi, not just home assistant or zigbee2mqtt containers.

@Conphilpott

This comment has been minimized.

Copy link

@Conphilpott Conphilpott commented Dec 15, 2019

Brilliant addition, was finally able to get my hue go 2.0 light to enter pairing mode using this!

@stevevg

This comment has been minimized.

Copy link

@stevevg stevevg commented Dec 17, 2019

Worked like a charm on two Philips Hue 9290018216, using zigbee2mqtt 1.8.0 and home assistant (hassio) 0.100.3 on raspberry pi 3. Thanks!

@aurelijusrozenas

This comment has been minimized.

Copy link

@aurelijusrozenas aurelijusrozenas commented Dec 27, 2019

Hi. I don't suppose there would be a way to send factory reset message through the router version of CC2531? I would be handy walking around with powerbank and router and pairing light bulbs.

@Koenkk

This comment has been minimized.

Copy link
Owner Author

@Koenkk Koenkk commented Dec 27, 2019

No thats not possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.