Thank you for investigating this and identifying the firmware image.
I would like to clarify how this situation occurred, because I believe it highlights a serious problem with the safeguards in deCONZ’s OTA update mechanism.
How it started
My original intention was to update several IKEA Zigbee devices, particularly a door/window sensor affected by a battery drain issue. These were the devices I actually wanted to update.
During that process, however, several Tuya-based devices were inadvertently included in the OTA update procedure. I certainly had no intention of flashing experimental or potentially incompatible firmware onto them.
The four affected GU10 bulbs originally reported:
Firmware offered and transferred by deCONZ:
-
Local filename: 1002-1602-00000047-41ebf9.zigbee
-
Manufacturer Code: 0x1002
-
Image Type: 0x1602
-
Firmware Version: 0x00000047 (71)
-
Original image: 1662693814-oem_mg21_zg_nh_win_cover_relay_OTA_1.0.7.bin
-
Intended manufacturer identifier in the OTA index: _TZ3000_1dd0d5yi
After the update, all four GU10 bulbs identified themselves as TS130F window-covering devices instead of TS0505B RGBW lights. Their normal lighting functions no longer work.
Two additional Tuya-based smart plugs became unusable, as did a TONGOU DIN-rail relay, although the exact firmware and cause of failure for those three devices have not yet been conclusively established.
My concern is not simply that firmware updates can fail.
We are routinely encouraged to keep firmware up to date. When an official application offers an update, users reasonably expect that the application has performed meaningful compatibility checks.
In this case, the firmware index explicitly identifies a different Tuya manufacturer string from the one reported by my GU10 bulbs. Nevertheless, deCONZ offered the firmware, and the bulbs apparently accepted it.
I understand that Tuya’s reuse of generic Zigbee model identifiers and firmware identifiers makes reliable matching difficult. But if this problem is already known, why does deCONZ continue to offer these images without additional safeguards?
Would it not be safer to exclude Tuya devices from automatic OTA discovery unless their precise model and manufacturer identifiers can be verified?
At the very least, I would expect a prominent warning requiring explicit confirmation, for example:
WARNING: This firmware has NOT been verified as compatible with your specific device. Installing it may permanently render the device unusable.
WARNING: The device manufacturer/model identifier does NOT match the firmware’s declared target device.
WARNING: ARE YOU ABSOLUTELY SURE YOU WANT TO PROCEED?
Perhaps three warnings sound excessive, but losing seven devices during what began as routine maintenance of IKEA sensors certainly puts that into perspective.
I appreciate that the underlying problem may originate with Tuya’s inconsistent identifiers rather than with the firmware repository itself. Nevertheless, deCONZ is the software that presents the update as available and initiates the flashing procedure.
I believe that creates a reasonable expectation that incompatible firmware will either be rejected or, at the very least, clearly identified as potentially dangerous before installation.
My main concern now, besides recovering the affected devices, is preventing the same thing from happening to other users.
Ultimately, this leaves me with three possible conclusions: avoid Tuya devices, avoid deCONZ, or avoid both.
For the time being, I am inclined towards the first option. I would genuinely prefer to keep it that way.