[New device support]: add Device GLEDOPTO GL-SD-003P
Link
https://www.aliexpress.com/item/1005005454481663.html?spm=a2g0o.order_list.order_list_main.5.21ef5c5fKoCLGB
Database entry
{"id":29,"type":"Router","ieeeAddr":"0xcc86ecfffec3d9e2","nwkAddr":1786,"manufId":4687,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GL-SD-003P","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":257,"inClusterList":[0,3,4,5,6,8,4096],"outClusterList":[25],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"zclVersion":3}},"genLevelCtrl":{"attributes":{}}},"binds":[],"configuredReportings":[],"meta":{"onLevelSupported":false}}},"appVersion":0,"stackVersion":0,"hwVersion":1,"dateCode":"20230329","swBuildId":"10551201","zclVersion":3,"interviewCompleted":true,"meta":{"configured":88764544},"lastSeen":1684764296659,"defaultSendRequestWhen":"immediate"}
Comments
i tried to do external converter and just copied the settings from GLEDOPTO GL-SD-001 which is already supported in z2m, and seems to be technical identical with this one. So far with the external converter the device seems to work. but i only have basic knowledge if its done right.
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 reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['GL-SD-003P'],
model: 'GL-SD-003P',
vendor: 'Gledopto',
description: 'Zigbee DIN Rail triac AC dimmer',
extend: extend.light_onoff_brightness(),
meta: {disableDefaultResponse: true},
};
module.exports = definition;
Supported color modes
light_onoff_brightness
Color temperature range
none
Added, thanks!
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)