Logo
Zemismart Door Window Contact Sensor
Zemismart Door Window

Available from:
Aliexpress.com





Manufacturer:
Zemismart.com

Install method:
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
Configuration (old format, will be converted to new template when applied)
{"NAME":"Zemismart","GPIO":[255,107,255,108,255,255,0,0,255,255,255,255,255],"FLAG":0,"BASE":54}
WARNING: New Tuya devices have replaced their Wi-Fi module with one incompatible with Tasmota!!!
Tuya-Convert might not be possible for this device since the template was added (2019-12-24).

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

Flashing

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.

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/%topic%/STATUS open ENDON ON TuyaReceived#Data=55aa00050005650100010070 DO publish2 stat/%topic%/STATUS close ENDON ON

Don’t forget to turn on the rule: Rule1 1