-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Link
https://www.alza.cz/moes-temperature-and-humidity-probe-zigbee-d12938972.htm
Database entry
{"id":10,"type":"EndDevice","ieeeAddr":"0xa4c138e85b0d7b13","nwkAddr":4777,"manufId":4417,"manufName":"_TZE284_9yapgbuv","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0,60672],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65487":14400,"65503":"�3�0i","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","appVersion":77,"manufacturerName":"_TZE284_9yapgbuv","zclVersion":3,"modelId":"TS0601","powerSource":3}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":-383675228},"lastSeen":1767291974514}
Zigbee2MQTT version
2.7.2 (unknown)
External converter
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const definition = {
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE284_9yapgbuv'}],
model: 'TS0601',
vendor: 'Tuya',
description: 'Temperature & humidity sensor',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.temperature(), e.humidity(),],
meta: {
tuyaDatapoints: [
[1, 'temperature', tuya.valueConverter.divideBy10],
[2, 'humidity', tuya.valueConverter.raw],
],
},
};
module.exports = definition;What does/doesn't work with the external definition?
Overview
This converter adds support for the Zigbee (Tuya) temperature & humidity sensor identified as:
modelID: TS0601 (ZTH01)
manufacturerName: _TZE284_9yapgbuv
The device exposes only two functional datapoints (temperature and humidity) and one additional internal datapoint that does not correspond to battery information or any other meaningful attribute.
What works
✔ Temperature (DP1)
Reported as a Tuya datapoint with a value scaled by 10.
Mapped using tuya.valueConverter.divideBy10.
✔ Humidity (DP2)
Reported as a raw integer (0–100).
Mapped using tuya.valueConverter.raw.
✔ Stable reporting
The device reports temperature and humidity periodically and after wake‑up/reset.
No additional configuration is required.
What does not work (and why)
✘ Battery reporting
Despite being battery‑powered (2× AAA), this device does not expose any datapoint related to battery level, voltage, battery_low flag, or battery percentage.
A full DP scan was performed:
DP1–DP10
DP101–DP110
Only DP1, DP2, and DP3 were ever reported.
DP3 is an internal Tuya flag and does not correlate with battery state.
Because the device never sends battery information, Zigbee2MQTT cannot expose it.
Any attempt to map DP3 as battery results in incorrect values (e.g., 2%), because the datapoint simply does not represent battery data.
✘ Additional Tuya datapoints
No other datapoints (interval, mode, calibration, etc.) are implemented by this device.
The firmware appears to be a minimal variant of TS0601.
Summary
This TS0601 variant is a very simple Tuya sensor that only reports:
temperature
humidity
It does not support battery reporting or any additional datapoints.
The converter therefore exposes only the two functional measurements and omits battery support to avoid misleading values.
Notes
software_build_id: undefined
date_code: ``
endpoints:
{"1":{"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic","zosungIRTransmit"],"output":["genOta","genTime"]}}}