Logo
DP-WP001 PIR Motion Sensor (DP-WP001)
DP-WP001 PIR

Available from:
Amazon.com
Aliexpress.com






Install method:
Replace module

GPIO #Component
GPIO00 User
GPIO01 Tuya Tx
GPIO02 User
GPIO03 Tuya Rx
GPIO04 User
GPIO05 User
GPIO09 None
GPIO10 None
GPIO12 User
GPIO13 User
GPIO14 User
GPIO15 User
GPIO16 User
FLAG None
Configuration (old format, will be converted to new template when applied)
{"NAME":"TUYA PIR","GPIO":[255,107,255,108,255,255,0,0,255,255,255,255,255],"FLAG":0,"BASE":54}
This device uses XR3 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.

Unsupported chip

To have best results with this type of device I strongly recommend compiling a stripped down binary. There’s an unofficial binary, compiled from current development release. Flash at your own risk.

After initial setup type the following into the Tasmota console window:

Rule1 on TuyaReceived#data=55AA000000010101 do Power ON ENDON
Rule1 1
SetOption59 1
SetOption66 1
PowerOnState 0

This device on Tasmota 8.1 does not report a full TuyaMCU message, but it spams 55AA000000010101 when motion is detected. It also powers on the tywe3s module (which probably the reason for the speed mentioned below).

"00:00:20 TYA: Send "55aa00000000ff"
"00:00:20 {"TuyaReceived":{"Data":"55AA000000010000","Cmnd":0,"CmndData":"00"}}"

With a static IP set and connected to Homeassistant, it takes 6 seconds to register motion. Recommend setting Homeassistant to activate on PIR connect. Waiting for the actual message takes longer.