Logo

Zemismart Door Window Sensor

Zemismart Door Window

Available from:
Aliexpress.com



Manufacturer:
Zemismart.com

Flashed with:
Tuya-Convert

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

Template

{"NAME":"Zemismart","GPIO":[255,107,255,108,255,255,0,0,255,255,255,255,255],"FLAG":0,"BASE":54}

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

Configuration

If you’re using battery power you need to prevent the device from going to sleep by actuating the reed switch constantly (approximately every 5 seconds) during the configuration.

Change device to a TuyaMCU module (or apply the provided template, result is the same)

Module 54

Switch the device to battery powered sensor mode (fnId 51):

TuyaMCU 51,21

Disable multipress button options to prevent a device reset or Wi-Fi AP config mode, disable Power Cycle recovery, turn on TuyaReceived publish to MQTT and set switchmode to follow instead of toggle

Backlog SetOption1 1; SetOption65 1; SetOption66 1; SwitchMode 1

Check with TuyaMCU for the following configuration:

 {"TuyaMCU":[{"fnId":11,"dpId":1},{"fnId":51,"dpId":21}]}
Rule1 ON TuyaReceived#Data=55AA00050005650100010171 DO publish2 stat/lr_window1/STATUS open ENDON ON TuyaReceived#Data=55aa00050005650100010070 DO publish2 stat/lr_window1/STATUS close ENDON ON