zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: Alecto Smart-Heat-10 TS0601_TZE200_8daqwrsj

Open lExplLicit opened this issue 4 years ago • 1 comments

Link

https://www.zigbee2mqtt.io/devices/SMART-HEAT10.html

Database entry

{"id":2,"type":"EndDevice","ieeeAddr":"0x5c0272fffeee0233","nwkAddr":61064,"manufId":4098,"manufName":"_TZE200_8daqwrsj","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0601","manufacturerName":"_TZE200_8daqwrsj","stackVersion":0,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":83,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1669906565125,"defaultSendRequestWhen":"immediate"}

Comments

Hi, according to the documentation, the device is supported. After pairing the thermostat the device was not recognized by zigbee2MQTT.

I created a custom converter and now the device is supported:

` const exposes = require('zigbee-herdsman-converters/lib/exposes'); const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const tuya = require('zigbee-herdsman-converters/lib/tuya'); const e = exposes.presets; const ea = exposes.access;

module.exports = [ { fingerprint: [ {modelID: 'TS0601', manufacturerName: '_TZE200_8daqwrsj'}, ], model: 'SMART-HEAT10', vendor: 'Alecto', description: 'Radiator valve with thermostat', fromZigbee: [fz.tuya_thermostat, fz.ignore_basic_report], meta: {tuyaThermostatSystemMode: tuya.thermostatSystemModes4, tuyaThermostatPreset: tuya.thermostatPresets, tuyaThermostatPresetToSystemMode: tuya.thermostatSystemModes4}, toZigbee: [tz.tuya_thermostat_child_lock, tz.siterwell_thermostat_window_detection, tz.tuya_thermostat_current_heating_setpoint, tz.tuya_thermostat_system_mode, ], exposes: [e.child_lock(), e.window_detection(), e.battery(), exposes.climate() .withSetpoint('current_heating_setpoint', 5, 30, 0.5, ea.STATE_SET).withLocalTemperature(ea.STATE) .withSystemMode(['off', 'auto', 'heat'], ea.STATE_SET)], } ]; `

Please add

{modelID: 'TS0601', manufacturerName: '_TZE200_8daqwrsj'}

to following file: https://github.com/Koenkk/zigbee-herdsman-converters/blob/e4afa8fd5595464e9bbea535e6ecdc09a06b1b03/devices/alecto.js

Thanks a lot!

External converter

const exposes = require('zigbee-herdsman-converters/lib/exposes');
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;


module.exports = [
    {
        fingerprint: [
            {modelID: 'TS0601', manufacturerName: '_TZE200_8daqwrsj'},
        ],
        model: 'SMART-HEAT10',
        vendor: 'Alecto',
        description: 'Radiator valve with thermostat',
        fromZigbee: [fz.tuya_thermostat, fz.ignore_basic_report],
        meta: {tuyaThermostatSystemMode: tuya.thermostatSystemModes4, tuyaThermostatPreset: tuya.thermostatPresets,
            tuyaThermostatPresetToSystemMode: tuya.thermostatSystemModes4},
        toZigbee: [tz.tuya_thermostat_child_lock, tz.siterwell_thermostat_window_detection,
            tz.tuya_thermostat_current_heating_setpoint, tz.tuya_thermostat_system_mode,
        ],
        exposes: [e.child_lock(), e.window_detection(), e.battery(), exposes.climate()
            .withSetpoint('current_heating_setpoint', 5, 30, 0.5, ea.STATE_SET).withLocalTemperature(ea.STATE)
            .withSystemMode(['off', 'auto', 'heat'], ea.STATE_SET)],
    }
];

Supported color modes

N/A

Color temperature range

N/A

lExplLicit avatar Dec 01 '22 15:12 lExplLicit

Added!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

Koenkk avatar Dec 01 '22 17:12 Koenkk