devbis / z03mmc

Xiaomi LYWSD03MMC Zigbee Firmware
GNU General Public License v3.0
861 stars 43 forks source link

Cannot re-pair device #129

Open felipebraz opened 6 months ago

felipebraz commented 6 months ago

I flashed my device and in the first time worked just fine im Zigbee2MQTT but I had to change my dongle and now I cannot pair it again. Other devices (lights, outlets,...) was easy to pair again with the new network, but all Mi Thermometers I've flashed doesn't enter in pairing mode (Z2M can't find it). I've tried take off the battery (for more than 1 hour), short reset and GND (3, 5, 10 and 15 seconds), pray, light a candle,... All (3) flashed thermometers show the same behavior. Any ideas?

devbis commented 6 months ago

If the version is higher than 1.0.5, repairing in firmware was fixed. You may need to upgrade coordinator firmware. Otherwise, you could try to upgrade firmware to the latest version from this repo.

marclefevre commented 5 months ago

I'm in the same spot The device I have to repair shows: Firmware build date 20231215 Firmware version 3001-0117

Did you ever get a resolution on your issue? How do you do an OTA update to the current firmware?

felipebraz commented 5 months ago

I still have the issue. To be fair I didn't have the time to explore solutions yet...

devbis commented 5 months ago

I'm in the same spot The device I have to repair shows: Firmware build date 20231215 Firmware version 3001-0117

This firmware is from a fork, not from this repository.

TheNitek commented 3 months ago

Re-Pairing also didn't work for around half by devices. Using a different (stronger?) battery solved it for my.

sambarlick commented 2 months ago

@felipebraz did you ever solve this?

I have a similar issue, I'm having to recreate my ZigBee network and re-pair all my devices.

Mine simply won't go in to pair mode. I've replaced the battery tried shorting the GND and RST pins for 3, 5 and 10 seconds. I've also had the pins shorted whilst inserting the battery. The device simply won't go into pairing mode.

@devbis you mentioned updating the device firmware. Is there an OTA method of re-installing/updating the firmware if I can't get it to pair with my coordinator?

marclefevre commented 2 months ago

No, I never did find a solution for this. Furthermore, most of the 10 thermometers I purchased and converted have switched from Fahrenheit back to Celcius and refuse to go back to F so they have a lot less utility now.

On Sat, Jul 6, 2024 at 7:38 PM Samuel Myers @.***> wrote:

@felipebraz https://github.com/felipebraz did you ever solve this?

I have a similar issue, I'm having to recreate my ZigBee network and re-pair all my devices.

Mine simply won't go in to pair mode. I've replaced the battery tried shorting the GND and RST pins for 3, 5 and 10 seconds. I've also had the pins shorted whilst inserting the battery. The device simply won't go into pairing mode.

@devbis https://github.com/devbis you mentioned updating the device firmware. Is there an OTA method of re-installing/updating the firmware if I can't get it to pair with my coordinator?

— Reply to this email directly, view it on GitHub https://github.com/devbis/z03mmc/issues/129#issuecomment-2212070036, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAGGZPGEUOHHV2VTEKCM3LZLCEYDAVCNFSM6AAAAABEGJPUPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGA3TAMBTGY . You are receiving this because you commented.Message ID: @.***>

devbis commented 2 months ago

you mentioned updating the device firmware. Is there an OTA method of re-installing/updating the firmware if I can't get it to pair with my coordinator?

No, the only way to flash/update it without connecting to the network is using soldering to sws pin

kitor commented 2 months ago

Furthermore, most of the 10 thermometers I purchased and converted have switched from Fahrenheit back to Celcius and refuse to go back to F so they have a lot less utility now.

As I have the problem with pairing right now - it seems if you hold reset to gnd for a few seconds my device switches between celcius and Fahrenheit. In my case I was not able to pair device via router, but it paired via coordinator without any issues. ZHA shows my firmware as 0x11003001

devbis commented 2 months ago

To reset the device you need to short contacts for more than 5 seconds. It is described in the documentation.

dJani97 commented 3 weeks ago

Same issue here. I tried connecting the GND and Reset pins for >30 seconds, I also tried removing the battery before/during/after connecting the pins, but no luck. I also unplugged my routers, so only the coordinator remains on the network, still no luck.

I'm on v1.1.0

dJani97 commented 3 weeks ago

It turned out that I had been resetting the thermometer incorrectly. The reset works by connecting the two pins (ground & reset), but right next to the pins is the coin cell battery. The metal thingy I used to connect the pins also touched the battery, and touching the pins and the battery at the same time probably short-circuited it 😄 The screen flashed, so I thought the reset was triggered, but no, it wasn't.

After figuring that out, I used an insulated wire to touch ONLY the two pins and nothing else for about 10 seconds, and the device finally entered pairing mode.