@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,292 @@
|
|
|
1
|
+
const exposes = require('../lib/exposes');
|
|
2
|
+
const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
|
|
3
|
+
const tz = require('../converters/toZigbee');
|
|
4
|
+
const reporting = require('../lib/reporting');
|
|
5
|
+
const extend = require('../lib/extend');
|
|
6
|
+
const e = exposes.presets;
|
|
7
|
+
const utils = require('../lib/utils');
|
|
8
|
+
const ea = exposes.access;
|
|
9
|
+
|
|
10
|
+
const tzLocal = {
|
|
11
|
+
aOneBacklight: {
|
|
12
|
+
key: ['backlight_led'],
|
|
13
|
+
convertSet: async (entity, key, value, meta) => {
|
|
14
|
+
const state = value.toLowerCase();
|
|
15
|
+
utils.validateValue(state, ['toggle', 'off', 'on']);
|
|
16
|
+
const endpoint = meta.device.getEndpoint(3);
|
|
17
|
+
await endpoint.command('genOnOff', state, {});
|
|
18
|
+
return {state: {backlight_led: state.toUpperCase()}};
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
backlight_brightness: {
|
|
22
|
+
key: ['brightness'],
|
|
23
|
+
options: [exposes.options.transition()],
|
|
24
|
+
convertSet: async (entity, key, value, meta) => {
|
|
25
|
+
await entity.command('genLevelCtrl', 'moveToLevel', {level: value, transtime: 0}, utils.getOptions(meta.mapped, entity));
|
|
26
|
+
return {state: {brightness: value}};
|
|
27
|
+
},
|
|
28
|
+
convertGet: async (entity, key, meta) => {
|
|
29
|
+
await entity.read('genLevelCtrl', ['currentLevel']);
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const disableBatteryRotaryDimmerReporting = async (endpoint) => {
|
|
35
|
+
// The default is for the device to also report the on/off and
|
|
36
|
+
// brightness at the same time as sending on/off and step commands.
|
|
37
|
+
// Disable the reporting by setting the max interval to 0xFFFF.
|
|
38
|
+
await reporting.brightness(endpoint, {max: 0xFFFF});
|
|
39
|
+
await reporting.onOff(endpoint, {max: 0xFFFF});
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const batteryRotaryDimmer = (...endpointsIds) => ({
|
|
43
|
+
fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.command_step, fz.command_step_color_temperature],
|
|
44
|
+
toZigbee: [],
|
|
45
|
+
exposes: [e.battery(), e.action([
|
|
46
|
+
'on', 'off', 'brightness_step_up', 'brightness_step_down', 'color_temperature_step_up', 'color_temperature_step_down'])],
|
|
47
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
48
|
+
const endpoints = endpointsIds.map((endpoint) => device.getEndpoint(endpoint));
|
|
49
|
+
|
|
50
|
+
// Battery level is only reported on first endpoint
|
|
51
|
+
await reporting.batteryVoltage(endpoints[0]);
|
|
52
|
+
|
|
53
|
+
for await (const endpoint of endpoints) {
|
|
54
|
+
await reporting.bind(endpoint, coordinatorEndpoint,
|
|
55
|
+
['genIdentify', 'genOnOff', 'genLevelCtrl', 'lightingColorCtrl']);
|
|
56
|
+
|
|
57
|
+
await disableBatteryRotaryDimmerReporting(endpoint);
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
onEvent: async (type, data, device) => {
|
|
61
|
+
// The rotary dimmer devices appear to lose the configured reportings when they
|
|
62
|
+
// re-announce themselves which they do roughly every 6 hours.
|
|
63
|
+
if (type === 'deviceAnnounce') {
|
|
64
|
+
for (const endpoint of device.endpoints) {
|
|
65
|
+
// First disable the default reportings (for the dimmer endpoints only)
|
|
66
|
+
if ([1, 2].includes(endpoint.ID)) {
|
|
67
|
+
await disableBatteryRotaryDimmerReporting(endpoint);
|
|
68
|
+
}
|
|
69
|
+
// Then re-apply the configured reportings
|
|
70
|
+
for (const c of endpoint.configuredReportings) {
|
|
71
|
+
await endpoint.configureReporting(c.cluster.name, [{
|
|
72
|
+
attribute: c.attribute.name, minimumReportInterval: c.minimumReportInterval,
|
|
73
|
+
maximumReportInterval: c.maximumReportInterval, reportableChange: c.reportableChange,
|
|
74
|
+
}]);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
module.exports = [
|
|
82
|
+
{
|
|
83
|
+
zigbeeModel: ['TWBulb51AU'],
|
|
84
|
+
model: 'AU-A1GSZ9CX',
|
|
85
|
+
vendor: 'Aurora',
|
|
86
|
+
description: 'AOne GLS lamp 9w tunable dimmable 2200-5000K',
|
|
87
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
zigbeeModel: ['RGBCXStrip50AU'],
|
|
91
|
+
model: 'AU-A1ZBSCRGBCX',
|
|
92
|
+
vendor: 'Aurora',
|
|
93
|
+
description: 'RGBW LED strip controller',
|
|
94
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [166, 400]}),
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
zigbeeModel: ['TWGU10Bulb50AU'],
|
|
98
|
+
model: 'AU-A1GUZBCX5',
|
|
99
|
+
vendor: 'Aurora Lighting',
|
|
100
|
+
description: 'AOne 5.4W smart tuneable GU10 lamp',
|
|
101
|
+
extend: extend.light_onoff_brightness_colortemp(),
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
zigbeeModel: ['TWMPROZXBulb50AU'],
|
|
105
|
+
model: 'AU-A1ZBMPRO1ZX',
|
|
106
|
+
vendor: 'Aurora Lighting',
|
|
107
|
+
description: 'AOne MPROZX fixed IP65 fire rated smart tuneable LED downlight',
|
|
108
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 455]}),
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
zigbeeModel: ['FWG125Bulb50AU'],
|
|
112
|
+
model: 'AU-A1VG125Z5E/19',
|
|
113
|
+
vendor: 'Aurora Lighting',
|
|
114
|
+
description: 'AOne 4W smart dimmable G125 lamp 1900K',
|
|
115
|
+
meta: {turnsOffAtBrightness1: true},
|
|
116
|
+
extend: extend.light_onoff_brightness(),
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
zigbeeModel: ['FWBulb51AU'],
|
|
120
|
+
model: 'AU-A1GSZ9B/27',
|
|
121
|
+
vendor: 'Aurora Lighting',
|
|
122
|
+
description: 'AOne 9W smart GLS B22',
|
|
123
|
+
extend: extend.light_onoff_brightness(),
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
zigbeeModel: ['FWGU10Bulb50AU', 'FWGU10Bulb01UK'],
|
|
127
|
+
model: 'AU-A1GUZB5/30',
|
|
128
|
+
vendor: 'Aurora Lighting',
|
|
129
|
+
description: 'AOne 4.8W smart dimmable GU10 lamp 3000K',
|
|
130
|
+
extend: extend.light_onoff_brightness(),
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
zigbeeModel: ['FWA60Bulb50AU'],
|
|
134
|
+
model: 'AU-A1VGSZ5E/19',
|
|
135
|
+
vendor: 'Aurora Lighting',
|
|
136
|
+
description: 'AOne 4W smart dimmable Vintage GLS lamp 1900K',
|
|
137
|
+
extend: extend.light_onoff_brightness({disableEffect: true}),
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
zigbeeModel: ['RGBGU10Bulb50AU', 'RGBGU10Bulb50AU2'],
|
|
141
|
+
model: 'AU-A1GUZBRGBW',
|
|
142
|
+
vendor: 'Aurora Lighting',
|
|
143
|
+
description: 'AOne 5.6w smart RGBW tuneable GU10 lamp',
|
|
144
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
zigbeeModel: ['RGBBulb01UK', 'RGBBulb02UK', 'RGBBulb51AU'],
|
|
148
|
+
model: 'AU-A1GSZ9RGBW_HV-GSCXZB269K',
|
|
149
|
+
vendor: 'Aurora Lighting',
|
|
150
|
+
description: 'AOne 9.5W smart RGBW GLS E27/B22',
|
|
151
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
zigbeeModel: ['Remote50AU'],
|
|
155
|
+
model: 'AU-A1ZBRC',
|
|
156
|
+
vendor: 'Aurora Lighting',
|
|
157
|
+
description: 'AOne smart remote',
|
|
158
|
+
fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.command_step, fz.command_recall, fz.command_store],
|
|
159
|
+
toZigbee: [],
|
|
160
|
+
exposes: [e.battery(), e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down', 'recall_1', 'store_1'])],
|
|
161
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
162
|
+
const endpoint = device.getEndpoint(1);
|
|
163
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'genPowerCfg', 'genScenes']);
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
zigbeeModel: ['MotionSensor51AU'],
|
|
168
|
+
model: 'AU-A1ZBPIRS',
|
|
169
|
+
vendor: 'Aurora Lighting',
|
|
170
|
+
description: 'AOne PIR sensor',
|
|
171
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.illuminance],
|
|
172
|
+
toZigbee: [],
|
|
173
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
174
|
+
const endpoint = device.getEndpoint(39);
|
|
175
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['msIlluminanceMeasurement']);
|
|
176
|
+
await reporting.illuminance(endpoint);
|
|
177
|
+
},
|
|
178
|
+
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.illuminance(), e.illuminance_lux()],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
zigbeeModel: ['SingleSocket50AU'],
|
|
182
|
+
model: 'AU-A1ZBPIAB',
|
|
183
|
+
vendor: 'Aurora Lighting',
|
|
184
|
+
description: 'Power plug Zigbee EU',
|
|
185
|
+
fromZigbee: [fz.identify, fz.on_off, fz.electrical_measurement],
|
|
186
|
+
exposes: [e.switch(), e.power(), e.voltage(), e.current()],
|
|
187
|
+
toZigbee: [tz.on_off],
|
|
188
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
189
|
+
const endpoint = device.getEndpoint(1);
|
|
190
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'haElectricalMeasurement']);
|
|
191
|
+
await reporting.onOff(endpoint);
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
zigbeeModel: ['WindowSensor51AU'],
|
|
196
|
+
model: 'AU-A1ZBDWS',
|
|
197
|
+
vendor: 'Aurora Lighting',
|
|
198
|
+
description: 'Magnetic door & window contact sensor',
|
|
199
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
|
|
200
|
+
toZigbee: [],
|
|
201
|
+
exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery()],
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
zigbeeModel: ['WallDimmerMaster'],
|
|
205
|
+
model: 'AU-A1ZB2WDM',
|
|
206
|
+
vendor: 'Aurora Lighting',
|
|
207
|
+
description: 'AOne 250W smart rotary dimmer module',
|
|
208
|
+
exposes: [...extend.light_onoff_brightness({noConfigure: true}).exposes,
|
|
209
|
+
exposes.binary('backlight_led', ea.STATE_SET, 'ON', 'OFF').withDescription('Enable or disable the blue backlight LED')],
|
|
210
|
+
toZigbee: [...extend.light_onoff_brightness({noConfigure: true}).toZigbee, tzLocal.aOneBacklight],
|
|
211
|
+
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
212
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
213
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
214
|
+
const endpoint = device.getEndpoint(1);
|
|
215
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genLevelCtrl', 'genOnOff']);
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
zigbeeModel: ['DoubleSocket50AU'],
|
|
220
|
+
model: 'AU-A1ZBDSS',
|
|
221
|
+
vendor: 'Aurora Lighting',
|
|
222
|
+
description: 'Double smart socket UK',
|
|
223
|
+
fromZigbee: [fz.identify, fz.on_off, fz.electrical_measurement, fz.brightness],
|
|
224
|
+
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right'),
|
|
225
|
+
e.power().withEndpoint('left'), e.power().withEndpoint('right'),
|
|
226
|
+
exposes.numeric('brightness', ea.ALL).withValueMin(0).withValueMax(254)
|
|
227
|
+
.withDescription('Brightness of this backlight LED')],
|
|
228
|
+
toZigbee: [tzLocal.backlight_brightness, tz.on_off],
|
|
229
|
+
meta: {multiEndpoint: true},
|
|
230
|
+
endpoint: (device) => {
|
|
231
|
+
return {'left': 1, 'right': 2};
|
|
232
|
+
},
|
|
233
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
234
|
+
const endpoint1 = device.getEndpoint(1);
|
|
235
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'haElectricalMeasurement']);
|
|
236
|
+
await reporting.onOff(endpoint1);
|
|
237
|
+
const endpoint2 = device.getEndpoint(2);
|
|
238
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'haElectricalMeasurement']);
|
|
239
|
+
await reporting.onOff(endpoint2);
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
zigbeeModel: ['SmartPlug51AU'],
|
|
244
|
+
model: 'AU-A1ZBPIA',
|
|
245
|
+
vendor: 'Aurora Lighting',
|
|
246
|
+
description: 'Aurora smart plug',
|
|
247
|
+
fromZigbee: [fz.identify, fz.on_off, fz.electrical_measurement, fz.metering, fz.device_temperature],
|
|
248
|
+
exposes: [e.switch(), e.power(), e.voltage(), e.current(), e.device_temperature(), e.energy()],
|
|
249
|
+
toZigbee: [tz.on_off],
|
|
250
|
+
endpoint: (device) => {
|
|
251
|
+
return {'default': 2};
|
|
252
|
+
},
|
|
253
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
254
|
+
const endpoint = device.getEndpoint(2);
|
|
255
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genIdentify', 'haElectricalMeasurement', 'seMetering',
|
|
256
|
+
'genDeviceTempCfg']);
|
|
257
|
+
|
|
258
|
+
await reporting.onOff(endpoint);
|
|
259
|
+
await reporting.deviceTemperature(endpoint);
|
|
260
|
+
|
|
261
|
+
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
|
|
262
|
+
// Report 5v voltage change, 5a current, 5 watt power change to reduce the noise
|
|
263
|
+
await reporting.rmsVoltage(endpoint, {change: 500});
|
|
264
|
+
await reporting.rmsCurrent(endpoint, {change: 500});
|
|
265
|
+
await reporting.activePower(endpoint, {change: 5});
|
|
266
|
+
|
|
267
|
+
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
268
|
+
await reporting.instantaneousDemand(endpoint, {change: 500});
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
zigbeeModel: ['1GBatteryDimmer50AU'],
|
|
273
|
+
model: 'AU-A1ZBR1GW',
|
|
274
|
+
vendor: 'Aurora Lighting',
|
|
275
|
+
description: 'AOne one gang wireless battery rotary dimmer',
|
|
276
|
+
meta: {battery: {voltageToPercentage: '3V_2100'}},
|
|
277
|
+
// One gang battery rotary dimmer with endpoint ID 1
|
|
278
|
+
...batteryRotaryDimmer(1),
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
zigbeeModel: ['2GBatteryDimmer50AU'],
|
|
282
|
+
model: 'AU-A1ZBR2GW',
|
|
283
|
+
vendor: 'Aurora Lighting',
|
|
284
|
+
description: 'AOne two gang wireless battery rotary dimmer',
|
|
285
|
+
meta: {multiEndpoint: true, battery: {voltageToPercentage: '3V_2100'}},
|
|
286
|
+
endpoint: (device) => {
|
|
287
|
+
return {'right': 1, 'left': 2};
|
|
288
|
+
},
|
|
289
|
+
// Two gang battery rotary dimmer with endpoint IDs 1 and 2
|
|
290
|
+
...batteryRotaryDimmer(1, 2),
|
|
291
|
+
},
|
|
292
|
+
];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const fz = require('../converters/fromZigbee');
|
|
2
|
+
const tz = require('../converters/toZigbee');
|
|
3
|
+
const exposes = require('../lib/exposes');
|
|
4
|
+
const reporting = require('../lib/reporting');
|
|
5
|
+
const tuya = require('../lib/tuya');
|
|
6
|
+
const e = exposes.presets;
|
|
7
|
+
|
|
8
|
+
module.exports = [
|
|
9
|
+
{
|
|
10
|
+
fingerprint: tuya.fingerprint('TS011F', ['_TZ3000_j0ktmul1']),
|
|
11
|
+
model: 'AUT000069',
|
|
12
|
+
vendor: 'AutomatOn',
|
|
13
|
+
description: 'Underfloor heating controller - 5 zones',
|
|
14
|
+
fromZigbee: [fz.on_off, fz.ignore_basic_report, tuya.fz.power_on_behavior_2, tuya.fz.child_lock],
|
|
15
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tuya.tz.child_lock],
|
|
16
|
+
exposes: [
|
|
17
|
+
e.child_lock(),
|
|
18
|
+
e.switch().withEndpoint('l1'),
|
|
19
|
+
e.switch().withEndpoint('l2'),
|
|
20
|
+
e.switch().withEndpoint('l3'),
|
|
21
|
+
e.switch().withEndpoint('l4'),
|
|
22
|
+
e.switch().withEndpoint('l5'),
|
|
23
|
+
e.power_on_behavior().withEndpoint('l1'),
|
|
24
|
+
e.power_on_behavior().withEndpoint('l2'),
|
|
25
|
+
e.power_on_behavior().withEndpoint('l3'),
|
|
26
|
+
e.power_on_behavior().withEndpoint('l4'),
|
|
27
|
+
e.power_on_behavior().withEndpoint('l5'),
|
|
28
|
+
],
|
|
29
|
+
endpoint: (device) => {
|
|
30
|
+
return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4, 'l5': 5};
|
|
31
|
+
},
|
|
32
|
+
meta: {multiEndpoint: true},
|
|
33
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
34
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
|
|
35
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
36
|
+
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
37
|
+
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
|
|
38
|
+
await reporting.bind(device.getEndpoint(4), coordinatorEndpoint, ['genOnOff']);
|
|
39
|
+
await reporting.bind(device.getEndpoint(5), coordinatorEndpoint, ['genOnOff']);
|
|
40
|
+
device.powerSource = 'Mains (single phase)';
|
|
41
|
+
device.save();
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
];
|
package/devices/awox.js
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
const extend = require('../lib/extend');
|
|
2
|
+
const fz = require('../converters/fromZigbee');
|
|
3
|
+
const exposes = require('../lib/exposes');
|
|
4
|
+
const e = exposes.presets;
|
|
5
|
+
|
|
6
|
+
const awoxRemoteHelper = {
|
|
7
|
+
convertToColorName: (buffer) => {
|
|
8
|
+
const commonForColors = buffer[0] === 17 && buffer[2] === 48 && buffer[3] === 0 && buffer[5] === 8 && buffer[6] === 0;
|
|
9
|
+
|
|
10
|
+
if (commonForColors && buffer[4] === 255) {
|
|
11
|
+
return 'red';
|
|
12
|
+
} else if (commonForColors && buffer[4] === 42) {
|
|
13
|
+
return 'yellow';
|
|
14
|
+
} else if (commonForColors && buffer[4] === 85) {
|
|
15
|
+
return 'green';
|
|
16
|
+
} else if (commonForColors && buffer[4] === 170) {
|
|
17
|
+
return 'blue';
|
|
18
|
+
}
|
|
19
|
+
return null;
|
|
20
|
+
},
|
|
21
|
+
isRefresh: (buffer) => {
|
|
22
|
+
return buffer[0] === 17 && buffer[2] === 16 && buffer[3] === 1 && buffer[4] === 1;
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const fzLocal = {
|
|
27
|
+
colors: {
|
|
28
|
+
cluster: 'lightingColorCtrl',
|
|
29
|
+
type: ['raw'],
|
|
30
|
+
convert: (model, msg, publish, options, meta) => {
|
|
31
|
+
const color = awoxRemoteHelper.convertToColorName(msg.data);
|
|
32
|
+
if (color != null) {
|
|
33
|
+
return {
|
|
34
|
+
action: color,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
refreshColored: {
|
|
40
|
+
cluster: 'lightingColorCtrl',
|
|
41
|
+
type: ['commandMoveHue'],
|
|
42
|
+
convert: (model, msg, publish, options, meta) => {
|
|
43
|
+
if (msg.data.movemode === 1 && msg.data.rate === 12) {
|
|
44
|
+
return {
|
|
45
|
+
action: 'refresh_colored',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
refresh: {
|
|
51
|
+
cluster: 'genLevelCtrl',
|
|
52
|
+
type: ['raw'],
|
|
53
|
+
convert: (model, msg, publish, options, meta) => {
|
|
54
|
+
if (awoxRemoteHelper.isRefresh(msg.data)) {
|
|
55
|
+
return {
|
|
56
|
+
action: 'refresh',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
module.exports = [
|
|
64
|
+
{
|
|
65
|
+
zigbeeModel: ['TLSR82xx'],
|
|
66
|
+
model: '33951/33948',
|
|
67
|
+
vendor: 'AwoX',
|
|
68
|
+
description: 'LED white',
|
|
69
|
+
extend: extend.light_onoff_brightness(),
|
|
70
|
+
whiteLabel: [{vendor: 'EGLO', model: '12229'}],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
fingerprint: [
|
|
74
|
+
{
|
|
75
|
+
type: 'EndDevice', manufacturerName: 'AwoX', modelID: 'TLSR82xx', powerSource: 'Battery', endpoints: [
|
|
76
|
+
{ID: 1, profileID: 260, deviceID: 2048, inputClusters: [0, 3, 4, 4096], outputClusters: [0, 3, 4, 5, 6, 8, 768, 4096]},
|
|
77
|
+
{ID: 3, profileID: 4751, deviceID: 2048, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
model: '33952',
|
|
82
|
+
vendor: 'AwoX',
|
|
83
|
+
description: 'Remote controller',
|
|
84
|
+
fromZigbee: [fz.command_on, fzLocal.colors, fzLocal.refresh, fzLocal.refreshColored, fz.command_off,
|
|
85
|
+
fz.command_step, fz.command_move, fz.command_stop, fz.command_recall, fz.command_step_color_temperature],
|
|
86
|
+
toZigbee: [],
|
|
87
|
+
exposes: [e.action(['on', 'off', 'red', 'refresh', 'refresh_colored', 'blue', 'yellow',
|
|
88
|
+
'green', 'brightness_step_up', 'brightness_step_down', 'brightness_move_up', 'brightness_move_down', 'brightness_stop',
|
|
89
|
+
'recall_1', 'color_temperature_step_up', 'color_temperature_step_down'])],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
fingerprint: [
|
|
93
|
+
{
|
|
94
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
95
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
96
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
97
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
102
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
103
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361, 4], outputClusters: [65360, 65361]},
|
|
104
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
109
|
+
{ID: 1, profileID: 260, deviceID: 258, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096], outputClusters: [6, 25]},
|
|
110
|
+
{ID: 3, profileID: 49152, deviceID: 258, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
115
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
116
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
117
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
122
|
+
{ID: 1, profileID: 260, deviceID: 269, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
123
|
+
{ID: 3, profileID: 4751, deviceID: 269, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
model: '33943/33944/33946',
|
|
128
|
+
vendor: 'AwoX',
|
|
129
|
+
description: 'LED RGB & brightness',
|
|
130
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370], supportsHS: true}),
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
fingerprint: [
|
|
134
|
+
{
|
|
135
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
136
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
137
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
138
|
+
],
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
142
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599], outputClusters: [6]},
|
|
143
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
144
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
145
|
+
],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
149
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
150
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
151
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
152
|
+
],
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
156
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096, 64599, 10], outputClusters: [6]},
|
|
157
|
+
{ID: 242, profileID: 41440, deviceID: 97, inputClusters: [], outputClusters: [33]},
|
|
158
|
+
{ID: 3, profileID: 4751, deviceID: 268, inputClusters: [65360, 65361, 4], outputClusters: [65360, 65361]},
|
|
159
|
+
],
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
model: '33957',
|
|
163
|
+
vendor: 'AwoX',
|
|
164
|
+
description: 'LED light with color temperature',
|
|
165
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
166
|
+
whiteLabel: [{vendor: 'EGLO', model: '12239'}],
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
zigbeeModel: ['EGLO_ZM_TW'],
|
|
170
|
+
fingerprint: [
|
|
171
|
+
{
|
|
172
|
+
type: 'Router', manufacturerName: 'AwoX', modelID: 'TLSR82xx', endpoints: [
|
|
173
|
+
{ID: 1, profileID: 260, deviceID: 268, inputClusters: [0, 3, 4, 5, 6, 8, 768, 4096], outputClusters: [6, 25]},
|
|
174
|
+
{ID: 3, profileID: 49152, deviceID: 268, inputClusters: [65360, 65361], outputClusters: [65360, 65361]},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
model: '33955',
|
|
179
|
+
vendor: 'AwoX',
|
|
180
|
+
description: 'LED light with color temperature',
|
|
181
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
182
|
+
whiteLabel: [{vendor: 'EGLO', model: '900316'}, {vendor: 'EGLO', model: '900317'}, {vendor: 'EGLO', model: '900053'}],
|
|
183
|
+
},
|
|
184
|
+
];
|
package/devices/axis.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const exposes = require('../lib/exposes');
|
|
2
|
+
const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
|
|
3
|
+
const tz = require('../converters/toZigbee');
|
|
4
|
+
const reporting = require('../lib/reporting');
|
|
5
|
+
const e = exposes.presets;
|
|
6
|
+
module.exports = [
|
|
7
|
+
{
|
|
8
|
+
zigbeeModel: ['Gear'],
|
|
9
|
+
model: 'GR-ZB01-W',
|
|
10
|
+
vendor: 'AXIS',
|
|
11
|
+
description: 'Gear window shade motor',
|
|
12
|
+
fromZigbee: [fz.cover_position_tilt, fz.battery],
|
|
13
|
+
toZigbee: [tz.cover_state, tz.cover_position_tilt],
|
|
14
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
15
|
+
const endpoint = device.getEndpoint(1);
|
|
16
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'closuresWindowCovering']);
|
|
17
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
18
|
+
await reporting.currentPositionLiftPercentage(endpoint);
|
|
19
|
+
},
|
|
20
|
+
exposes: [e.cover_position(), e.battery()],
|
|
21
|
+
},
|
|
22
|
+
];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const extend = require('../lib/extend');
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
{
|
|
5
|
+
zigbeeModel: ['Bankamp Dimm-Leuchte'],
|
|
6
|
+
model: '2189/1-xx',
|
|
7
|
+
vendor: 'Bankamp',
|
|
8
|
+
description: 'Ceiling light (e.g. Grazia, Grand)',
|
|
9
|
+
extend: extend.light_onoff_brightness(),
|
|
10
|
+
},
|
|
11
|
+
];
|
package/devices/bega.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const extend = require('../lib/extend');
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
{
|
|
5
|
+
fingerprint: [
|
|
6
|
+
{type: 'Router', manufacturerName: 'BEGA Gantenbrink-Leuchten KG', modelID: '', endpoints: [
|
|
7
|
+
{ID: 1, profileID: 260, deviceID: 258, inputClusters: [0, 3, 4, 5, 6, 8, 9, 768, 769, 64733], outputClusters: [25]},
|
|
8
|
+
]},
|
|
9
|
+
],
|
|
10
|
+
model: '70049',
|
|
11
|
+
vendor: 'Bega',
|
|
12
|
+
description: 'Zigbee control module DALI',
|
|
13
|
+
extend: extend.light_onoff_brightness(),
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
zigbeeModel: ['BEGA 13557 bulb E27 RGBW 805lm'],
|
|
17
|
+
model: '13557',
|
|
18
|
+
vendor: 'Bega',
|
|
19
|
+
description: 'LED lamp with adjustable LED color temperature (Tunable White - RGBW) for use in luminaires with E27 lamp base',
|
|
20
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 556]}),
|
|
21
|
+
},
|
|
22
|
+
];
|