Tuya TS0202 in Home Assistant
Motion & presence · Zigbee · Motion sensor
This device is known to both Zigbee integrations: Zigbee2MQTT has a definition for it, and ZHA has a quirk that adapts it.
Facts about this device
- Brand
- Tuya
- Model
- TS0202
- Device type
- Motion & presence
- Radio
- Zigbee
- Power
- Battery
- Reports itself as
- TS0202, _TZ3000_hktqahrq
- Also sold as
- Luminea ZX-5311, MiBoxer PIR1-ZB, Niceboy ORBIS Motion Sensor, Nous E2, Tesla Smart TS0202, Tuya 809WZT, Tuya HW500A, Tuya TY-ZPR06, Tuya ZMS01, Tuya ZP01
- Zigbee2MQTT
- Device page on zigbee2mqtt.io
How the device gets into Home Assistant
- official ZHA – with a Zigbee coordinator and the ZHA integration; the quirk the device needs is part of ZHA.
- official Tuya Zigbee gateway – paired with a Tuya Zigbee gateway and controlled through the Tuya cloud with the Tuya integration.
- add-on Zigbee2MQTT – Zigbee2MQTT runs as an add-on and passes the device on to Home Assistant over MQTT.
Known problems and fixes
Requests for ZHA support
- support requested The TS0202 switch (by _TZ3040_bb6xaihh) is not supported. Adding support would let ZHA recognize and control it properly.
Changes proposed for ZHA
- pull request A pull request proposes adding support for Tuya TS004F and TS0202 model variants, which would allow Home Assistant to correctly identify and interact with these devices.
- pull request A Tuya PIR motion sensor is not yet supported by ZHA. The proposed change would allow ZHA to detect motion using this sensor.
ZHA quirks for this device
Quirk included in ZHA Recommended quirk
Part of ZHA – Home Assistant uses it on its own, nothing to install.
Adds: Motion sensitivity Minimum range Maximum range Target distance Distance tracking Presence sensitivity Fading time Self test result LED indicator Detection delay +36
Source:
zha-device-handlers · since zha-quirks 2.2.2
Signature: _TZ3040_bb6xaihh / TS0202
15 more quirks for this device
-
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5594 · by @zigpy-review-bot · October 28, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5514 · by @jabla · October 22, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5455 · by @bestouff · October 13, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5442 · by @YuvalWS · October 11, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5404 · by @yatesy · October 5, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5359 · by @lenucksi · September 20, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5321 · by @alisander · September 11, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5123 · by @gilsonmandalogo · June 25, 2026 · 1 approval -
Quirk proposed, not merged yet
_TZ3000_lf56vpxj/TS0202zha-device-handlers · pull request #5086 · by @FerrumLogic · June 12, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #5051 · by @Roth-Development · June 1, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #4968 · by @nschimme · May 2, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #4962 · by @nazar-pc · April 30, 2026 -
Quirk proposed, not merged yet
_TZ3040_bb6xaihh/TS0202zha-device-handlers · pull request #4027 · by @ausfas · April 25, 2025 -
Custom quirk shared in an issue
_TZ3040_bb6xaihh/TS0202zha-device-handlers · issue #4310 · by @rbungee · September 26, 2026 -
Custom quirk shared in an issue
_TZ3040_bb6xaihh/TS0202zha-device-handlers · issue #4310 · by @nschimme · February 7, 2026 · 1 approval
Alternatives
The same job from other makers – devices of the same type and radio that work with Home Assistant too.
-
SONOFF SNZB-06P
Motion & presence · Zigbee · Zigbee occupancy sensor
Zigbee2MQTT
ZHA quirk
4 open reports
Review
-
Aqara RTCZCGQ11LM
Motion & presence · Zigbee · Presence sensor FP1
Zigbee2MQTT
ZHA quirk
1 open report
Review
-
HOBEIAN ZG-204ZL Motion & presence · Zigbee · Luminance motion sensor Zigbee2MQTT ZHA quirk 1 open report Review
-
Philips 9290030675
Motion & presence · Zigbee · Hue motion sensor
Zigbee2MQTT
ZHA quirk
1 open report
Review
Sources: Zigbee2MQTT, ZHA quirks, Z-Wave JS, the Matter certification database, Shelly, ESPHome, Tasmota, Tuya Local and the issue trackers on GitHub. Reports are assigned to a device by the identifiers they contain; the sentences come from the integration pages, where a language model writes them from the titles.
