-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Link
(https://automat-on.com/zigbee-tuya-16a-std-room-thermostat-white.html)
Database entry
{"id":9,"type":"Router","ieeeAddr":"0xa4c138b635a98b3c","nwkAddr":44342,"manufId":4417,"manufName":"_TZE204_umh2xkoc","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u0005\u0000\u0000\u0000e\u0006\u0000\u0000\u0000\u0012&\u0000\u0000\u0000e'\u0000\u0000\u0000\u0012ΔΕΌΛB\u0000\u0000eΔΕΌΛB\u0000\u0000\u0012","65506":56,"65508":0,"modelId":"TS0601","manufacturerName":"_TZE204_umh2xkoc","powerSource":1,"zclVersion":3,"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{},"lastSeen":1767644742362}
Zigbee2MQTT version
2.7.2
External definition
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_edl8pz1k', '_TZE204_umh2xkoc']),
model: 'TS0601_floor_thermostat',
vendor: 'TuYa',
description: 'Zigbee thermostat for electric floors xxa',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime, // Add this if you are getting no converter for 'commandMcuSyncTime'
configure: tuya.configureMagicPacket,
exposes: [
e.climate()
.withSystemMode(['off', 'heat'], ea.STATE_SET)
.withPreset(['manual', 'auto'])
.withRunningState(['idle', 'heat'], ea.STATE)
.withSetpoint('current_heating_setpoint', 5, 35, 0.5, ea.STATE_SET)
.withLocalTemperature(ea.STATE).withDescription('Floor temperature')
.withLocalTemperatureCalibration(-9, 9, 0.1, ea.STATE_SET).withDescription('Calibration floor temperature sensor'),
e.deadzone_temperature().withValueMin(0).withValueMax(5).withValueStep(1).withDescription('Floor temperature'),
e.child_lock(),
e.max_heat_setpoint_limit(13, 29, 0.5),
e.min_heat_setpoint_limit(13, 29, 0.5),
...tuya.exposes.scheduleAllDays(ea.STATE_SET, 'HH:MM/C HH:MM/C HH:MM/C HH:MM/C'),
],
meta: {
tuyaDatapoints: [
[1, 'system_mode', tuya.valueConverterBasic.lookup({'heat': true, 'off': false})],
[2, 'current_heating_setpoint', tuya.valueConverter.divideBy10],
[3, 'local_temperature', tuya.valueConverter.divideBy10],
[4, 'preset', tuya.valueConverter.tv02Preset()],
[9, 'child_lock', tuya.valueConverter.lockUnlock],
[15, 'max_heat_setpoint_limit', tuya.valueConverter.raw],
[16, 'min_heat_setpoint_limit', tuya.valueConverter.raw],
[19, 'local_temperature_calibration', tuya.valueConverter.localTempCalibration2],
[102, 'running_state', tuya.valueConverterBasic.lookup({'heat': tuya.enum(0), 'idle': tuya.enum(1)})],
],
},
whiteLabel: [{vendor: 'THERMOSTAT', model: 'THERMOSTAT'}],
};
module.exports = definition;What does/doesn't work with the external definition?
Device is not supported
Notes
No response