Tuya TS0201 temperature sensor - OTA not working

Hi folks

One of my Tuya TS201’ (it’s new) has an OTA update but it keeps failing.

Tried re-adding to Z2M, pressing the button to wake it up, and removing the batteries but nothing works.

Zigbee log says: 2024-12-04 12:01:14 z2m: Update of ‘Office Sensor LCD’ failed (Device didn’t respond to OTA request)`

Any ideas? Many thanks.

2 Likes

Same here trying to OTA the TS0201 :

z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/update', payload '{"data":{"id":"ZB Temp <mark>Salle</mark>"},"error":"Update of 'ZB Temp <mark>Salle</mark>' failed (Device didn't respond to OTA request)","status":"error","transaction":"uiowv-1"}'

Device state :

{
    "battery": 100,
    "humidity": 44.5,
    "last_seen": "2024-12-07T19:38:25+01:00",
    "linkquality": 61,
    "temperature": 22.8,
    "update": {
        "installed_version": 268513281,
        "latest_version": 285224961,
        "state": "available"
    },
    "update_available": true,
    "voltage": null
}

Same issue.

The strange thing is I have 8 TS0201 sensors but only 2 of them show an OTA update:

Just a slight warning - I had the same issue in Z2M. I solved it by pressing the button every 2-5s for the OTA time. Finally got 100% - but the display wont respond anymore. Battery removal etc. doesnt help at all, guess my device is bricked. Be warned…

€: Interestingly it seems like the device reported himself right after the OTA as a " Custom devices (DiY) LYWSD03MMC". However, its a total loss, no chance to get it alive again :frowning:

Same bricking happened here. For a short period of time after OTA upgrade, the device presented itself as a LYWSD03MMC unit.

I’ll look into flashing the device through the onboard connectors some time soon.

2 Likes

Thanks for the warning guys :+1:
It looks like the OTA Z2M is offering is not concerning this model…
Does anyone knows how Z2M finds its OTA updates ?

I wish I’ve found this thread before bricking my device as well. I just open this issue in the Z2M repo to see if anything can be done about it, or at least if this update can be removed from Z2M so it doesn´t affect more people: Display stopped working and device is recognized as a different device in Z2M after upgrading firmware of TS0201 · Issue #25207 · Koenkk/zigbee2mqtt · GitHub

1 Like

Oh, I’m glad someone updated the Tuya TS0201 control via MQTT | Zigbee2MQTT page … as was just looking how to upgrade … having spent all day migrating from ZHA to Zigbee2MQTT …

1 Like

FTR, I’m able to flash other firmware to the unit with the UART connectors. I just can’t find the correct firmware, so while I am again able to talk to the unit over Zigbee it doesn’t have the code for the correct sensors and/or connected pins.

@elyobelyob yes I updated it yesterday to avoid more people having the same issue, and I am working with @Koenkk to try and remove the update so it doesn´t affect more people.
It seems the device is still connected to the zigbee network, so hopefully we will also be able to revert the fw to the previous version and fix the devices that have already been updated :crossed_fingers:

@bruberg I added a screenshot to the github issue with the firmware id, maybe that can help: Display stopped working and device is recognized as a different device in Z2M after upgrading firmware of TS0201 · Issue #25207 · Koenkk/zigbee2mqtt · GitHub