zigbee-herdsman-converters 20.13.0 → 20.14.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 +23 -0
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +345 -334
- package/converters/fromZigbee.js.map +1 -1
- package/converters/toZigbee.d.ts +1 -1
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +80 -82
- package/converters/toZigbee.js.map +1 -1
- package/devices/ITCommander.d.ts.map +1 -1
- package/devices/ITCommander.js +1 -1
- package/devices/ITCommander.js.map +1 -1
- package/devices/acova.d.ts.map +1 -1
- package/devices/acova.js.map +1 -1
- package/devices/akuvox.d.ts.map +1 -1
- package/devices/akuvox.js.map +1 -1
- package/devices/aldi.d.ts.map +1 -1
- package/devices/aldi.js.map +1 -1
- package/devices/alecto.d.ts.map +1 -1
- package/devices/alecto.js.map +1 -1
- package/devices/atlantic.d.ts.map +1 -1
- package/devices/atlantic.js.map +1 -1
- package/devices/aubess.d.ts.map +1 -1
- package/devices/aubess.js.map +1 -1
- package/devices/aurora_lighting.d.ts.map +1 -1
- package/devices/aurora_lighting.js +2 -2
- package/devices/aurora_lighting.js.map +1 -1
- package/devices/avatto.js +0 -1
- package/devices/avatto.js.map +1 -1
- package/devices/axis.d.ts.map +1 -1
- package/devices/axis.js.map +1 -1
- package/devices/bitron.d.ts.map +1 -1
- package/devices/bitron.js +9 -9
- package/devices/bitron.js.map +1 -1
- package/devices/bituo_technik.d.ts.map +1 -1
- package/devices/bituo_technik.js +2 -2
- package/devices/bituo_technik.js.map +1 -1
- package/devices/blaupunkt.d.ts.map +1 -1
- package/devices/blaupunkt.js +1 -1
- package/devices/blaupunkt.js.map +1 -1
- package/devices/blitzwolf.d.ts.map +1 -1
- package/devices/blitzwolf.js.map +1 -1
- package/devices/bosch.d.ts.map +1 -1
- package/devices/bosch.js +25 -25
- package/devices/bosch.js.map +1 -1
- package/devices/brimate.d.ts.map +1 -1
- package/devices/brimate.js.map +1 -1
- package/devices/bseed.d.ts.map +1 -1
- package/devices/bseed.js.map +1 -1
- package/devices/bticino.d.ts.map +1 -1
- package/devices/bticino.js.map +1 -1
- package/devices/busch_jaeger.d.ts.map +1 -1
- package/devices/busch_jaeger.js.map +1 -1
- package/devices/byun.d.ts.map +1 -1
- package/devices/byun.js.map +1 -1
- package/devices/casaia.d.ts.map +1 -1
- package/devices/casaia.js +2 -2
- package/devices/casaia.js.map +1 -1
- package/devices/centralite.d.ts.map +1 -1
- package/devices/centralite.js +5 -5
- package/devices/centralite.js.map +1 -1
- package/devices/cleverio.d.ts.map +1 -1
- package/devices/cleverio.js.map +1 -1
- package/devices/ctm.d.ts.map +1 -1
- package/devices/ctm.js +62 -62
- package/devices/ctm.js.map +1 -1
- package/devices/current_products_corp.d.ts.map +1 -1
- package/devices/current_products_corp.js.map +1 -1
- package/devices/custom_devices_diy.d.ts.map +1 -1
- package/devices/custom_devices_diy.js +12 -12
- package/devices/custom_devices_diy.js.map +1 -1
- package/devices/danalock.d.ts.map +1 -1
- package/devices/danalock.js.map +1 -1
- package/devices/danfoss.d.ts.map +1 -1
- package/devices/danfoss.js +2 -2
- package/devices/danfoss.js.map +1 -1
- package/devices/datek.d.ts.map +1 -1
- package/devices/datek.js +1 -1
- package/devices/datek.js.map +1 -1
- package/devices/dawon_dns.d.ts.map +1 -1
- package/devices/dawon_dns.js.map +1 -1
- package/devices/develco.d.ts.map +1 -1
- package/devices/develco.js +15 -14
- package/devices/develco.js.map +1 -1
- package/devices/digi.d.ts.map +1 -1
- package/devices/digi.js.map +1 -1
- package/devices/dlink.d.ts.map +1 -1
- package/devices/dlink.js.map +1 -1
- package/devices/easyaccess.d.ts.map +1 -1
- package/devices/easyaccess.js.map +1 -1
- package/devices/easyiot.d.ts.map +1 -1
- package/devices/easyiot.js.map +1 -1
- package/devices/echostar.d.ts.map +1 -1
- package/devices/echostar.js.map +1 -1
- package/devices/ecodim.d.ts.map +1 -1
- package/devices/ecodim.js +1 -1
- package/devices/ecodim.js.map +1 -1
- package/devices/ecolink.d.ts.map +1 -1
- package/devices/ecolink.js.map +1 -1
- package/devices/ecozy.d.ts.map +1 -1
- package/devices/ecozy.js.map +1 -1
- package/devices/enocean.d.ts.map +1 -1
- package/devices/enocean.js.map +1 -1
- package/devices/envilar.d.ts.map +1 -1
- package/devices/envilar.js +2 -2
- package/devices/envilar.js.map +1 -1
- package/devices/eurotronic.d.ts.map +1 -1
- package/devices/eurotronic.js.map +1 -1
- package/devices/evanell.d.ts.map +1 -1
- package/devices/evanell.js.map +1 -1
- package/devices/evology.d.ts.map +1 -1
- package/devices/evology.js.map +1 -1
- package/devices/ewelink.d.ts.map +1 -1
- package/devices/ewelink.js +1 -1
- package/devices/ewelink.js.map +1 -1
- package/devices/fantem.d.ts.map +1 -1
- package/devices/fantem.js +2 -2
- package/devices/fantem.js.map +1 -1
- package/devices/fireangel.d.ts.map +1 -1
- package/devices/fireangel.js.map +1 -1
- package/devices/frankever.d.ts.map +1 -1
- package/devices/frankever.js.map +1 -1
- package/devices/frient.d.ts.map +1 -1
- package/devices/frient.js.map +1 -1
- package/devices/gewiss.d.ts.map +1 -1
- package/devices/gewiss.js.map +1 -1
- package/devices/giex.d.ts.map +1 -1
- package/devices/giex.js.map +1 -1
- package/devices/gledopto.js +2 -2
- package/devices/gledopto.js.map +1 -1
- package/devices/gmmts.d.ts.map +1 -1
- package/devices/gmmts.js +23 -23
- package/devices/gmmts.js.map +1 -1
- package/devices/gumax.d.ts +4 -0
- package/devices/gumax.d.ts.map +1 -0
- package/devices/gumax.js +15 -0
- package/devices/gumax.js.map +1 -0
- package/devices/heiman.d.ts.map +1 -1
- package/devices/heiman.js +2 -2
- package/devices/heiman.js.map +1 -1
- package/devices/heimgard_technologies.d.ts.map +1 -1
- package/devices/heimgard_technologies.js +2 -2
- package/devices/heimgard_technologies.js.map +1 -1
- package/devices/hive.js +1 -1
- package/devices/hive.js.map +1 -1
- package/devices/hommyn.d.ts.map +1 -1
- package/devices/hommyn.js.map +1 -1
- package/devices/hzc.d.ts.map +1 -1
- package/devices/hzc.js.map +1 -1
- package/devices/hzc_electric.d.ts.map +1 -1
- package/devices/hzc_electric.js.map +1 -1
- package/devices/ihorn.d.ts.map +1 -1
- package/devices/ihorn.js.map +1 -1
- package/devices/imhotepcreation.d.ts.map +1 -1
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +4 -2
- package/devices/index.js.map +1 -1
- package/devices/innr.d.ts.map +1 -1
- package/devices/innr.js +2 -2
- package/devices/innr.js.map +1 -1
- package/devices/inovelli.d.ts.map +1 -1
- package/devices/inovelli.js +38 -38
- package/devices/inovelli.js.map +1 -1
- package/devices/insta.d.ts.map +1 -1
- package/devices/insta.js.map +1 -1
- package/devices/iotperfect.d.ts.map +1 -1
- package/devices/iotperfect.js.map +1 -1
- package/devices/iris.d.ts.map +1 -1
- package/devices/iris.js +1 -1
- package/devices/iris.js.map +1 -1
- package/devices/javis.d.ts.map +1 -1
- package/devices/javis.js.map +1 -1
- package/devices/jxuan.d.ts.map +1 -1
- package/devices/jxuan.js +2 -2
- package/devices/jxuan.js.map +1 -1
- package/devices/kami.d.ts.map +1 -1
- package/devices/kami.js.map +1 -1
- package/devices/keen_home.d.ts.map +1 -1
- package/devices/keen_home.js.map +1 -1
- package/devices/kmpcil.d.ts.map +1 -1
- package/devices/kmpcil.js +5 -5
- package/devices/kmpcil.js.map +1 -1
- package/devices/kwikset.d.ts.map +1 -1
- package/devices/kwikset.js.map +1 -1
- package/devices/led_trading.d.ts.map +1 -1
- package/devices/led_trading.js +1 -8
- package/devices/led_trading.js.map +1 -1
- package/devices/legrand.d.ts.map +1 -1
- package/devices/legrand.js +2 -2
- package/devices/legrand.js.map +1 -1
- package/devices/lellki.d.ts.map +1 -1
- package/devices/lellki.js +2 -2
- package/devices/lellki.js.map +1 -1
- package/devices/letv.d.ts.map +1 -1
- package/devices/letv.js.map +1 -1
- package/devices/leviton.d.ts.map +1 -1
- package/devices/leviton.js +1 -1
- package/devices/leviton.js.map +1 -1
- package/devices/lidl.d.ts.map +1 -1
- package/devices/lidl.js +15 -15
- package/devices/lidl.js.map +1 -1
- package/devices/lifecontrol.d.ts.map +1 -1
- package/devices/lifecontrol.js +1 -1
- package/devices/lifecontrol.js.map +1 -1
- package/devices/linkind.d.ts.map +1 -1
- package/devices/linkind.js +2 -2
- package/devices/linkind.js.map +1 -1
- package/devices/linptech.d.ts.map +1 -1
- package/devices/linptech.js +5 -5
- package/devices/linptech.js.map +1 -1
- package/devices/livolo.d.ts.map +1 -1
- package/devices/livolo.js +1 -1
- package/devices/livolo.js.map +1 -1
- package/devices/lixee.d.ts.map +1 -1
- package/devices/lixee.js +29 -28
- package/devices/lixee.js.map +1 -1
- package/devices/ls.d.ts.map +1 -1
- package/devices/ls.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +7 -7
- package/devices/lumi.js.map +1 -1
- package/devices/lupus.d.ts.map +1 -1
- package/devices/lupus.js +2 -2
- package/devices/lupus.js.map +1 -1
- package/devices/lutron.d.ts.map +1 -1
- package/devices/lutron.js.map +1 -1
- package/devices/lux.d.ts.map +1 -1
- package/devices/lux.js.map +1 -1
- package/devices/lytko.js +6 -6
- package/devices/lytko.js.map +1 -1
- package/devices/meazon.d.ts.map +1 -1
- package/devices/meazon.js.map +1 -1
- package/devices/mercator.d.ts.map +1 -1
- package/devices/mercator.js +2 -2
- package/devices/mercator.js.map +1 -1
- package/devices/miboxer.d.ts.map +1 -1
- package/devices/miboxer.js +1 -1
- package/devices/miboxer.js.map +1 -1
- package/devices/moes.d.ts.map +1 -1
- package/devices/moes.js +3 -3
- package/devices/moes.js.map +1 -1
- package/devices/multiterm.js +1 -1
- package/devices/multiterm.js.map +1 -1
- package/devices/namron.js +6 -6
- package/devices/namron.js.map +1 -1
- package/devices/neo.d.ts.map +1 -1
- package/devices/neo.js +1 -1
- package/devices/neo.js.map +1 -1
- package/devices/net2grid.d.ts.map +1 -1
- package/devices/net2grid.js.map +1 -1
- package/devices/netvox.d.ts.map +1 -1
- package/devices/netvox.js.map +1 -1
- package/devices/niko.d.ts.map +1 -1
- package/devices/niko.js +10 -10
- package/devices/niko.js.map +1 -1
- package/devices/ninja_blocks.d.ts.map +1 -1
- package/devices/ninja_blocks.js.map +1 -1
- package/devices/nodon.d.ts.map +1 -1
- package/devices/nodon.js +2 -2
- package/devices/nodon.js.map +1 -1
- package/devices/nous.d.ts.map +1 -1
- package/devices/nous.js.map +1 -1
- package/devices/novo.d.ts.map +1 -1
- package/devices/novo.js.map +1 -1
- package/devices/nue_3a.js +2 -2
- package/devices/nue_3a.js.map +1 -1
- package/devices/nyce.d.ts.map +1 -1
- package/devices/nyce.js.map +1 -1
- package/devices/onesti.d.ts.map +1 -1
- package/devices/onesti.js.map +1 -1
- package/devices/openlumi.d.ts.map +1 -1
- package/devices/openlumi.js.map +1 -1
- package/devices/oujiabao.d.ts.map +1 -1
- package/devices/oujiabao.js.map +1 -1
- package/devices/owon.d.ts.map +1 -1
- package/devices/owon.js +35 -26
- package/devices/owon.js.map +1 -1
- package/devices/peq.d.ts.map +1 -1
- package/devices/peq.js.map +1 -1
- package/devices/perenio.d.ts.map +1 -1
- package/devices/perenio.js +21 -21
- package/devices/perenio.js.map +1 -1
- package/devices/philips.d.ts.map +1 -1
- package/devices/philips.js +28 -0
- package/devices/philips.js.map +1 -1
- package/devices/plaid.d.ts.map +1 -1
- package/devices/plaid.js.map +1 -1
- package/devices/plugwise.d.ts.map +1 -1
- package/devices/plugwise.js +1 -1
- package/devices/plugwise.js.map +1 -1
- package/devices/qa.d.ts.map +1 -1
- package/devices/qa.js.map +1 -1
- package/devices/qmotion.d.ts.map +1 -1
- package/devices/qmotion.js +1 -1
- package/devices/qmotion.js.map +1 -1
- package/devices/qoto.d.ts.map +1 -1
- package/devices/qoto.js.map +1 -1
- package/devices/rgb_genie.d.ts.map +1 -1
- package/devices/rgb_genie.js +2 -2
- package/devices/rgb_genie.js.map +1 -1
- package/devices/roome.d.ts.map +1 -1
- package/devices/roome.js.map +1 -1
- package/devices/rtx.d.ts.map +1 -1
- package/devices/rtx.js.map +1 -1
- package/devices/salus_controls.d.ts.map +1 -1
- package/devices/salus_controls.js.map +1 -1
- package/devices/saswell.d.ts.map +1 -1
- package/devices/saswell.js +1 -1
- package/devices/saswell.js.map +1 -1
- package/devices/sber.d.ts.map +1 -1
- package/devices/sber.js.map +1 -1
- package/devices/schlage.d.ts.map +1 -1
- package/devices/schlage.js.map +1 -1
- package/devices/schneider_electric.d.ts.map +1 -1
- package/devices/schneider_electric.js +22 -22
- package/devices/schneider_electric.js.map +1 -1
- package/devices/securifi.d.ts.map +1 -1
- package/devices/securifi.js.map +1 -1
- package/devices/sengled.d.ts.map +1 -1
- package/devices/sercomm.d.ts.map +1 -1
- package/devices/sercomm.js.map +1 -1
- package/devices/shade_control.d.ts.map +1 -1
- package/devices/shade_control.js.map +1 -1
- package/devices/shinasystem.js +1 -1
- package/devices/shinasystem.js.map +1 -1
- package/devices/siglis.d.ts.map +1 -1
- package/devices/siglis.js +4 -5
- package/devices/siglis.js.map +1 -1
- package/devices/sinope.d.ts.map +1 -1
- package/devices/sinope.js +76 -84
- package/devices/sinope.js.map +1 -1
- package/devices/siterwell.d.ts.map +1 -1
- package/devices/siterwell.js.map +1 -1
- package/devices/skydance.d.ts.map +1 -1
- package/devices/skydance.js.map +1 -1
- package/devices/smart9.d.ts.map +1 -1
- package/devices/smart9.js.map +1 -1
- package/devices/smartenit.d.ts.map +1 -1
- package/devices/smartenit.js.map +1 -1
- package/devices/smartthings.js +1 -1
- package/devices/smartthings.js.map +1 -1
- package/devices/smartwings.d.ts.map +1 -1
- package/devices/smartwings.js.map +1 -1
- package/devices/somgoms.d.ts.map +1 -1
- package/devices/somgoms.js.map +1 -1
- package/devices/sonoff.d.ts.map +1 -1
- package/devices/sonoff.js +2 -2
- package/devices/sonoff.js.map +1 -1
- package/devices/stelpro.d.ts.map +1 -1
- package/devices/stelpro.js +3 -3
- package/devices/stelpro.js.map +1 -1
- package/devices/sunricher.d.ts.map +1 -1
- package/devices/sunricher.js +3 -8
- package/devices/sunricher.js.map +1 -1
- package/devices/swann.d.ts.map +1 -1
- package/devices/swann.js.map +1 -1
- package/devices/tapestry.d.ts.map +1 -1
- package/devices/tapestry.js.map +1 -1
- package/devices/technicolor.d.ts.map +1 -1
- package/devices/technicolor.js.map +1 -1
- package/devices/third_reality.d.ts.map +1 -1
- package/devices/third_reality.js +167 -15
- package/devices/third_reality.js.map +1 -1
- package/devices/titan_products.d.ts.map +1 -1
- package/devices/titan_products.js.map +1 -1
- package/devices/tplink.d.ts.map +1 -1
- package/devices/tplink.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +20 -20
- package/devices/tuya.js.map +1 -1
- package/devices/ubisys.d.ts.map +1 -1
- package/devices/ubisys.js +30 -27
- package/devices/ubisys.js.map +1 -1
- package/devices/uhome.d.ts.map +1 -1
- package/devices/uhome.js.map +1 -1
- package/devices/universal_electronics_inc.d.ts.map +1 -1
- package/devices/universal_electronics_inc.js +1 -1
- package/devices/universal_electronics_inc.js.map +1 -1
- package/devices/vesternet.d.ts.map +1 -1
- package/devices/vesternet.js.map +1 -1
- package/devices/viessmann.d.ts.map +1 -1
- package/devices/viessmann.js.map +1 -1
- package/devices/vimar.d.ts.map +1 -1
- package/devices/vimar.js.map +1 -1
- package/devices/visonic.d.ts.map +1 -1
- package/devices/visonic.js.map +1 -1
- package/devices/wally.d.ts.map +1 -1
- package/devices/wally.js.map +1 -1
- package/devices/waxman.d.ts.map +1 -1
- package/devices/waxman.js.map +1 -1
- package/devices/weiser.d.ts.map +1 -1
- package/devices/weiser.js.map +1 -1
- package/devices/wirenboard.d.ts.map +1 -1
- package/devices/wirenboard.js +11 -11
- package/devices/wirenboard.js.map +1 -1
- package/devices/woolley.d.ts.map +1 -1
- package/devices/woolley.js +1 -1
- package/devices/woolley.js.map +1 -1
- package/devices/woox.d.ts.map +1 -1
- package/devices/woox.js.map +1 -1
- package/devices/wyze.d.ts.map +1 -1
- package/devices/wyze.js.map +1 -1
- package/devices/xyzroe.d.ts.map +1 -1
- package/devices/xyzroe.js +6 -6
- package/devices/xyzroe.js.map +1 -1
- package/devices/yale.d.ts.map +1 -1
- package/devices/yale.js +3 -3
- package/devices/yale.js.map +1 -1
- package/devices/yookee.d.ts.map +1 -1
- package/devices/yookee.js.map +1 -1
- package/devices/zemismart.d.ts.map +1 -1
- package/devices/zemismart.js +2 -2
- package/devices/zemismart.js.map +1 -1
- package/devices/zen.d.ts.map +1 -1
- package/devices/zen.js.map +1 -1
- package/index.d.ts +5 -5
- package/index.d.ts.map +1 -1
- package/index.js +31 -16
- package/index.js.map +1 -1
- package/lib/color.d.ts +1 -1
- package/lib/color.d.ts.map +1 -1
- package/lib/color.js +47 -50
- package/lib/color.js.map +1 -1
- package/lib/configureKey.js +2 -2
- package/lib/configureKey.js.map +1 -1
- package/lib/develco.d.ts.map +1 -1
- package/lib/develco.js +5 -6
- package/lib/develco.js.map +1 -1
- package/lib/ewelink.d.ts.map +1 -1
- package/lib/exposes.js +1 -1
- package/lib/exposes.js.map +1 -1
- package/lib/ikea.d.ts +1 -1
- package/lib/ikea.d.ts.map +1 -1
- package/lib/ikea.js +10 -10
- package/lib/ikea.js.map +1 -1
- package/lib/ledvance.d.ts +1 -1
- package/lib/ledvance.d.ts.map +1 -1
- package/lib/legacy.d.ts +3 -16
- package/lib/legacy.d.ts.map +1 -1
- package/lib/legacy.js +121 -131
- package/lib/legacy.js.map +1 -1
- package/lib/legrand.d.ts +1 -1
- package/lib/legrand.d.ts.map +1 -1
- package/lib/legrand.js +4 -4
- package/lib/legrand.js.map +1 -1
- package/lib/light.d.ts +1 -1
- package/lib/light.js +5 -5
- package/lib/light.js.map +1 -1
- package/lib/logger.d.ts.map +1 -1
- package/lib/logger.js +4 -4
- package/lib/logger.js.map +1 -1
- package/lib/lumi.d.ts +1 -1
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +90 -92
- package/lib/lumi.js.map +1 -1
- package/lib/modernExtend.d.ts +1 -1
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +15 -15
- package/lib/modernExtend.js.map +1 -1
- package/lib/ota/common.d.ts +1 -1
- package/lib/ota/common.d.ts.map +1 -1
- package/lib/ota/common.js +5 -5
- package/lib/ota/common.js.map +1 -1
- package/lib/ota/gmmts.d.ts +1 -1
- package/lib/ota/gmmts.d.ts.map +1 -1
- package/lib/ota/gmmts.js +2 -2
- package/lib/ota/gmmts.js.map +1 -1
- package/lib/ota/index.d.ts +5 -5
- package/lib/ota/index.d.ts.map +1 -1
- package/lib/ota/index.js +7 -7
- package/lib/ota/index.js.map +1 -1
- package/lib/ota/inovelli.d.ts +1 -6
- package/lib/ota/inovelli.d.ts.map +1 -1
- package/lib/ota/inovelli.js +11 -11
- package/lib/ota/inovelli.js.map +1 -1
- package/lib/ota/jethome.d.ts +1 -1
- package/lib/ota/jethome.d.ts.map +1 -1
- package/lib/ota/jethome.js +4 -4
- package/lib/ota/jethome.js.map +1 -1
- package/lib/ota/ledvance.d.ts +1 -1
- package/lib/ota/ledvance.d.ts.map +1 -1
- package/lib/ota/ledvance.js +4 -4
- package/lib/ota/ledvance.js.map +1 -1
- package/lib/ota/lixee.d.ts +1 -1
- package/lib/ota/lixee.d.ts.map +1 -1
- package/lib/ota/lixee.js +3 -3
- package/lib/ota/lixee.js.map +1 -1
- package/lib/ota/salus.d.ts +1 -1
- package/lib/ota/salus.d.ts.map +1 -1
- package/lib/ota/salus.js +5 -5
- package/lib/ota/salus.js.map +1 -1
- package/lib/ota/securifi.d.ts +1 -1
- package/lib/ota/securifi.d.ts.map +1 -1
- package/lib/ota/securifi.js +2 -2
- package/lib/ota/securifi.js.map +1 -1
- package/lib/ota/tradfri.d.ts.map +1 -1
- package/lib/ota/tradfri.js +4 -4
- package/lib/ota/tradfri.js.map +1 -1
- package/lib/ota/ubisys.d.ts.map +1 -1
- package/lib/ota/ubisys.js +4 -4
- package/lib/ota/ubisys.js.map +1 -1
- package/lib/ota/zigbeeOTA.d.ts +1 -1
- package/lib/ota/zigbeeOTA.d.ts.map +1 -1
- package/lib/ota/zigbeeOTA.js +9 -9
- package/lib/ota/zigbeeOTA.js.map +1 -1
- package/lib/philips.js +12 -12
- package/lib/philips.js.map +1 -1
- package/lib/reporting.d.ts +1 -1
- package/lib/reporting.d.ts.map +1 -1
- package/lib/reporting.js +7 -7
- package/lib/reporting.js.map +1 -1
- package/lib/store.d.ts +1 -1
- package/lib/store.d.ts.map +1 -1
- package/lib/store.js +2 -2
- package/lib/store.js.map +1 -1
- package/lib/tuya.d.ts +1 -1
- package/lib/tuya.d.ts.map +1 -1
- package/lib/tuya.js +24 -56
- package/lib/tuya.js.map +1 -1
- package/lib/types.d.ts +4 -4
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/lib/ubisys.d.ts +1 -1
- package/lib/ubisys.d.ts.map +1 -1
- package/lib/ubisys.js +1 -1
- package/lib/ubisys.js.map +1 -1
- package/lib/utils.d.ts +1 -1
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +26 -26
- package/lib/utils.js.map +1 -1
- package/package.json +8 -9
package/devices/sinope.js
CHANGED
|
@@ -32,12 +32,12 @@ const toZigbee_1 = __importDefault(require("../converters/toZigbee"));
|
|
|
32
32
|
const constants = __importStar(require("../lib/constants"));
|
|
33
33
|
const exposes = __importStar(require("../lib/exposes"));
|
|
34
34
|
const legacy = __importStar(require("../lib/legacy"));
|
|
35
|
+
const modernExtend_1 = require("../lib/modernExtend");
|
|
35
36
|
const reporting = __importStar(require("../lib/reporting"));
|
|
36
37
|
const utils = __importStar(require("../lib/utils"));
|
|
38
|
+
const utils_1 = require("../lib/utils");
|
|
37
39
|
const e = exposes.presets;
|
|
38
40
|
const ea = exposes.access;
|
|
39
|
-
const modernExtend_1 = require("../lib/modernExtend");
|
|
40
|
-
const utils_1 = require("../lib/utils");
|
|
41
41
|
const manuSinope = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SINOPE_TECHNOLOGIES };
|
|
42
42
|
const fzLocal = {
|
|
43
43
|
ias_water_leak_alarm: {
|
|
@@ -57,77 +57,77 @@ const fzLocal = {
|
|
|
57
57
|
type: ['attributeReport', 'readResponse'],
|
|
58
58
|
options: [exposes.options.legacy()],
|
|
59
59
|
convert: (model, msg, publish, options, meta) => {
|
|
60
|
-
// @ts-expect-error
|
|
60
|
+
// @ts-expect-error ignore
|
|
61
61
|
delete msg['running_state'];
|
|
62
62
|
const result = {};
|
|
63
63
|
const occupancyLookup = { 0: 'unoccupied', 1: 'occupied' };
|
|
64
64
|
const cycleOutputLookup = { 15: '15_sec', 300: '5_min', 600: '10_min', 900: '15_min', 1200: '20_min', 1800: '30_min', 65535: 'off' };
|
|
65
|
-
if (msg.data
|
|
65
|
+
if (msg.data['1024'] !== undefined) {
|
|
66
66
|
result.thermostat_occupancy = utils.getFromLookup(msg.data['1024'], occupancyLookup);
|
|
67
67
|
}
|
|
68
|
-
if (msg.data.
|
|
68
|
+
if (msg.data.SinopeOccupancy !== undefined) {
|
|
69
69
|
result.thermostat_occupancy = utils.getFromLookup(msg.data['SinopeOccupancy'], occupancyLookup);
|
|
70
70
|
}
|
|
71
|
-
if (msg.data
|
|
71
|
+
if (msg.data['1025'] !== undefined) {
|
|
72
72
|
result.main_cycle_output = utils.getFromLookup(msg.data['1025'], cycleOutputLookup);
|
|
73
73
|
}
|
|
74
|
-
if (msg.data.
|
|
74
|
+
if (msg.data.SinopeMainCycleOutput !== undefined) {
|
|
75
75
|
result.main_cycle_output = utils.getFromLookup(msg.data['SinopeMainCycleOutput'], cycleOutputLookup);
|
|
76
76
|
}
|
|
77
|
-
if (msg.data
|
|
77
|
+
if (msg.data['1026'] !== undefined) {
|
|
78
78
|
const lookup = { 0: 'on_demand', 1: 'sensing' };
|
|
79
79
|
result.backlight_auto_dim = utils.getFromLookup(msg.data['1026'], lookup);
|
|
80
80
|
}
|
|
81
|
-
if (msg.data.
|
|
81
|
+
if (msg.data.SinopeBacklight !== undefined) {
|
|
82
82
|
const lookup = { 0: 'on_demand', 1: 'sensing' };
|
|
83
83
|
result.backlight_auto_dim = utils.getFromLookup(msg.data['SinopeBacklight'], lookup);
|
|
84
84
|
}
|
|
85
|
-
if (msg.data
|
|
85
|
+
if (msg.data['1028'] !== undefined) {
|
|
86
86
|
result.aux_cycle_output = utils.getFromLookup(msg.data['1028'], cycleOutputLookup);
|
|
87
87
|
}
|
|
88
|
-
if (msg.data.
|
|
88
|
+
if (msg.data.localTemp !== undefined) {
|
|
89
89
|
result.local_temperature = (0, utils_1.precisionRound)(msg.data['localTemp'], 2) / 100;
|
|
90
90
|
}
|
|
91
|
-
if (msg.data.
|
|
91
|
+
if (msg.data.localTemperatureCalibration !== undefined) {
|
|
92
92
|
result.local_temperature_calibration = (0, utils_1.precisionRound)(msg.data['localTemperatureCalibration'], 2) / 10;
|
|
93
93
|
}
|
|
94
|
-
if (msg.data.
|
|
94
|
+
if (msg.data.outdoorTemp !== undefined) {
|
|
95
95
|
result.outdoor_temperature = (0, utils_1.precisionRound)(msg.data['outdoorTemp'], 2) / 100;
|
|
96
96
|
}
|
|
97
|
-
if (msg.data.
|
|
97
|
+
if (msg.data.occupiedHeatingSetpoint !== undefined) {
|
|
98
98
|
result.occupied_heating_setpoint = (0, utils_1.precisionRound)(msg.data['occupiedHeatingSetpoint'], 2) / 100;
|
|
99
99
|
}
|
|
100
|
-
if (msg.data.
|
|
100
|
+
if (msg.data.unoccupiedHeatingSetpoint !== undefined) {
|
|
101
101
|
result.unoccupied_heating_setpoint = (0, utils_1.precisionRound)(msg.data['unoccupiedHeatingSetpoint'], 2) / 100;
|
|
102
102
|
}
|
|
103
|
-
if (msg.data.
|
|
103
|
+
if (msg.data.occupiedCoolingSetpoint !== undefined) {
|
|
104
104
|
result.occupied_cooling_setpoint = (0, utils_1.precisionRound)(msg.data['occupiedCoolingSetpoint'], 2) / 100;
|
|
105
105
|
}
|
|
106
|
-
if (msg.data.
|
|
106
|
+
if (msg.data.unoccupiedCoolingSetpoint !== undefined) {
|
|
107
107
|
result.unoccupied_cooling_setpoint = (0, utils_1.precisionRound)(msg.data['unoccupiedCoolingSetpoint'], 2) / 100;
|
|
108
108
|
}
|
|
109
|
-
if (msg.data.
|
|
109
|
+
if (msg.data.ctrlSeqeOfOper !== undefined) {
|
|
110
110
|
result.control_sequence_of_operation = constants.thermostatControlSequenceOfOperations[msg.data['ctrlSeqeOfOper']];
|
|
111
111
|
}
|
|
112
|
-
if (msg.data.
|
|
112
|
+
if (msg.data.systemMode !== undefined) {
|
|
113
113
|
result.system_mode = constants.thermostatSystemModes[msg.data['systemMode']];
|
|
114
114
|
}
|
|
115
|
-
if (msg.data.
|
|
115
|
+
if (msg.data.pIHeatingDemand !== undefined) {
|
|
116
116
|
result.pi_heating_demand = (0, utils_1.precisionRound)(msg.data['pIHeatingDemand'], 0);
|
|
117
117
|
}
|
|
118
|
-
if (msg.data.
|
|
118
|
+
if (msg.data.minHeatSetpointLimit !== undefined) {
|
|
119
119
|
result.min_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['minHeatSetpointLimit'], 2) / 100;
|
|
120
120
|
}
|
|
121
|
-
if (msg.data.
|
|
121
|
+
if (msg.data.maxHeatSetpointLimit !== undefined) {
|
|
122
122
|
result.max_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['maxHeatSetpointLimit'], 2) / 100;
|
|
123
123
|
}
|
|
124
|
-
if (msg.data.
|
|
124
|
+
if (msg.data.absMinHeatSetpointLimit !== undefined) {
|
|
125
125
|
result.abs_min_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['absMinHeatSetpointLimit'], 2) / 100;
|
|
126
126
|
}
|
|
127
|
-
if (msg.data.
|
|
127
|
+
if (msg.data.absMaxHeatSetpointLimit !== undefined) {
|
|
128
128
|
result.abs_max_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['absMaxHeatSetpointLimit'], 2) / 100;
|
|
129
129
|
}
|
|
130
|
-
if (msg.data.
|
|
130
|
+
if (msg.data.pIHeatingDemand !== undefined) {
|
|
131
131
|
result.running_state = msg.data['pIHeatingDemand'] >= 10 ? 'heat' : 'idle';
|
|
132
132
|
}
|
|
133
133
|
return result;
|
|
@@ -138,7 +138,7 @@ const fzLocal = {
|
|
|
138
138
|
type: ['attributeReport', 'readResponse'],
|
|
139
139
|
convert: (model, msg, publish, options, meta) => {
|
|
140
140
|
const result = {};
|
|
141
|
-
if (msg.data.
|
|
141
|
+
if (msg.data.presentValue !== undefined) {
|
|
142
142
|
let x = msg.data['presentValue'];
|
|
143
143
|
if (x == -1) {
|
|
144
144
|
result.tank_level = 0;
|
|
@@ -169,84 +169,84 @@ const fzLocal = {
|
|
|
169
169
|
type: ['attributeReport', 'readResponse'],
|
|
170
170
|
convert: (model, msg, publish, options, meta) => {
|
|
171
171
|
const result = {};
|
|
172
|
-
if (msg.data.
|
|
172
|
+
if (msg.data.GFCiStatus !== undefined) {
|
|
173
173
|
const lookup = { 0: 'off', 1: 'on' };
|
|
174
174
|
result.gfci_status = utils.getFromLookup(msg.data['GFCiStatus'], lookup);
|
|
175
175
|
}
|
|
176
|
-
if (msg.data.
|
|
176
|
+
if (msg.data.floorLimitStatus !== undefined) {
|
|
177
177
|
const lookup = { 0: 'off', 1: 'on' };
|
|
178
178
|
result.floor_limit_status = utils.getFromLookup(msg.data['floorLimitStatus'], lookup);
|
|
179
179
|
}
|
|
180
|
-
if (msg.data.
|
|
180
|
+
if (msg.data.secondScreenBehavior !== undefined) {
|
|
181
181
|
const lookup = { 0: 'auto', 1: 'setpoint', 2: 'outdoor temp' };
|
|
182
182
|
result.second_display_mode = utils.getFromLookup(msg.data['secondScreenBehavior'], lookup);
|
|
183
183
|
}
|
|
184
|
-
if (msg.data.
|
|
184
|
+
if (msg.data.outdoorTempToDisplayTimeout !== undefined) {
|
|
185
185
|
result.outdoor_temperature_timeout = msg.data['outdoorTempToDisplayTimeout'];
|
|
186
186
|
// DEPRECATED: Use Second Display Mode or control via set outdoorTempToDisplayTimeout
|
|
187
187
|
result.enable_outdoor_temperature = msg.data['outdoorTempToDisplayTimeout'] === 12 ? 'OFF' : 'ON';
|
|
188
188
|
}
|
|
189
|
-
if (msg.data.
|
|
189
|
+
if (msg.data.outdoorTempToDisplay !== undefined) {
|
|
190
190
|
result.thermostat_outdoor_temperature = (0, utils_1.precisionRound)(msg.data['outdoorTempToDisplay'], 2) / 100;
|
|
191
191
|
}
|
|
192
|
-
if (msg.data.
|
|
192
|
+
if (msg.data.currentTimeToDisplay !== undefined) {
|
|
193
193
|
result.current_time_to_display = msg.data['currentTimeToDisplay'];
|
|
194
194
|
}
|
|
195
|
-
if (msg.data.
|
|
195
|
+
if (msg.data.floorControlMode !== undefined) {
|
|
196
196
|
const lookup = { 1: 'ambiant', 2: 'floor' };
|
|
197
197
|
result.floor_control_mode = utils.getFromLookup(msg.data['floorControlMode'], lookup);
|
|
198
198
|
}
|
|
199
|
-
if (msg.data.
|
|
199
|
+
if (msg.data.ambiantMaxHeatSetpointLimit !== undefined) {
|
|
200
200
|
result.ambiant_max_heat_setpoint = msg.data['ambiantMaxHeatSetpointLimit'] / 100.0;
|
|
201
201
|
if (result.ambiant_max_heat_setpoint === -327.68) {
|
|
202
202
|
result.ambiant_max_heat_setpoint = 'off';
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
if (msg.data.
|
|
205
|
+
if (msg.data.floorMinHeatSetpointLimit !== undefined) {
|
|
206
206
|
result.floor_min_heat_setpoint = msg.data['floorMinHeatSetpointLimit'] / 100.0;
|
|
207
207
|
if (result.floor_min_heat_setpoint === -327.68) {
|
|
208
208
|
result.floor_min_heat_setpoint = 'off';
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
if (msg.data.
|
|
211
|
+
if (msg.data.floorMaxHeatSetpointLimit !== undefined) {
|
|
212
212
|
result.floor_max_heat_setpoint = msg.data['floorMaxHeatSetpointLimit'] / 100.0;
|
|
213
213
|
if (result.floor_max_heat_setpoint === -327.68) {
|
|
214
214
|
result.floor_max_heat_setpoint = 'off';
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
if (msg.data.
|
|
217
|
+
if (msg.data.temperatureSensor !== undefined) {
|
|
218
218
|
const lookup = { 0: '10k', 1: '12k' };
|
|
219
219
|
result.floor_temperature_sensor = utils.getFromLookup(msg.data['temperatureSensor'], lookup);
|
|
220
220
|
}
|
|
221
|
-
if (msg.data.
|
|
221
|
+
if (msg.data.timeFormatToDisplay !== undefined) {
|
|
222
222
|
const lookup = { 0: '24h', 1: '12h' };
|
|
223
223
|
result.time_format = utils.getFromLookup(msg.data['timeFormatToDisplay'], lookup);
|
|
224
224
|
}
|
|
225
|
-
if (msg.data.
|
|
225
|
+
if (msg.data.connectedLoad !== undefined) {
|
|
226
226
|
result.connected_load = msg.data['connectedLoad'];
|
|
227
227
|
}
|
|
228
|
-
if (msg.data.
|
|
228
|
+
if (msg.data.auxConnectedLoad !== undefined) {
|
|
229
229
|
result.aux_connected_load = msg.data['auxConnectedLoad'];
|
|
230
230
|
if (result.aux_connected_load == 65535) {
|
|
231
231
|
result.aux_connected_load = 'disabled';
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
if (msg.data.
|
|
234
|
+
if (msg.data.pumpProtection !== undefined) {
|
|
235
235
|
result.pump_protection = msg.data['pumpProtection'] == 1 ? 'ON' : 'OFF';
|
|
236
236
|
}
|
|
237
|
-
if (msg.data.
|
|
237
|
+
if (msg.data.dimmerTimmer !== undefined) {
|
|
238
238
|
result.timer_seconds = msg.data['dimmerTimmer'];
|
|
239
239
|
}
|
|
240
|
-
if (msg.data.
|
|
240
|
+
if (msg.data.ledIntensityOn !== undefined) {
|
|
241
241
|
result.led_intensity_on = msg.data['ledIntensityOn'];
|
|
242
242
|
}
|
|
243
|
-
if (msg.data.
|
|
243
|
+
if (msg.data.ledIntensityOff !== undefined) {
|
|
244
244
|
result.led_intensity_off = msg.data['ledIntensityOff'];
|
|
245
245
|
}
|
|
246
|
-
if (msg.data.
|
|
246
|
+
if (msg.data.minimumBrightness !== undefined) {
|
|
247
247
|
result.minimum_brightness = msg.data['minimumBrightness'];
|
|
248
248
|
}
|
|
249
|
-
if (msg.data.
|
|
249
|
+
if (msg.data.actionReport !== undefined) {
|
|
250
250
|
const lookup = {
|
|
251
251
|
1: 'up_clickdown',
|
|
252
252
|
2: 'up_single',
|
|
@@ -259,11 +259,11 @@ const fzLocal = {
|
|
|
259
259
|
};
|
|
260
260
|
result.action = utils.getFromLookup(msg.data['actionReport'], lookup);
|
|
261
261
|
}
|
|
262
|
-
if (msg.data.
|
|
262
|
+
if (msg.data.keypadLockout !== undefined) {
|
|
263
263
|
const lookup = { 0: 'unlock', 1: 'lock' };
|
|
264
264
|
result.keypad_lockout = utils.getFromLookup(msg.data['keypadLockout'], lookup);
|
|
265
265
|
}
|
|
266
|
-
if (msg.data.
|
|
266
|
+
if (msg.data.drConfigWaterTempMin !== undefined) {
|
|
267
267
|
result.low_water_temp_protection = msg.data['drConfigWaterTempMin'];
|
|
268
268
|
}
|
|
269
269
|
return result;
|
|
@@ -397,8 +397,8 @@ const tzLocal = {
|
|
|
397
397
|
}
|
|
398
398
|
const lookup = { ambiant: 1, floor: 2 };
|
|
399
399
|
value = value.toLowerCase();
|
|
400
|
-
// @ts-expect-error
|
|
401
|
-
if (lookup
|
|
400
|
+
// @ts-expect-error ignore
|
|
401
|
+
if (lookup[value] !== undefined) {
|
|
402
402
|
await entity.write('manuSpecificSinope', { floorControlMode: utils.getFromLookup(value, lookup) });
|
|
403
403
|
}
|
|
404
404
|
return { readAfterWriteTime: 250, state: { floor_control_mode: value } };
|
|
@@ -411,9 +411,9 @@ const tzLocal = {
|
|
|
411
411
|
// TH1300ZB and TH1400ZB specific
|
|
412
412
|
key: ['ambiant_max_heat_setpoint'],
|
|
413
413
|
convertSet: async (entity, key, value, meta) => {
|
|
414
|
-
// @ts-expect-error
|
|
414
|
+
// @ts-expect-error ignore
|
|
415
415
|
if ((value >= 5 && value <= 36) || value == 'off') {
|
|
416
|
-
// @ts-expect-error
|
|
416
|
+
// @ts-expect-error ignore
|
|
417
417
|
await entity.write('manuSpecificSinope', { ambiantMaxHeatSetpointLimit: value == 'off' ? -32768 : value * 100 });
|
|
418
418
|
return { readAfterWriteTime: 250, state: { ambiant_max_heat_setpoint: value } };
|
|
419
419
|
}
|
|
@@ -426,9 +426,9 @@ const tzLocal = {
|
|
|
426
426
|
// TH1300ZB and TH1400ZB specific
|
|
427
427
|
key: ['floor_min_heat_setpoint'],
|
|
428
428
|
convertSet: async (entity, key, value, meta) => {
|
|
429
|
-
// @ts-expect-error
|
|
429
|
+
// @ts-expect-error ignore
|
|
430
430
|
if ((value >= 5 && value <= 34) || value == 'off') {
|
|
431
|
-
// @ts-expect-error
|
|
431
|
+
// @ts-expect-error ignore
|
|
432
432
|
await entity.write('manuSpecificSinope', { floorMinHeatSetpointLimit: value == 'off' ? -32768 : value * 100 });
|
|
433
433
|
return { readAfterWriteTime: 250, state: { floor_min_heat_setpoint: value } };
|
|
434
434
|
}
|
|
@@ -441,9 +441,9 @@ const tzLocal = {
|
|
|
441
441
|
// TH1300ZB and TH1400ZB specific
|
|
442
442
|
key: ['floor_max_heat_setpoint'],
|
|
443
443
|
convertSet: async (entity, key, value, meta) => {
|
|
444
|
-
// @ts-expect-error
|
|
444
|
+
// @ts-expect-error ignore
|
|
445
445
|
if ((value >= 7 && value <= 36) || value == 'off') {
|
|
446
|
-
// @ts-expect-error
|
|
446
|
+
// @ts-expect-error ignore
|
|
447
447
|
await entity.write('manuSpecificSinope', { floorMaxHeatSetpointLimit: value == 'off' ? -32768 : value * 100 });
|
|
448
448
|
return { readAfterWriteTime: 250, state: { floor_max_heat_setpoint: value } };
|
|
449
449
|
}
|
|
@@ -461,8 +461,8 @@ const tzLocal = {
|
|
|
461
461
|
}
|
|
462
462
|
const lookup = { '10k': 0, '12k': 1 };
|
|
463
463
|
value = value.toLowerCase();
|
|
464
|
-
// @ts-expect-error
|
|
465
|
-
if (lookup
|
|
464
|
+
// @ts-expect-error ignore
|
|
465
|
+
if (lookup[value] !== undefined) {
|
|
466
466
|
await entity.write('manuSpecificSinope', { temperatureSensor: utils.getFromLookup(value, lookup) });
|
|
467
467
|
}
|
|
468
468
|
return { readAfterWriteTime: 250, state: { floor_temperature_sensor: value } };
|
|
@@ -474,16 +474,8 @@ const tzLocal = {
|
|
|
474
474
|
time_format: {
|
|
475
475
|
key: ['time_format'],
|
|
476
476
|
convertSet: async (entity, key, value, meta) => {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}
|
|
480
|
-
const lookup = { '24h': 0, '12h': 1 };
|
|
481
|
-
value = value.toLowerCase();
|
|
482
|
-
utils.assertString(value);
|
|
483
|
-
if (lookup.hasOwnProperty(value)) {
|
|
484
|
-
await entity.write('manuSpecificSinope', { timeFormatToDisplay: utils.getFromLookup(value, lookup) }, manuSinope);
|
|
485
|
-
return { readAfterWriteTime: 250, state: { time_format: value } };
|
|
486
|
-
}
|
|
477
|
+
await entity.write('manuSpecificSinope', { timeFormatToDisplay: utils.getFromLookup(value, { '24h': 0, '12h': 1 }) }, manuSinope);
|
|
478
|
+
return { readAfterWriteTime: 250, state: { time_format: value } };
|
|
487
479
|
},
|
|
488
480
|
convertGet: async (entity, key, meta) => {
|
|
489
481
|
await entity.read('manuSpecificSinope', ['timeFormatToDisplay'], manuSinope);
|
|
@@ -736,7 +728,7 @@ const definitions = [
|
|
|
736
728
|
try {
|
|
737
729
|
await reporting.thermostatSystemMode(endpoint);
|
|
738
730
|
}
|
|
739
|
-
catch
|
|
731
|
+
catch {
|
|
740
732
|
/* Not all support this */
|
|
741
733
|
}
|
|
742
734
|
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
@@ -746,7 +738,7 @@ const definitions = [
|
|
|
746
738
|
await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']);
|
|
747
739
|
await reporting.activePower(endpoint, { min: 10, max: 305, change: 1 }); // divider 1: 1W
|
|
748
740
|
}
|
|
749
|
-
catch
|
|
741
|
+
catch {
|
|
750
742
|
endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', { acPowerMultiplier: 1, acPowerDivisor: 1 });
|
|
751
743
|
}
|
|
752
744
|
await reporting.rmsCurrent(endpoint, { min: 10, max: 306, change: 100 }); // divider 1000: 0.1Arms
|
|
@@ -858,7 +850,7 @@ const definitions = [
|
|
|
858
850
|
try {
|
|
859
851
|
await reporting.thermostatSystemMode(endpoint);
|
|
860
852
|
}
|
|
861
|
-
catch
|
|
853
|
+
catch {
|
|
862
854
|
/* Not all support this */
|
|
863
855
|
}
|
|
864
856
|
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
@@ -868,7 +860,7 @@ const definitions = [
|
|
|
868
860
|
await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']);
|
|
869
861
|
await reporting.activePower(endpoint, { min: 10, max: 305, change: 1 }); // divider 1: 1W
|
|
870
862
|
}
|
|
871
|
-
catch
|
|
863
|
+
catch {
|
|
872
864
|
endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', { acPowerMultiplier: 1, acPowerDivisor: 1 });
|
|
873
865
|
}
|
|
874
866
|
await reporting.rmsCurrent(endpoint, { min: 10, max: 306, change: 100 }); // divider 1000: 0.1Arms
|
|
@@ -995,7 +987,7 @@ const definitions = [
|
|
|
995
987
|
try {
|
|
996
988
|
await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
|
|
997
989
|
}
|
|
998
|
-
catch
|
|
990
|
+
catch {
|
|
999
991
|
/* Do nothing */
|
|
1000
992
|
}
|
|
1001
993
|
},
|
|
@@ -1120,7 +1112,7 @@ const definitions = [
|
|
|
1120
1112
|
try {
|
|
1121
1113
|
await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
|
|
1122
1114
|
}
|
|
1123
|
-
catch
|
|
1115
|
+
catch {
|
|
1124
1116
|
/* Do nothing */
|
|
1125
1117
|
}
|
|
1126
1118
|
},
|
|
@@ -1227,40 +1219,40 @@ const definitions = [
|
|
|
1227
1219
|
try {
|
|
1228
1220
|
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
1229
1221
|
}
|
|
1230
|
-
catch
|
|
1222
|
+
catch {
|
|
1231
1223
|
/* Do nothing*/
|
|
1232
1224
|
}
|
|
1233
1225
|
try {
|
|
1234
1226
|
await reporting.currentSummDelivered(endpoint, { min: 10, max: 303, change: [1, 1] });
|
|
1235
1227
|
}
|
|
1236
|
-
catch
|
|
1228
|
+
catch {
|
|
1237
1229
|
/* Do nothing*/
|
|
1238
1230
|
}
|
|
1239
1231
|
try {
|
|
1240
1232
|
await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']);
|
|
1241
1233
|
await reporting.activePower(endpoint, { min: 10, max: 305, change: 1 }); // divider 1: 1W
|
|
1242
1234
|
}
|
|
1243
|
-
catch
|
|
1235
|
+
catch {
|
|
1244
1236
|
endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', { acPowerMultiplier: 1, acPowerDivisor: 1 });
|
|
1245
1237
|
}
|
|
1246
1238
|
try {
|
|
1247
1239
|
await endpoint.read('haElectricalMeasurement', ['acCurrentMultiplier', 'acCurrentDivisor']);
|
|
1248
1240
|
await reporting.rmsCurrent(endpoint, { min: 10, max: 306, change: 100 }); // divider 1000: 0.1Arms
|
|
1249
1241
|
}
|
|
1250
|
-
catch
|
|
1242
|
+
catch {
|
|
1251
1243
|
/* Do nothing*/
|
|
1252
1244
|
}
|
|
1253
1245
|
try {
|
|
1254
1246
|
await endpoint.read('haElectricalMeasurement', ['acVoltageMultiplier', 'acVoltageDivisor']);
|
|
1255
1247
|
await reporting.rmsVoltage(endpoint, { min: 10, max: 307, change: 5 }); // divider 10: 0.5Vrms
|
|
1256
1248
|
}
|
|
1257
|
-
catch
|
|
1249
|
+
catch {
|
|
1258
1250
|
/* Do nothing*/
|
|
1259
1251
|
}
|
|
1260
1252
|
try {
|
|
1261
1253
|
await reporting.thermostatKeypadLockMode(endpoint);
|
|
1262
1254
|
}
|
|
1263
|
-
catch
|
|
1255
|
+
catch {
|
|
1264
1256
|
// Not all support this: https://github.com/Koenkk/zigbee2mqtt/issues/3760
|
|
1265
1257
|
}
|
|
1266
1258
|
await endpoint.configureReporting('manuSpecificSinope', [
|
|
@@ -1418,7 +1410,7 @@ const definitions = [
|
|
|
1418
1410
|
try {
|
|
1419
1411
|
await reporting.thermostatSystemMode(endpoint);
|
|
1420
1412
|
}
|
|
1421
|
-
catch
|
|
1413
|
+
catch {
|
|
1422
1414
|
/* Not all support this */
|
|
1423
1415
|
}
|
|
1424
1416
|
await endpoint.read('hvacThermostat', [
|
|
@@ -1589,7 +1581,7 @@ const definitions = [
|
|
|
1589
1581
|
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
1590
1582
|
await reporting.currentSummDelivered(endpoint, { min: 10, max: 300, change: [0, 10] });
|
|
1591
1583
|
}
|
|
1592
|
-
catch
|
|
1584
|
+
catch {
|
|
1593
1585
|
/* Do nothing*/
|
|
1594
1586
|
}
|
|
1595
1587
|
const payload = [
|
|
@@ -1870,13 +1862,13 @@ const definitions = [
|
|
|
1870
1862
|
try {
|
|
1871
1863
|
await reporting.batteryVoltage(endpoint);
|
|
1872
1864
|
}
|
|
1873
|
-
catch
|
|
1865
|
+
catch {
|
|
1874
1866
|
/* Do Nothing */
|
|
1875
1867
|
}
|
|
1876
1868
|
try {
|
|
1877
1869
|
await reporting.batteryAlarmState(endpoint);
|
|
1878
1870
|
}
|
|
1879
|
-
catch
|
|
1871
|
+
catch {
|
|
1880
1872
|
/* Do Nothing */
|
|
1881
1873
|
}
|
|
1882
1874
|
},
|