#33239·zigbee2mqtt

[External Converter]: TS0601 from _TZE284_xc7dve2g

Author: Nunzio-89Created Oct 1, 2026Updated Oct 1, 2026
Labelsexternal converter

Link

https://www.ettroit.com/prodotti.php?cat=E-Smart&serie_corrente=space#

Database entry

{ "description": "Dimmer ETTROIT", "exposes": [ { "endpoint": "l1", "features": [ { "access": 7, "description": "On/off state of this light", "endpoint": "l1", "label": "State", "name": "state", "property": "state_l1", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" }, { "access": 7, "description": "Brightness of this light", "endpoint": "l1", "label": "Brightness", "name": "brightness", "property": "brightness_l1", "type": "numeric", "value_max": 254, "value_min": 0 } ], "type": "light" }, { "access": 7, "description": "Luminosità minima", "label": "Min brightness l1", "name": "min_brightness_l1", "property": "min_brightness_l1", "type": "numeric", "value_max": 254, "value_min": 0 }, { "access": 7, "description": "Luminosità massima", "label": "Max brightness l1", "name": "max_brightness_l1", "property": "max_brightness_l1", "type": "numeric", "value_max": 254, "value_min": 0 }, { "access": 3, "description": "Countdown", "label": "Countdown", "name": "countdown", "property": "countdown", "type": "numeric", "unit": "s" }, { "access": 7, "category": "config", "description": "Controls the behavior when the device is powered on after power loss", "label": "Power-on behavior", "name": "power_on_behavior", "property": "power_on_behavior", "type": "enum", "values": [ "off", "previous", "on" ] }, { "access": 3, "description": "backlight", "label": "Backlight mode", "name": "backlight_mode", "property": "backlight_mode", "type": "enum", "values": [ "off", "normal" ] }, { "access": 1, "category": "diagnostic", "description": "Link quality (signal strength)", "label": "Linkquality", "name": "linkquality", "property": "linkquality", "type": "numeric", "unit": "lqi", "value_max": 255, "value_min": 0 } ], "icon": "device_icons/dimmer.png", "model": "TS0601_dimmer_2gang_ETTROIT", "options": [], "source": "external", "supports_ota": false, "vendor": "Tuya", "version": "0.0.0" }

Zigbee2MQTT version

2.14.1 (unknown)

External converter

javascript
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const e = exposes.presets;

const definition = {
    fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE284_xc7dve2g'}],
    model: 'TS0601_dimmer_2gang_ETTROIT',
    vendor: 'Tuya',
    description: 'Dimmer ETTROIT',

    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    onEvent: tuya.onEventSetTime,
    configure: tuya.configureMagicPacket,

    exposes: [
        e.light_brightness('light_brightness', exposes.access.ALL).withEndpoint('l1'),
        e.numeric('min_brightness_l1', exposes.access.ALL)
            .withValueMin(0).withValueMax(254)
            .withDescription('Luminosità minima'),
        e.numeric('max_brightness_l1', exposes.access.ALL)
            .withValueMin(0).withValueMax(254)
            .withDescription('Luminosità massima'),
        e.numeric('countdown', exposes.access.STATE_SET).withUnit('s').withDescription('Countdown'),
        e.power_on_behavior(),
        e.enum('backlight_mode', exposes.access.STATE_SET, ['off', 'normal'])
            .withDescription('backlight'),
    ],

    endpoint: () => {
        return {l1: 1};
    },

    meta: {
        multiEndpoint: true,
        tuyaDatapoints: [
            [1, 'state_l1', tuya.valueConverter.onOff],
            [2, 'brightness_l1', tuya.valueConverter.raw],
            [3, 'min_brightness_l1', tuya.valueConverter.raw],
            [4, 'light_type', tuya.valueConverter.lightType],
            [5, 'max_brightness_l1', tuya.valueConverter.raw],
            [6, 'countdown', tuya.valueConverter.countdown],
            [14,'power_on_behavior', tuya.valueConverter.powerOnBehaviorEnum],
            [21,'backlight_mode', tuya.valueConverterBasic.lookup({'off': false, 'normal': true})],
        ],
    },
};

module.exports = definition;

What does/doesn't work with the external definition?

All works

Notes

software_build_id: undefined date_code: `` endpoints:

json
{"1":{"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic","60672"],"output":["genOta","genTime"]},"name":"l1"},"242":{"clusters":{"input":[],"output":["greenPower"]}}}