Beware: Z2M OTA update for TuYa TS0201 bricks device

I have 2 of these: Tuya TS0201 control via MQTT | Zigbee2MQTT

Zigbee2mqtt flagged both as having a firmware update available, so I did an OTA update on one of the devices. Following the update, zigbee2mqtt reported that the device is now one of these: Custom devices (DiY) LYWSD03MMC control via MQTT | Zigbee2MQTT

The display on the device and reported temperature stopped updating. Powercycling the device has stopped it working entirely (blank screen, no updates over zigbee).

It seems pretty clear that the device has been flashed with the firmware for an incompatible device and has been bricked as a result (I’m not sure how z2m knows where to get the firmware update from? I had assumed the device itself gave it a URI, but this incident makes me think that z2m has an internal database of firmware locations?).

I’m not sure it is recoverable - even if I had a way to load another firmware onto it, I don’t think TuYa makes the original firmware available for download.

Hi FireFury,

So the update was identified by what program exactly? Z2M? Home Assistant?
What was the way the update was initiated?

Z2m said there was and update (reported through both the z2m UI and HA’s updates list). The update was initiated by me pressing the “update available” button. There is no indication on the UI that itis installing firmware for a completely different device.

OK, so that means the the update wad provided to HA to store and make available on their servers for the community.
Perhaps you should put in an issue for this…
¯\(ツ)
Reporting issues - Home Assistant.