@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,515 @@
|
|
|
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
|
+
|
|
8
|
+
const tzLocal = {
|
|
9
|
+
DD10Z_brightness: {
|
|
10
|
+
key: ['brightness'],
|
|
11
|
+
options: [exposes.options.transition()],
|
|
12
|
+
convertSet: async (entity, key, value, meta) => {
|
|
13
|
+
// Device doesn't support moveToLevelWithOnOff therefore this converter is needed.
|
|
14
|
+
await entity.command('genLevelCtrl', 'moveToLevel', {level: Number(value), transtime: 0}, {disableDefaultResponse: true});
|
|
15
|
+
return {state: {brightness: value}};
|
|
16
|
+
},
|
|
17
|
+
convertGet: async (entity, key, meta) => {
|
|
18
|
+
await entity.read('genLevelCtrl', ['currentLevel']);
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
module.exports = [
|
|
24
|
+
{
|
|
25
|
+
zigbeeModel: ['ccb9f56837ab41dcad366fb1452096b6'],
|
|
26
|
+
model: 'DD10Z',
|
|
27
|
+
vendor: 'ORVIBO',
|
|
28
|
+
description: 'Smart spotlight',
|
|
29
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/13123#issuecomment-1198793749
|
|
30
|
+
meta: {disableDefaultResponse: true},
|
|
31
|
+
toZigbee: [tz.on_off, tzLocal.DD10Z_brightness, tz.light_colortemp, tz.effect],
|
|
32
|
+
extend: extend.light_onoff_brightness_colortemp(
|
|
33
|
+
{colorTempRange: [153, 370], disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
zigbeeModel: ['4a33f5ea766a4c96a962b371ffde9943'],
|
|
37
|
+
model: 'DS20Z07B',
|
|
38
|
+
vendor: 'ORVIBO',
|
|
39
|
+
description: 'Downlight (S series)',
|
|
40
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [166, 370]}),
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
zigbeeModel: ['ORVIBO Socket', '93e29b89b2ee45bea5bdbb7679d75d24'],
|
|
44
|
+
model: 'OR-ZB-S010-3C',
|
|
45
|
+
vendor: 'ORVIBO',
|
|
46
|
+
description: 'Smart socket',
|
|
47
|
+
extend: extend.switch(),
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
zigbeeModel: ['3c4e4fc81ed442efaf69353effcdfc5f', '51725b7bcba945c8a595b325127461e9'],
|
|
51
|
+
model: 'CR11S8UZ',
|
|
52
|
+
vendor: 'ORVIBO',
|
|
53
|
+
description: 'Smart sticker switch',
|
|
54
|
+
fromZigbee: [fz.orvibo_raw_1],
|
|
55
|
+
exposes: [e.action(['button_1_click', 'button_1_hold', 'button_1_release', 'button_2_click', 'button_2_hold', 'button_2_release',
|
|
56
|
+
'button_3_click', 'button_3_hold', 'button_3_release', 'button_4_click', 'button_4_hold', 'button_4_release'])],
|
|
57
|
+
toZigbee: [],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
zigbeeModel: ['31c989b65ebb45beaf3b67b1361d3965'],
|
|
61
|
+
model: 'T18W3Z',
|
|
62
|
+
vendor: 'ORVIBO',
|
|
63
|
+
description: 'Neutral smart switch 3 gang',
|
|
64
|
+
extend: extend.switch(),
|
|
65
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3')],
|
|
66
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
67
|
+
const endpoint1 = device.getEndpoint(1);
|
|
68
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
69
|
+
await reporting.onOff(endpoint1);
|
|
70
|
+
const endpoint2 = device.getEndpoint(2);
|
|
71
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
72
|
+
await reporting.onOff(endpoint2);
|
|
73
|
+
const endpoint3 = device.getEndpoint(3);
|
|
74
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
75
|
+
await reporting.onOff(endpoint3);
|
|
76
|
+
},
|
|
77
|
+
endpoint: (device) => {
|
|
78
|
+
return {'l1': 1, 'l2': 2, 'l3': 3};
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
zigbeeModel: ['fdd76effa0e146b4bdafa0c203a37192', 'c670e231d1374dbc9e3c6a9fffbd0ae6', '75a4bfe8ef9c4350830a25d13e3ab068'],
|
|
83
|
+
model: 'SM10ZW',
|
|
84
|
+
vendor: 'ORVIBO',
|
|
85
|
+
description: 'Door or window contact switch',
|
|
86
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
|
|
87
|
+
toZigbee: [],
|
|
88
|
+
exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery()],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
zigbeeModel: ['8643db61de35494d93e72c1289b526a3'],
|
|
92
|
+
model: 'RL804CZB',
|
|
93
|
+
vendor: 'Orvibo',
|
|
94
|
+
description: 'Zigbee LED controller RGB + CCT or RGBW',
|
|
95
|
+
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
zigbeeModel: ['82c167c95ed746cdbd21d6817f72c593', '8762413da99140cbb809195ff40f8c51'],
|
|
99
|
+
model: 'RL804QZB',
|
|
100
|
+
vendor: 'ORVIBO',
|
|
101
|
+
description: 'Multi-functional 3 gang relay',
|
|
102
|
+
extend: extend.switch(),
|
|
103
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3')],
|
|
104
|
+
endpoint: (device) => {
|
|
105
|
+
return {l1: 1, l2: 2, l3: 3};
|
|
106
|
+
},
|
|
107
|
+
meta: {multiEndpoint: true},
|
|
108
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
109
|
+
const endpoint1 = device.getEndpoint(1);
|
|
110
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
111
|
+
const endpoint2 = device.getEndpoint(2);
|
|
112
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
113
|
+
const endpoint3 = device.getEndpoint(3);
|
|
114
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
zigbeeModel: ['396483ce8b3f4e0d8e9d79079a35a420'],
|
|
119
|
+
model: 'CM10ZW',
|
|
120
|
+
vendor: 'ORVIBO',
|
|
121
|
+
description: 'Multi-functional 3 gang relay',
|
|
122
|
+
extend: extend.switch(),
|
|
123
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3')],
|
|
124
|
+
endpoint: (device) => {
|
|
125
|
+
return {l1: 1, l2: 2, l3: 3};
|
|
126
|
+
},
|
|
127
|
+
meta: {multiEndpoint: true},
|
|
128
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
129
|
+
const endpoint1 = device.getEndpoint(1);
|
|
130
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
131
|
+
const endpoint2 = device.getEndpoint(2);
|
|
132
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
133
|
+
const endpoint3 = device.getEndpoint(3);
|
|
134
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
zigbeeModel: ['b467083cfc864f5e826459e5d8ea6079'],
|
|
139
|
+
model: 'ST20',
|
|
140
|
+
vendor: 'ORVIBO',
|
|
141
|
+
description: 'Temperature & humidity sensor',
|
|
142
|
+
fromZigbee: [fz.humidity, fz.temperature, fz.battery],
|
|
143
|
+
toZigbee: [],
|
|
144
|
+
meta: {battery: {voltageToPercentage: '3V_2500'}},
|
|
145
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
146
|
+
const endpoint1 = device.getEndpoint(1);
|
|
147
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['msTemperatureMeasurement']);
|
|
148
|
+
const endpoint2 = device.getEndpoint(2);
|
|
149
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['msRelativeHumidity', 'genPowerCfg']);
|
|
150
|
+
await reporting.temperature(endpoint1);
|
|
151
|
+
await reporting.humidity(endpoint2);
|
|
152
|
+
await reporting.batteryVoltage(endpoint2);
|
|
153
|
+
await reporting.batteryPercentageRemaining(endpoint2);
|
|
154
|
+
},
|
|
155
|
+
exposes: [e.humidity(), e.temperature(), e.battery()],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
zigbeeModel: ['888a434f3cfc47f29ec4a3a03e9fc442'],
|
|
159
|
+
model: 'ST21',
|
|
160
|
+
vendor: 'ORVIBO',
|
|
161
|
+
description: 'Temperature & humidity Sensor',
|
|
162
|
+
fromZigbee: [fz.temperature, fz.humidity, fz.battery],
|
|
163
|
+
toZigbee: [],
|
|
164
|
+
meta: {battery: {voltageToPercentage: '3V_2500'}},
|
|
165
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
166
|
+
const endpoint1 = device.getEndpoint(1);
|
|
167
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['msTemperatureMeasurement']);
|
|
168
|
+
const endpoint2 = device.getEndpoint(2);
|
|
169
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['msRelativeHumidity', 'genPowerCfg']);
|
|
170
|
+
await reporting.temperature(endpoint1);
|
|
171
|
+
await reporting.humidity(endpoint2);
|
|
172
|
+
await reporting.batteryVoltage(endpoint2);
|
|
173
|
+
await reporting.batteryPercentageRemaining(endpoint2);
|
|
174
|
+
},
|
|
175
|
+
exposes: [e.temperature(), e.humidity(), e.battery()],
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
zigbeeModel: ['898ca74409a740b28d5841661e72268d', '50938c4c3c0b4049923cd5afbc151bde'],
|
|
179
|
+
model: 'ST30',
|
|
180
|
+
vendor: 'ORVIBO',
|
|
181
|
+
description: 'Temperature & humidity sensor',
|
|
182
|
+
fromZigbee: [fz.humidity, fz.temperature, fz.battery],
|
|
183
|
+
toZigbee: [],
|
|
184
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
185
|
+
const endpoint1 = device.getEndpoint(1);
|
|
186
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['msTemperatureMeasurement']);
|
|
187
|
+
const endpoint2 = device.getEndpoint(2);
|
|
188
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['msRelativeHumidity', 'genPowerCfg']);
|
|
189
|
+
await reporting.temperature(endpoint1);
|
|
190
|
+
await reporting.humidity(endpoint2);
|
|
191
|
+
await reporting.batteryVoltage(endpoint2);
|
|
192
|
+
await reporting.batteryPercentageRemaining(endpoint2);
|
|
193
|
+
},
|
|
194
|
+
exposes: [e.humidity(), e.temperature(), e.battery()],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
zigbeeModel: ['9f76c9f31b4c4a499e3aca0977ac4494', '6fd24c0f58a04c848fea837aaa7d6e0f'],
|
|
198
|
+
model: 'T30W3Z',
|
|
199
|
+
vendor: 'ORVIBO',
|
|
200
|
+
description: 'Smart light switch - 3 gang',
|
|
201
|
+
extend: extend.switch(),
|
|
202
|
+
exposes: [e.switch().withEndpoint('top'), e.switch().withEndpoint('center'), e.switch().withEndpoint('bottom')],
|
|
203
|
+
meta: {multiEndpoint: true},
|
|
204
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
205
|
+
const endpoint1 = device.getEndpoint(1);
|
|
206
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
207
|
+
const endpoint2 = device.getEndpoint(2);
|
|
208
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
209
|
+
const endpoint3 = device.getEndpoint(3);
|
|
210
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
211
|
+
},
|
|
212
|
+
endpoint: (device) => {
|
|
213
|
+
return {'top': 1, 'center': 2, 'bottom': 3};
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
zigbeeModel: ['074b3ffba5a045b7afd94c47079dd553'],
|
|
218
|
+
model: 'T21W2Z',
|
|
219
|
+
vendor: 'ORVIBO',
|
|
220
|
+
description: 'Smart light switch - 2 gang',
|
|
221
|
+
extend: extend.switch(),
|
|
222
|
+
exposes: [e.switch().withEndpoint('top'), e.switch().withEndpoint('bottom')],
|
|
223
|
+
endpoint: (device) => {
|
|
224
|
+
return {'top': 1, 'bottom': 2};
|
|
225
|
+
},
|
|
226
|
+
meta: {multiEndpoint: true},
|
|
227
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
228
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
229
|
+
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
zigbeeModel: ['095db3379e414477ba6c2f7e0c6aa026'],
|
|
234
|
+
model: 'T21W1Z',
|
|
235
|
+
vendor: 'ORVIBO',
|
|
236
|
+
description: 'Smart light switch - 1 gang',
|
|
237
|
+
extend: extend.switch(),
|
|
238
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
239
|
+
const endpoint = device.getEndpoint(1);
|
|
240
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
zigbeeModel: ['093199ff04984948b4c78167c8e7f47e'],
|
|
245
|
+
model: 'W40CZ',
|
|
246
|
+
vendor: 'ORVIBO',
|
|
247
|
+
description: 'Smart curtain motor ',
|
|
248
|
+
fromZigbee: [fz.curtain_position_analog_output, fz.cover_position_tilt, fz.ignore_basic_report],
|
|
249
|
+
toZigbee: [tz.cover_state, tz.cover_position_tilt],
|
|
250
|
+
exposes: [e.cover_position()],
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
zigbeeModel: ['e0fc98cc88df4857847dc4ae73d80b9e'],
|
|
254
|
+
model: 'R11W2Z',
|
|
255
|
+
vendor: 'ORVIBO',
|
|
256
|
+
description: 'In wall switch - 2 gang',
|
|
257
|
+
extend: extend.switch(),
|
|
258
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2')],
|
|
259
|
+
endpoint: (device) => {
|
|
260
|
+
return {'l1': 1, 'l2': 2};
|
|
261
|
+
},
|
|
262
|
+
meta: {multiEndpoint: true},
|
|
263
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
264
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
265
|
+
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
zigbeeModel: ['9ea4d5d8778d4f7089ac06a3969e784b', '83b9b27d5ffb4830bf35be5b1023623e', '2810c2403b9c4a5db62cc62d1030d95e'],
|
|
270
|
+
model: 'R20W2Z',
|
|
271
|
+
vendor: 'ORVIBO',
|
|
272
|
+
description: 'In wall switch - 2 gang',
|
|
273
|
+
extend: extend.switch(),
|
|
274
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2')],
|
|
275
|
+
meta: {multiEndpoint: true},
|
|
276
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
277
|
+
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
|
|
278
|
+
await reporting.bind(device.getEndpoint(4), coordinatorEndpoint, ['genOnOff']);
|
|
279
|
+
},
|
|
280
|
+
endpoint: (device) => {
|
|
281
|
+
return {'l1': 1, 'l2': 2};
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
zigbeeModel: ['131c854783bc45c9b2ac58088d09571c', 'b2e57a0f606546cd879a1a54790827d6', '585fdfb8c2304119a2432e9845cf2623'],
|
|
286
|
+
model: 'SN10ZW',
|
|
287
|
+
vendor: 'ORVIBO',
|
|
288
|
+
description: 'Occupancy sensor',
|
|
289
|
+
fromZigbee: [fz.ias_occupancy_alarm_1_with_timeout, fz.battery],
|
|
290
|
+
toZigbee: [],
|
|
291
|
+
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery()],
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
zigbeeModel: ['da2edf1ded0d44e1815d06f45ce02029'],
|
|
295
|
+
model: 'SW21',
|
|
296
|
+
vendor: 'ORVIBO',
|
|
297
|
+
description: 'Water leakage sensor',
|
|
298
|
+
fromZigbee: [fz.ias_water_leak_alarm_1],
|
|
299
|
+
toZigbee: [],
|
|
300
|
+
exposes: [e.water_leak(), e.battery_low(), e.tamper()],
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
zigbeeModel: ['b7e305eb329f497384e966fe3fb0ac69', '52debf035a1b4a66af56415474646c02', 'MultIR'],
|
|
304
|
+
model: 'SW30',
|
|
305
|
+
vendor: 'ORVIBO',
|
|
306
|
+
description: 'Water leakage sensor',
|
|
307
|
+
fromZigbee: [fz.ias_water_leak_alarm_1],
|
|
308
|
+
toZigbee: [],
|
|
309
|
+
exposes: [e.water_leak(), e.battery_low(), e.tamper()],
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
zigbeeModel: ['72bd56c539ca4c7fba73a9be0ae0d19f'],
|
|
313
|
+
model: 'SE21',
|
|
314
|
+
vendor: 'ORVIBO',
|
|
315
|
+
description: 'Smart emergency button',
|
|
316
|
+
fromZigbee: [fz.command_status_change_notification_action],
|
|
317
|
+
exposes: [e.action(['off', 'single', 'double', 'hold'])],
|
|
318
|
+
toZigbee: [],
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
zigbeeModel: ['2a103244da0b406fa51410c692f79ead'],
|
|
322
|
+
model: 'AM25',
|
|
323
|
+
vendor: 'ORVIBO',
|
|
324
|
+
description: 'Smart blind controller',
|
|
325
|
+
fromZigbee: [fz.cover_position_tilt, fz.battery],
|
|
326
|
+
toZigbee: [tz.cover_state, tz.cover_position_tilt],
|
|
327
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
328
|
+
const endpoint = device.getEndpoint(1);
|
|
329
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'closuresWindowCovering']);
|
|
330
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
331
|
+
await reporting.currentPositionLiftPercentage(endpoint);
|
|
332
|
+
device.powerSource = 'Battery';
|
|
333
|
+
device.save();
|
|
334
|
+
},
|
|
335
|
+
exposes: [e.cover_position(), e.battery()],
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
zigbeeModel: ['2ae011fb6d0542f58705d6861064eb5f'],
|
|
339
|
+
model: 'T40W1Z',
|
|
340
|
+
vendor: 'ORVIBO',
|
|
341
|
+
description: 'MixSwitch 1 gang',
|
|
342
|
+
extend: extend.switch(),
|
|
343
|
+
exposes: [e.switch()],
|
|
344
|
+
|
|
345
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
346
|
+
const endpoint = device.getEndpoint(1);
|
|
347
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
348
|
+
await reporting.onOff(endpoint);
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
zigbeeModel: ['2e13af8e17434961be98f055d68c2166'],
|
|
353
|
+
model: 'T40W2Z',
|
|
354
|
+
vendor: 'ORVIBO',
|
|
355
|
+
description: 'MixSwitch 2 gangs',
|
|
356
|
+
extend: extend.switch(),
|
|
357
|
+
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right')],
|
|
358
|
+
endpoint: (device) => {
|
|
359
|
+
return {'left': 1, 'right': 2};
|
|
360
|
+
},
|
|
361
|
+
meta: {multiEndpoint: true},
|
|
362
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
363
|
+
const endpoint1 = device.getEndpoint(1);
|
|
364
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
365
|
+
await reporting.onOff(endpoint1);
|
|
366
|
+
const endpoint2 = device.getEndpoint(2);
|
|
367
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
368
|
+
await reporting.onOff(endpoint2);
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
zigbeeModel: ['e8d667cb184b4a2880dd886c23d00976'],
|
|
373
|
+
model: 'T40W3Z',
|
|
374
|
+
vendor: 'ORVIBO',
|
|
375
|
+
description: 'MixSwitch 3 gangs',
|
|
376
|
+
extend: extend.switch(),
|
|
377
|
+
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('center'), e.switch().withEndpoint('right')],
|
|
378
|
+
endpoint: (device) => {
|
|
379
|
+
return {'left': 1, 'center': 2, 'right': 3};
|
|
380
|
+
},
|
|
381
|
+
meta: {multiEndpoint: true},
|
|
382
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
383
|
+
const endpoint1 = device.getEndpoint(1);
|
|
384
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
385
|
+
await reporting.onOff(endpoint1);
|
|
386
|
+
const endpoint2 = device.getEndpoint(2);
|
|
387
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
388
|
+
await reporting.onOff(endpoint2);
|
|
389
|
+
const endpoint3 = device.getEndpoint(3);
|
|
390
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
391
|
+
await reporting.onOff(endpoint3);
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
zigbeeModel: ['20513b10079f4cc68cffb8b0dc6d3277'],
|
|
396
|
+
model: 'T40W4Z',
|
|
397
|
+
vendor: 'ORVIBO',
|
|
398
|
+
description: 'MixSwitch 4 gangs',
|
|
399
|
+
extend: extend.switch(),
|
|
400
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3'),
|
|
401
|
+
e.switch().withEndpoint('l4'), e.switch().withEndpoint('l5'), e.switch().withEndpoint('l6')],
|
|
402
|
+
endpoint: (device) => {
|
|
403
|
+
return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4, 'l5': 5, 'l6': 6};
|
|
404
|
+
},
|
|
405
|
+
meta: {multiEndpoint: true},
|
|
406
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
407
|
+
const endpoint1 = device.getEndpoint(1);
|
|
408
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
409
|
+
await reporting.onOff(endpoint1);
|
|
410
|
+
const endpoint2 = device.getEndpoint(2);
|
|
411
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
412
|
+
await reporting.onOff(endpoint2);
|
|
413
|
+
const endpoint3 = device.getEndpoint(3);
|
|
414
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
415
|
+
await reporting.onOff(endpoint3);
|
|
416
|
+
const endpoint4 = device.getEndpoint(4);
|
|
417
|
+
await reporting.bind(endpoint4, coordinatorEndpoint, ['genOnOff']);
|
|
418
|
+
await reporting.onOff(endpoint4);
|
|
419
|
+
const endpoint5 = device.getEndpoint(5);
|
|
420
|
+
await reporting.bind(endpoint5, coordinatorEndpoint, ['genOnOff']);
|
|
421
|
+
await reporting.onOff(endpoint5);
|
|
422
|
+
const endpoint6 = device.getEndpoint(6);
|
|
423
|
+
await reporting.bind(endpoint6, coordinatorEndpoint, ['genOnOff']);
|
|
424
|
+
await reporting.onOff(endpoint6);
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
zigbeeModel: ['bcb949e87e8c4ea6bc2803052dd8fbf5'],
|
|
429
|
+
model: 'T40S6Z',
|
|
430
|
+
vendor: 'ORVIBO',
|
|
431
|
+
description: 'MixSwitch 6 gangs',
|
|
432
|
+
fromZigbee: [fz.orvibo_raw_2],
|
|
433
|
+
toZigbee: [],
|
|
434
|
+
exposes: [e.action(['button_1_click', 'button_2_click', 'button_3_click', 'button_4_click', 'button_5_click', 'button_6_click'])],
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
zigbeeModel: ['ba8120ad03f744ecb6a973672369e80d'],
|
|
438
|
+
model: 'T41W1Z',
|
|
439
|
+
vendor: 'ORVIBO',
|
|
440
|
+
description: 'MixSwitch 1 gang (without neutral wire)',
|
|
441
|
+
extend: extend.switch(),
|
|
442
|
+
exposes: [e.switch()],
|
|
443
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
444
|
+
const endpoint = device.getEndpoint(1);
|
|
445
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
446
|
+
await reporting.onOff(endpoint);
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
zigbeeModel: ['7c8f476a0f764cd4b994bc73d07c906d'],
|
|
451
|
+
model: 'T41W2Z',
|
|
452
|
+
vendor: 'ORVIBO',
|
|
453
|
+
description: 'MixSwitch 2 gang (without neutral wire)',
|
|
454
|
+
extend: extend.switch(),
|
|
455
|
+
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right')],
|
|
456
|
+
endpoint: (device) => {
|
|
457
|
+
return {'left': 1, 'right': 2};
|
|
458
|
+
},
|
|
459
|
+
meta: {multiEndpoint: true},
|
|
460
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
461
|
+
const endpoint1 = device.getEndpoint(1);
|
|
462
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
463
|
+
await reporting.onOff(endpoint1);
|
|
464
|
+
const endpoint2 = device.getEndpoint(2);
|
|
465
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
466
|
+
await reporting.onOff(endpoint2);
|
|
467
|
+
},
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
zigbeeModel: ['cb7ce9fe2cb147e69c5ea700b39b3d5b'],
|
|
471
|
+
model: 'DM10ZW',
|
|
472
|
+
vendor: 'ORVIBO',
|
|
473
|
+
description: '0-10v dimmer',
|
|
474
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 371]}),
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
zigbeeModel: ['1a20628504bf48c88ed698fe96b7867c'],
|
|
478
|
+
model: 'DTZ09039',
|
|
479
|
+
vendor: 'ORVIBO',
|
|
480
|
+
description: 'Downlight (Q series)',
|
|
481
|
+
extend: extend.light_onoff_brightness(),
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
zigbeeModel: ['bbfed49c738948b989911f9f9f73d759'],
|
|
485
|
+
model: 'R30W3Z',
|
|
486
|
+
vendor: 'ORVIBO',
|
|
487
|
+
description: 'In-wall switch 3 gang',
|
|
488
|
+
extend: extend.switch(),
|
|
489
|
+
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('center'), e.switch().withEndpoint('right')],
|
|
490
|
+
endpoint: (device) => {
|
|
491
|
+
return {'left': 1, 'center': 2, 'right': 3};
|
|
492
|
+
},
|
|
493
|
+
meta: {multiEndpoint: true},
|
|
494
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
495
|
+
const endpoint1 = device.getEndpoint(1);
|
|
496
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
497
|
+
await reporting.onOff(endpoint1);
|
|
498
|
+
const endpoint2 = device.getEndpoint(2);
|
|
499
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
|
|
500
|
+
await reporting.onOff(endpoint2);
|
|
501
|
+
const endpoint3 = device.getEndpoint(3);
|
|
502
|
+
await reporting.bind(endpoint3, coordinatorEndpoint, ['genOnOff']);
|
|
503
|
+
await reporting.onOff(endpoint3);
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
zigbeeModel: ['0e93fa9c36bb417a90ad5d8a184b683a'],
|
|
508
|
+
model: 'SM20',
|
|
509
|
+
vendor: 'ORVIBO',
|
|
510
|
+
description: 'Door or window contact switch',
|
|
511
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
|
|
512
|
+
toZigbee: [],
|
|
513
|
+
exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery()],
|
|
514
|
+
},
|
|
515
|
+
];
|