@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,262 @@
|
|
|
1
|
+
const exposes = require('../lib/exposes');
|
|
2
|
+
const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
|
|
3
|
+
const reporting = require('../lib/reporting');
|
|
4
|
+
const extend = require('../lib/extend');
|
|
5
|
+
const tz = require('../converters/toZigbee');
|
|
6
|
+
const ota = require('../lib/ota');
|
|
7
|
+
const e = exposes.presets;
|
|
8
|
+
const ea = exposes.access;
|
|
9
|
+
|
|
10
|
+
module.exports = [
|
|
11
|
+
{
|
|
12
|
+
zigbeeModel: ['511.050'],
|
|
13
|
+
model: '511.050',
|
|
14
|
+
vendor: 'Iluminize',
|
|
15
|
+
description: 'Zigbee 3.0 LED controller for 5in1 RGB+CCT LEDs',
|
|
16
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [155, 450]}),
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
zigbeeModel: ['DIM Lighting'],
|
|
20
|
+
model: '511.10',
|
|
21
|
+
vendor: 'Iluminize',
|
|
22
|
+
description: 'Zigbee LED-Controller ',
|
|
23
|
+
extend: extend.light_onoff_brightness(),
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
zigbeeModel: ['511.201'],
|
|
27
|
+
model: '511.201',
|
|
28
|
+
vendor: 'Iluminize',
|
|
29
|
+
description: 'ZigBee 3.0 dimming actuator mini 1x 230V',
|
|
30
|
+
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
31
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
32
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
33
|
+
const endpoint = device.getEndpoint(1);
|
|
34
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
35
|
+
await reporting.onOff(endpoint);
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
zigbeeModel: ['5120.1100'],
|
|
40
|
+
model: '5120.1100',
|
|
41
|
+
vendor: 'Iluminize',
|
|
42
|
+
description: 'ZigBee 3.0 dimming actuator mini 1x 230V',
|
|
43
|
+
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
44
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
45
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
46
|
+
const endpoint = device.getEndpoint(1);
|
|
47
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
48
|
+
await reporting.onOff(endpoint);
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
zigbeeModel: ['5120.1110'],
|
|
53
|
+
model: '5120.1110',
|
|
54
|
+
vendor: 'Iluminize',
|
|
55
|
+
description: 'ZigBee 3.0 dimming actuator mini 1x 230V',
|
|
56
|
+
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
57
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
58
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
59
|
+
const endpoint = device.getEndpoint(1);
|
|
60
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
61
|
+
await reporting.onOff(endpoint);
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
zigbeeModel: ['5120.2110'],
|
|
66
|
+
model: '5120.2110',
|
|
67
|
+
vendor: 'Iluminize',
|
|
68
|
+
description: 'ZigBee 3.0 dimming actuator mini 1x 230V',
|
|
69
|
+
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
70
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
71
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
72
|
+
const endpoint = device.getEndpoint(1);
|
|
73
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
74
|
+
await reporting.onOff(endpoint);
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
zigbeeModel: ['511.010'],
|
|
79
|
+
model: '511.010',
|
|
80
|
+
vendor: 'Iluminize',
|
|
81
|
+
description: 'Zigbee LED-Controller',
|
|
82
|
+
extend: extend.light_onoff_brightness(),
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
zigbeeModel: ['511.012'],
|
|
86
|
+
model: '511.012',
|
|
87
|
+
vendor: 'Iluminize',
|
|
88
|
+
description: 'Zigbee LED-Controller',
|
|
89
|
+
extend: extend.light_onoff_brightness(),
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
zigbeeModel: ['511.202'],
|
|
93
|
+
model: '511.202',
|
|
94
|
+
vendor: 'Iluminize',
|
|
95
|
+
description: 'Zigbee 3.0 switch mini 1x230V, 200W/400W',
|
|
96
|
+
extend: extend.switch(),
|
|
97
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
98
|
+
const endpoint = device.getEndpoint(1) || device.getEndpoint(3);
|
|
99
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
100
|
+
await reporting.onOff(endpoint);
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
zigbeeModel: ['5120.1200'],
|
|
105
|
+
model: '5120.1200',
|
|
106
|
+
vendor: 'Iluminize',
|
|
107
|
+
description: 'Zigbee 3.0 switch mini 1x230V with neutral, 200W/400W',
|
|
108
|
+
extend: extend.switch(),
|
|
109
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
110
|
+
const endpoint = device.getEndpoint(1) || device.getEndpoint(3);
|
|
111
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
112
|
+
await reporting.onOff(endpoint);
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
zigbeeModel: ['5120.1210'],
|
|
117
|
+
model: '5120.1210',
|
|
118
|
+
vendor: 'Iluminize',
|
|
119
|
+
description: 'Zigbee 3.0 switch mini 1x230V without neutral, 200W/400W',
|
|
120
|
+
extend: extend.switch(),
|
|
121
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
122
|
+
const endpoint = device.getEndpoint(1) || device.getEndpoint(3);
|
|
123
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
124
|
+
await reporting.onOff(endpoint);
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
zigbeeModel: ['5128.10'],
|
|
129
|
+
model: '5128.10',
|
|
130
|
+
vendor: 'Iluminize',
|
|
131
|
+
description: 'Zigbee 3.0 switch shutter SW with level control',
|
|
132
|
+
fromZigbee: [fz.cover_position_via_brightness, fz.cover_state_via_onoff, fz.cover_position_tilt],
|
|
133
|
+
toZigbee: [tz.cover_state, tz.cover_via_brightness],
|
|
134
|
+
exposes: [e.cover_position()],
|
|
135
|
+
ota: ota.zigbeeOTA,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
zigbeeModel: ['ZG2801K2-G1-RGB-CCT-LEAD'],
|
|
139
|
+
model: '511.557',
|
|
140
|
+
vendor: 'Iluminize',
|
|
141
|
+
description: 'Zigbee 3.0 wall dimmer',
|
|
142
|
+
fromZigbee: [fz.command_off, fz.command_on, fz.command_move_to_color_temp, fz.command_move_to_color],
|
|
143
|
+
toZigbee: [],
|
|
144
|
+
exposes: [e.action(['off', 'on', 'color_temperature_move', 'color_move'])],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
zigbeeModel: ['RGBW-CCT', '511.040'],
|
|
148
|
+
model: '511.040',
|
|
149
|
+
vendor: 'Iluminize',
|
|
150
|
+
description: 'ZigBee 3.0 LED-controller, 4 channel 5A, RGBW LED',
|
|
151
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
zigbeeModel: ['HK-ZD-RGB-A', '5110.40'],
|
|
155
|
+
model: '5110.40',
|
|
156
|
+
vendor: 'Iluminize',
|
|
157
|
+
description: 'Zigbee 3.0 LED controller multi 5 - 4A,RGB W/CCT LED',
|
|
158
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [160, 450]}),
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
zigbeeModel: ['HK-ZD-RGBCCT-A', '511.000'],
|
|
162
|
+
model: '511.000',
|
|
163
|
+
vendor: 'Iluminize',
|
|
164
|
+
whiteLabel: [{vendor: 'Sunricher', model: 'HK-ZD-RGBCCT-A'}],
|
|
165
|
+
description: 'Zigbee 3.0 universal LED-controller, 5 channel, RGBCCT LED',
|
|
166
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
zigbeeModel: ['ZG2819S-RGBW'],
|
|
170
|
+
model: '511.344',
|
|
171
|
+
vendor: 'Iluminize',
|
|
172
|
+
description: 'Zigbee handheld remote RGBW 4 channels',
|
|
173
|
+
fromZigbee: [fz.battery, fz.command_move_to_color, fz.command_move_to_color_temp, fz.command_move_hue,
|
|
174
|
+
fz.command_step, fz.command_recall, fz.command_on, fz.command_off],
|
|
175
|
+
exposes: [e.battery(), e.action([
|
|
176
|
+
'color_move', 'color_temperature_move', 'hue_move', 'hue_stop', 'brightness_step_up', 'brightness_step_down',
|
|
177
|
+
'recall_*', 'on', 'off']),
|
|
178
|
+
exposes.composite('action_color', 'action_color', ea.STATE)
|
|
179
|
+
.withFeature(exposes.numeric('x', ea.STATE))
|
|
180
|
+
.withFeature(exposes.numeric('y', ea.STATE))
|
|
181
|
+
.withDescription('Only shows the transmitted color in X7Y-Mode. Noch changes possible.'),
|
|
182
|
+
exposes.numeric('action_color_temperature', ea.STATE).withUnit('mired')
|
|
183
|
+
.withDescription('color temperature value. Fixed values for each key press: 145, 175, 222, 304, 480 mired'),
|
|
184
|
+
exposes.numeric('action_group', ea.STATE)
|
|
185
|
+
.withDescription('Shows the zigbee2mqtt group bound to the active data point EP(1-4).'),
|
|
186
|
+
exposes.numeric('action_transition_time', ea.STATE),
|
|
187
|
+
exposes.numeric('action_step_size', ea.STATE),
|
|
188
|
+
exposes.numeric('action_rate', ea.STATE)],
|
|
189
|
+
toZigbee: [],
|
|
190
|
+
meta: {multiEndpoint: true},
|
|
191
|
+
endpoint: (device) => {
|
|
192
|
+
return {ep1: 1, ep2: 2, ep3: 3, ep4: 4};
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
zigbeeModel: ['511.324'],
|
|
197
|
+
model: '511.324',
|
|
198
|
+
vendor: 'Iluminize',
|
|
199
|
+
description: 'Zigbee handheld remote CCT 4 channels',
|
|
200
|
+
fromZigbee: [fz.battery, fz.command_move_to_color, fz.command_move_to_color_temp, fz.command_move_hue,
|
|
201
|
+
fz.command_step, fz.command_recall, fz.command_on, fz.command_off, fz.command_toggle, fz.command_stop,
|
|
202
|
+
fz.command_move, fz.command_color_loop_set, fz.command_ehanced_move_to_hue_and_saturation],
|
|
203
|
+
exposes: [e.battery(), e.action([
|
|
204
|
+
'color_move', 'color_temperature_move', 'hue_move', 'brightness_step_up', 'brightness_step_down',
|
|
205
|
+
'recall_*', 'on', 'off', 'toggle', 'brightness_stop', 'brightness_move_up', 'brightness_move_down',
|
|
206
|
+
'color_loop_set', 'enhanced_move_to_hue_and_saturation', 'hue_stop']),
|
|
207
|
+
exposes.numeric('action_group', ea.STATE)
|
|
208
|
+
.withDescription('Shows the zigbee2mqtt group bound to the active data point EP(1-4).'),
|
|
209
|
+
exposes.numeric('action_transition_time', ea.STATE),
|
|
210
|
+
exposes.numeric('action_step_size', ea.STATE),
|
|
211
|
+
exposes.numeric('action_rate', ea.STATE)],
|
|
212
|
+
toZigbee: [],
|
|
213
|
+
meta: {multiEndpoint: true},
|
|
214
|
+
endpoint: (device) => {
|
|
215
|
+
return {ep1: 1, ep2: 2, ep3: 3, ep4: 4};
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
zigbeeModel: ['ZGRC-TEUR-002'],
|
|
220
|
+
model: '511.541',
|
|
221
|
+
vendor: 'Iluminize',
|
|
222
|
+
description: 'Zigbee 3.0 wall dimmer RGBW 1 zone',
|
|
223
|
+
fromZigbee: [fz.command_recall, fz.command_on, fz.command_off, fz.command_move_to_color, fz.command_move_to_color_temp,
|
|
224
|
+
fz.command_move_hue, fz.command_step, fz.command_move, fz.command_stop],
|
|
225
|
+
toZigbee: [],
|
|
226
|
+
exposes: [e.action(['recall_*', 'on', 'off', 'color_move', 'color_temperature_move',
|
|
227
|
+
'hue_move', 'brightness_step_down', 'brightness_step_up', 'brightness_move_down', 'brightness_move_up', 'brightness_stop'])],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
zigbeeModel: ['5112.80'],
|
|
231
|
+
model: '5112.80',
|
|
232
|
+
vendor: 'Iluminize',
|
|
233
|
+
description: 'Zigbee 3.0 LED-controller 1x 8A',
|
|
234
|
+
extend: extend.light_onoff_brightness(),
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
zigbeeModel: ['ZGRC-TEUR-001'],
|
|
238
|
+
model: '511.544',
|
|
239
|
+
vendor: 'Iluminize',
|
|
240
|
+
description: 'Zigbee 3.0 wall dimmer RGBW 4 zones',
|
|
241
|
+
fromZigbee: [fz.command_move_to_color, fz.command_move_hue, fz.command_on, fz.command_off, fz.command_move],
|
|
242
|
+
toZigbee: [],
|
|
243
|
+
exposes: [e.action(['recall_*', 'on', 'off', 'color_move', 'color_temperature_move',
|
|
244
|
+
'hue_move', 'brightness_step_down', 'brightness_step_up', 'brightness_move_down', 'brightness_move_up', 'brightness_stop'])],
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
zigbeeModel: ['ZGRC-TEUR-003'],
|
|
248
|
+
model: '511.524',
|
|
249
|
+
vendor: 'Iluminize',
|
|
250
|
+
description: 'Zigbee 3.0 wall dimmer CCT 4 zones',
|
|
251
|
+
fromZigbee: [fz.command_on, fz.command_off, fz.command_recall,
|
|
252
|
+
fz.command_move_to_color_temp, fz.command_step, fz.command_move, fz.command_stop],
|
|
253
|
+
toZigbee: [],
|
|
254
|
+
meta: {multiEndpoint: true},
|
|
255
|
+
exposes: [e.action([
|
|
256
|
+
'recall_*', 'on', 'off',
|
|
257
|
+
'brightness_step_down', 'brightness_step_up',
|
|
258
|
+
'brightness_move_down', 'brightness_move_up', 'brightness_stop',
|
|
259
|
+
'color_move', 'color_temperature_move', 'hue_move',
|
|
260
|
+
'color_loop_set', 'enhanced_move_to_hue_and_saturation', 'hue_stop'])],
|
|
261
|
+
},
|
|
262
|
+
];
|
package/devices/ilux.js
ADDED
package/devices/immax.js
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
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 tuya = require('../lib/tuya');
|
|
5
|
+
const reporting = require('../lib/reporting');
|
|
6
|
+
const extend = require('../lib/extend');
|
|
7
|
+
const e = exposes.presets;
|
|
8
|
+
const ea = exposes.access;
|
|
9
|
+
|
|
10
|
+
module.exports = [
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
zigbeeModel: ['Motion-Sensor-ZB3.0'],
|
|
14
|
+
model: '07043M',
|
|
15
|
+
vendor: 'Immax',
|
|
16
|
+
description: 'Motion sensor',
|
|
17
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery],
|
|
18
|
+
toZigbee: [],
|
|
19
|
+
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery()],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
zigbeeModel: ['ZBT-CCTfilament-D0000'],
|
|
23
|
+
model: '07089L',
|
|
24
|
+
vendor: 'Immax',
|
|
25
|
+
description: 'NEO SMART LED E27 5W',
|
|
26
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
zigbeeModel: ['E27-filament-Dim-ZB3.0'],
|
|
30
|
+
model: '07088L',
|
|
31
|
+
vendor: 'Immax',
|
|
32
|
+
description: 'Neo SMART LED filament E27 6.3W warm white, dimmable, Zigbee 3.0',
|
|
33
|
+
extend: extend.light_onoff_brightness(),
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
zigbeeModel: ['IM-Z3.0-DIM'],
|
|
37
|
+
model: '07001L/07005B',
|
|
38
|
+
vendor: 'Immax',
|
|
39
|
+
description: 'Neo SMART LED E14 5W warm white, dimmable, Zigbee 3.0',
|
|
40
|
+
extend: extend.light_onoff_brightness(),
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
zigbeeModel: ['IM-Z3.0-RGBW'],
|
|
44
|
+
model: '07004D/07005L',
|
|
45
|
+
vendor: 'Immax',
|
|
46
|
+
description: 'Neo SMART LED E27/E14 color, dimmable, Zigbee 3.0',
|
|
47
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
zigbeeModel: ['IM-Z3.0-RGBCCT'],
|
|
51
|
+
model: '07008L',
|
|
52
|
+
vendor: 'Immax',
|
|
53
|
+
description: 'Neo SMART LED strip RGB + CCT, color, dimmable, Zigbee 3.0',
|
|
54
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_pwauw3g2'}],
|
|
58
|
+
model: '07743L',
|
|
59
|
+
vendor: 'Immax',
|
|
60
|
+
description: 'Neo Smart LED E27 11W RGB + CCT, color, dimmable, Zigbee 3.0',
|
|
61
|
+
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
zigbeeModel: ['Keyfob-ZB3.0'],
|
|
65
|
+
model: '07046L',
|
|
66
|
+
vendor: 'Immax',
|
|
67
|
+
description: '4-Touch single click buttons',
|
|
68
|
+
fromZigbee: [fz.legacy.immax_07046L_arm, fz.command_panic],
|
|
69
|
+
exposes: [e.action(['disarm', 'arm_stay', 'arm_away', 'panic'])],
|
|
70
|
+
toZigbee: [],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
zigbeeModel: ['DoorWindow-Sensor-ZB3.0'],
|
|
74
|
+
model: '07045L',
|
|
75
|
+
vendor: 'Immax',
|
|
76
|
+
description: 'Magnetic contact sensor',
|
|
77
|
+
fromZigbee: [fz.ias_contact_alarm_1],
|
|
78
|
+
toZigbee: [],
|
|
79
|
+
exposes: [e.contact(), e.battery_low(), e.tamper()],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
zigbeeModel: ['Plug-230V-ZB3.0'],
|
|
83
|
+
model: '07048L',
|
|
84
|
+
vendor: 'Immax',
|
|
85
|
+
description: 'NEO SMART plug',
|
|
86
|
+
fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering],
|
|
87
|
+
toZigbee: [tz.on_off],
|
|
88
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
89
|
+
const endpoint = device.getEndpoint(1);
|
|
90
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
|
|
91
|
+
await reporting.onOff(endpoint);
|
|
92
|
+
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
|
|
93
|
+
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
94
|
+
await reporting.currentSummDelivered(endpoint);
|
|
95
|
+
await reporting.activePower(endpoint, {change: 5});
|
|
96
|
+
},
|
|
97
|
+
exposes: [e.switch(), e.power(), e.energy()],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
zigbeeModel: ['losfena'],
|
|
101
|
+
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_wlosfena'}],
|
|
102
|
+
model: '07703L',
|
|
103
|
+
vendor: 'Immax',
|
|
104
|
+
description: 'Radiator valve',
|
|
105
|
+
fromZigbee: [fz.legacy.tuya_thermostat_weekly_schedule, fz.etop_thermostat, fz.ignore_basic_report, fz.ignore_tuya_set_time],
|
|
106
|
+
toZigbee: [tz.etop_thermostat_system_mode, tz.etop_thermostat_away_mode, tz.tuya_thermostat_child_lock,
|
|
107
|
+
tz.tuya_thermostat_current_heating_setpoint, tz.tuya_thermostat_weekly_schedule],
|
|
108
|
+
onEvent: tuya.onEventSetTime,
|
|
109
|
+
meta: {
|
|
110
|
+
timeout: 20000, // TRV wakes up every 10sec
|
|
111
|
+
thermostat: {
|
|
112
|
+
weeklyScheduleMaxTransitions: 4,
|
|
113
|
+
weeklyScheduleSupportedModes: [1], // bits: 0-heat present, 1-cool present (dec: 1-heat,2-cool,3-heat+cool)
|
|
114
|
+
weeklyScheduleFirstDayDpId: tuya.dataPoints.schedule,
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
exposes: [e.battery_low(), e.child_lock(), e.away_mode(), exposes.climate()
|
|
118
|
+
.withSetpoint('current_heating_setpoint', 5, 35, 0.5, ea.STATE_SET)
|
|
119
|
+
.withLocalTemperature(ea.STATE).withSystemMode(['off', 'heat', 'auto'], ea.STATE_SET)
|
|
120
|
+
.withRunningState(['idle', 'heat'], ea.STATE)],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
zigbeeModel: ['Bulb-RGB+CCT-ZB3.0'],
|
|
124
|
+
model: '07115L',
|
|
125
|
+
vendor: 'Immax',
|
|
126
|
+
description: 'Neo SMART LED E27 9W RGB + CCT, dimmable, Zigbee 3.0',
|
|
127
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
zigbeeModel: ['4in1-Sensor-ZB3.0'],
|
|
131
|
+
model: '07047L',
|
|
132
|
+
vendor: 'Immax',
|
|
133
|
+
description: 'Intelligent motion sensor',
|
|
134
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.temperature, fz.illuminance, fz.humidity, fz.ignore_iaszone_report],
|
|
135
|
+
toZigbee: [],
|
|
136
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
137
|
+
const endpoint = device.getEndpoint(1);
|
|
138
|
+
const binds = ['msTemperatureMeasurement', 'msRelativeHumidity', 'msIlluminanceMeasurement'];
|
|
139
|
+
await reporting.bind(endpoint, coordinatorEndpoint, binds);
|
|
140
|
+
await reporting.temperature(endpoint);
|
|
141
|
+
await reporting.humidity(endpoint);
|
|
142
|
+
await reporting.illuminance(endpoint);
|
|
143
|
+
},
|
|
144
|
+
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery(), e.temperature(), e.illuminance(), e.illuminance_lux(),
|
|
145
|
+
e.humidity()],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
zigbeeModel: ['ColorTemperature'],
|
|
149
|
+
fingerprint: [{modelID: '07073L', manufacturerName: 'Seastar Intelligence'}],
|
|
150
|
+
model: '07073L',
|
|
151
|
+
vendor: 'Immax',
|
|
152
|
+
description: 'Neo CANTO/HIPODROMO SMART, color temp, dimmable, Zigbee 3.0',
|
|
153
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
zigbeeModel: ['IM-Z3.0-CCT'],
|
|
157
|
+
model: '07042L',
|
|
158
|
+
vendor: 'Immax',
|
|
159
|
+
description: 'Neo RECUADRO SMART, color temp, dimmable, Zigbee 3.0',
|
|
160
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TZ3210_jijr1sss'}],
|
|
164
|
+
model: '07502L',
|
|
165
|
+
vendor: 'Immax',
|
|
166
|
+
description: '4 in 1 multi sensor',
|
|
167
|
+
fromZigbee: [fz.battery, fz.ignore_basic_report, fz.illuminance, fz.ZB003X, fz.ZB003X_attr, fz.ZB003X_occupancy],
|
|
168
|
+
toZigbee: [tz.ZB003X],
|
|
169
|
+
exposes: [e.occupancy(), e.tamper(), e.battery(), e.illuminance(), e.illuminance_lux().withUnit('lx'), e.temperature(),
|
|
170
|
+
e.humidity(), exposes.numeric('reporting_time', ea.STATE_SET).withDescription('Reporting interval in minutes')
|
|
171
|
+
.withValueMin(0).withValueMax(1440),
|
|
172
|
+
exposes.numeric('temperature_calibration', ea.STATE_SET).withDescription('Temperature calibration')
|
|
173
|
+
.withValueMin(-20).withValueMax(20),
|
|
174
|
+
exposes.numeric('humidity_calibration', ea.STATE_SET).withDescription('Humidity calibration')
|
|
175
|
+
.withValueMin(-50).withValueMax(50),
|
|
176
|
+
exposes.numeric('illuminance_calibration', ea.STATE_SET).withDescription('Illuminance calibration')
|
|
177
|
+
.withValueMin(-10000).withValueMax(10000),
|
|
178
|
+
exposes.binary('pir_enable', ea.STATE_SET, true, false).withDescription('Enable PIR sensor'),
|
|
179
|
+
exposes.binary('led_enable', ea.STATE_SET, true, false).withDescription('Enabled LED'),
|
|
180
|
+
exposes.binary('reporting_enable', ea.STATE_SET, true, false).withDescription('Enabled reporting'),
|
|
181
|
+
exposes.enum('sensitivity', ea.STATE_SET, ['low', 'medium', 'high']).withDescription('PIR sensor sensitivity'),
|
|
182
|
+
// eslint-disable-next-line
|
|
183
|
+
exposes.enum('keep_time', ea.STATE_SET, ['0', '30', '60', '120', '240']).withDescription('PIR keep time in seconds')],
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_n9clpsht']),
|
|
187
|
+
model: '07505L',
|
|
188
|
+
vendor: 'Immax',
|
|
189
|
+
description: 'Neo smart keypad',
|
|
190
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
191
|
+
toZigbee: [],
|
|
192
|
+
exposes: [e.action(['disarm', 'arm_home', 'arm_away', 'sos']), e.tamper()],
|
|
193
|
+
meta: {
|
|
194
|
+
tuyaDatapoints: [
|
|
195
|
+
[24, 'tamper', tuya.valueConverter.trueFalse1],
|
|
196
|
+
[26, 'action', tuya.valueConverter.static('disarm')],
|
|
197
|
+
[27, 'action', tuya.valueConverter.static('arm_away')],
|
|
198
|
+
[28, 'action', tuya.valueConverter.static('arm_home')],
|
|
199
|
+
[29, 'action', tuya.valueConverter.static('sos')],
|
|
200
|
+
],
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
];
|