@willieee802/zigbee-herdsman-converters 15.0.8-4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +7 -0
- package/converters/fromZigbee.js +8439 -0
- package/converters/toZigbee.js +7162 -0
- package/devices/ITCommander.js +37 -0
- package/devices/RMC002.js +20 -0
- package/devices/acova.js +101 -0
- package/devices/acuity_brands_lighting.js +11 -0
- package/devices/adeo.js +256 -0
- package/devices/adurosmart.js +130 -0
- package/devices/aeotec.js +13 -0
- package/devices/airam.js +59 -0
- package/devices/ajax_online.js +49 -0
- package/devices/akuvox.js +28 -0
- package/devices/alchemy.js +18 -0
- package/devices/aldi.js +53 -0
- package/devices/alecto.js +98 -0
- package/devices/anchor.js +17 -0
- package/devices/atlantic.js +110 -0
- package/devices/atsmart.js +28 -0
- package/devices/aubess.js +21 -0
- package/devices/aurora_lighting.js +292 -0
- package/devices/automaton.js +44 -0
- package/devices/awox.js +184 -0
- package/devices/axis.js +22 -0
- package/devices/bankamp.js +11 -0
- package/devices/bega.js +22 -0
- package/devices/belkin.js +11 -0
- package/devices/bitron.js +334 -0
- package/devices/blaupunkt.js +27 -0
- package/devices/blitzwolf.js +47 -0
- package/devices/bosch.js +702 -0
- package/devices/brimate.js +15 -0
- package/devices/bseed.js +17 -0
- package/devices/bticino.js +118 -0
- package/devices/busch-jaeger.js +140 -0
- package/devices/byun.js +24 -0
- package/devices/calex.js +37 -0
- package/devices/candeo.js +49 -0
- package/devices/casaia.js +52 -0
- package/devices/centralite.js +359 -0
- package/devices/cleode.js +20 -0
- package/devices/cleverio.js +36 -0
- package/devices/climax.js +138 -0
- package/devices/commercial_electric.js +16 -0
- package/devices/connecte.js +46 -0
- package/devices/cree.js +11 -0
- package/devices/ctm.js +999 -0
- package/devices/current_products_corp.js +24 -0
- package/devices/custom_devices_diy.js +850 -0
- package/devices/cy-lighting.js +11 -0
- package/devices/danalock.js +26 -0
- package/devices/danfoss.js +340 -0
- package/devices/databyte.ch.js +55 -0
- package/devices/datek.js +246 -0
- package/devices/dawon_dns.js +338 -0
- package/devices/develco.js +868 -0
- package/devices/digi.js +14 -0
- package/devices/diyruz.js +305 -0
- package/devices/dlink.js +37 -0
- package/devices/dnake.js +11 -0
- package/devices/dresden_elektronik.js +47 -0
- package/devices/easyaccess.js +27 -0
- package/devices/eatonhalo_led.js +11 -0
- package/devices/echostar.js +25 -0
- package/devices/ecodim.js +145 -0
- package/devices/ecolink.js +21 -0
- package/devices/ecosmart.js +64 -0
- package/devices/ecozy.js +31 -0
- package/devices/edp.js +39 -0
- package/devices/eglo.js +25 -0
- package/devices/elko.js +176 -0
- package/devices/enbrighten.js +163 -0
- package/devices/enocean.js +52 -0
- package/devices/envilar.js +73 -0
- package/devices/essentialb.js +87 -0
- package/devices/eurotronic.js +48 -0
- package/devices/evanell.js +29 -0
- package/devices/evn.js +31 -0
- package/devices/evology.js +24 -0
- package/devices/evvr.js +17 -0
- package/devices/ewelink.js +184 -0
- package/devices/ezex.js +24 -0
- package/devices/fantem.js +77 -0
- package/devices/feibit.js +172 -0
- package/devices/fireangel.js +15 -0
- package/devices/frankever.js +23 -0
- package/devices/garza.js +11 -0
- package/devices/ge.js +111 -0
- package/devices/gewiss.js +48 -0
- package/devices/gidealed.js +11 -0
- package/devices/giderwel.js +11 -0
- package/devices/giex.js +222 -0
- package/devices/girier.js +19 -0
- package/devices/gledopto.js +756 -0
- package/devices/gmy.js +11 -0
- package/devices/gs.js +29 -0
- package/devices/halemeier.js +18 -0
- package/devices/hampton_bay.js +37 -0
- package/devices/heiman.js +805 -0
- package/devices/hej.js +107 -0
- package/devices/hfh.js +11 -0
- package/devices/hgkg.js +54 -0
- package/devices/hilux.js +11 -0
- package/devices/hive.js +524 -0
- package/devices/home_control_as.js +27 -0
- package/devices/hommyn.js +24 -0
- package/devices/honyar.js +29 -0
- package/devices/hornbach.js +53 -0
- package/devices/hzc.js +21 -0
- package/devices/hzc_electric.js +42 -0
- package/devices/icasa.js +121 -0
- package/devices/idinio.js +19 -0
- package/devices/ihorn.js +61 -0
- package/devices/ikea.js +1168 -0
- package/devices/ilightsin.js +11 -0
- package/devices/iluminize.js +262 -0
- package/devices/ilux.js +11 -0
- package/devices/immax.js +203 -0
- package/devices/innr.js +705 -0
- package/devices/inovelli.js +1315 -0
- package/devices/insta.js +110 -0
- package/devices/iolloi.js +20 -0
- package/devices/iotperfect.js +20 -0
- package/devices/iris.js +180 -0
- package/devices/istar.js +20 -0
- package/devices/jasco.js +55 -0
- package/devices/javis.js +37 -0
- package/devices/jethome.js +48 -0
- package/devices/jiawen.js +18 -0
- package/devices/jumitech.js +18 -0
- package/devices/jxuan.js +49 -0
- package/devices/kami.js +15 -0
- package/devices/keen_home.js +80 -0
- package/devices/klikaanklikuit.js +17 -0
- package/devices/kmpcil.js +148 -0
- package/devices/konke.js +141 -0
- package/devices/ksentry.js +17 -0
- package/devices/kurvia.js +17 -0
- package/devices/kwikset.js +120 -0
- package/devices/lanesto.js +11 -0
- package/devices/lds.js +11 -0
- package/devices/led_trading.js +69 -0
- package/devices/ledvance.js +353 -0
- package/devices/leedarson.js +130 -0
- package/devices/legrand.js +554 -0
- package/devices/lellki.js +146 -0
- package/devices/letsled.js +11 -0
- package/devices/letv.js +18 -0
- package/devices/leviton.js +142 -0
- package/devices/lg.js +18 -0
- package/devices/lidl.js +1000 -0
- package/devices/lifecontrol.js +92 -0
- package/devices/lightsolutions.js +37 -0
- package/devices/linkind.js +205 -0
- package/devices/livingwise.js +59 -0
- package/devices/livolo.js +286 -0
- package/devices/lixee.js +779 -0
- package/devices/lonsonho.js +218 -0
- package/devices/lubeez.js +18 -0
- package/devices/lupus.js +74 -0
- package/devices/lutron.js +32 -0
- package/devices/lux.js +40 -0
- package/devices/m-elec.js +18 -0
- package/devices/makegood.js +51 -0
- package/devices/matcall_bv.js +18 -0
- package/devices/meazon.js +47 -0
- package/devices/mercator.js +225 -0
- package/devices/miboxer.js +72 -0
- package/devices/micromatic.js +29 -0
- package/devices/moes.js +400 -0
- package/devices/mycket.js +11 -0
- package/devices/m/303/274ller_licht.js +220 -0
- package/devices/namron.js +774 -0
- package/devices/nanoleaf.js +11 -0
- package/devices/neo.js +86 -0
- package/devices/net2grid.js +29 -0
- package/devices/netvox.js +35 -0
- package/devices/niko.js +314 -0
- package/devices/ninja_blocks.js +24 -0
- package/devices/niviss.js +11 -0
- package/devices/nodon.js +109 -0
- package/devices/nordtronic.js +30 -0
- package/devices/nous.js +88 -0
- package/devices/novo.js +17 -0
- package/devices/nue_3a.js +417 -0
- package/devices/nyce.js +67 -0
- package/devices/onesti.js +59 -0
- package/devices/openlumi.js +22 -0
- package/devices/orvibo.js +515 -0
- package/devices/osram.js +519 -0
- package/devices/oujiabao.js +15 -0
- package/devices/owon.js +352 -0
- package/devices/ozsmartthings.js +11 -0
- package/devices/paul_neuhaus.js +96 -0
- package/devices/paulmann.js +158 -0
- package/devices/peq.js +24 -0
- package/devices/perenio.js +413 -0
- package/devices/philips.js +3118 -0
- package/devices/plaid.js +25 -0
- package/devices/plugwise.js +173 -0
- package/devices/popp.js +10 -0
- package/devices/profalux.js +47 -0
- package/devices/prolight.js +54 -0
- package/devices/qmotion.js +33 -0
- package/devices/qoto.js +113 -0
- package/devices/quotra.js +18 -0
- package/devices/rademacher.js +18 -0
- package/devices/rgb_genie.js +119 -0
- package/devices/robb.js +335 -0
- package/devices/roome.js +15 -0
- package/devices/rtx.js +90 -0
- package/devices/salus_controls.js +137 -0
- package/devices/samotech.js +93 -0
- package/devices/saswell.js +58 -0
- package/devices/scanproducts.js +32 -0
- package/devices/schlage.js +24 -0
- package/devices/schneider_electric.js +1039 -0
- package/devices/schwaiger.js +62 -0
- package/devices/seastar_intelligence.js +16 -0
- package/devices/securifi.js +39 -0
- package/devices/sengled.js +332 -0
- package/devices/sercomm.js +140 -0
- package/devices/shenzhen_homa.js +53 -0
- package/devices/shinasystem.js +686 -0
- package/devices/siglis.js +440 -0
- package/devices/sinope.js +1257 -0
- package/devices/siterwell.js +46 -0
- package/devices/skydance.js +112 -0
- package/devices/slv.js +27 -0
- package/devices/smart9.js +27 -0
- package/devices/smart_home_pty.js +18 -0
- package/devices/smartenit.js +42 -0
- package/devices/smartthings.js +495 -0
- package/devices/smartwings.js +24 -0
- package/devices/sohan_electric.js +13 -0
- package/devices/solaredge.js +11 -0
- package/devices/somgoms.js +47 -0
- package/devices/sonoff.js +262 -0
- package/devices/spotmau.js +36 -0
- package/devices/sprut.js +317 -0
- package/devices/stelpro.js +216 -0
- package/devices/sunricher.js +625 -0
- package/devices/swann.js +33 -0
- package/devices/sylvania.js +200 -0
- package/devices/tci.js +25 -0
- package/devices/technicolor.js +47 -0
- package/devices/terncy.js +64 -0
- package/devices/the_light_group.js +70 -0
- package/devices/third_reality.js +195 -0
- package/devices/titan_products.js +22 -0
- package/devices/tplink.js +42 -0
- package/devices/trust.js +114 -0
- package/devices/tubeszb.js +20 -0
- package/devices/tuya.js +4215 -0
- package/devices/ubisys.js +938 -0
- package/devices/uhome.js +25 -0
- package/devices/universal_electronics_inc.js +119 -0
- package/devices/urlighting.js +12 -0
- package/devices/useelink.js +52 -0
- package/devices/vbled.js +18 -0
- package/devices/vesternet.js +188 -0
- package/devices/viessmann.js +51 -0
- package/devices/villeroy_boch.js +18 -0
- package/devices/vimar.js +78 -0
- package/devices/visonic.js +80 -0
- package/devices/vrey.js +18 -0
- package/devices/wally.js +25 -0
- package/devices/waxman.js +45 -0
- package/devices/weiser.js +67 -0
- package/devices/weten.js +13 -0
- package/devices/wisdom.js +11 -0
- package/devices/woox.js +177 -0
- package/devices/wyze.js +23 -0
- package/devices/xiaomi.js +3223 -0
- package/devices/xinghuoyuan.js +11 -0
- package/devices/yale.js +227 -0
- package/devices/ynoa.js +68 -0
- package/devices/yookee.js +23 -0
- package/devices/ysrsai.js +26 -0
- package/devices/zemismart.js +254 -0
- package/devices/zen.js +34 -0
- package/devices/zipato.js +11 -0
- package/index.js +242 -0
- package/lib/color.js +784 -0
- package/lib/configureKey.js +944 -0
- package/lib/constants.js +316 -0
- package/lib/exposes.js +677 -0
- package/lib/extend.js +180 -0
- package/lib/kelvinToXy.js +1912 -0
- package/lib/legacy.js +2223 -0
- package/lib/light.js +111 -0
- package/lib/ota/OTA_URLs.md +119 -0
- package/lib/ota/common.js +476 -0
- package/lib/ota/index.js +10 -0
- package/lib/ota/inovelli.js +72 -0
- package/lib/ota/ledvance.js +52 -0
- package/lib/ota/lixee.js +57 -0
- package/lib/ota/salus.js +82 -0
- package/lib/ota/securifi.js +25 -0
- package/lib/ota/tradfri.js +45 -0
- package/lib/ota/ubisys.js +61 -0
- package/lib/ota/zigbeeOTA.js +161 -0
- package/lib/philips.js +667 -0
- package/lib/reporting.js +234 -0
- package/lib/store.js +57 -0
- package/lib/tuya.js +2027 -0
- package/lib/utils.js +527 -0
- package/lib/xiaomi.d.ts +11 -0
- package/lib/xiaomi.js +1288 -0
- package/lib/zosung.js +243 -0
- package/package.json +39 -0
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
const exposes = require('../lib/exposes');
|
|
2
|
+
const globalStore = require('../lib/store');
|
|
3
|
+
const ota = require('../lib/ota');
|
|
4
|
+
const extend = require('../lib/extend');
|
|
5
|
+
const reporting = require('../lib/reporting');
|
|
6
|
+
const utils = require('../lib/utils');
|
|
7
|
+
const tz = require('../converters/toZigbee');
|
|
8
|
+
const e = exposes.presets;
|
|
9
|
+
|
|
10
|
+
const gledoptoExtend = {
|
|
11
|
+
light_onoff_brightness: (options={}) => ({
|
|
12
|
+
...extend.light_onoff_brightness({disablePowerOnBehavior: true, ...options}),
|
|
13
|
+
toZigbee: utils.replaceInArray(
|
|
14
|
+
extend.light_onoff_brightness(options).toZigbee,
|
|
15
|
+
[tz.light_onoff_brightness],
|
|
16
|
+
[tz.gledopto_light_onoff_brightness],
|
|
17
|
+
),
|
|
18
|
+
}),
|
|
19
|
+
light_onoff_brightness_colortemp: (options={}) => ({
|
|
20
|
+
...extend.light_onoff_brightness_colortemp({disablePowerOnBehavior: true, ...options}),
|
|
21
|
+
toZigbee: utils.replaceInArray(
|
|
22
|
+
extend.light_onoff_brightness_colortemp(options).toZigbee,
|
|
23
|
+
[tz.light_onoff_brightness, tz.light_colortemp],
|
|
24
|
+
[tz.gledopto_light_onoff_brightness, tz.gledopto_light_colortemp],
|
|
25
|
+
),
|
|
26
|
+
}),
|
|
27
|
+
light_onoff_brightness_color: (options={}) => ({
|
|
28
|
+
...extend.light_onoff_brightness_color({disablePowerOnBehavior: true, supportsHS: true, ...options}),
|
|
29
|
+
toZigbee: utils.replaceInArray(
|
|
30
|
+
extend.light_onoff_brightness_color(options).toZigbee,
|
|
31
|
+
[tz.light_onoff_brightness, tz.light_color],
|
|
32
|
+
[tz.gledopto_light_onoff_brightness, tz.gledopto_light_color],
|
|
33
|
+
),
|
|
34
|
+
}),
|
|
35
|
+
light_onoff_brightness_colortemp_color: (options={}) => ({
|
|
36
|
+
...extend.light_onoff_brightness_colortemp_color({disablePowerOnBehavior: true, supportsHS: true, ...options}),
|
|
37
|
+
toZigbee: utils.replaceInArray(
|
|
38
|
+
extend.light_onoff_brightness_colortemp_color(options).toZigbee,
|
|
39
|
+
[tz.light_onoff_brightness, tz.light_color_colortemp],
|
|
40
|
+
[tz.gledopto_light_onoff_brightness, tz.gledopto_light_color_colortemp],
|
|
41
|
+
),
|
|
42
|
+
}),
|
|
43
|
+
switch: (options={}) => ({
|
|
44
|
+
...extend.switch({disablePowerOnBehavior: true, ...options}),
|
|
45
|
+
onEvent: async (type, data, device) => {
|
|
46
|
+
// This device doesn't support reporting.
|
|
47
|
+
// Therefore we read the on/off state every 5 seconds.
|
|
48
|
+
// This is the same way as the Hue bridge does it.
|
|
49
|
+
if (type === 'stop') {
|
|
50
|
+
clearInterval(globalStore.getValue(device, 'interval'));
|
|
51
|
+
globalStore.clearValue(device, 'interval');
|
|
52
|
+
} else if (!globalStore.hasValue(device, 'interval')) {
|
|
53
|
+
const interval = setInterval(async () => {
|
|
54
|
+
try {
|
|
55
|
+
await device.endpoints[0].read('genOnOff', ['onOff']);
|
|
56
|
+
} catch (error) {
|
|
57
|
+
// Do nothing
|
|
58
|
+
}
|
|
59
|
+
}, 5000);
|
|
60
|
+
globalStore.putValue(device, 'interval', interval);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
}),
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const configureReadModelID = async (device, coordinatorEndpoint, logger) => {
|
|
67
|
+
// https://github.com/Koenkk/zigbee-herdsman-converters/issues/3016#issuecomment-1027726604
|
|
68
|
+
const endpoint = device.endpoints[0];
|
|
69
|
+
const oldModel = device.modelID;
|
|
70
|
+
const newModel = (await endpoint.read('genBasic', ['modelId'])).modelId;
|
|
71
|
+
if (oldModel != newModel) {
|
|
72
|
+
logger.info(`Detected Gledopto device mode change, from '${oldModel}' to '${newModel}'`);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
module.exports = [
|
|
77
|
+
{
|
|
78
|
+
fingerprint: [
|
|
79
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-H-001', endpoints: [
|
|
80
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
81
|
+
{ID: 13, profileID: 49246, deviceID: 528, inputClusters: [4096], outputClusters: [4096]},
|
|
82
|
+
]},
|
|
83
|
+
],
|
|
84
|
+
model: 'GL-H-001',
|
|
85
|
+
vendor: 'Gledopto',
|
|
86
|
+
description: 'Zigbee RF Hub',
|
|
87
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
zigbeeModel: ['HOMA2023'],
|
|
91
|
+
model: 'GD-CZ-006',
|
|
92
|
+
vendor: 'Gledopto',
|
|
93
|
+
description: 'Zigbee LED Controller WW/CW',
|
|
94
|
+
extend: gledoptoExtend.light_onoff_brightness(),
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
zigbeeModel: ['GL-SD-001'],
|
|
98
|
+
model: 'GL-SD-001',
|
|
99
|
+
vendor: 'Gledopto',
|
|
100
|
+
description: 'Zigbee triac AC dimmer',
|
|
101
|
+
extend: gledoptoExtend.light_onoff_brightness(),
|
|
102
|
+
meta: {disableDefaultResponse: true},
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
zigbeeModel: ['GL-C-006'],
|
|
106
|
+
fingerprint: [
|
|
107
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GLEDOPTO', endpoints: [
|
|
108
|
+
{ID: 11, profileID: 49246, deviceID: 544, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
109
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
110
|
+
]},
|
|
111
|
+
],
|
|
112
|
+
model: 'GL-C-006',
|
|
113
|
+
vendor: 'Gledopto',
|
|
114
|
+
description: 'Zigbee LED Controller WW/CW',
|
|
115
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp(),
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
zigbeeModel: ['GL-C-006S'],
|
|
119
|
+
model: 'GL-C-006S',
|
|
120
|
+
vendor: 'Gledopto',
|
|
121
|
+
description: 'Zigbee LED Controller WW/CW (plus)',
|
|
122
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp(),
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
zigbeeModel: ['GL-C-006P'],
|
|
126
|
+
model: 'GL-C-006P',
|
|
127
|
+
vendor: 'Gledopto',
|
|
128
|
+
ota: ota.zigbeeOTA,
|
|
129
|
+
description: 'Zigbee LED Controller WW/CW (pro)',
|
|
130
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp({noConfigure: true}),
|
|
131
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
132
|
+
await extend.light_onoff_brightness_colortemp().configure(device, coordinatorEndpoint, logger);
|
|
133
|
+
await configureReadModelID(device, coordinatorEndpoint, logger);
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
zigbeeModel: ['GL-G-003P'],
|
|
138
|
+
model: 'GL-G-003P',
|
|
139
|
+
vendor: 'Gledopto',
|
|
140
|
+
ota: ota.zigbeeOTA,
|
|
141
|
+
description: '7W garden light pro',
|
|
142
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
fingerprint: [
|
|
146
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-C-007', endpoints: [
|
|
147
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
148
|
+
{ID: 13, profileID: 49246, deviceID: 528, inputClusters: [4096], outputClusters: [4096]},
|
|
149
|
+
]},
|
|
150
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-C-007', endpoints: [
|
|
151
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
152
|
+
{ID: 12, profileID: 260, deviceID: 258, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
153
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
154
|
+
]},
|
|
155
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-C-007', endpoints: [
|
|
156
|
+
{ID: 11, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096], outputClusters: [25]},
|
|
157
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
158
|
+
]},
|
|
159
|
+
],
|
|
160
|
+
model: 'GL-C-007-1ID', // 1 ID controls white and color together
|
|
161
|
+
// Only enable disableDefaultResponse for the second fingerprint:
|
|
162
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/3813#issuecomment-694922037
|
|
163
|
+
meta: {disableDefaultResponse: (entity) => !!entity.getDevice().getEndpoint(12)},
|
|
164
|
+
vendor: 'Gledopto',
|
|
165
|
+
description: 'Zigbee LED Controller RGBW (1 ID)',
|
|
166
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
fingerprint: [
|
|
170
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-C-007', endpoints: [
|
|
171
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
172
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
173
|
+
{ID: 15, profileID: 49246, deviceID: 256, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
174
|
+
]},
|
|
175
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GLEDOPTO', endpoints: [
|
|
176
|
+
{ID: 10, profileID: 49246, deviceID: 256, inputClusters: [0, 3, 4, 5, 6, 8], outputClusters: []},
|
|
177
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
178
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
179
|
+
]},
|
|
180
|
+
],
|
|
181
|
+
model: 'GL-C-007-2ID', // 2 ID controls white and color separate
|
|
182
|
+
vendor: 'Gledopto',
|
|
183
|
+
description: 'Zigbee LED Controller RGBW (2 ID)',
|
|
184
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
185
|
+
exposes: [e.light_brightness_colortemp_colorxy().withEndpoint('rgb'), e.light_brightness().withEndpoint('white')],
|
|
186
|
+
endpoint: (device) => {
|
|
187
|
+
if (device.getEndpoint(10) && device.getEndpoint(11) && device.getEndpoint(13)) {
|
|
188
|
+
return {rgb: 11, white: 10};
|
|
189
|
+
} else if (device.getEndpoint(11) && device.getEndpoint(12) && device.getEndpoint(13)) {
|
|
190
|
+
return {rgb: 11, white: 12};
|
|
191
|
+
} else {
|
|
192
|
+
return {rgb: 11, white: 15};
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
zigbeeModel: ['GL-C-007S'],
|
|
198
|
+
model: 'GL-C-007S',
|
|
199
|
+
vendor: 'Gledopto',
|
|
200
|
+
description: 'Zigbee LED Controller RGBW (plus)',
|
|
201
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
zigbeeModel: ['GL-C-007P'],
|
|
205
|
+
model: 'GL-C-007P',
|
|
206
|
+
vendor: 'Gledopto',
|
|
207
|
+
ota: ota.zigbeeOTA,
|
|
208
|
+
description: 'Zigbee LED Controller RGBW (pro)',
|
|
209
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
210
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
211
|
+
await extend.light_onoff_brightness_colortemp_color().configure(device, coordinatorEndpoint, logger);
|
|
212
|
+
await configureReadModelID(device, coordinatorEndpoint, logger);
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
fingerprint: [
|
|
217
|
+
// Although the device announces modelID GL-C-007, this is clearly a GL-C-008
|
|
218
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/3525
|
|
219
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-C-007', endpoints: [
|
|
220
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
221
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
222
|
+
{ID: 15, profileID: 49246, deviceID: 544, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
223
|
+
]},
|
|
224
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GL-C-007', endpoints: [
|
|
225
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
226
|
+
{ID: 12, profileID: 260, deviceID: 258, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
227
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
228
|
+
{ID: 15, profileID: 49246, deviceID: 256, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
229
|
+
]},
|
|
230
|
+
],
|
|
231
|
+
model: 'GL-C-008-2ID', // 2 ID controls color temperature and color separate
|
|
232
|
+
vendor: 'Gledopto',
|
|
233
|
+
description: 'Zigbee LED Controller RGB+CCT (2 ID)',
|
|
234
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
235
|
+
exposes: [e.light_brightness_colorxy().withEndpoint('rgb'), e.light_brightness_colortemp().withEndpoint('cct')],
|
|
236
|
+
// Only enable disableDefaultResponse for the second fingerprint:
|
|
237
|
+
// https://github.com/Koenkk/zigbee-herdsman-converters/issues/1315#issuecomment-645331185
|
|
238
|
+
meta: {disableDefaultResponse: (entity) => !!entity.getDevice().getEndpoint(12)},
|
|
239
|
+
endpoint: (device) => {
|
|
240
|
+
return {rgb: 11, cct: 15};
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
fingerprint: [
|
|
245
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GLEDOPTO', endpoints: [
|
|
246
|
+
{ID: 11, profileID: 49246, deviceID: 528, inputClusters: [0, 3, 4, 5, 6, 8, 768], outputClusters: []},
|
|
247
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
248
|
+
]},
|
|
249
|
+
],
|
|
250
|
+
zigbeeModel: ['GL-C-008'],
|
|
251
|
+
model: 'GL-C-008-1ID', // 1 ID controls color temperature and color separate
|
|
252
|
+
vendor: 'Gledopto',
|
|
253
|
+
description: 'Zigbee LED Controller RGB+CCT (1 ID)',
|
|
254
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
255
|
+
meta: {disableDefaultResponse: true},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
zigbeeModel: ['GL-C-008S'],
|
|
259
|
+
model: 'GL-C-008S',
|
|
260
|
+
vendor: 'Gledopto',
|
|
261
|
+
description: 'Zigbee LED Controller RGB+CCT (plus)',
|
|
262
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
263
|
+
meta: {disableDefaultResponse: true},
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
zigbeeModel: ['GL-C-003P'],
|
|
267
|
+
model: 'GL-C-003P',
|
|
268
|
+
vendor: 'Gledopto',
|
|
269
|
+
ota: ota.zigbeeOTA,
|
|
270
|
+
description: 'Zigbee LED Controller RGB (pro)',
|
|
271
|
+
extend: gledoptoExtend.light_onoff_brightness_color({noConfigure: true}),
|
|
272
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
273
|
+
await extend.light_onoff_brightness_color().configure(device, coordinatorEndpoint, logger);
|
|
274
|
+
await configureReadModelID(device, coordinatorEndpoint, logger);
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
zigbeeModel: ['GL-C-008P'],
|
|
279
|
+
model: 'GL-C-008P',
|
|
280
|
+
vendor: 'Gledopto',
|
|
281
|
+
ota: ota.zigbeeOTA,
|
|
282
|
+
description: 'Zigbee LED Controller RGB+CCT (pro)',
|
|
283
|
+
whiteLabel: [{vendor: 'Gledopto', model: 'GL-C-001P'}, {vendor: 'Gledopto', model: 'GL-C-002P'}],
|
|
284
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495], noConfigure: true}),
|
|
285
|
+
meta: {disableDefaultResponse: true},
|
|
286
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
287
|
+
await extend.light_onoff_brightness_colortemp_color().configure(device, coordinatorEndpoint, logger);
|
|
288
|
+
await configureReadModelID(device, coordinatorEndpoint, logger);
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
zigbeeModel: ['GL-C-009'],
|
|
293
|
+
fingerprint: [
|
|
294
|
+
{type: 'Router', manufacturerName: 'GLEDOPTO', modelID: 'GLEDOPTO', endpoints: [
|
|
295
|
+
{ID: 11, profileID: 49246, deviceID: 256, inputClusters: [0, 3, 4, 5, 6, 8], outputClusters: []},
|
|
296
|
+
{ID: 13, profileID: 49246, deviceID: 57694, inputClusters: [4096], outputClusters: [4096]},
|
|
297
|
+
]},
|
|
298
|
+
],
|
|
299
|
+
model: 'GL-C-009',
|
|
300
|
+
vendor: 'Gledopto',
|
|
301
|
+
description: 'Zigbee LED Controller W',
|
|
302
|
+
extend: gledoptoExtend.light_onoff_brightness(),
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
zigbeeModel: ['GL-C-009P'],
|
|
306
|
+
model: 'GL-C-009P',
|
|
307
|
+
vendor: 'Gledopto',
|
|
308
|
+
ota: ota.zigbeeOTA,
|
|
309
|
+
description: 'Zigbee LED Controller W (pro)',
|
|
310
|
+
extend: gledoptoExtend.light_onoff_brightness({noConfigure: true}),
|
|
311
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
312
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
313
|
+
await configureReadModelID(device, coordinatorEndpoint, logger);
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
zigbeeModel: ['GL-C-009S'],
|
|
318
|
+
model: 'GL-C-009S',
|
|
319
|
+
vendor: 'Gledopto',
|
|
320
|
+
description: 'Zigbee LED Controller W (plus)',
|
|
321
|
+
extend: gledoptoExtend.light_onoff_brightness(),
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
zigbeeModel: ['GL-MC-001'],
|
|
325
|
+
model: 'GL-MC-001',
|
|
326
|
+
vendor: 'Gledopto',
|
|
327
|
+
description: 'Zigbee USB Mini LED Controller RGB+CCT',
|
|
328
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
329
|
+
meta: {disableDefaultResponse: true},
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
zigbeeModel: ['GL-B-002P'],
|
|
333
|
+
model: 'GL-B-002P',
|
|
334
|
+
vendor: 'Gledopto',
|
|
335
|
+
description: 'Zigbee smart filament LED bulb',
|
|
336
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
zigbeeModel: ['GL-S-006P'],
|
|
340
|
+
model: 'GL-S-006P',
|
|
341
|
+
vendor: 'Gledopto',
|
|
342
|
+
ota: ota.zigbeeOTA,
|
|
343
|
+
description: 'Zigbee GU10 LED lamp',
|
|
344
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
zigbeeModel: ['GL-MC-001P'],
|
|
348
|
+
model: 'GL-MC-001P',
|
|
349
|
+
vendor: 'Gledopto',
|
|
350
|
+
ota: ota.zigbeeOTA,
|
|
351
|
+
description: 'Zigbee USB Mini LED Controller RGB+CCT (pro)',
|
|
352
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
zigbeeModel: ['GL-S-003Z'],
|
|
356
|
+
model: 'GL-S-003Z',
|
|
357
|
+
vendor: 'Gledopto',
|
|
358
|
+
description: 'Zigbee 5W GU10 Bulb RGBW',
|
|
359
|
+
extend: gledoptoExtend.light_onoff_brightness_color(),
|
|
360
|
+
endpoint: (device) => {
|
|
361
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/5169
|
|
362
|
+
if (device.getEndpoint(12)) return {default: 12};
|
|
363
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/5681
|
|
364
|
+
else return {default: 11};
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
zigbeeModel: ['GL-S-004Z'],
|
|
369
|
+
model: 'GL-S-004Z',
|
|
370
|
+
vendor: 'Gledopto',
|
|
371
|
+
description: 'Zigbee 4W MR16 Bulb 30deg RGB+CCT',
|
|
372
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({disableColorTempStartup: false, colorTempRange: [155, 495]}),
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
zigbeeModel: ['GL-S-005Z'],
|
|
376
|
+
model: 'GL-S-005Z',
|
|
377
|
+
vendor: 'Gledopto',
|
|
378
|
+
description: 'Zigbee 4W MR16 Bulb 120deg RGB+CCT',
|
|
379
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
zigbeeModel: ['GL-S-004ZS'],
|
|
383
|
+
model: 'GL-S-004ZS',
|
|
384
|
+
vendor: 'Gledopto',
|
|
385
|
+
description: 'Zigbee 4W MR16 Bulb RGB+CCT (plus)',
|
|
386
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
zigbeeModel: ['GL-S-004P', 'GL-S-005P'],
|
|
390
|
+
model: 'GL-S-004P',
|
|
391
|
+
vendor: 'Gledopto',
|
|
392
|
+
ota: ota.zigbeeOTA,
|
|
393
|
+
description: 'Zigbee 4W MR16 Bulb RGB+CCT (pro)',
|
|
394
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
zigbeeModel: ['GL-S-007Z', 'GL-S-007Z(lk)'],
|
|
398
|
+
model: 'GL-S-007Z',
|
|
399
|
+
vendor: 'Gledopto',
|
|
400
|
+
description: 'Zigbee 5W GU10 Bulb RGB+CCT',
|
|
401
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
zigbeeModel: ['GL-S-007ZS'],
|
|
405
|
+
model: 'GL-S-007ZS',
|
|
406
|
+
vendor: 'Gledopto',
|
|
407
|
+
description: 'Zigbee 4W GU10 Bulb RGB+CCT (plus)',
|
|
408
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
zigbeeModel: ['GL-S-007P'],
|
|
412
|
+
model: 'GL-S-007P',
|
|
413
|
+
vendor: 'Gledopto',
|
|
414
|
+
ota: ota.zigbeeOTA,
|
|
415
|
+
description: 'Zigbee 4W GU10 Bulb RGB+CCT (pro)',
|
|
416
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
zigbeeModel: ['GL-S-008Z'],
|
|
420
|
+
model: 'GL-S-008Z',
|
|
421
|
+
vendor: 'Gledopto',
|
|
422
|
+
description: 'Zigbee 5W PAR16 Bulb RGB+CCT',
|
|
423
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
zigbeeModel: ['GL-B-001Z'],
|
|
427
|
+
model: 'GL-B-001Z',
|
|
428
|
+
vendor: 'Gledopto',
|
|
429
|
+
description: 'Zigbee 4W E12/E14 Bulb RGB+CCT',
|
|
430
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
zigbeeModel: ['GL-B-001ZS'],
|
|
434
|
+
model: 'GL-B-001ZS',
|
|
435
|
+
vendor: 'Gledopto',
|
|
436
|
+
description: 'Zigbee 4W E12/E14 Bulb RGB+CCT (plus)',
|
|
437
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
zigbeeModel: ['GL-B-001P'],
|
|
441
|
+
model: 'GL-B-001P',
|
|
442
|
+
vendor: 'Gledopto',
|
|
443
|
+
ota: ota.zigbeeOTA,
|
|
444
|
+
description: 'Zigbee 4W E12/E14 Bulb RGB+CCT (pro)',
|
|
445
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
zigbeeModel: ['GL-B-007Z'],
|
|
449
|
+
model: 'GL-B-007Z',
|
|
450
|
+
vendor: 'Gledopto',
|
|
451
|
+
description: 'Zigbee 6W E26/E27 Bulb RGB+CCT',
|
|
452
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
zigbeeModel: ['GL-C-103P'],
|
|
456
|
+
model: 'GL-C-103P',
|
|
457
|
+
vendor: 'Gledopto',
|
|
458
|
+
description: 'Zigbee LED controller (pro)',
|
|
459
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
zigbeeModel: ['GL-G-004P'],
|
|
463
|
+
model: 'GL-G-004P',
|
|
464
|
+
vendor: 'Gledopto',
|
|
465
|
+
description: 'Zigbee 7W garden light Pro RGB+CCT',
|
|
466
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
zigbeeModel: ['GL-B-007ZS'],
|
|
470
|
+
model: 'GL-B-007ZS',
|
|
471
|
+
vendor: 'Gledopto',
|
|
472
|
+
description: 'Zigbee 6W E26/E27 Bulb RGB+CCT (plus)',
|
|
473
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
zigbeeModel: ['GL-B-007P'],
|
|
477
|
+
model: 'GL-B-007P',
|
|
478
|
+
vendor: 'Gledopto',
|
|
479
|
+
ota: ota.zigbeeOTA,
|
|
480
|
+
description: 'Zigbee 6W E26/E27 Bulb RGB+CCT (pro)',
|
|
481
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
zigbeeModel: ['GL-B-008Z'],
|
|
485
|
+
model: 'GL-B-008Z',
|
|
486
|
+
vendor: 'Gledopto',
|
|
487
|
+
description: 'Zigbee 12W E26/E27 Bulb RGB+CCT',
|
|
488
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
zigbeeModel: ['GL-B-008ZS'],
|
|
492
|
+
model: 'GL-B-008ZS',
|
|
493
|
+
vendor: 'Gledopto',
|
|
494
|
+
description: 'Zigbee 12W E26/E27 Bulb RGB+CCT (plus)',
|
|
495
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
zigbeeModel: ['GL-B-008P'],
|
|
499
|
+
model: 'GL-B-008P',
|
|
500
|
+
vendor: 'Gledopto',
|
|
501
|
+
ota: ota.zigbeeOTA,
|
|
502
|
+
description: 'Zigbee 12W E26/E27 Bulb RGB+CCT (pro)',
|
|
503
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
zigbeeModel: ['GL-D-002P'],
|
|
507
|
+
model: 'GL-D-002P',
|
|
508
|
+
vendor: 'Gledopto',
|
|
509
|
+
ota: ota.zigbeeOTA,
|
|
510
|
+
description: 'Zigbee 6W Downlight RGB+CCT (pro CRI>90)',
|
|
511
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
zigbeeModel: ['GL-D-003Z'],
|
|
515
|
+
model: 'GL-D-003Z',
|
|
516
|
+
vendor: 'Gledopto',
|
|
517
|
+
description: 'Zigbee 6W Downlight RGB+CCT',
|
|
518
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
zigbeeModel: ['GL-D-003ZS'],
|
|
522
|
+
model: 'GL-D-003ZS',
|
|
523
|
+
vendor: 'Gledopto',
|
|
524
|
+
description: 'Zigbee 6W Downlight RGB+CCT (plus)',
|
|
525
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
zigbeeModel: ['GL-D-003P'],
|
|
529
|
+
model: 'GL-D-003P',
|
|
530
|
+
vendor: 'Gledopto',
|
|
531
|
+
ota: ota.zigbeeOTA,
|
|
532
|
+
description: 'Zigbee 6W Downlight RGB+CCT (pro)',
|
|
533
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
zigbeeModel: ['GL-D-004Z'],
|
|
537
|
+
model: 'GL-D-004Z',
|
|
538
|
+
vendor: 'Gledopto',
|
|
539
|
+
description: 'Zigbee 9W Downlight RGB+CCT',
|
|
540
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
zigbeeModel: ['GL-D-004ZS'],
|
|
544
|
+
model: 'GL-D-004ZS',
|
|
545
|
+
vendor: 'Gledopto',
|
|
546
|
+
description: 'Zigbee 9W Downlight RGB+CCT (plus)',
|
|
547
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
zigbeeModel: ['GL-D-004P'],
|
|
551
|
+
model: 'GL-D-004P',
|
|
552
|
+
vendor: 'Gledopto',
|
|
553
|
+
ota: ota.zigbeeOTA,
|
|
554
|
+
description: 'Zigbee 9W Downlight RGB+CCT (pro)',
|
|
555
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
zigbeeModel: ['GL-D-005Z'],
|
|
559
|
+
model: 'GL-D-005Z',
|
|
560
|
+
vendor: 'Gledopto',
|
|
561
|
+
description: 'Zigbee 12W Downlight RGB+CCT',
|
|
562
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
zigbeeModel: ['GL-D-005ZS'],
|
|
566
|
+
model: 'GL-D-005ZS',
|
|
567
|
+
vendor: 'Gledopto',
|
|
568
|
+
description: 'Zigbee 12W Downlight RGB+CCT (plus)',
|
|
569
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
zigbeeModel: ['GL-D-005P'],
|
|
573
|
+
model: 'GL-D-005P',
|
|
574
|
+
vendor: 'Gledopto',
|
|
575
|
+
ota: ota.zigbeeOTA,
|
|
576
|
+
description: 'Zigbee 12W Downlight RGB+CCT (pro)',
|
|
577
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
zigbeeModel: ['GL-D-006P'],
|
|
581
|
+
model: 'GL-D-006P',
|
|
582
|
+
vendor: 'Gledopto',
|
|
583
|
+
ota: ota.zigbeeOTA,
|
|
584
|
+
description: 'Zigbee 6W anti-glare downlight RGB+CCT (pro)',
|
|
585
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
zigbeeModel: ['GL-D-007P'],
|
|
589
|
+
model: 'GL-D-007P',
|
|
590
|
+
vendor: 'Gledopto',
|
|
591
|
+
description: 'Zigbee 12W anti-glare downlight RGB+CCT (pro)',
|
|
592
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
zigbeeModel: ['GL-FL-004TZ'],
|
|
596
|
+
model: 'GL-FL-004TZ',
|
|
597
|
+
vendor: 'Gledopto',
|
|
598
|
+
description: 'Zigbee 10W Floodlight RGB+CCT',
|
|
599
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
zigbeeModel: ['GL-B-003P'],
|
|
603
|
+
model: 'GL-B-003P',
|
|
604
|
+
vendor: 'Gledopto',
|
|
605
|
+
description: 'Zigbee 7W E26/E27 Bulb RGB+CCT (pro)',
|
|
606
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp({colorTempRange: [155, 495]}),
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
zigbeeModel: ['GL-FL-004TZS'],
|
|
610
|
+
model: 'GL-FL-004TZS',
|
|
611
|
+
vendor: 'Gledopto',
|
|
612
|
+
description: 'Zigbee 10W Floodlight RGB+CCT (plus)',
|
|
613
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [155, 495]}),
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
zigbeeModel: ['GL-FL-004P', 'GL-FL-004TZP'],
|
|
617
|
+
model: 'GL-FL-004P',
|
|
618
|
+
vendor: 'Gledopto',
|
|
619
|
+
ota: ota.zigbeeOTA,
|
|
620
|
+
description: 'Zigbee 10W Floodlight RGB+CCT (pro)',
|
|
621
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
zigbeeModel: ['GL-C-004P'],
|
|
625
|
+
model: 'GL-C-004P',
|
|
626
|
+
vendor: 'Gledopto',
|
|
627
|
+
description: 'Zigbee LED Strip Light Kit',
|
|
628
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp({noConfigure: true, colorTempRange: [158, 495]}),
|
|
629
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
630
|
+
await extend.light_onoff_brightness_colortemp().configure(device, coordinatorEndpoint, logger);
|
|
631
|
+
const endpoint = device.getEndpoint(11);
|
|
632
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'lightingColorCtrl']);
|
|
633
|
+
await reporting.onOff(endpoint);
|
|
634
|
+
await reporting.brightness(endpoint);
|
|
635
|
+
await reporting.colorTemperature(endpoint);
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
zigbeeModel: ['GL-FL-001P'],
|
|
640
|
+
model: 'GL-FL-001P',
|
|
641
|
+
vendor: 'Gledopto',
|
|
642
|
+
ota: ota.zigbeeOTA,
|
|
643
|
+
description: 'Zigbee 10W Floodlight RGB+CCT 12V Low Voltage (pro)',
|
|
644
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
zigbeeModel: ['GL-FL-005TZ'],
|
|
648
|
+
model: 'GL-FL-005TZ',
|
|
649
|
+
vendor: 'Gledopto',
|
|
650
|
+
description: 'Zigbee 30W Floodlight RGB+CCT',
|
|
651
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
zigbeeModel: ['GL-FL-005TZS'],
|
|
655
|
+
model: 'GL-FL-005TZS',
|
|
656
|
+
vendor: 'Gledopto',
|
|
657
|
+
description: 'Zigbee 30W Floodlight RGB+CCT (plus)',
|
|
658
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
zigbeeModel: ['GL-FL-005P', 'GL-FL-005TZP'],
|
|
662
|
+
model: 'GL-FL-005P',
|
|
663
|
+
vendor: 'Gledopto',
|
|
664
|
+
ota: ota.zigbeeOTA,
|
|
665
|
+
description: 'Zigbee 30W Floodlight RGB+CCT (pro)',
|
|
666
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
zigbeeModel: ['GL-FL-006TZ'],
|
|
670
|
+
model: 'GL-FL-006TZ',
|
|
671
|
+
vendor: 'Gledopto',
|
|
672
|
+
description: 'Zigbee 60W Floodlight RGB+CCT',
|
|
673
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
zigbeeModel: ['GL-FL-006TZS'],
|
|
677
|
+
model: 'GL-FL-006TZS',
|
|
678
|
+
vendor: 'Gledopto',
|
|
679
|
+
description: 'Zigbee 60W Floodlight RGB+CCT (plus)',
|
|
680
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
zigbeeModel: ['GL-FL-006P', 'GL-FL-006TZP'],
|
|
684
|
+
model: 'GL-FL-006P',
|
|
685
|
+
vendor: 'Gledopto',
|
|
686
|
+
ota: ota.zigbeeOTA,
|
|
687
|
+
description: 'Zigbee 60W Floodlight RGB+CCT (pro)',
|
|
688
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
zigbeeModel: ['GL-G-001Z'],
|
|
692
|
+
model: 'GL-G-001Z',
|
|
693
|
+
vendor: 'Gledopto',
|
|
694
|
+
description: 'Zigbee 12W Garden Lamp RGB+CCT',
|
|
695
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
zigbeeModel: ['GL-G-001ZS'],
|
|
699
|
+
model: 'GL-G-001ZS',
|
|
700
|
+
vendor: 'Gledopto',
|
|
701
|
+
description: 'Zigbee 12W Garden Lamp RGB+CCT (plus)',
|
|
702
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
zigbeeModel: ['GL-G-001P'],
|
|
706
|
+
model: 'GL-G-001P',
|
|
707
|
+
vendor: 'Gledopto',
|
|
708
|
+
ota: ota.zigbeeOTA,
|
|
709
|
+
description: 'Zigbee 12W Garden Lamp RGB+CCT (pro)',
|
|
710
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
zigbeeModel: ['GL-G-101P'],
|
|
714
|
+
model: 'GL-G-101P',
|
|
715
|
+
vendor: 'Gledopto',
|
|
716
|
+
ota: ota.zigbeeOTA,
|
|
717
|
+
description: 'Zigbee 12W garden lamp RGB+CCT (pro)',
|
|
718
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
zigbeeModel: ['GL-G-002P'],
|
|
722
|
+
model: 'GL-G-002P',
|
|
723
|
+
vendor: 'Gledopto',
|
|
724
|
+
ota: ota.zigbeeOTA,
|
|
725
|
+
description: 'Zigbee 7W garden lamp RGB+CCT (pro)',
|
|
726
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [150, 500]}),
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
zigbeeModel: ['GL-G-007Z'],
|
|
730
|
+
model: 'GL-G-007Z',
|
|
731
|
+
vendor: 'Gledopto',
|
|
732
|
+
description: 'Zigbee 9W garden lamp RGB+CCT',
|
|
733
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
zigbeeModel: ['GL-W-001Z'],
|
|
737
|
+
model: 'GL-W-001Z',
|
|
738
|
+
vendor: 'Gledopto',
|
|
739
|
+
description: 'Zigbee on/off wall switch',
|
|
740
|
+
extend: gledoptoExtend.switch(),
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
zigbeeModel: ['GL-SD-002'],
|
|
744
|
+
model: 'GL-SD-002',
|
|
745
|
+
vendor: 'Gledopto',
|
|
746
|
+
description: 'Zigbee 3.0 smart home switch',
|
|
747
|
+
extend: gledoptoExtend.switch(),
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
zigbeeModel: ['GL-B-004P'],
|
|
751
|
+
model: 'GL-B-004P',
|
|
752
|
+
vendor: 'Gledopto',
|
|
753
|
+
description: 'Filament LED light bulb E27 G95 7W pro',
|
|
754
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
|
|
755
|
+
},
|
|
756
|
+
];
|