Logo
Nedis SmartLife Water Detector Water Sensor (WIFIDW10WT)
Nedis SmartLife Water Detector

Available from:
Amazon.de
Idealo.de
Vikiwat.com



Manufacturer:
Nedis.com

Install method:
USB to Serial

GPIO #Component
GPIO00 None
GPIO01 Tuya Tx
GPIO02 None
GPIO03 Tuya Rx
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 None
GPIO13 None
GPIO14 None
GPIO15 None
GPIO16 None
GPIO17 None
Configuration
{"NAME":"Nedis WIFIDW10WT","GPIO":[0,2272,0,2304,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":54,"CMND":"TuyaMCU 51,21"}

Credit goes to https://github.com/uspass/Tuya-Water-Leak-Sensor

Initial configuration:

Module 54
TuyaMCU 51,21

Backlog SetOption1 1; SetOption65 1; SetOption36 0; SwitchMode 1

Enable publishing to MQTT:

Rule1
  ON TuyaReceived#Data$|6501000101 DO publish2 stat/%topic%/WATER ON ENDON
  ON TuyaReceived#Data$|6501000100 DO publish2 stat/%topic%/WATER OFF ENDON
Rule2
  ON TuyaReceived#Data$|6604000100 DO publish2 stat/%topic%/BATT 100 ENDON
  ON TuyaReceived#Data$|6604000101 DO publish2 stat/%topic%/BATT 75 ENDON
  ON TuyaReceived#Data$|6604000102 DO publish2 stat/%topic%/BATT 50 ENDON
  ON TuyaReceived#Data$|6604000103 DO publish2 stat/%topic%/BATT 1 ENDON
Backlog Rule1 1; Rule2 1

Enable Home Assistant integration:

Rule3
  ON system#boot do publish2 homeassistant/binary_sensor/%macaddr%_fire/config {"name":"Kitchen Water Leak","state_topic":"stat/%topic%/WATER","device_class":"moisture","unique_id":"%macaddr%_water","device":{"connections":[["mac","%macaddr%"]]}} ENDON
  ON system#boot do publish2 homeassistant/sensor/%macaddr%_battery/config {"name":"Kitchen Water Leak Alarm Battery","state_topic":"stat/%topic%/BATT","device_class":"battery","unique_id":"%macaddr%_batt","device":{"connections":[["mac","%macaddr%"]]}} ENDON
Rule3 1