Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New device support]: add Device GLEDOPTO GL-SD-003P #17773

Closed
anharald opened this issue May 23, 2023 · 1 comment
Closed

[New device support]: add Device GLEDOPTO GL-SD-003P #17773

anharald opened this issue May 23, 2023 · 1 comment
Labels
new device support New device support request

Comments

@anharald
Copy link

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

@anharald anharald added the new device support New device support request label May 23, 2023
@anharald anharald changed the title [New device support]: add Device GLEDPOTO GL-SD-003P [New device support]: add Device GLEDOPTO GL-SD-003P May 23, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 23, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests

2 participants