zha-device-handlers
zha-device-handlers copied to clipboard
[Device Support Request] Add support for Tuya TS0601 soil sensor (_TZE200_npj9bug3)
Hi! I'd like to request proper ZHA support for a Tuya TS0601-based soil monitoring sensor.
Model details:
Manufacturer: _TZE200_npj9bug3
Model: TS0601
IEEE: a4:c1:38:b5:11:c0:d8:cb
Power source: Battery
Quirk applied: No
Expected sensor entities:
🌡️ Air temperature (device_class: temperature)
💨 Air humidity (device_class: humidity)
🌱 Soil moisture (device_class: moisture)
🔋 Battery level (device_class: battery)
Current behavior in ZHA:
One temperature sensor — seems to work correctly (likely air temp)
One humidity sensor — this is actually soil moisture
No air humidity sensor is exposed
Battery sensor works
No quirk is currently applied
Tested behavior: I confirmed the "humidity" sensor is soil moisture by inserting the probe into water — values jumped to 80%, confirming it's soil-based, not ambient air.
What’s needed:
A ZHA quirk that:
Properly decodes all 3 sensor readings from Tuya’s custom cluster (air temp, air humidity, soil moisture)
Maps soil moisture to device_class: moisture
Maps air humidity to device_class: humidity
Ensures these entities are correctly named and exposed
Diagnostics: I have the full HA diagnostic .json for this device attached. Happy to help test a proposed quirk.
Thanks a lot!
zha-01JKEB6Y059TR72MGYSTRKXH8M-_TZE200_npj9bug3 TS0601-005aa5000a31519d02675027ee0098b1.json