Zigbee2MQTTZigbee2MQTT
  • Getting started
  • Supported Adapters
  • Supported Devices
  • Installation
  • Configuration
  • Usage
  • FAQ
Devices
  • Zigbee

    • Zigbee network
    • Improve network range and stability
    • Sniff Zigbee traffic
    • Create a CC2530 router
  • Support new devices

    • Support new devices
    • Support new Tuya devices
    • Find Tuya Data Points
  • Remote Adapter

    • Connect to a remote adapter
    • Connect to a remote Sonoff ZBBridge
  • More

    • 3D cases
    • External converters
    • External extensions
    • Switch to the dev branch
    • Get Tuya and Xiaomi OTA url
  • Forum
  • Discord
  • Issues
  • Donate
GitHub
GitHub (docs)
  • Getting started
  • Supported Adapters
  • Supported Devices
  • Installation
  • Configuration
  • Usage
  • FAQ
Devices
  • Zigbee

    • Zigbee network
    • Improve network range and stability
    • Sniff Zigbee traffic
    • Create a CC2530 router
  • Support new devices

    • Support new devices
    • Support new Tuya devices
    • Find Tuya Data Points
  • Remote Adapter

    • Connect to a remote adapter
    • Connect to a remote Sonoff ZBBridge
  • More

    • 3D cases
    • External converters
    • External extensions
    • Switch to the dev branch
    • Get Tuya and Xiaomi OTA url
  • Forum
  • Discord
  • Issues
  • Donate
GitHub
GitHub (docs)

Tuya ME201WZ

ModelME201WZ
VendorTuya
DescriptionWater level sensor
Exposesliquid_state, liquid_level_percent, liquid_depth, voltage, max_set, min_set, liquid_depth_max, relay_switch, pump_mode, pump_control, version
PictureTuya ME201WZ

Observations after installing the device (based on Sigalou's documentation)

  • "Liquid depth max" is the actual max liquid level (distance from the bottom of the tank to the max level). The comment "Height from sensor to liquid level" is incorrect.
  • "Liquid Level %" is relative to "Liquid depth max".
  • "Mini set" and "Max set" are both relative to "Installation height".

Example:

  • Sensor installation height: 1.70 m (from bottom of tank)
  • Max water level: 1.65 m
  • Settings:
    • Max set = 97%
    • Mini set = 5%
    • Installation Height = 1.70 m
    • Liquid Max Depth = 1.65 m
  • Liquid state = "low" below 0.085 m (8.5 cm) → 1.70 × 0.05
  • Liquid state = "high" above 1.65 m → 1.70 × 0.97 (prevents overflow)
  • Example reading: water level 1.42 m → sensor reports 1.42 m, 86% (1.65 × 0.86 = 1.419 → 1.42), liquid state = "normal"

Options

How to use device type specific configuration

  • voltage_calibration: Calibrates the voltage value (percentual offset), takes into effect on next report of device. The value must be a number.

  • voltage_precision: Number of digits after decimal point for voltage, takes into effect on next report of device. This option can only decrease the precision, not increase it. The value must be a number with a minimum value of 0 and with a maximum value of 3

Exposes

Liquid state (enum)

Liquid level status. Value can be found in the published state on the liquid_state property. It's not possible to read (/get) or write (/set) this value. The possible values are: low, normal, high.

Liquid level percent (numeric)

Liquid level ratio. Value can be found in the published state on the liquid_level_percent property. It's not possible to read (/get) or write (/set) this value. The unit of this value is %.

Liquid depth (numeric)

Liquid depth. Value can be found in the published state on the liquid_depth property. It's not possible to read (/get) or write (/set) this value. The unit of this value is m.

Voltage (numeric)

Power supply voltage. Value can be found in the published state on the voltage property. It's not possible to read (/get) or write (/set) this value. The unit of this value is V.

Max set (numeric)

Liquid maximum percentage. Value can be found in the published state on the max_set property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"max_set": NEW_VALUE}. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

Min set (numeric)

Liquid minimum percentage. Value can be found in the published state on the min_set property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"min_set": NEW_VALUE}. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

Liquid depth max (numeric)

Distance from sensor to liquid surface. Value can be found in the published state on the liquid_depth_max property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"liquid_depth_max": NEW_VALUE}. The minimal value is 0.1 and the maximum value is 10. The unit of this value is m.

Relay switch (binary)

Value can be found in the published state on the relay_switch property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"relay_switch": NEW_VALUE}. If value equals ON relay switch is ON, if OFF OFF.

Pump mode (enum)

Value can be found in the published state on the pump_mode property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"pump_mode": NEW_VALUE}. The possible values are: supply, drainage.

Pump control (enum)

Value can be found in the published state on the pump_control property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"pump_control": NEW_VALUE}. The possible values are: auto, manual.

Version (text)

Value can be found in the published state on the version property. It's not possible to read (/get) or write (/set) this value.

Help to make the docu better and edit this page on Github ✌
Page was last updated on: 6/30/26, 7:20 PM