zigbee-herdsman-converters 23.0.0 → 23.1.0
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/CHANGELOG.md +7396 -0
- package/dist/converters/fromZigbee.d.ts +292 -2035
- package/dist/converters/fromZigbee.d.ts.map +1 -1
- package/dist/converters/fromZigbee.js +5084 -5085
- package/dist/converters/fromZigbee.js.map +1 -1
- package/dist/converters/toZigbee.d.ts +228 -1581
- package/dist/converters/toZigbee.d.ts.map +1 -1
- package/dist/converters/toZigbee.js +4163 -4174
- package/dist/converters/toZigbee.js.map +1 -1
- package/dist/devices/ITCommander.js +3 -6
- package/dist/devices/ITCommander.js.map +1 -1
- package/dist/devices/acova.js +15 -18
- package/dist/devices/acova.js.map +1 -1
- package/dist/devices/adeo.js +23 -26
- package/dist/devices/adeo.js.map +1 -1
- package/dist/devices/adurosmart.js +8 -11
- package/dist/devices/adurosmart.js.map +1 -1
- package/dist/devices/aeotec.js +2 -5
- package/dist/devices/aeotec.js.map +1 -1
- package/dist/devices/airam.js +3 -6
- package/dist/devices/airam.js.map +1 -1
- package/dist/devices/airzone_aidoo.js +9 -12
- package/dist/devices/airzone_aidoo.js.map +1 -1
- package/dist/devices/akuvox.js +2 -5
- package/dist/devices/akuvox.js.map +1 -1
- package/dist/devices/aldi.js +2 -5
- package/dist/devices/aldi.js.map +1 -1
- package/dist/devices/alecto.js +2 -5
- package/dist/devices/alecto.js.map +1 -1
- package/dist/devices/atlantic.js +9 -9
- package/dist/devices/atlantic.js.map +1 -1
- package/dist/devices/aurora_lighting.js +12 -15
- package/dist/devices/aurora_lighting.js.map +1 -1
- package/dist/devices/awox.js +11 -14
- package/dist/devices/awox.js.map +1 -1
- package/dist/devices/axis.js +4 -7
- package/dist/devices/axis.js.map +1 -1
- package/dist/devices/bitron.js +34 -37
- package/dist/devices/bitron.js.map +1 -1
- package/dist/devices/bituo_technik.js +3 -6
- package/dist/devices/bituo_technik.js.map +1 -1
- package/dist/devices/blaupunkt.js +4 -7
- package/dist/devices/blaupunkt.js.map +1 -1
- package/dist/devices/blitzwolf.js +3 -6
- package/dist/devices/blitzwolf.js.map +1 -1
- package/dist/devices/bosch.js +42 -45
- package/dist/devices/bosch.js.map +1 -1
- package/dist/devices/brimate.js +2 -5
- package/dist/devices/brimate.js.map +1 -1
- package/dist/devices/bticino.js +10 -13
- package/dist/devices/bticino.js.map +1 -1
- package/dist/devices/busch_jaeger.js +4 -7
- package/dist/devices/busch_jaeger.js.map +1 -1
- package/dist/devices/byun.js +3 -6
- package/dist/devices/byun.js.map +1 -1
- package/dist/devices/calex.js +8 -11
- package/dist/devices/calex.js.map +1 -1
- package/dist/devices/casaia.js +5 -8
- package/dist/devices/casaia.js.map +1 -1
- package/dist/devices/cel.js +35 -5
- package/dist/devices/cel.js.map +1 -1
- package/dist/devices/centralite.js +48 -51
- package/dist/devices/centralite.js.map +1 -1
- package/dist/devices/cleverio.js +6 -9
- package/dist/devices/cleverio.js.map +1 -1
- package/dist/devices/climax.js +15 -18
- package/dist/devices/climax.js.map +1 -1
- package/dist/devices/ctm.js +30 -33
- package/dist/devices/ctm.js.map +1 -1
- package/dist/devices/current_products_corp.js +4 -7
- package/dist/devices/current_products_corp.js.map +1 -1
- package/dist/devices/custom_devices_diy.js +35 -38
- package/dist/devices/custom_devices_diy.js.map +1 -1
- package/dist/devices/danalock.js +4 -7
- package/dist/devices/danalock.js.map +1 -1
- package/dist/devices/danfoss.js +82 -85
- package/dist/devices/danfoss.js.map +1 -1
- package/dist/devices/databyte.js +5 -8
- package/dist/devices/databyte.js.map +1 -1
- package/dist/devices/datek.js +29 -32
- package/dist/devices/datek.js.map +1 -1
- package/dist/devices/dawon_dns.js +17 -20
- package/dist/devices/dawon_dns.js.map +1 -1
- package/dist/devices/develco.js +36 -39
- package/dist/devices/develco.js.map +1 -1
- package/dist/devices/diyruz.js +27 -30
- package/dist/devices/diyruz.js.map +1 -1
- package/dist/devices/dlink.js +2 -5
- package/dist/devices/dlink.js.map +1 -1
- package/dist/devices/easyaccess.js +4 -7
- package/dist/devices/easyaccess.js.map +1 -1
- package/dist/devices/echostar.js +3 -6
- package/dist/devices/echostar.js.map +1 -1
- package/dist/devices/ecodim.js +7 -10
- package/dist/devices/ecodim.js.map +1 -1
- package/dist/devices/ecolink.js +2 -5
- package/dist/devices/ecolink.js.map +1 -1
- package/dist/devices/ecozy.js +17 -20
- package/dist/devices/ecozy.js.map +1 -1
- package/dist/devices/edp.js +4 -7
- package/dist/devices/edp.js.map +1 -1
- package/dist/devices/efekta.d.ts.map +1 -1
- package/dist/devices/efekta.js +297 -51
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/eglo.js +14 -17
- package/dist/devices/eglo.js.map +1 -1
- package/dist/devices/elko.js +5 -8
- package/dist/devices/elko.js.map +1 -1
- package/dist/devices/enocean.js +4 -7
- package/dist/devices/enocean.js.map +1 -1
- package/dist/devices/envilar.js +2 -5
- package/dist/devices/envilar.js.map +1 -1
- package/dist/devices/essentialb.js +2 -5
- package/dist/devices/essentialb.js.map +1 -1
- package/dist/devices/eurotronic.js +34 -37
- package/dist/devices/eurotronic.js.map +1 -1
- package/dist/devices/evn.js +11 -14
- package/dist/devices/evn.js.map +1 -1
- package/dist/devices/evology.js +4 -7
- package/dist/devices/evology.js.map +1 -1
- package/dist/devices/ewelink.js +2 -5
- package/dist/devices/ewelink.js.map +1 -1
- package/dist/devices/fantem.js +3 -6
- package/dist/devices/fantem.js.map +1 -1
- package/dist/devices/feibit.js +21 -24
- package/dist/devices/feibit.js.map +1 -1
- package/dist/devices/fireangel.js +2 -5
- package/dist/devices/fireangel.js.map +1 -1
- package/dist/devices/ge.js +6 -9
- package/dist/devices/ge.js.map +1 -1
- package/dist/devices/gewiss.js +4 -7
- package/dist/devices/gewiss.js.map +1 -1
- package/dist/devices/gledopto.d.ts.map +1 -1
- package/dist/devices/gledopto.js +18 -16
- package/dist/devices/gledopto.js.map +1 -1
- package/dist/devices/gmmts.js +2 -5
- package/dist/devices/gmmts.js.map +1 -1
- package/dist/devices/halemeier.js +7 -10
- package/dist/devices/halemeier.js.map +1 -1
- package/dist/devices/hampton_bay.js +4 -7
- package/dist/devices/hampton_bay.js.map +1 -1
- package/dist/devices/heiman.js +62 -65
- package/dist/devices/heiman.js.map +1 -1
- package/dist/devices/heimgard_technologies.js +20 -23
- package/dist/devices/heimgard_technologies.js.map +1 -1
- package/dist/devices/hive.js +97 -100
- package/dist/devices/hive.js.map +1 -1
- package/dist/devices/hommyn.js +3 -6
- package/dist/devices/hommyn.js.map +1 -1
- package/dist/devices/honyar.js +12 -15
- package/dist/devices/honyar.js.map +1 -1
- package/dist/devices/hzc_electric.js +4 -7
- package/dist/devices/hzc_electric.js.map +1 -1
- package/dist/devices/icasa.js +5 -8
- package/dist/devices/icasa.js.map +1 -1
- package/dist/devices/ihorn.js +9 -12
- package/dist/devices/ihorn.js.map +1 -1
- package/dist/devices/iluminize.js +36 -39
- package/dist/devices/iluminize.js.map +1 -1
- package/dist/devices/imhotepcreation.js +19 -22
- package/dist/devices/imhotepcreation.js.map +1 -1
- package/dist/devices/immax.js +11 -14
- package/dist/devices/immax.js.map +1 -1
- package/dist/devices/innr.js +4 -7
- package/dist/devices/innr.js.map +1 -1
- package/dist/devices/inovelli.js +27 -30
- package/dist/devices/inovelli.js.map +1 -1
- package/dist/devices/insta.js +16 -19
- package/dist/devices/insta.js.map +1 -1
- package/dist/devices/iotperfect.js +2 -5
- package/dist/devices/iotperfect.js.map +1 -1
- package/dist/devices/iris.js +13 -16
- package/dist/devices/iris.js.map +1 -1
- package/dist/devices/jasco.js +2 -5
- package/dist/devices/jasco.js.map +1 -1
- package/dist/devices/javis.js +3 -6
- package/dist/devices/javis.js.map +1 -1
- package/dist/devices/jethome.js +2 -5
- package/dist/devices/jethome.js.map +1 -1
- package/dist/devices/jxuan.js +7 -10
- package/dist/devices/jxuan.js.map +1 -1
- package/dist/devices/kami.js +2 -5
- package/dist/devices/kami.js.map +1 -1
- package/dist/devices/keen_home.js +9 -12
- package/dist/devices/keen_home.js.map +1 -1
- package/dist/devices/kmpcil.js +5 -8
- package/dist/devices/kmpcil.js.map +1 -1
- package/dist/devices/konke.js +12 -15
- package/dist/devices/konke.js.map +1 -1
- package/dist/devices/kurvia.js +2 -5
- package/dist/devices/kurvia.js.map +1 -1
- package/dist/devices/kwikset.js +16 -19
- package/dist/devices/kwikset.js.map +1 -1
- package/dist/devices/led_trading.js +4 -7
- package/dist/devices/led_trading.js.map +1 -1
- package/dist/devices/leedarson.js +6 -9
- package/dist/devices/leedarson.js.map +1 -1
- package/dist/devices/legrand.js +61 -64
- package/dist/devices/legrand.js.map +1 -1
- package/dist/devices/lellki.js +4 -7
- package/dist/devices/lellki.js.map +1 -1
- package/dist/devices/letv.js +2 -5
- package/dist/devices/letv.js.map +1 -1
- package/dist/devices/leviton.js +22 -25
- package/dist/devices/leviton.js.map +1 -1
- package/dist/devices/lidl.js +10 -13
- package/dist/devices/lidl.js.map +1 -1
- package/dist/devices/linkind.js +20 -23
- package/dist/devices/linkind.js.map +1 -1
- package/dist/devices/linptech.js +2 -5
- package/dist/devices/linptech.js.map +1 -1
- package/dist/devices/livingwise.js +4 -7
- package/dist/devices/livingwise.js.map +1 -1
- package/dist/devices/livolo.js +19 -22
- package/dist/devices/livolo.js.map +1 -1
- package/dist/devices/lixee.js +3 -6
- package/dist/devices/lixee.js.map +1 -1
- package/dist/devices/lonsonho.js +16 -19
- package/dist/devices/lonsonho.js.map +1 -1
- package/dist/devices/lumi.js +146 -149
- package/dist/devices/lumi.js.map +1 -1
- package/dist/devices/lupus.js +8 -11
- package/dist/devices/lupus.js.map +1 -1
- package/dist/devices/lutron.js +3 -6
- package/dist/devices/lutron.js.map +1 -1
- package/dist/devices/lux.js +15 -18
- package/dist/devices/lux.js.map +1 -1
- package/dist/devices/lytko.js +46 -49
- package/dist/devices/lytko.js.map +1 -1
- package/dist/devices/meazon.js +6 -9
- package/dist/devices/meazon.js.map +1 -1
- package/dist/devices/mercator.js +7 -10
- package/dist/devices/mercator.js.map +1 -1
- package/dist/devices/miboxer.js +8 -11
- package/dist/devices/miboxer.js.map +1 -1
- package/dist/devices/moes.js +19 -22
- package/dist/devices/moes.js.map +1 -1
- package/dist/devices/muller_licht.js +22 -25
- package/dist/devices/muller_licht.js.map +1 -1
- package/dist/devices/multiterm.js +5 -8
- package/dist/devices/multiterm.js.map +1 -1
- package/dist/devices/namron.js +85 -88
- package/dist/devices/namron.js.map +1 -1
- package/dist/devices/neo.js +4 -7
- package/dist/devices/neo.js.map +1 -1
- package/dist/devices/net2grid.js +4 -7
- package/dist/devices/net2grid.js.map +1 -1
- package/dist/devices/netvox.js +5 -8
- package/dist/devices/netvox.js.map +1 -1
- package/dist/devices/niko.js +20 -23
- package/dist/devices/niko.js.map +1 -1
- package/dist/devices/ninja_blocks.js +4 -7
- package/dist/devices/ninja_blocks.js.map +1 -1
- package/dist/devices/nodon.js +23 -26
- package/dist/devices/nodon.js.map +1 -1
- package/dist/devices/nous.js +4 -7
- package/dist/devices/nous.js.map +1 -1
- package/dist/devices/novo.js +2 -5
- package/dist/devices/novo.js.map +1 -1
- package/dist/devices/nue_3a.js +12 -15
- package/dist/devices/nue_3a.js.map +1 -1
- package/dist/devices/nyce.js +30 -33
- package/dist/devices/nyce.js.map +1 -1
- package/dist/devices/onesti.js +16 -19
- package/dist/devices/onesti.js.map +1 -1
- package/dist/devices/openlumi.js +2 -5
- package/dist/devices/openlumi.js.map +1 -1
- package/dist/devices/orvibo.js +19 -22
- package/dist/devices/orvibo.js.map +1 -1
- package/dist/devices/osram.js +22 -25
- package/dist/devices/osram.js.map +1 -1
- package/dist/devices/oujiabao.js +2 -5
- package/dist/devices/oujiabao.js.map +1 -1
- package/dist/devices/owon.js +33 -36
- package/dist/devices/owon.js.map +1 -1
- package/dist/devices/paul_neuhaus.js +19 -22
- package/dist/devices/paul_neuhaus.js.map +1 -1
- package/dist/devices/paulmann.js +14 -17
- package/dist/devices/paulmann.js.map +1 -1
- package/dist/devices/peq.js +2 -5
- package/dist/devices/peq.js.map +1 -1
- package/dist/devices/perenio.js +8 -11
- package/dist/devices/perenio.js.map +1 -1
- package/dist/devices/philips.js +29 -32
- package/dist/devices/philips.js.map +1 -1
- package/dist/devices/plaid.js +2 -5
- package/dist/devices/plaid.js.map +1 -1
- package/dist/devices/plugwise.js +9 -12
- package/dist/devices/plugwise.js.map +1 -1
- package/dist/devices/profalux.js +6 -9
- package/dist/devices/profalux.js.map +1 -1
- package/dist/devices/prolight.js +10 -13
- package/dist/devices/prolight.js.map +1 -1
- package/dist/devices/purmo.js +12 -15
- package/dist/devices/purmo.js.map +1 -1
- package/dist/devices/qa.js +8 -11
- package/dist/devices/qa.js.map +1 -1
- package/dist/devices/qmotion.js +5 -8
- package/dist/devices/qmotion.js.map +1 -1
- package/dist/devices/qoto.js +2 -5
- package/dist/devices/qoto.js.map +1 -1
- package/dist/devices/rgb_genie.js +43 -46
- package/dist/devices/rgb_genie.js.map +1 -1
- package/dist/devices/robb.js +33 -36
- package/dist/devices/robb.js.map +1 -1
- package/dist/devices/roome.js +2 -5
- package/dist/devices/roome.js.map +1 -1
- package/dist/devices/rtx.js +3 -6
- package/dist/devices/rtx.js.map +1 -1
- package/dist/devices/salus_controls.js +23 -26
- package/dist/devices/salus_controls.js.map +1 -1
- package/dist/devices/saswell.js +2 -5
- package/dist/devices/saswell.js.map +1 -1
- package/dist/devices/schlage.js +4 -7
- package/dist/devices/schlage.js.map +1 -1
- package/dist/devices/schneider_electric.js +156 -159
- package/dist/devices/schneider_electric.js.map +1 -1
- package/dist/devices/schwaiger.js +4 -7
- package/dist/devices/schwaiger.js.map +1 -1
- package/dist/devices/securifi.js +5 -8
- package/dist/devices/securifi.js.map +1 -1
- package/dist/devices/sercomm.js +14 -17
- package/dist/devices/sercomm.js.map +1 -1
- package/dist/devices/shade_control.js +4 -7
- package/dist/devices/shade_control.js.map +1 -1
- package/dist/devices/shinasystem.js +31 -34
- package/dist/devices/shinasystem.js.map +1 -1
- package/dist/devices/siglis.js +43 -46
- package/dist/devices/siglis.js.map +1 -1
- package/dist/devices/sikom.js +4 -7
- package/dist/devices/sikom.js.map +1 -1
- package/dist/devices/sinope.js +70 -73
- package/dist/devices/sinope.js.map +1 -1
- package/dist/devices/siterwell.js +2 -5
- package/dist/devices/siterwell.js.map +1 -1
- package/dist/devices/smart9.js +2 -5
- package/dist/devices/smart9.js.map +1 -1
- package/dist/devices/smartenit.js +5 -8
- package/dist/devices/smartenit.js.map +1 -1
- package/dist/devices/smartthings.js +31 -34
- package/dist/devices/smartthings.js.map +1 -1
- package/dist/devices/smartwings.js +4 -7
- package/dist/devices/smartwings.js.map +1 -1
- package/dist/devices/sohan_electric.js +2 -5
- package/dist/devices/sohan_electric.js.map +1 -1
- package/dist/devices/somfy.js +4 -7
- package/dist/devices/somfy.js.map +1 -1
- package/dist/devices/somgoms.js +5 -8
- package/dist/devices/somgoms.js.map +1 -1
- package/dist/devices/sonoff.js +16 -19
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/stelpro.js +54 -57
- package/dist/devices/stelpro.js.map +1 -1
- package/dist/devices/sunricher.js +54 -57
- package/dist/devices/sunricher.js.map +1 -1
- package/dist/devices/swann.js +4 -7
- package/dist/devices/swann.js.map +1 -1
- package/dist/devices/sylvania.js +3 -6
- package/dist/devices/sylvania.js.map +1 -1
- package/dist/devices/tapestry.js +2 -5
- package/dist/devices/tapestry.js.map +1 -1
- package/dist/devices/technicolor.js +10 -13
- package/dist/devices/technicolor.js.map +1 -1
- package/dist/devices/terncy.js +7 -10
- package/dist/devices/terncy.js.map +1 -1
- package/dist/devices/the_light_group.js +5 -8
- package/dist/devices/the_light_group.js.map +1 -1
- package/dist/devices/third_reality.js +20 -23
- package/dist/devices/third_reality.js.map +1 -1
- package/dist/devices/titan_products.js +2 -5
- package/dist/devices/titan_products.js.map +1 -1
- package/dist/devices/tplink.js +3 -6
- package/dist/devices/tplink.js.map +1 -1
- package/dist/devices/trust.js +6 -9
- package/dist/devices/trust.js.map +1 -1
- package/dist/devices/tubeszb.js +2 -5
- package/dist/devices/tubeszb.js.map +1 -1
- package/dist/devices/tuya.js +191 -194
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/ubisys.js +66 -69
- package/dist/devices/ubisys.js.map +1 -1
- package/dist/devices/uhome.js +4 -7
- package/dist/devices/uhome.js.map +1 -1
- package/dist/devices/universal_electronics_inc.js +20 -23
- package/dist/devices/universal_electronics_inc.js.map +1 -1
- package/dist/devices/vesternet.js +14 -17
- package/dist/devices/vesternet.js.map +1 -1
- package/dist/devices/viessmann.js +16 -19
- package/dist/devices/viessmann.js.map +1 -1
- package/dist/devices/vimar.js +13 -16
- package/dist/devices/vimar.js.map +1 -1
- package/dist/devices/visonic.js +8 -11
- package/dist/devices/visonic.js.map +1 -1
- package/dist/devices/wally.js +2 -5
- package/dist/devices/wally.js.map +1 -1
- package/dist/devices/waxman.js +5 -8
- package/dist/devices/waxman.js.map +1 -1
- package/dist/devices/weiser.js +6 -9
- package/dist/devices/weiser.js.map +1 -1
- package/dist/devices/weten.js +2 -5
- package/dist/devices/weten.js.map +1 -1
- package/dist/devices/wirenboard.js +7 -10
- package/dist/devices/wirenboard.js.map +1 -1
- package/dist/devices/woolley.js +4 -7
- package/dist/devices/woolley.js.map +1 -1
- package/dist/devices/woox.js +8 -11
- package/dist/devices/woox.js.map +1 -1
- package/dist/devices/wyze.js +4 -7
- package/dist/devices/wyze.js.map +1 -1
- package/dist/devices/xyzroe.js +10 -13
- package/dist/devices/xyzroe.js.map +1 -1
- package/dist/devices/yale.js +11 -14
- package/dist/devices/yale.js.map +1 -1
- package/dist/devices/ynoa.js +6 -9
- package/dist/devices/ynoa.js.map +1 -1
- package/dist/devices/yokis.js +2 -5
- package/dist/devices/yokis.js.map +1 -1
- package/dist/devices/yookee.js +4 -7
- package/dist/devices/yookee.js.map +1 -1
- package/dist/devices/zemismart.js +7 -10
- package/dist/devices/zemismart.js.map +1 -1
- package/dist/devices/zen.js +19 -22
- package/dist/devices/zen.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/lib/ikea.js +2 -5
- package/dist/lib/ikea.js.map +1 -1
- package/dist/lib/legacy.d.ts.map +1 -1
- package/dist/lib/legacy.js +2 -2
- package/dist/lib/legacy.js.map +1 -1
- package/dist/lib/lumi.d.ts +2 -14
- package/dist/lib/lumi.d.ts.map +1 -1
- package/dist/lib/lumi.js +5 -8
- package/dist/lib/lumi.js.map +1 -1
- package/dist/lib/modernExtend.js +66 -69
- package/dist/lib/modernExtend.js.map +1 -1
- package/dist/lib/philips.d.ts +1 -1
- package/dist/lib/philips.js +4 -7
- package/dist/lib/philips.js.map +1 -1
- package/dist/lib/tuya.js +5 -8
- package/dist/lib/tuya.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +3 -2
package/dist/devices/lumi.js
CHANGED
|
@@ -32,13 +32,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
36
|
exports.definitions = void 0;
|
|
40
|
-
const
|
|
41
|
-
const
|
|
37
|
+
const fz = __importStar(require("../converters/fromZigbee"));
|
|
38
|
+
const tz = __importStar(require("../converters/toZigbee"));
|
|
42
39
|
const exposes = __importStar(require("../lib/exposes"));
|
|
43
40
|
const logger_1 = require("../lib/logger");
|
|
44
41
|
const lumi = __importStar(require("../lib/lumi"));
|
|
@@ -56,7 +53,7 @@ exports.definitions = [
|
|
|
56
53
|
model: "SJCGQ13LM",
|
|
57
54
|
vendor: "Aqara",
|
|
58
55
|
description: "Water leak sensor E1",
|
|
59
|
-
fromZigbee: [
|
|
56
|
+
fromZigbee: [fz.ias_water_leak_alarm_1, lumi.fromZigbee.lumi_specific, fz.battery],
|
|
60
57
|
toZigbee: [],
|
|
61
58
|
exposes: [e.water_leak(), e.battery(), e.battery_low(), e.battery_voltage(), e.device_temperature(), e.power_outage_count(false)],
|
|
62
59
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
@@ -71,7 +68,7 @@ exports.definitions = [
|
|
|
71
68
|
model: "KQJCMB11LM",
|
|
72
69
|
vendor: "Aqara",
|
|
73
70
|
description: "Air monitoring panel S1",
|
|
74
|
-
fromZigbee: [
|
|
71
|
+
fromZigbee: [fz.temperature, fz.humidity, lumi.fromZigbee.lumi_pm25, lumi.fromZigbee.lumi_co2],
|
|
75
72
|
toZigbee: [],
|
|
76
73
|
exposes: [e.temperature(), e.humidity(), e.pm25(), e.co2()],
|
|
77
74
|
extend: [lumiZigbeeOTA()],
|
|
@@ -81,7 +78,7 @@ exports.definitions = [
|
|
|
81
78
|
model: "MCCGQ14LM",
|
|
82
79
|
vendor: "Aqara",
|
|
83
80
|
description: "Door and window sensor E1",
|
|
84
|
-
fromZigbee: [
|
|
81
|
+
fromZigbee: [fz.ias_contact_alarm_1, lumi.fromZigbee.lumi_specific, fz.battery],
|
|
85
82
|
toZigbee: [],
|
|
86
83
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
87
84
|
exposes: [e.contact(), e.battery(), e.battery_low(), e.battery_voltage()],
|
|
@@ -101,7 +98,7 @@ exports.definitions = [
|
|
|
101
98
|
model: "MCCGQ13LM",
|
|
102
99
|
vendor: "Aqara",
|
|
103
100
|
description: "Door and window sensor P1",
|
|
104
|
-
fromZigbee: [lumi.fromZigbee.lumi_contact,
|
|
101
|
+
fromZigbee: [lumi.fromZigbee.lumi_contact, fz.ias_contact_alarm_1, lumi.fromZigbee.lumi_specific],
|
|
105
102
|
toZigbee: [lumi.toZigbee.lumi_detection_distance],
|
|
106
103
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
107
104
|
exposes: [
|
|
@@ -428,9 +425,9 @@ exports.definitions = [
|
|
|
428
425
|
model: "WS-USC01",
|
|
429
426
|
vendor: "Aqara",
|
|
430
427
|
description: "Smart wall switch (no neutral, single rocker), US",
|
|
431
|
-
fromZigbee: [
|
|
428
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
432
429
|
toZigbee: [
|
|
433
|
-
|
|
430
|
+
tz.on_off,
|
|
434
431
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
435
432
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
436
433
|
lumi.toZigbee.lumi_switch_mode_switch,
|
|
@@ -462,9 +459,9 @@ exports.definitions = [
|
|
|
462
459
|
model: "WS-USC02",
|
|
463
460
|
vendor: "Aqara",
|
|
464
461
|
description: "Smart wall switch (no neutral, double rocker), US",
|
|
465
|
-
fromZigbee: [
|
|
462
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
466
463
|
toZigbee: [
|
|
467
|
-
|
|
464
|
+
tz.on_off,
|
|
468
465
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
469
466
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
470
467
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
@@ -501,9 +498,9 @@ exports.definitions = [
|
|
|
501
498
|
model: "WS-USC03",
|
|
502
499
|
vendor: "Aqara",
|
|
503
500
|
description: "Smart wall switch (with neutral, single rocker), US",
|
|
504
|
-
fromZigbee: [
|
|
501
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
505
502
|
toZigbee: [
|
|
506
|
-
|
|
503
|
+
tz.on_off,
|
|
507
504
|
lumi.toZigbee.lumi_power,
|
|
508
505
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
509
506
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
@@ -533,9 +530,9 @@ exports.definitions = [
|
|
|
533
530
|
model: "WS-USC04",
|
|
534
531
|
vendor: "Aqara",
|
|
535
532
|
description: "Smart wall switch (with neutral, double rocker), US",
|
|
536
|
-
fromZigbee: [
|
|
533
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
537
534
|
toZigbee: [
|
|
538
|
-
|
|
535
|
+
tz.on_off,
|
|
539
536
|
lumi.toZigbee.lumi_power,
|
|
540
537
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
541
538
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
@@ -572,9 +569,9 @@ exports.definitions = [
|
|
|
572
569
|
model: "QBKG27LM",
|
|
573
570
|
vendor: "Aqara",
|
|
574
571
|
description: "Smart wall switch H1 (no neutral, single rocker)",
|
|
575
|
-
fromZigbee: [
|
|
572
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_action_multistate],
|
|
576
573
|
toZigbee: [
|
|
577
|
-
|
|
574
|
+
tz.on_off,
|
|
578
575
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
579
576
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
580
577
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -604,9 +601,9 @@ exports.definitions = [
|
|
|
604
601
|
model: "QBKG28LM",
|
|
605
602
|
vendor: "Aqara",
|
|
606
603
|
description: "Smart wall switch H1 (no neutral, double rocker)",
|
|
607
|
-
fromZigbee: [
|
|
604
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
608
605
|
toZigbee: [
|
|
609
|
-
|
|
606
|
+
tz.on_off,
|
|
610
607
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
611
608
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
612
609
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -641,9 +638,9 @@ exports.definitions = [
|
|
|
641
638
|
model: "QBKG29LM",
|
|
642
639
|
vendor: "Aqara",
|
|
643
640
|
description: "Smart wall switch H1 (no neutral, triple rocker)",
|
|
644
|
-
fromZigbee: [
|
|
641
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
645
642
|
toZigbee: [
|
|
646
|
-
|
|
643
|
+
tz.on_off,
|
|
647
644
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
648
645
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
649
646
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -697,9 +694,9 @@ exports.definitions = [
|
|
|
697
694
|
model: "QBKG30LM",
|
|
698
695
|
vendor: "Aqara",
|
|
699
696
|
description: "Smart wall switch H1 Pro (with neutral, single rocker)",
|
|
700
|
-
fromZigbee: [
|
|
697
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_action_multistate],
|
|
701
698
|
toZigbee: [
|
|
702
|
-
|
|
699
|
+
tz.on_off,
|
|
703
700
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
704
701
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
705
702
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -729,9 +726,9 @@ exports.definitions = [
|
|
|
729
726
|
endpoint: (device) => {
|
|
730
727
|
return { left: 1, right: 2 };
|
|
731
728
|
},
|
|
732
|
-
fromZigbee: [
|
|
729
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_action_multistate],
|
|
733
730
|
toZigbee: [
|
|
734
|
-
|
|
731
|
+
tz.on_off,
|
|
735
732
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
736
733
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
737
734
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -763,9 +760,9 @@ exports.definitions = [
|
|
|
763
760
|
endpoint: (device) => {
|
|
764
761
|
return { left: 1, center: 2, right: 3 };
|
|
765
762
|
},
|
|
766
|
-
fromZigbee: [
|
|
763
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_action_multistate],
|
|
767
764
|
toZigbee: [
|
|
768
|
-
|
|
765
|
+
tz.on_off,
|
|
769
766
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
770
767
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
771
768
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -813,9 +810,9 @@ exports.definitions = [
|
|
|
813
810
|
model: "WS-EUK01",
|
|
814
811
|
vendor: "Aqara",
|
|
815
812
|
description: "Smart wall switch H1 EU (no neutral, single rocker)",
|
|
816
|
-
fromZigbee: [
|
|
813
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
817
814
|
toZigbee: [
|
|
818
|
-
|
|
815
|
+
tz.on_off,
|
|
819
816
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
820
817
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
821
818
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -848,9 +845,9 @@ exports.definitions = [
|
|
|
848
845
|
model: "WS-EUK02",
|
|
849
846
|
vendor: "Aqara",
|
|
850
847
|
description: "Smart wall switch H1 EU (no neutral, double rocker)",
|
|
851
|
-
fromZigbee: [
|
|
848
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
852
849
|
toZigbee: [
|
|
853
|
-
|
|
850
|
+
tz.on_off,
|
|
854
851
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
855
852
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
856
853
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -886,10 +883,10 @@ exports.definitions = [
|
|
|
886
883
|
model: "WS-EUK03",
|
|
887
884
|
vendor: "Aqara",
|
|
888
885
|
description: "Smart wall switch H1 EU (with neutral, single rocker)",
|
|
889
|
-
fromZigbee: [
|
|
886
|
+
fromZigbee: [fz.on_off, fz.electrical_measurement, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
890
887
|
toZigbee: [
|
|
891
|
-
|
|
892
|
-
|
|
888
|
+
tz.on_off,
|
|
889
|
+
tz.electrical_measurement_power,
|
|
893
890
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
894
891
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
895
892
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -919,9 +916,9 @@ exports.definitions = [
|
|
|
919
916
|
model: "WS-EUK04",
|
|
920
917
|
vendor: "Aqara",
|
|
921
918
|
description: "Smart wall switch H1 EU (with neutral, double rocker)",
|
|
922
|
-
fromZigbee: [
|
|
919
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
923
920
|
toZigbee: [
|
|
924
|
-
|
|
921
|
+
tz.on_off,
|
|
925
922
|
lumi.toZigbee.lumi_power,
|
|
926
923
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
927
924
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
@@ -964,7 +961,7 @@ exports.definitions = [
|
|
|
964
961
|
e.action(["release", "hold", "double", "single", "hold_release"]),
|
|
965
962
|
e.enum("operation_mode", ea.STATE_SET, ["control_relay", "decoupled"]).withDescription("Decoupled mode"),
|
|
966
963
|
],
|
|
967
|
-
toZigbee: [
|
|
964
|
+
toZigbee: [tz.on_off, { ...lumi.toZigbee.lumi_switch_operation_mode_basic, convertGet: null }],
|
|
968
965
|
endpoint: (device) => {
|
|
969
966
|
return { system: 1, default: 2 };
|
|
970
967
|
},
|
|
@@ -986,7 +983,7 @@ exports.definitions = [
|
|
|
986
983
|
lumi.fromZigbee.lumi_on_off,
|
|
987
984
|
lumi.fromZigbee.lumi_basic,
|
|
988
985
|
lumi.fromZigbee.lumi_operation_mode_basic,
|
|
989
|
-
|
|
986
|
+
fz.ignore_multistate_report,
|
|
990
987
|
lumi.fromZigbee.lumi_power,
|
|
991
988
|
],
|
|
992
989
|
exposes: [
|
|
@@ -997,7 +994,7 @@ exports.definitions = [
|
|
|
997
994
|
e.action(["single", "double", "release", "hold"]),
|
|
998
995
|
e.enum("operation_mode", ea.ALL, ["control_relay", "decoupled"]).withDescription("Decoupled mode"),
|
|
999
996
|
],
|
|
1000
|
-
toZigbee: [
|
|
997
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_switch_operation_mode_basic, lumi.toZigbee.lumi_power],
|
|
1001
998
|
endpoint: (device) => {
|
|
1002
999
|
return { system: 1 };
|
|
1003
1000
|
},
|
|
@@ -1039,7 +1036,7 @@ exports.definitions = [
|
|
|
1039
1036
|
.withEndpoint("right")
|
|
1040
1037
|
.withCategory("config"),
|
|
1041
1038
|
],
|
|
1042
|
-
toZigbee: [
|
|
1039
|
+
toZigbee: [tz.on_off, { ...lumi.toZigbee.lumi_switch_operation_mode_basic, convertGet: null }, lumi.toZigbee.lumi_power],
|
|
1043
1040
|
meta: { multiEndpoint: true },
|
|
1044
1041
|
endpoint: (device) => {
|
|
1045
1042
|
return { system: 1, left: 2, right: 3 };
|
|
@@ -1094,7 +1091,7 @@ exports.definitions = [
|
|
|
1094
1091
|
.withEndpoint("right"),
|
|
1095
1092
|
],
|
|
1096
1093
|
meta: { multiEndpoint: true, multiEndpointSkip: ["power", "energy"] },
|
|
1097
|
-
toZigbee: [
|
|
1094
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_switch_operation_mode_basic, lumi.toZigbee.lumi_power],
|
|
1098
1095
|
endpoint: (device) => {
|
|
1099
1096
|
return { left: 1, right: 2, system: 1 };
|
|
1100
1097
|
},
|
|
@@ -1143,7 +1140,7 @@ exports.definitions = [
|
|
|
1143
1140
|
e.action(["release", "hold", "double", "single", "hold_release"]),
|
|
1144
1141
|
e.enum("operation_mode", ea.ALL, ["control_relay", "decoupled"]).withDescription("Decoupled mode"),
|
|
1145
1142
|
],
|
|
1146
|
-
toZigbee: [
|
|
1143
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_switch_operation_mode_basic],
|
|
1147
1144
|
endpoint: (device) => {
|
|
1148
1145
|
return { system: 1, default: 2 };
|
|
1149
1146
|
},
|
|
@@ -1184,7 +1181,7 @@ exports.definitions = [
|
|
|
1184
1181
|
.withDescription("Operation mode for right button")
|
|
1185
1182
|
.withEndpoint("right"),
|
|
1186
1183
|
],
|
|
1187
|
-
toZigbee: [
|
|
1184
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_switch_operation_mode_basic],
|
|
1188
1185
|
meta: { multiEndpoint: true },
|
|
1189
1186
|
endpoint: (device) => {
|
|
1190
1187
|
return { system: 1, left: 2, right: 3 };
|
|
@@ -1201,9 +1198,9 @@ exports.definitions = [
|
|
|
1201
1198
|
model: "QBKG25LM",
|
|
1202
1199
|
vendor: "Aqara",
|
|
1203
1200
|
description: "Smart wall switch D1 (no neutral, triple rocker)",
|
|
1204
|
-
fromZigbee: [
|
|
1201
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
1205
1202
|
toZigbee: [
|
|
1206
|
-
|
|
1203
|
+
tz.on_off,
|
|
1207
1204
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
1208
1205
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
1209
1206
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -1293,9 +1290,9 @@ exports.definitions = [
|
|
|
1293
1290
|
"double_all",
|
|
1294
1291
|
]),
|
|
1295
1292
|
],
|
|
1296
|
-
fromZigbee: [
|
|
1293
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_action_multistate],
|
|
1297
1294
|
toZigbee: [
|
|
1298
|
-
|
|
1295
|
+
tz.on_off,
|
|
1299
1296
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
1300
1297
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
1301
1298
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -1315,8 +1312,8 @@ exports.definitions = [
|
|
|
1315
1312
|
model: "QBKG23LM",
|
|
1316
1313
|
vendor: "Aqara",
|
|
1317
1314
|
description: "Smart wall switch D1 (with neutral, single rocker)",
|
|
1318
|
-
fromZigbee: [
|
|
1319
|
-
toZigbee: [
|
|
1315
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_action_multistate],
|
|
1316
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_power, lumi.toZigbee.lumi_switch_operation_mode_basic],
|
|
1320
1317
|
endpoint: (device) => {
|
|
1321
1318
|
return { system: 1 };
|
|
1322
1319
|
},
|
|
@@ -1342,14 +1339,14 @@ exports.definitions = [
|
|
|
1342
1339
|
vendor: "Aqara",
|
|
1343
1340
|
description: "Smart wall switch D1 (with neutral, double rocker)",
|
|
1344
1341
|
fromZigbee: [
|
|
1345
|
-
|
|
1342
|
+
fz.on_off,
|
|
1346
1343
|
lumi.fromZigbee.lumi_power,
|
|
1347
1344
|
lumi.fromZigbee.lumi_action_multistate,
|
|
1348
1345
|
lumi.fromZigbee.lumi_operation_mode_basic,
|
|
1349
1346
|
lumi.fromZigbee.lumi_specific,
|
|
1350
1347
|
lumi.fromZigbee.lumi_basic,
|
|
1351
1348
|
],
|
|
1352
|
-
toZigbee: [
|
|
1349
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_power, lumi.toZigbee.lumi_switch_operation_mode_basic],
|
|
1353
1350
|
meta: { multiEndpoint: true, multiEndpointSkip: ["power", "energy"] },
|
|
1354
1351
|
endpoint: (device) => {
|
|
1355
1352
|
return { left: 1, right: 2, system: 1 };
|
|
@@ -1500,7 +1497,7 @@ exports.definitions = [
|
|
|
1500
1497
|
],
|
|
1501
1498
|
description: "Mi temperature and humidity sensor",
|
|
1502
1499
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
1503
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_temperature,
|
|
1500
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_temperature, fz.humidity],
|
|
1504
1501
|
toZigbee: [],
|
|
1505
1502
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
|
|
1506
1503
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
@@ -1511,7 +1508,7 @@ exports.definitions = [
|
|
|
1511
1508
|
vendor: "Aqara",
|
|
1512
1509
|
description: "Temperature and humidity sensor",
|
|
1513
1510
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
1514
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_temperature,
|
|
1511
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_temperature, fz.humidity, fz.pressure],
|
|
1515
1512
|
toZigbee: [],
|
|
1516
1513
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.pressure(), e.battery_voltage()],
|
|
1517
1514
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -1529,7 +1526,7 @@ exports.definitions = [
|
|
|
1529
1526
|
{ vendor: "Aqara", model: "TH-S02D" },
|
|
1530
1527
|
{ vendor: "Yandex", model: "YNDX-00523" },
|
|
1531
1528
|
],
|
|
1532
|
-
fromZigbee: [lumi.fromZigbee.lumi_specific,
|
|
1529
|
+
fromZigbee: [lumi.fromZigbee.lumi_specific, fz.temperature, fz.humidity, lumi.fromZigbee.lumi_pressure, fz.battery],
|
|
1533
1530
|
toZigbee: [],
|
|
1534
1531
|
exposes: [e.temperature(), e.humidity(), e.pressure(), e.device_temperature(), e.battery(), e.battery_voltage(), e.power_outage_count(false)],
|
|
1535
1532
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
@@ -1553,7 +1550,7 @@ exports.definitions = [
|
|
|
1553
1550
|
],
|
|
1554
1551
|
description: "Mi motion sensor",
|
|
1555
1552
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
1556
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic,
|
|
1553
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, fz.occupancy_with_timeout],
|
|
1557
1554
|
toZigbee: [],
|
|
1558
1555
|
exposes: [e.battery(), e.occupancy(), e.battery_voltage(), e.power_outage_count(false)],
|
|
1559
1556
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
@@ -1564,7 +1561,7 @@ exports.definitions = [
|
|
|
1564
1561
|
vendor: "Aqara",
|
|
1565
1562
|
description: "Motion sensor",
|
|
1566
1563
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
1567
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic,
|
|
1564
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, fz.occupancy_with_timeout, lumi.fromZigbee.lumi_illuminance],
|
|
1568
1565
|
toZigbee: [],
|
|
1569
1566
|
exposes: [e.battery(), e.occupancy(), e.device_temperature(), e.battery_voltage(), e.illuminance(), e.power_outage_count(false)],
|
|
1570
1567
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
@@ -1575,7 +1572,7 @@ exports.definitions = [
|
|
|
1575
1572
|
vendor: "Aqara",
|
|
1576
1573
|
description: "Motion sensor T1",
|
|
1577
1574
|
whiteLabel: [{ vendor: "Yandex", model: "YNDX-00522" }],
|
|
1578
|
-
fromZigbee: [lumi.fromZigbee.lumi_occupancy_illuminance, lumi.fromZigbee.lumi_specific,
|
|
1575
|
+
fromZigbee: [lumi.fromZigbee.lumi_occupancy_illuminance, lumi.fromZigbee.lumi_specific, fz.battery],
|
|
1579
1576
|
toZigbee: [lumi.toZigbee.lumi_detection_interval],
|
|
1580
1577
|
exposes: [
|
|
1581
1578
|
e.occupancy(),
|
|
@@ -1604,7 +1601,7 @@ exports.definitions = [
|
|
|
1604
1601
|
model: "RTCGQ13LM",
|
|
1605
1602
|
vendor: "Aqara",
|
|
1606
1603
|
description: "High precision motion sensor",
|
|
1607
|
-
fromZigbee: [lumi.fromZigbee.lumi_occupancy, lumi.fromZigbee.lumi_specific,
|
|
1604
|
+
fromZigbee: [lumi.fromZigbee.lumi_occupancy, lumi.fromZigbee.lumi_specific, fz.battery],
|
|
1608
1605
|
toZigbee: [lumi.toZigbee.lumi_detection_interval, lumi.toZigbee.lumi_motion_sensitivity],
|
|
1609
1606
|
exposes: [
|
|
1610
1607
|
e.occupancy(),
|
|
@@ -1635,7 +1632,7 @@ exports.definitions = [
|
|
|
1635
1632
|
vendor: "Aqara",
|
|
1636
1633
|
whiteLabel: [{ vendor: "Aqara", model: "MS-S02" }],
|
|
1637
1634
|
description: "Motion sensor P1",
|
|
1638
|
-
fromZigbee: [lumi.fromZigbee.lumi_occupancy_illuminance, lumi.fromZigbee.lumi_specific,
|
|
1635
|
+
fromZigbee: [lumi.fromZigbee.lumi_occupancy_illuminance, lumi.fromZigbee.lumi_specific, fz.battery],
|
|
1639
1636
|
toZigbee: [lumi.toZigbee.lumi_detection_interval, lumi.toZigbee.lumi_motion_sensitivity, lumi.toZigbee.lumi_trigger_indicator],
|
|
1640
1637
|
exposes: [
|
|
1641
1638
|
e.occupancy(),
|
|
@@ -1670,7 +1667,7 @@ exports.definitions = [
|
|
|
1670
1667
|
model: "RTCGQ15LM",
|
|
1671
1668
|
vendor: "Aqara",
|
|
1672
1669
|
description: "Motion sensor E1",
|
|
1673
|
-
fromZigbee: [lumi.fromZigbee.lumi_occupancy_illuminance, lumi.fromZigbee.lumi_specific,
|
|
1670
|
+
fromZigbee: [lumi.fromZigbee.lumi_occupancy_illuminance, lumi.fromZigbee.lumi_specific, fz.battery],
|
|
1674
1671
|
toZigbee: [lumi.toZigbee.lumi_detection_interval],
|
|
1675
1672
|
exposes: [
|
|
1676
1673
|
e.occupancy(),
|
|
@@ -1837,7 +1834,7 @@ exports.definitions = [
|
|
|
1837
1834
|
vendor: "Aqara",
|
|
1838
1835
|
description: "Water leak sensor",
|
|
1839
1836
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
1840
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic,
|
|
1837
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, fz.ias_water_leak_alarm_1],
|
|
1841
1838
|
toZigbee: [],
|
|
1842
1839
|
exposes: [
|
|
1843
1840
|
e.battery(),
|
|
@@ -1860,7 +1857,7 @@ exports.definitions = [
|
|
|
1860
1857
|
{ vendor: "Yandex", model: "YNDX-00521" },
|
|
1861
1858
|
],
|
|
1862
1859
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
1863
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic,
|
|
1860
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, fz.ias_water_leak_alarm_1, lumi.fromZigbee.lumi_specific],
|
|
1864
1861
|
toZigbee: [],
|
|
1865
1862
|
exposes: [e.battery(), e.water_leak(), e.battery_low(), e.tamper(), e.battery_voltage()],
|
|
1866
1863
|
extend: [m.quirkCheckinInterval("1_HOUR"), lumiZigbeeOTA()],
|
|
@@ -1893,8 +1890,8 @@ exports.definitions = [
|
|
|
1893
1890
|
model: "ZNCZ02LM",
|
|
1894
1891
|
description: "Mi smart plug",
|
|
1895
1892
|
vendor: "Xiaomi",
|
|
1896
|
-
fromZigbee: [
|
|
1897
|
-
toZigbee: [
|
|
1893
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_basic, fz.ignore_occupancy_report, fz.ignore_illuminance_report],
|
|
1894
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_switch_power_outage_memory, lumi.toZigbee.lumi_power],
|
|
1898
1895
|
exposes: [e.switch(), e.power().withAccess(ea.STATE_GET), e.energy(), e.device_temperature(), e.power_outage_memory()],
|
|
1899
1896
|
extend: [lumiZigbeeOTA()],
|
|
1900
1897
|
},
|
|
@@ -1903,8 +1900,8 @@ exports.definitions = [
|
|
|
1903
1900
|
model: "ZNCZ03LM",
|
|
1904
1901
|
description: "Mi smart plug TW",
|
|
1905
1902
|
vendor: "Xiaomi",
|
|
1906
|
-
fromZigbee: [
|
|
1907
|
-
toZigbee: [
|
|
1903
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_basic, fz.ignore_occupancy_report, fz.ignore_illuminance_report],
|
|
1904
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_power],
|
|
1908
1905
|
exposes: [e.switch(), e.power().withAccess(ea.STATE_GET), e.energy(), e.device_temperature().withAccess(ea.STATE), e.voltage()],
|
|
1909
1906
|
},
|
|
1910
1907
|
{
|
|
@@ -1913,15 +1910,15 @@ exports.definitions = [
|
|
|
1913
1910
|
description: "Mi smart plug EU",
|
|
1914
1911
|
vendor: "Xiaomi",
|
|
1915
1912
|
fromZigbee: [
|
|
1916
|
-
|
|
1913
|
+
fz.on_off,
|
|
1917
1914
|
lumi.fromZigbee.lumi_power,
|
|
1918
1915
|
lumi.fromZigbee.lumi_specific,
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1916
|
+
fz.ignore_occupancy_report,
|
|
1917
|
+
fz.ignore_illuminance_report,
|
|
1918
|
+
fz.ignore_time_read,
|
|
1922
1919
|
],
|
|
1923
1920
|
toZigbee: [
|
|
1924
|
-
|
|
1921
|
+
tz.on_off,
|
|
1925
1922
|
lumi.toZigbee.lumi_power,
|
|
1926
1923
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
1927
1924
|
lumi.toZigbee.lumi_auto_off,
|
|
@@ -1949,15 +1946,15 @@ exports.definitions = [
|
|
|
1949
1946
|
description: "Smart plug US",
|
|
1950
1947
|
vendor: "Aqara",
|
|
1951
1948
|
fromZigbee: [
|
|
1952
|
-
|
|
1949
|
+
fz.on_off,
|
|
1953
1950
|
lumi.fromZigbee.lumi_power,
|
|
1954
1951
|
lumi.fromZigbee.lumi_specific,
|
|
1955
1952
|
lumi.fromZigbee.lumi_basic,
|
|
1956
|
-
|
|
1957
|
-
|
|
1953
|
+
fz.ignore_occupancy_report,
|
|
1954
|
+
fz.ignore_illuminance_report,
|
|
1958
1955
|
],
|
|
1959
1956
|
toZigbee: [
|
|
1960
|
-
|
|
1957
|
+
tz.on_off,
|
|
1961
1958
|
lumi.toZigbee.lumi_power,
|
|
1962
1959
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
1963
1960
|
lumi.toZigbee.lumi_auto_off,
|
|
@@ -1986,16 +1983,16 @@ exports.definitions = [
|
|
|
1986
1983
|
vendor: "Aqara",
|
|
1987
1984
|
extend: [m.forceDeviceType({ type: "Router" }), lumiZigbeeOTA()],
|
|
1988
1985
|
fromZigbee: [
|
|
1989
|
-
|
|
1986
|
+
fz.on_off,
|
|
1990
1987
|
lumi.fromZigbee.lumi_basic,
|
|
1991
|
-
|
|
1992
|
-
|
|
1988
|
+
fz.electrical_measurement,
|
|
1989
|
+
fz.metering,
|
|
1993
1990
|
lumi.fromZigbee.lumi_specific,
|
|
1994
1991
|
lumi.fromZigbee.lumi_power,
|
|
1995
|
-
|
|
1992
|
+
fz.device_temperature,
|
|
1996
1993
|
],
|
|
1997
1994
|
toZigbee: [
|
|
1998
|
-
|
|
1995
|
+
tz.on_off,
|
|
1999
1996
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
2000
1997
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
2001
1998
|
lumi.toZigbee.lumi_overload_protection,
|
|
@@ -2072,9 +2069,9 @@ exports.definitions = [
|
|
|
2072
2069
|
model: "ZNCZ11LM",
|
|
2073
2070
|
vendor: "Aqara",
|
|
2074
2071
|
description: "Smart plug",
|
|
2075
|
-
fromZigbee: [
|
|
2072
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, fz.ignore_occupancy_report, lumi.fromZigbee.lumi_basic],
|
|
2076
2073
|
toZigbee: [
|
|
2077
|
-
|
|
2074
|
+
tz.on_off,
|
|
2078
2075
|
lumi.toZigbee.lumi_power,
|
|
2079
2076
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
2080
2077
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
@@ -2097,8 +2094,8 @@ exports.definitions = [
|
|
|
2097
2094
|
model: "QBCZ11LM",
|
|
2098
2095
|
description: "Smart wall outlet",
|
|
2099
2096
|
vendor: "Aqara",
|
|
2100
|
-
fromZigbee: [
|
|
2101
|
-
toZigbee: [
|
|
2097
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_basic],
|
|
2098
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_switch_power_outage_memory, lumi.toZigbee.lumi_power],
|
|
2102
2099
|
exposes: [
|
|
2103
2100
|
e.switch(),
|
|
2104
2101
|
e.power().withAccess(ea.STATE_GET),
|
|
@@ -2139,7 +2136,7 @@ exports.definitions = [
|
|
|
2139
2136
|
vendor: "Xiaomi",
|
|
2140
2137
|
whiteLabel: [{ vendor: "Xiaomi", model: "YTC4019RT" }],
|
|
2141
2138
|
description: "Mijia Honeywell gas leak detector",
|
|
2142
|
-
fromZigbee: [
|
|
2139
|
+
fromZigbee: [fz.ias_gas_alarm_1, lumi.fromZigbee.lumi_gas_sensitivity, lumi.fromZigbee.lumi_gas_density],
|
|
2143
2140
|
toZigbee: [lumi.toZigbee.lumi_sensitivity, lumi.toZigbee.lumi_selftest],
|
|
2144
2141
|
exposes: [
|
|
2145
2142
|
e.gas(),
|
|
@@ -2223,7 +2220,7 @@ exports.definitions = [
|
|
|
2223
2220
|
vendor: "Aqara",
|
|
2224
2221
|
description: "Smart smoke detector",
|
|
2225
2222
|
whiteLabel: [{ vendor: "Aqara", model: "JY-GZ-03AQ" }],
|
|
2226
|
-
fromZigbee: [lumi.fromZigbee.lumi_specific,
|
|
2223
|
+
fromZigbee: [lumi.fromZigbee.lumi_specific, fz.battery],
|
|
2227
2224
|
toZigbee: [
|
|
2228
2225
|
lumi.toZigbee.lumi_alarm,
|
|
2229
2226
|
lumi.toZigbee.lumi_density,
|
|
@@ -2473,7 +2470,7 @@ exports.definitions = [
|
|
|
2473
2470
|
fromZigbee: [
|
|
2474
2471
|
lumi.fromZigbee.lumi_curtain_position,
|
|
2475
2472
|
lumi.fromZigbee.lumi_curtain_status,
|
|
2476
|
-
|
|
2473
|
+
fz.ignore_basic_report,
|
|
2477
2474
|
lumi.fromZigbee.lumi_specific,
|
|
2478
2475
|
],
|
|
2479
2476
|
toZigbee: [lumi.toZigbee.lumi_curtain_position_state, lumi.toZigbee.lumi_curtain_battery, lumi.toZigbee.lumi_curtain_charging_status],
|
|
@@ -2521,7 +2518,7 @@ exports.definitions = [
|
|
|
2521
2518
|
{ vendor: "Aqara", model: "CM-M01R" },
|
|
2522
2519
|
],
|
|
2523
2520
|
description: "Curtain driver E1",
|
|
2524
|
-
fromZigbee: [
|
|
2521
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_curtain_position_tilt, lumi.fromZigbee.lumi_specific, fz.power_source],
|
|
2525
2522
|
toZigbee: [
|
|
2526
2523
|
lumi.toZigbee.lumi_curtain_position_state,
|
|
2527
2524
|
lumi.toZigbee.lumi_curtain_battery_voltage,
|
|
@@ -2529,8 +2526,8 @@ exports.definitions = [
|
|
|
2529
2526
|
lumi.toZigbee.lumi_curtain_hooks_state,
|
|
2530
2527
|
lumi.toZigbee.lumi_curtain_hand_open,
|
|
2531
2528
|
lumi.toZigbee.lumi_curtain_limits_calibration,
|
|
2532
|
-
|
|
2533
|
-
|
|
2529
|
+
tz.power_source,
|
|
2530
|
+
tz.battery_percentage_remaining,
|
|
2534
2531
|
],
|
|
2535
2532
|
exposes: [
|
|
2536
2533
|
e.cover_position().setAccess("state", ea.ALL),
|
|
@@ -2567,9 +2564,9 @@ exports.definitions = [
|
|
|
2567
2564
|
model: "LLKZMK11LM",
|
|
2568
2565
|
vendor: "Aqara",
|
|
2569
2566
|
description: "Dual relay module",
|
|
2570
|
-
fromZigbee: [lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_power,
|
|
2567
|
+
fromZigbee: [lumi.fromZigbee.lumi_basic, lumi.fromZigbee.lumi_power, fz.ignore_multistate_report, fz.on_off, lumi.fromZigbee.lumi_basic_raw],
|
|
2571
2568
|
meta: { multiEndpoint: true },
|
|
2572
|
-
toZigbee: [
|
|
2569
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_interlock, lumi.toZigbee.lumi_power, lumi.toZigbee.lumi_switch_power_outage_memory],
|
|
2573
2570
|
endpoint: (device) => {
|
|
2574
2571
|
return { l1: 1, l2: 2 };
|
|
2575
2572
|
},
|
|
@@ -2597,8 +2594,8 @@ exports.definitions = [
|
|
|
2597
2594
|
vendor: "Aqara",
|
|
2598
2595
|
whiteLabel: [{ vendor: "Aqara", model: "DCM-K01" }],
|
|
2599
2596
|
description: "Dual relay module T2",
|
|
2600
|
-
fromZigbee: [
|
|
2601
|
-
toZigbee: [
|
|
2597
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_power],
|
|
2598
|
+
toZigbee: [tz.on_off],
|
|
2602
2599
|
meta: { multiEndpoint: true, multiEndpointSkip: ["power", "energy"] },
|
|
2603
2600
|
endpoint: (device) => {
|
|
2604
2601
|
return { l1: 1, l2: 2 };
|
|
@@ -2694,7 +2691,7 @@ exports.definitions = [
|
|
|
2694
2691
|
model: "ZNMS13LM",
|
|
2695
2692
|
description: "Smart door lock S2 Pro",
|
|
2696
2693
|
vendor: "Aqara",
|
|
2697
|
-
fromZigbee: [lumi.fromZigbee.lumi_door_lock_report,
|
|
2694
|
+
fromZigbee: [lumi.fromZigbee.lumi_door_lock_report, fz.ignore_basic_report],
|
|
2698
2695
|
toZigbee: [],
|
|
2699
2696
|
exposes: [
|
|
2700
2697
|
e.binary("state", ea.STATE, "UNLOCK", "LOCK"),
|
|
@@ -2731,7 +2728,7 @@ exports.definitions = [
|
|
|
2731
2728
|
model: "ZNMS11LM",
|
|
2732
2729
|
description: "Smart door lock",
|
|
2733
2730
|
vendor: "Aqara",
|
|
2734
|
-
fromZigbee: [lumi.fromZigbee.lumi_door_lock_report,
|
|
2731
|
+
fromZigbee: [lumi.fromZigbee.lumi_door_lock_report, fz.ignore_basic_report],
|
|
2735
2732
|
toZigbee: [],
|
|
2736
2733
|
exposes: [
|
|
2737
2734
|
e.binary("state", ea.STATE, "UNLOCK", "LOCK"),
|
|
@@ -2766,7 +2763,7 @@ exports.definitions = [
|
|
|
2766
2763
|
fromZigbee: [
|
|
2767
2764
|
lumi.fromZigbee.lumi_action_on,
|
|
2768
2765
|
lumi.fromZigbee.lumi_action_off,
|
|
2769
|
-
|
|
2766
|
+
fz.battery,
|
|
2770
2767
|
lumi.fromZigbee.lumi_action_multistate,
|
|
2771
2768
|
lumi.fromZigbee.lumi_specific,
|
|
2772
2769
|
],
|
|
@@ -2808,7 +2805,7 @@ exports.definitions = [
|
|
|
2808
2805
|
lumi.fromZigbee.lumi_action_off,
|
|
2809
2806
|
lumi.fromZigbee.lumi_action_step,
|
|
2810
2807
|
lumi.fromZigbee.lumi_action_step_color_temp,
|
|
2811
|
-
|
|
2808
|
+
fz.battery,
|
|
2812
2809
|
lumi.fromZigbee.lumi_action_multistate,
|
|
2813
2810
|
lumi.fromZigbee.lumi_specific,
|
|
2814
2811
|
],
|
|
@@ -2863,7 +2860,7 @@ exports.definitions = [
|
|
|
2863
2860
|
lumi.fromZigbee.lumi_action_stop,
|
|
2864
2861
|
lumi.fromZigbee.lumi_action_step_color_temp,
|
|
2865
2862
|
lumi.fromZigbee.lumi_action_move_color_temp,
|
|
2866
|
-
|
|
2863
|
+
fz.battery,
|
|
2867
2864
|
lumi.fromZigbee.lumi_action_multistate,
|
|
2868
2865
|
lumi.fromZigbee.lumi_specific,
|
|
2869
2866
|
],
|
|
@@ -2922,7 +2919,7 @@ exports.definitions = [
|
|
|
2922
2919
|
vendor: "Xiaomi",
|
|
2923
2920
|
whiteLabel: [{ vendor: "Xiaomi", model: "YTC4043GL" }],
|
|
2924
2921
|
description: "Mi light sensor",
|
|
2925
|
-
fromZigbee: [
|
|
2922
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_specific],
|
|
2926
2923
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
2927
2924
|
extend: [m.quirkCheckinInterval("1_HOUR"), m.illuminance()],
|
|
2928
2925
|
exposes: [e.battery(), e.battery_voltage()],
|
|
@@ -3023,11 +3020,11 @@ exports.definitions = [
|
|
|
3023
3020
|
description: "Single switch module T1 (with neutral)",
|
|
3024
3021
|
// Ignore energy metering reports, rely on aqara_opple: https://github.com/Koenkk/zigbee2mqtt/issues/10709
|
|
3025
3022
|
fromZigbee: [
|
|
3026
|
-
|
|
3027
|
-
|
|
3023
|
+
fz.on_off,
|
|
3024
|
+
fz.device_temperature,
|
|
3028
3025
|
lumi.fromZigbee.lumi_specific,
|
|
3029
|
-
|
|
3030
|
-
|
|
3026
|
+
fz.ignore_metering,
|
|
3027
|
+
fz.ignore_electrical_measurement,
|
|
3031
3028
|
lumi.fromZigbee.lumi_power,
|
|
3032
3029
|
],
|
|
3033
3030
|
exposes: [
|
|
@@ -3041,7 +3038,7 @@ exports.definitions = [
|
|
|
3041
3038
|
e.voltage(),
|
|
3042
3039
|
e.current(),
|
|
3043
3040
|
],
|
|
3044
|
-
toZigbee: [lumi.toZigbee.lumi_switch_type,
|
|
3041
|
+
toZigbee: [lumi.toZigbee.lumi_switch_type, tz.on_off, lumi.toZigbee.lumi_switch_power_outage_memory, lumi.toZigbee.lumi_led_disabled_night],
|
|
3045
3042
|
configure: async (device, coordinatorEndpoint) => {
|
|
3046
3043
|
const endpoint = device.getEndpoint(1);
|
|
3047
3044
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "genDeviceTempCfg"]);
|
|
@@ -3058,9 +3055,9 @@ exports.definitions = [
|
|
|
3058
3055
|
model: "DLKZMK11LM",
|
|
3059
3056
|
vendor: "Aqara",
|
|
3060
3057
|
description: "Single switch module T1 (with neutral), CN",
|
|
3061
|
-
fromZigbee: [
|
|
3058
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific],
|
|
3062
3059
|
toZigbee: [
|
|
3063
|
-
|
|
3060
|
+
tz.on_off,
|
|
3064
3061
|
lumi.toZigbee.lumi_power,
|
|
3065
3062
|
lumi.toZigbee.lumi_switch_type,
|
|
3066
3063
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
@@ -3089,9 +3086,9 @@ exports.definitions = [
|
|
|
3089
3086
|
model: "SSM-U02",
|
|
3090
3087
|
vendor: "Aqara",
|
|
3091
3088
|
description: "Single switch module T1 (no neutral)",
|
|
3092
|
-
fromZigbee: [
|
|
3089
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_specific],
|
|
3093
3090
|
exposes: [e.switch(), e.power_outage_memory(), e.switch_type(), e.power_outage_count(), e.device_temperature()],
|
|
3094
|
-
toZigbee: [lumi.toZigbee.lumi_switch_type,
|
|
3091
|
+
toZigbee: [lumi.toZigbee.lumi_switch_type, tz.on_off, lumi.toZigbee.lumi_switch_power_outage_memory],
|
|
3095
3092
|
configure: async (device, coordinatorEndpoint) => {
|
|
3096
3093
|
const endpoint = device.getEndpoint(1);
|
|
3097
3094
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff"]);
|
|
@@ -3105,9 +3102,9 @@ exports.definitions = [
|
|
|
3105
3102
|
model: "DLKZMK12LM",
|
|
3106
3103
|
vendor: "Aqara",
|
|
3107
3104
|
description: "Single switch module T1 (no neutral), CN",
|
|
3108
|
-
fromZigbee: [
|
|
3105
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_specific],
|
|
3109
3106
|
exposes: [e.switch(), e.power_outage_memory(), e.switch_type()],
|
|
3110
|
-
toZigbee: [lumi.toZigbee.lumi_switch_type,
|
|
3107
|
+
toZigbee: [lumi.toZigbee.lumi_switch_type, tz.on_off, lumi.toZigbee.lumi_switch_power_outage_memory],
|
|
3111
3108
|
configure: async (device, coordinatorEndpoint) => {
|
|
3112
3109
|
const endpoint = device.getEndpoint(1);
|
|
3113
3110
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff"]);
|
|
@@ -3121,8 +3118,8 @@ exports.definitions = [
|
|
|
3121
3118
|
model: "ZNCJMB14LM",
|
|
3122
3119
|
vendor: "Aqara",
|
|
3123
3120
|
description: "Smart touch panel S1",
|
|
3124
|
-
fromZigbee: [
|
|
3125
|
-
toZigbee: [
|
|
3121
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_smart_panel_ZNCJMB14LM],
|
|
3122
|
+
toZigbee: [tz.on_off, lumi.toZigbee.lumi_smart_panel_ZNCJMB14LM],
|
|
3126
3123
|
meta: { multiEndpoint: true },
|
|
3127
3124
|
endpoint: (device) => {
|
|
3128
3125
|
return { left: 1, center: 2, right: 3 };
|
|
@@ -3189,7 +3186,7 @@ exports.definitions = [
|
|
|
3189
3186
|
description: "Wireless remote switch T1 (single rocker)",
|
|
3190
3187
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
3191
3188
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
3192
|
-
fromZigbee: [lumi.fromZigbee.lumi_action, lumi.fromZigbee.lumi_action_multistate,
|
|
3189
|
+
fromZigbee: [lumi.fromZigbee.lumi_action, lumi.fromZigbee.lumi_action_multistate, fz.battery, lumi.fromZigbee.lumi_specific],
|
|
3193
3190
|
toZigbee: [],
|
|
3194
3191
|
exposes: [e.action(["single", "double", "hold"]), e.battery()],
|
|
3195
3192
|
},
|
|
@@ -3199,7 +3196,7 @@ exports.definitions = [
|
|
|
3199
3196
|
vendor: "Aqara",
|
|
3200
3197
|
whiteLabel: [{ vendor: "Aqara", model: "WRS-R02" }],
|
|
3201
3198
|
description: "Wireless remote switch H1 (double rocker)",
|
|
3202
|
-
fromZigbee: [
|
|
3199
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific, fz.command_toggle],
|
|
3203
3200
|
toZigbee: [lumi.toZigbee.lumi_switch_click_mode, lumi.toZigbee.lumi_operation_mode_opple],
|
|
3204
3201
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } }, multiEndpoint: true },
|
|
3205
3202
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
@@ -3248,9 +3245,9 @@ exports.definitions = [
|
|
|
3248
3245
|
model: "QBKG38LM",
|
|
3249
3246
|
vendor: "Aqara",
|
|
3250
3247
|
description: "Smart wall switch E1 (no neutral, single rocker)",
|
|
3251
|
-
fromZigbee: [
|
|
3248
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
3252
3249
|
toZigbee: [
|
|
3253
|
-
|
|
3250
|
+
tz.on_off,
|
|
3254
3251
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
3255
3252
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3256
3253
|
lumi.toZigbee.lumi_switch_mode_switch,
|
|
@@ -3277,9 +3274,9 @@ exports.definitions = [
|
|
|
3277
3274
|
model: "QBKG39LM",
|
|
3278
3275
|
vendor: "Aqara",
|
|
3279
3276
|
description: "Smart wall switch E1 (no neutral, double rocker)",
|
|
3280
|
-
fromZigbee: [
|
|
3277
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
3281
3278
|
toZigbee: [
|
|
3282
|
-
|
|
3279
|
+
tz.on_off,
|
|
3283
3280
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
3284
3281
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3285
3282
|
lumi.toZigbee.lumi_switch_mode_switch,
|
|
@@ -3313,7 +3310,7 @@ exports.definitions = [
|
|
|
3313
3310
|
vendor: "Aqara",
|
|
3314
3311
|
whiteLabel: [{ vendor: "Aqara", model: "AAQS-S01" }],
|
|
3315
3312
|
description: "TVOC air quality monitor",
|
|
3316
|
-
fromZigbee: [
|
|
3313
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_specific],
|
|
3317
3314
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
3318
3315
|
exposes: [e.device_temperature(), e.battery(), e.battery_voltage()],
|
|
3319
3316
|
extend: [
|
|
@@ -3342,9 +3339,9 @@ exports.definitions = [
|
|
|
3342
3339
|
model: "QBKG41LM",
|
|
3343
3340
|
vendor: "Aqara",
|
|
3344
3341
|
description: "Smart wall switch E1 (with neutral, double rocker)",
|
|
3345
|
-
fromZigbee: [
|
|
3342
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
3346
3343
|
toZigbee: [
|
|
3347
|
-
|
|
3344
|
+
tz.on_off,
|
|
3348
3345
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
3349
3346
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3350
3347
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -3373,9 +3370,9 @@ exports.definitions = [
|
|
|
3373
3370
|
model: "ZNCZ15LM",
|
|
3374
3371
|
vendor: "Aqara",
|
|
3375
3372
|
description: "Smart plug T1, CN",
|
|
3376
|
-
fromZigbee: [
|
|
3373
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific],
|
|
3377
3374
|
toZigbee: [
|
|
3378
|
-
|
|
3375
|
+
tz.on_off,
|
|
3379
3376
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3380
3377
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
3381
3378
|
lumi.toZigbee.lumi_overload_protection,
|
|
@@ -3401,9 +3398,9 @@ exports.definitions = [
|
|
|
3401
3398
|
model: "QBKG40LM",
|
|
3402
3399
|
vendor: "Aqara",
|
|
3403
3400
|
description: "Smart wall switch E1 (with neutral, single rocker)",
|
|
3404
|
-
fromZigbee: [
|
|
3401
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
3405
3402
|
toZigbee: [
|
|
3406
|
-
|
|
3403
|
+
tz.on_off,
|
|
3407
3404
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
3408
3405
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3409
3406
|
lumi.toZigbee.lumi_flip_indicator_light,
|
|
@@ -3431,7 +3428,7 @@ exports.definitions = [
|
|
|
3431
3428
|
{ vendor: "Yandex", model: "YNDX-00524" },
|
|
3432
3429
|
],
|
|
3433
3430
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
3434
|
-
fromZigbee: [
|
|
3431
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
3435
3432
|
toZigbee: [],
|
|
3436
3433
|
exposes: [e.battery(), e.battery_voltage(), e.action(["single", "double", "triple", "quadruple", "quintuple", "hold", "release", "many"])],
|
|
3437
3434
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -3445,7 +3442,7 @@ exports.definitions = [
|
|
|
3445
3442
|
model: "GZCGQ11LM",
|
|
3446
3443
|
vendor: "Aqara",
|
|
3447
3444
|
description: "Light sensor T1",
|
|
3448
|
-
fromZigbee: [
|
|
3445
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_specific],
|
|
3449
3446
|
toZigbee: [lumi.toZigbee.lumi_detection_period],
|
|
3450
3447
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
3451
3448
|
exposes: [
|
|
@@ -3470,9 +3467,9 @@ exports.definitions = [
|
|
|
3470
3467
|
model: "QBCZ15LM",
|
|
3471
3468
|
vendor: "Aqara",
|
|
3472
3469
|
description: "Smart wall outlet H1 (USB)",
|
|
3473
|
-
fromZigbee: [
|
|
3470
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific],
|
|
3474
3471
|
toZigbee: [
|
|
3475
|
-
|
|
3472
|
+
tz.on_off,
|
|
3476
3473
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3477
3474
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
3478
3475
|
lumi.toZigbee.lumi_button_switch_mode,
|
|
@@ -3510,7 +3507,7 @@ exports.definitions = [
|
|
|
3510
3507
|
{ vendor: "Aqara", model: "DW-S03D" },
|
|
3511
3508
|
{ vendor: "Yandex", model: "YNDX-00520" },
|
|
3512
3509
|
],
|
|
3513
|
-
fromZigbee: [lumi.fromZigbee.lumi_contact, lumi.fromZigbee.lumi_specific,
|
|
3510
|
+
fromZigbee: [lumi.fromZigbee.lumi_contact, lumi.fromZigbee.lumi_specific, fz.ias_contact_alarm_1],
|
|
3514
3511
|
toZigbee: [],
|
|
3515
3512
|
exposes: [e.contact(), e.battery(), e.battery_voltage()],
|
|
3516
3513
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
@@ -3521,9 +3518,9 @@ exports.definitions = [
|
|
|
3521
3518
|
model: "QBCZ14LM",
|
|
3522
3519
|
vendor: "Aqara",
|
|
3523
3520
|
description: "Smart wall outlet T1",
|
|
3524
|
-
fromZigbee: [
|
|
3521
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_specific],
|
|
3525
3522
|
toZigbee: [
|
|
3526
|
-
|
|
3523
|
+
tz.on_off,
|
|
3527
3524
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
3528
3525
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
3529
3526
|
lumi.toZigbee.lumi_overload_protection,
|
|
@@ -3615,7 +3612,7 @@ exports.definitions = [
|
|
|
3615
3612
|
model: "WXKG14LM",
|
|
3616
3613
|
vendor: "Aqara",
|
|
3617
3614
|
description: "Wireless remote switch H1 (single rocker)",
|
|
3618
|
-
fromZigbee: [lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific,
|
|
3615
|
+
fromZigbee: [lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific, fz.command_toggle],
|
|
3619
3616
|
toZigbee: [lumi.toZigbee.lumi_switch_click_mode, lumi.toZigbee.lumi_operation_mode_opple],
|
|
3620
3617
|
exposes: [
|
|
3621
3618
|
e.battery(),
|
|
@@ -3642,8 +3639,8 @@ exports.definitions = [
|
|
|
3642
3639
|
model: "SRTS-A01",
|
|
3643
3640
|
vendor: "Aqara",
|
|
3644
3641
|
description: "Smart radiator thermostat E1",
|
|
3645
|
-
fromZigbee: [lumi.fromZigbee.lumi_trv,
|
|
3646
|
-
toZigbee: [lumi.toZigbee.lumi_trv,
|
|
3642
|
+
fromZigbee: [lumi.fromZigbee.lumi_trv, fz.thermostat, fz.battery],
|
|
3643
|
+
toZigbee: [lumi.toZigbee.lumi_trv, tz.thermostat_occupied_heating_setpoint],
|
|
3647
3644
|
exposes: [
|
|
3648
3645
|
e.setup().withDescription("Indicates if the device is in setup mode (E11)"),
|
|
3649
3646
|
e
|
|
@@ -3755,7 +3752,7 @@ exports.definitions = [
|
|
|
3755
3752
|
model: "WXKG20LM",
|
|
3756
3753
|
vendor: "Aqara",
|
|
3757
3754
|
description: "Wireless mini switch E1",
|
|
3758
|
-
fromZigbee: [
|
|
3755
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
3759
3756
|
toZigbee: [],
|
|
3760
3757
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
|
|
3761
3758
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
@@ -3772,7 +3769,7 @@ exports.definitions = [
|
|
|
3772
3769
|
model: "WXKG22LM",
|
|
3773
3770
|
vendor: "Aqara",
|
|
3774
3771
|
description: "Wireless remote switch H1M (double rocker)",
|
|
3775
|
-
fromZigbee: [
|
|
3772
|
+
fromZigbee: [fz.battery, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific, fz.command_toggle],
|
|
3776
3773
|
toZigbee: [lumi.toZigbee.lumi_switch_click_mode, lumi.toZigbee.lumi_operation_mode_opple],
|
|
3777
3774
|
meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } }, multiEndpoint: true },
|
|
3778
3775
|
extend: [m.quirkCheckinInterval("1_HOUR")],
|
|
@@ -4064,7 +4061,7 @@ exports.definitions = [
|
|
|
4064
4061
|
lumi.fromZigbee.lumi_specific,
|
|
4065
4062
|
lumi.fromZigbee.lumi_action_multistate,
|
|
4066
4063
|
lumi.fromZigbee.lumi_action_analog,
|
|
4067
|
-
|
|
4064
|
+
fz.ignore_onoff_report,
|
|
4068
4065
|
],
|
|
4069
4066
|
toZigbee: [lumi.toZigbee.lumi_cube_operation_mode],
|
|
4070
4067
|
exposes: [
|
|
@@ -4116,9 +4113,9 @@ exports.definitions = [
|
|
|
4116
4113
|
model: "ZNQBKG31LM",
|
|
4117
4114
|
vendor: "Aqara",
|
|
4118
4115
|
description: "Smart wall switch E1 (with neutral, triple rocker)",
|
|
4119
|
-
fromZigbee: [
|
|
4116
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
4120
4117
|
toZigbee: [
|
|
4121
|
-
|
|
4118
|
+
tz.on_off,
|
|
4122
4119
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
4123
4120
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
4124
4121
|
lumi.toZigbee.lumi_switch_mode_switch,
|
|
@@ -4168,9 +4165,9 @@ exports.definitions = [
|
|
|
4168
4165
|
model: "ZNQBKG24LM",
|
|
4169
4166
|
vendor: "Aqara",
|
|
4170
4167
|
description: "Smart wall switch H1M (with neutral, single rocker)",
|
|
4171
|
-
fromZigbee: [
|
|
4168
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
|
|
4172
4169
|
toZigbee: [
|
|
4173
|
-
|
|
4170
|
+
tz.on_off,
|
|
4174
4171
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
4175
4172
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
4176
4173
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -4195,9 +4192,9 @@ exports.definitions = [
|
|
|
4195
4192
|
model: "ZNQBKG25LM",
|
|
4196
4193
|
vendor: "Aqara",
|
|
4197
4194
|
description: "Smart wall switch H1M (with neutral, double rocker)",
|
|
4198
|
-
fromZigbee: [
|
|
4195
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_power],
|
|
4199
4196
|
toZigbee: [
|
|
4200
|
-
|
|
4197
|
+
tz.on_off,
|
|
4201
4198
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
4202
4199
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
4203
4200
|
lumi.toZigbee.lumi_led_disabled_night,
|
|
@@ -4240,9 +4237,9 @@ exports.definitions = [
|
|
|
4240
4237
|
model: "ZNQBKG26LM",
|
|
4241
4238
|
vendor: "Aqara",
|
|
4242
4239
|
description: "Smart wall switch H1M (with neutral, triple rocker)",
|
|
4243
|
-
fromZigbee: [
|
|
4240
|
+
fromZigbee: [fz.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_power],
|
|
4244
4241
|
toZigbee: [
|
|
4245
|
-
|
|
4242
|
+
tz.on_off,
|
|
4246
4243
|
lumi.toZigbee.lumi_switch_operation_mode_opple,
|
|
4247
4244
|
lumi.toZigbee.lumi_switch_power_outage_memory,
|
|
4248
4245
|
lumi.toZigbee.lumi_led_disabled_night,
|