Tuya mmWave Presence Sensor (ZY-M100)
Tuya mmWave

Available from:

Install method:
Replace module

GPIO #Component
GPIO00 User
GPIO01 User
GPIO02 User
GPIO03 User
GPIO04 User
GPIO05 User
GPIO09 None
GPIO10 None
GPIO12 User
GPIO13 User
GPIO14 User
GPIO15 User
GPIO16 User
GPIO17 None
{"NAME":"ZY-M100","GPIO":[1,1,1,1,1,1,0,0,1,1,1,1,1,0],"FLAG":0,"BASE":54,"CMND":"SO97 1 | TuyaMCU 99,1 | TuyaMCU 75,104"}
This device uses WBR3 module which needs to be replaced with ESP8685-WROOM-01, ESP-12, ESP-C3-12F, ESP-12H, ESPC2-12 or ESP8684-WROOM-01C. Read more about module replacement in a detailed guide.

Identified with MCU Product ID: {"p":"k2h8vkj98fhvnpiv","v":"1.0.1","m":2,"mt":10,"n":0,"low":1}.



Please read TuyaMCU article to understand the terminology and configuration process.

Included template configures only the light sensor.


dpID Function Datatype Additional Comments
1 Presence state Enum 0 = none, 1 = presence
2 Sensitivity Integer Value range 0 .. 9
3 Near Detection Integer Value Range: 0 .. 1000, 1 = 0.01m
4 Far Detection Integer Value Range: 0 .. 1000, 1 = 0.01m
6 Self Check Result Enum 0 = checking, 1 = check_success, 2 = check_failure, 3 = others, 4 = comm_fault, 5 = radar_fault
9 Target Distance Integer Value Range: 0 .. 1000, 1 = 1cm
101 Detection Delay Integer Value Range: 0 .. 100, 1 = 0.10s
102 Fading Time Integer Value Range: 10 .. 1500, 1 = 1s
103 Unknown String Value is empty and cannot be changed
104 Light intensity Integer Value Range: 0 - 2000 in lx
106 Reset button Bool Reset button changes states between 0 and 1

Home Assistant Configuration

Add the ruleset

on tuyareceived#dptype4id1 do publish %topic%/presence %value% endon
on tuyareceived#dptype2id2 do publish %topic%/sensitivity %value% endon
on tuyareceived#dptype2id3 do publish %topic%/minrange %value% endon
on tuyareceived#dptype2id4 do publish %topic%/maxrange %value% endon
on tuyareceived#dptype4id6 do publish %topic%/selfcheck %value% endon
on tuyareceived#dptype2id9 do publish %topic%/distance %value% endon
on tuyareceived#dptype2id101 do publish %topic%/detection_latency %value% endon
on tuyareceived#dptype2id102 do publish %topic%/hold_time %value% endon
on tuyareceived#dptype1id106 do publish %topic%/button pressed endon

Enable the rule with Rule3 1 then import the blueprint into HA.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.