Tuya TS0201 temperature sensor

Well, I have no idea what I have done. The first sensor I powered up I fiddled with several device types in IDE, fiddled with the reset button and adding to Smartthings a few times (not realizing it was auto-adding fairly quickly), but now I have it reporting Temp, Humidity, and Battery reasonably well. Powered up a second unit, and I cannot get it to send anything other than Battery.

Any luck with them ?. I have 4 of them sitting on my desk not reporting anything. They pair but don’t send any information or capabilities

It work with zigbee2mqtt

I have the TS0201 sensor but without the display, it still says TZ3000… . It runs on 2 AA batteries and has exactly the same problem. Well, almost exactly, I haven’t seen any update from it except when pairing. Short press on the reset button also does not do anything.


The sensor was sitting outside for about 20h with wild temperature swings and still no update.

I have the same sensor (TS0201 _TZ3000_xr3htd96). For pairing with ZigBee hub (I use SONOFF ZigBee 3.0 USB Dongle Plus) you need to press long (5 seconds) and let light will start to blink. Then it will connect to hub.

But I have problems with reporting readings. It works fine for few hours, after that it stop sending measurements. If I short press button it sends data again and it is working for next few hours.

Any ideas how to fix that?


1 Like

Hi everybody.

I also had a non reporting TS0201

I downloaded this quirk and put it in my custom quirk folder and now the device seems to be working.

Reporting temp and humidtiy periodically. (ZHA integration)

I will report back if it keeps it up for the long term.


This quirk is not suited for the temp sensor I have. It’s suited for the sensor with display. The sensor I have works without it.

1 Like

Hi there. Í have the same sensor as you. See my post below. Perhaps you will also have success with the quirk.

Temp keeps updating. Humidity not so much. No change in hours.


Humidity is also reporting correctly now. I think the sensor is working as it should now.

Thank you @TonkaNL. I’ve installed the quirk but now cannot [physically] find the sensor anymore :frowning:

EDIT: found it, hiding in a pocket! So far, with the quirk installed, I haven’t seen any update for the past 10 minutes, though it had a few fast ones, initially, every few seconds.

Can you please click on the device and on the three dots in the 'device info" section click on “download diagnostics” ?
On mine I get:

  "data": {
    "ieee": "**REDACTED**",
    "nwk": 29945,
    "manufacturer": "_TZ3000_xr3htd96",
    "model": "TS0201",
    "name": "_TZ3000_xr3htd96 TS0201",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4417, 

Maybe I applied the quirk in a wrong way. It is placed in /config/custom_zha_quirks/ts0201.py and configuration yaml has:

  custom_quirks_path: /config/custom_zha_quirks/

EDIT: strange, it seems to work now, just sometimes waits 30 mins before reporting temperature or humidity, other times only 7 minutes.

The reporting interval of my device varies based on the delta of the reported value. If no significant change is measured, no update is given. It can take hours. Try to warm up or cool the device and see what happens.

I have an additional line in mij config:

enable_quirks: true
custom_quirks_path etc etc

I’ll check the logs at home.


Logs are the same. Also Quirk not applied.

Still, device works great.

@TonkaNL Have you first paired your sensor with Tuya HUB? As @dmircea above was describing? I’ve no access to Tuya HUB. :frowning:

I installed quirk, left it few hours but not temperature nor humidity.

Logs of device: https://www.tomasek.cz/stuff/TZ3000_qaaysllp.TS0201.logs
Debug info: https://www.tomasek.cz/stuff/zha-d55fe5255ba1e51266b8fa7ee240e7d9-_TZ3000_qaaysllp_TS0201-83e2a019b3e99582b93f8c6e4bacb665.json.txt

Hi Jan,

I do not have a Tuya hub. I have a Conbee II and use ZHA.

I have some questions:

Do you have this device?


I have this device and it can only measure temp and humidity.

It’s a TZ3000_xr3htd96

And you are sure your custom quirks work? Do you have other custom quirks that work too?

I’ve this device

it is identified as _TZ3000_qaaysllp TS0201. I thought you have the same :frowning:

I’m not 100% sure that quirks works, but I’m sure that Home Assistant knows about them. It is mentioned in device details:
and it is also in logs (after I enabled debug):

[core-ssh config]$ grep quirk home-assistant.log |grep custom
2023-02-12 12:06:24.636 DEBUG (MainThread) [zhaquirks] Loading custom quirks from /config/custom_zha_quirks
2023-02-12 12:06:24.639 DEBUG (MainThread) [zhaquirks] Loading custom quirks module ts0201
2023-02-12 12:06:44.260 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:82:fd:be:5d:e9: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
2023-02-12 12:06:44.262 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:e9:13:a8:3c:c8: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
2023-02-12 12:06:44.268 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:c9:c2:32:c5:c7: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
2023-02-12 12:06:44.270 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:d5:88:06:85:46: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
2023-02-12 12:06:44.272 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:41:f0:ed:26:28: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
2023-02-12 12:06:44.288 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:91:53:0c:3a:ab: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
2023-02-12 12:06:44.290 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for a4:c1:38:3d:68:0f:bf:d3: <class 'zhaquirks.tuya.ts000x.Switch_4G_GPP'>
2023-02-12 12:08:55.639 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for b4:e3:f9:ff:fe:07:b1:98: <class 'ts0201.NeoTemperatureHumidtyIlluminanceSensor'>
2023-02-12 12:19:59.181 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for b4:e3:f9:ff:fe:07:b1:98: <class 'ts0201.NeoTemperatureHumidtyIlluminanceSensor'>
2023-02-12 12:22:34.199 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for b4:e3:f9:ff:fe:07:b1:98: <class 'ts0201.NeoTemperatureHumidtyIlluminanceSensor'>
2023-02-12 12:36:13.419 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for b4:e3:f9:ff:fe:07:b1:98: <class 'ts0201.NeoTemperatureHumidtyIlluminanceSensor'>

But device is not reporting temp/humidity, only lux. :frowning:


In my ZHA integration, it does not show that the custom quirk is working.

But the temperature and humidity are reported. Perhaps try again without the custom quirk?

Hi @semik,

I have found on the GitHUB here a way to make this sensor report temperature and humidity without using a Tuya hub.

In short you go to Settings → Device & Services → Integrations → ZHA → Devices → Your sensor, then press the 3 dots, select “Manage zigbee device” → Clusters
Under dropdown box “Attributes of the selected cluster”:

  1. Select item no 1 from the list below (‘manufacturer (id: 0x0004)’)
  2. Press briefly the reset button on top of your device
  4. Make sure some value is populated in the “Value” box above (takes roughly a second or so)

Repeat steps 1. to 5. for all the items in the list below:

  1. ‘manufacturer (id: 0x0004)’
  2. ‘zcl_version (id 0x0000)’
  3. ‘app_version (id 0x0001)’
  4. ‘model (id 0x0005)’
  5. ‘power_source (id 0x0007)’
  6. ‘attr_reporting_status (id 0xfffe)’

After this my device started to report the temperature and humidity values.

I hope this helps you!

There are quite a few sensors which identify as TS0201.
This zigbee one is “TS0201 by _TZ3000_xr3htd96”:

(I think this is the same as the one in posts from @TonkaNL and @ha-username above - its branded as Aubess.)
When mine work they report in 0.1°C steps but only at 30 minute intervals. More importantly one of them regularly goes to sleep.
(Maybe they are OK if you use a Tuya hub, and maybe OK with a quirk. But as a beginner I have no experience with quirks.)

However the wifi ones that look the same are pretty good:

And they are very cheap (£7.99 from eBay in the UK).
But they’re a pain to set up especially if you try the Local Tuya integration!
And obviously zigbee is much more preferrable than wifi (as I have recently learnt :grinning:).

I have the exact one above but also the round ones. Somehow, they report the temperature randomly, perhaps only on big swings, but I am frequently 4h+ without any temperature data from some of them, both round and rectangle ones.


Round again:

Rectangle, but usually it also has hour-long gaps:

Nexus 433Mhz sensor, not recommended, just for comparison:

I would recommend to stay away from any ‘cheap’ zigbee sensors if possible, I’d hoped they would be more reliable than 433Mhz + OpenMQTTGateway.

Not sure about WiFi ones, but it would be cheap to add a DHT11 sensor to an ESP8266 module running somewhere (we all have a few of them) and get more reliable data.

EDIT: same as @TonkaNL, the quirks do not seem to get applied but the ZigBee devices seem to work, randomly. Perhaps there’s some setting that would tell the sensor how often it should update, once it’s seen online.

Hi @ha-username what is the exact number of your round ones?
Is it TS0201 by _TZ3000_yd2e749y?

TS0201 by _TZ3000_dowj6gyi is the first one
TS0601 by _TZE200_a8sdabtg is the second one
TS0201 by _TZ3000_xr3htd96 is the third one

EDIT: seems that the shape is not an indication of the model number