@willieee802/zigbee-herdsman-converters 19.44.0 → 19.44.2
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/dist/converters/actions.d.ts +36 -0
- package/dist/converters/actions.d.ts.map +1 -0
- package/dist/converters/actions.js +137 -0
- package/dist/converters/actions.js.map +1 -0
- package/dist/converters/fromZigbee.d.ts +293 -0
- package/dist/converters/fromZigbee.d.ts.map +1 -0
- package/dist/converters/fromZigbee.js +5192 -0
- package/dist/converters/fromZigbee.js.map +1 -0
- package/dist/converters/toZigbee.d.ts +235 -0
- package/dist/converters/toZigbee.d.ts.map +1 -0
- package/dist/converters/toZigbee.js +4577 -0
- package/dist/converters/toZigbee.js.map +1 -0
- package/dist/devices/ITCommander.d.ts +3 -0
- package/dist/devices/ITCommander.d.ts.map +1 -0
- package/dist/devices/ITCommander.js +73 -0
- package/dist/devices/ITCommander.js.map +1 -0
- package/dist/devices/acova.d.ts +3 -0
- package/dist/devices/acova.d.ts.map +1 -0
- package/dist/devices/acova.js +124 -0
- package/dist/devices/acova.js.map +1 -0
- package/dist/devices/acuity_brands_lighting.d.ts +3 -0
- package/dist/devices/acuity_brands_lighting.d.ts.map +1 -0
- package/dist/devices/acuity_brands_lighting.js +61 -0
- package/dist/devices/acuity_brands_lighting.js.map +1 -0
- package/dist/devices/adeo.d.ts +3 -0
- package/dist/devices/adeo.d.ts.map +1 -0
- package/dist/devices/adeo.js +518 -0
- package/dist/devices/adeo.js.map +1 -0
- package/dist/devices/adurosmart.d.ts +3 -0
- package/dist/devices/adurosmart.d.ts.map +1 -0
- package/dist/devices/adurosmart.js +235 -0
- package/dist/devices/adurosmart.js.map +1 -0
- package/dist/devices/aeotec.d.ts +3 -0
- package/dist/devices/aeotec.d.ts.map +1 -0
- package/dist/devices/aeotec.js +95 -0
- package/dist/devices/aeotec.js.map +1 -0
- package/dist/devices/airam.d.ts +3 -0
- package/dist/devices/airam.d.ts.map +1 -0
- package/dist/devices/airam.js +102 -0
- package/dist/devices/airam.js.map +1 -0
- package/dist/devices/airzone_aidoo.d.ts +3 -0
- package/dist/devices/airzone_aidoo.d.ts.map +1 -0
- package/dist/devices/airzone_aidoo.js +77 -0
- package/dist/devices/airzone_aidoo.js.map +1 -0
- package/dist/devices/ajax_online.d.ts +3 -0
- package/dist/devices/ajax_online.d.ts.map +1 -0
- package/dist/devices/ajax_online.js +83 -0
- package/dist/devices/ajax_online.js.map +1 -0
- package/dist/devices/akuvox.d.ts +3 -0
- package/dist/devices/akuvox.d.ts.map +1 -0
- package/dist/devices/akuvox.js +65 -0
- package/dist/devices/akuvox.js.map +1 -0
- package/dist/devices/alchemy.d.ts +3 -0
- package/dist/devices/alchemy.d.ts.map +1 -0
- package/dist/devices/alchemy.js +54 -0
- package/dist/devices/alchemy.js.map +1 -0
- package/dist/devices/aldi.d.ts +3 -0
- package/dist/devices/aldi.d.ts.map +1 -0
- package/dist/devices/aldi.js +54 -0
- package/dist/devices/aldi.js.map +1 -0
- package/dist/devices/alecto.d.ts +3 -0
- package/dist/devices/alecto.d.ts.map +1 -0
- package/dist/devices/alecto.js +91 -0
- package/dist/devices/alecto.js.map +1 -0
- package/dist/devices/amina.d.ts +3 -0
- package/dist/devices/amina.d.ts.map +1 -0
- package/dist/devices/amina.js +360 -0
- package/dist/devices/amina.js.map +1 -0
- package/dist/devices/anchor.d.ts +3 -0
- package/dist/devices/anchor.d.ts.map +1 -0
- package/dist/devices/anchor.js +47 -0
- package/dist/devices/anchor.js.map +1 -0
- package/dist/devices/atlantic.d.ts +3 -0
- package/dist/devices/atlantic.d.ts.map +1 -0
- package/dist/devices/atlantic.js +147 -0
- package/dist/devices/atlantic.js.map +1 -0
- package/dist/devices/atsmart.d.ts +3 -0
- package/dist/devices/atsmart.d.ts.map +1 -0
- package/dist/devices/atsmart.js +47 -0
- package/dist/devices/atsmart.js.map +1 -0
- package/dist/devices/aubess.d.ts +3 -0
- package/dist/devices/aubess.d.ts.map +1 -0
- package/dist/devices/aubess.js +60 -0
- package/dist/devices/aubess.js.map +1 -0
- package/dist/devices/aurora_lighting.d.ts +3 -0
- package/dist/devices/aurora_lighting.d.ts.map +1 -0
- package/dist/devices/aurora_lighting.js +347 -0
- package/dist/devices/aurora_lighting.js.map +1 -0
- package/dist/devices/automaton.d.ts +3 -0
- package/dist/devices/automaton.d.ts.map +1 -0
- package/dist/devices/automaton.js +64 -0
- package/dist/devices/automaton.js.map +1 -0
- package/dist/devices/avatto.d.ts +3 -0
- package/dist/devices/avatto.d.ts.map +1 -0
- package/dist/devices/avatto.js +635 -0
- package/dist/devices/avatto.js.map +1 -0
- package/dist/devices/awox.d.ts +3 -0
- package/dist/devices/awox.d.ts.map +1 -0
- package/dist/devices/awox.js +352 -0
- package/dist/devices/awox.js.map +1 -0
- package/dist/devices/axis.d.ts +3 -0
- package/dist/devices/axis.d.ts.map +1 -0
- package/dist/devices/axis.js +59 -0
- package/dist/devices/axis.js.map +1 -0
- package/dist/devices/bacchus.d.ts +3 -0
- package/dist/devices/bacchus.d.ts.map +1 -0
- package/dist/devices/bacchus.js +902 -0
- package/dist/devices/bacchus.js.map +1 -0
- package/dist/devices/bankamp.d.ts +3 -0
- package/dist/devices/bankamp.d.ts.map +1 -0
- package/dist/devices/bankamp.js +47 -0
- package/dist/devices/bankamp.js.map +1 -0
- package/dist/devices/bega.d.ts +3 -0
- package/dist/devices/bega.d.ts.map +1 -0
- package/dist/devices/bega.js +68 -0
- package/dist/devices/bega.js.map +1 -0
- package/dist/devices/belkin.d.ts +3 -0
- package/dist/devices/belkin.d.ts.map +1 -0
- package/dist/devices/belkin.js +47 -0
- package/dist/devices/belkin.js.map +1 -0
- package/dist/devices/bitron.d.ts +3 -0
- package/dist/devices/bitron.d.ts.map +1 -0
- package/dist/devices/bitron.js +357 -0
- package/dist/devices/bitron.js.map +1 -0
- package/dist/devices/bituo_technik.d.ts +3 -0
- package/dist/devices/bituo_technik.d.ts.map +1 -0
- package/dist/devices/bituo_technik.js +487 -0
- package/dist/devices/bituo_technik.js.map +1 -0
- package/dist/devices/blaupunkt.d.ts +3 -0
- package/dist/devices/blaupunkt.d.ts.map +1 -0
- package/dist/devices/blaupunkt.js +64 -0
- package/dist/devices/blaupunkt.js.map +1 -0
- package/dist/devices/blitzwolf.d.ts +3 -0
- package/dist/devices/blitzwolf.d.ts.map +1 -0
- package/dist/devices/blitzwolf.js +77 -0
- package/dist/devices/blitzwolf.js.map +1 -0
- package/dist/devices/bosch.d.ts +3 -0
- package/dist/devices/bosch.d.ts.map +1 -0
- package/dist/devices/bosch.js +1381 -0
- package/dist/devices/bosch.js.map +1 -0
- package/dist/devices/bouffalo_lab.d.ts +3 -0
- package/dist/devices/bouffalo_lab.d.ts.map +1 -0
- package/dist/devices/bouffalo_lab.js +47 -0
- package/dist/devices/bouffalo_lab.js.map +1 -0
- package/dist/devices/box.d.ts +3 -0
- package/dist/devices/box.d.ts.map +1 -0
- package/dist/devices/box.js +370 -0
- package/dist/devices/box.js.map +1 -0
- package/dist/devices/brimate.d.ts +3 -0
- package/dist/devices/brimate.d.ts.map +1 -0
- package/dist/devices/brimate.js +51 -0
- package/dist/devices/brimate.js.map +1 -0
- package/dist/devices/brun_holding.d.ts +3 -0
- package/dist/devices/brun_holding.d.ts.map +1 -0
- package/dist/devices/brun_holding.js +59 -0
- package/dist/devices/brun_holding.js.map +1 -0
- package/dist/devices/bseed.d.ts +3 -0
- package/dist/devices/bseed.d.ts.map +1 -0
- package/dist/devices/bseed.js +53 -0
- package/dist/devices/bseed.js.map +1 -0
- package/dist/devices/bticino.d.ts +3 -0
- package/dist/devices/bticino.d.ts.map +1 -0
- package/dist/devices/bticino.js +111 -0
- package/dist/devices/bticino.js.map +1 -0
- package/dist/devices/bubendorff.d.ts +3 -0
- package/dist/devices/bubendorff.d.ts.map +1 -0
- package/dist/devices/bubendorff.js +47 -0
- package/dist/devices/bubendorff.js.map +1 -0
- package/dist/devices/busch_jaeger.d.ts +3 -0
- package/dist/devices/busch_jaeger.d.ts.map +1 -0
- package/dist/devices/busch_jaeger.js +163 -0
- package/dist/devices/busch_jaeger.js.map +1 -0
- package/dist/devices/byun.d.ts +3 -0
- package/dist/devices/byun.d.ts.map +1 -0
- package/dist/devices/byun.js +60 -0
- package/dist/devices/byun.js.map +1 -0
- package/dist/devices/calex.d.ts +3 -0
- package/dist/devices/calex.d.ts.map +1 -0
- package/dist/devices/calex.js +87 -0
- package/dist/devices/calex.js.map +1 -0
- package/dist/devices/candeo.d.ts +3 -0
- package/dist/devices/candeo.d.ts.map +1 -0
- package/dist/devices/candeo.js +887 -0
- package/dist/devices/candeo.js.map +1 -0
- package/dist/devices/casaia.d.ts +3 -0
- package/dist/devices/casaia.d.ts.map +1 -0
- package/dist/devices/casaia.js +95 -0
- package/dist/devices/casaia.js.map +1 -0
- package/dist/devices/cel.d.ts +3 -0
- package/dist/devices/cel.d.ts.map +1 -0
- package/dist/devices/cel.js +49 -0
- package/dist/devices/cel.js.map +1 -0
- package/dist/devices/centralite.d.ts +28 -0
- package/dist/devices/centralite.d.ts.map +1 -0
- package/dist/devices/centralite.js +440 -0
- package/dist/devices/centralite.js.map +1 -0
- package/dist/devices/chacon.d.ts +3 -0
- package/dist/devices/chacon.d.ts.map +1 -0
- package/dist/devices/chacon.js +57 -0
- package/dist/devices/chacon.js.map +1 -0
- package/dist/devices/cleode.d.ts +3 -0
- package/dist/devices/cleode.d.ts.map +1 -0
- package/dist/devices/cleode.js +47 -0
- package/dist/devices/cleode.js.map +1 -0
- package/dist/devices/cleverio.d.ts +3 -0
- package/dist/devices/cleverio.d.ts.map +1 -0
- package/dist/devices/cleverio.js +74 -0
- package/dist/devices/cleverio.js.map +1 -0
- package/dist/devices/climax.d.ts +3 -0
- package/dist/devices/climax.d.ts.map +1 -0
- package/dist/devices/climax.js +184 -0
- package/dist/devices/climax.js.map +1 -0
- package/dist/devices/commercial_electric.d.ts +3 -0
- package/dist/devices/commercial_electric.d.ts.map +1 -0
- package/dist/devices/commercial_electric.js +47 -0
- package/dist/devices/commercial_electric.js.map +1 -0
- package/dist/devices/cree.d.ts +3 -0
- package/dist/devices/cree.d.ts.map +1 -0
- package/dist/devices/cree.js +47 -0
- package/dist/devices/cree.js.map +1 -0
- package/dist/devices/ctm.d.ts +3 -0
- package/dist/devices/ctm.d.ts.map +1 -0
- package/dist/devices/ctm.js +1411 -0
- package/dist/devices/ctm.js.map +1 -0
- package/dist/devices/current_products_corp.d.ts +3 -0
- package/dist/devices/current_products_corp.d.ts.map +1 -0
- package/dist/devices/current_products_corp.js +60 -0
- package/dist/devices/current_products_corp.js.map +1 -0
- package/dist/devices/custom_devices_diy.d.ts +3 -0
- package/dist/devices/custom_devices_diy.d.ts.map +1 -0
- package/dist/devices/custom_devices_diy.js +1302 -0
- package/dist/devices/custom_devices_diy.js.map +1 -0
- package/dist/devices/cwd.d.ts +3 -0
- package/dist/devices/cwd.d.ts.map +1 -0
- package/dist/devices/cwd.js +47 -0
- package/dist/devices/cwd.js.map +1 -0
- package/dist/devices/cy_lighting.d.ts +3 -0
- package/dist/devices/cy_lighting.d.ts.map +1 -0
- package/dist/devices/cy_lighting.js +47 -0
- package/dist/devices/cy_lighting.js.map +1 -0
- package/dist/devices/danalock.d.ts +3 -0
- package/dist/devices/danalock.d.ts.map +1 -0
- package/dist/devices/danalock.js +61 -0
- package/dist/devices/danalock.js.map +1 -0
- package/dist/devices/danfoss.d.ts +3 -0
- package/dist/devices/danfoss.d.ts.map +1 -0
- package/dist/devices/danfoss.js +793 -0
- package/dist/devices/danfoss.js.map +1 -0
- package/dist/devices/databyte.d.ts +3 -0
- package/dist/devices/databyte.d.ts.map +1 -0
- package/dist/devices/databyte.js +90 -0
- package/dist/devices/databyte.js.map +1 -0
- package/dist/devices/datek.d.ts +3 -0
- package/dist/devices/datek.d.ts.map +1 -0
- package/dist/devices/datek.js +303 -0
- package/dist/devices/datek.js.map +1 -0
- package/dist/devices/dawon_dns.d.ts +3 -0
- package/dist/devices/dawon_dns.d.ts.map +1 -0
- package/dist/devices/dawon_dns.js +314 -0
- package/dist/devices/dawon_dns.js.map +1 -0
- package/dist/devices/develco.d.ts +3 -0
- package/dist/devices/develco.d.ts.map +1 -0
- package/dist/devices/develco.js +1113 -0
- package/dist/devices/develco.js.map +1 -0
- package/dist/devices/digi.d.ts +3 -0
- package/dist/devices/digi.d.ts.map +1 -0
- package/dist/devices/digi.js +24 -0
- package/dist/devices/digi.js.map +1 -0
- package/dist/devices/direct_signs.d.ts +3 -0
- package/dist/devices/direct_signs.d.ts.map +1 -0
- package/dist/devices/direct_signs.js +47 -0
- package/dist/devices/direct_signs.js.map +1 -0
- package/dist/devices/diyruz.d.ts +3 -0
- package/dist/devices/diyruz.d.ts.map +1 -0
- package/dist/devices/diyruz.js +397 -0
- package/dist/devices/diyruz.js.map +1 -0
- package/dist/devices/dlink.d.ts +3 -0
- package/dist/devices/dlink.d.ts.map +1 -0
- package/dist/devices/dlink.js +72 -0
- package/dist/devices/dlink.js.map +1 -0
- package/dist/devices/dnake.d.ts +3 -0
- package/dist/devices/dnake.d.ts.map +1 -0
- package/dist/devices/dnake.js +47 -0
- package/dist/devices/dnake.js.map +1 -0
- package/dist/devices/domraem.d.ts +3 -0
- package/dist/devices/domraem.d.ts.map +1 -0
- package/dist/devices/domraem.js +75 -0
- package/dist/devices/domraem.js.map +1 -0
- package/dist/devices/dowsing_reynolds.d.ts +3 -0
- package/dist/devices/dowsing_reynolds.d.ts.map +1 -0
- package/dist/devices/dowsing_reynolds.js +47 -0
- package/dist/devices/dowsing_reynolds.js.map +1 -0
- package/dist/devices/dqsmart.d.ts +3 -0
- package/dist/devices/dqsmart.d.ts.map +1 -0
- package/dist/devices/dqsmart.js +50 -0
- package/dist/devices/dqsmart.js.map +1 -0
- package/dist/devices/dresden_elektronik.d.ts +3 -0
- package/dist/devices/dresden_elektronik.d.ts.map +1 -0
- package/dist/devices/dresden_elektronik.js +167 -0
- package/dist/devices/dresden_elektronik.js.map +1 -0
- package/dist/devices/easyaccess.d.ts +3 -0
- package/dist/devices/easyaccess.d.ts.map +1 -0
- package/dist/devices/easyaccess.js +67 -0
- package/dist/devices/easyaccess.js.map +1 -0
- package/dist/devices/easyiot.d.ts +3 -0
- package/dist/devices/easyiot.d.ts.map +1 -0
- package/dist/devices/easyiot.js +359 -0
- package/dist/devices/easyiot.js.map +1 -0
- package/dist/devices/eatonhalo_led.d.ts +3 -0
- package/dist/devices/eatonhalo_led.d.ts.map +1 -0
- package/dist/devices/eatonhalo_led.js +47 -0
- package/dist/devices/eatonhalo_led.js.map +1 -0
- package/dist/devices/echostar.d.ts +3 -0
- package/dist/devices/echostar.d.ts.map +1 -0
- package/dist/devices/echostar.js +61 -0
- package/dist/devices/echostar.js.map +1 -0
- package/dist/devices/ecodim.d.ts +3 -0
- package/dist/devices/ecodim.d.ts.map +1 -0
- package/dist/devices/ecodim.js +274 -0
- package/dist/devices/ecodim.js.map +1 -0
- package/dist/devices/ecolink.d.ts +3 -0
- package/dist/devices/ecolink.d.ts.map +1 -0
- package/dist/devices/ecolink.js +57 -0
- package/dist/devices/ecolink.js.map +1 -0
- package/dist/devices/ecosmart.d.ts +3 -0
- package/dist/devices/ecosmart.d.ts.map +1 -0
- package/dist/devices/ecosmart.js +115 -0
- package/dist/devices/ecosmart.js.map +1 -0
- package/dist/devices/ecozy.d.ts +3 -0
- package/dist/devices/ecozy.d.ts.map +1 -0
- package/dist/devices/ecozy.js +85 -0
- package/dist/devices/ecozy.js.map +1 -0
- package/dist/devices/edp.d.ts +3 -0
- package/dist/devices/edp.d.ts.map +1 -0
- package/dist/devices/edp.js +70 -0
- package/dist/devices/edp.js.map +1 -0
- package/dist/devices/efekta.d.ts +3 -0
- package/dist/devices/efekta.d.ts.map +1 -0
- package/dist/devices/efekta.js +8230 -0
- package/dist/devices/efekta.js.map +1 -0
- package/dist/devices/eglo.d.ts +3 -0
- package/dist/devices/eglo.d.ts.map +1 -0
- package/dist/devices/eglo.js +142 -0
- package/dist/devices/eglo.js.map +1 -0
- package/dist/devices/elko.d.ts +27 -0
- package/dist/devices/elko.d.ts.map +1 -0
- package/dist/devices/elko.js +306 -0
- package/dist/devices/elko.js.map +1 -0
- package/dist/devices/enbrighten.d.ts +3 -0
- package/dist/devices/enbrighten.d.ts.map +1 -0
- package/dist/devices/enbrighten.js +152 -0
- package/dist/devices/enbrighten.js.map +1 -0
- package/dist/devices/engo.d.ts +3 -0
- package/dist/devices/engo.d.ts.map +1 -0
- package/dist/devices/engo.js +1041 -0
- package/dist/devices/engo.js.map +1 -0
- package/dist/devices/enkin.d.ts +3 -0
- package/dist/devices/enkin.d.ts.map +1 -0
- package/dist/devices/enkin.js +14 -0
- package/dist/devices/enkin.js.map +1 -0
- package/dist/devices/enocean.d.ts +3 -0
- package/dist/devices/enocean.d.ts.map +1 -0
- package/dist/devices/enocean.js +150 -0
- package/dist/devices/enocean.js.map +1 -0
- package/dist/devices/envilar.d.ts +3 -0
- package/dist/devices/envilar.d.ts.map +1 -0
- package/dist/devices/envilar.js +131 -0
- package/dist/devices/envilar.js.map +1 -0
- package/dist/devices/espressif.d.ts +3 -0
- package/dist/devices/espressif.d.ts.map +1 -0
- package/dist/devices/espressif.js +61 -0
- package/dist/devices/espressif.js.map +1 -0
- package/dist/devices/essentialb.d.ts +3 -0
- package/dist/devices/essentialb.d.ts.map +1 -0
- package/dist/devices/essentialb.js +133 -0
- package/dist/devices/essentialb.js.map +1 -0
- package/dist/devices/essentials.d.ts +3 -0
- package/dist/devices/essentials.d.ts.map +1 -0
- package/dist/devices/essentials.js +150 -0
- package/dist/devices/essentials.js.map +1 -0
- package/dist/devices/eucontrols.d.ts +3 -0
- package/dist/devices/eucontrols.d.ts.map +1 -0
- package/dist/devices/eucontrols.js +47 -0
- package/dist/devices/eucontrols.js.map +1 -0
- package/dist/devices/eurotronic.d.ts +3 -0
- package/dist/devices/eurotronic.d.ts.map +1 -0
- package/dist/devices/eurotronic.js +278 -0
- package/dist/devices/eurotronic.js.map +1 -0
- package/dist/devices/evanell.d.ts +3 -0
- package/dist/devices/evanell.d.ts.map +1 -0
- package/dist/devices/evanell.js +66 -0
- package/dist/devices/evanell.js.map +1 -0
- package/dist/devices/evn.d.ts +3 -0
- package/dist/devices/evn.d.ts.map +1 -0
- package/dist/devices/evn.js +97 -0
- package/dist/devices/evn.js.map +1 -0
- package/dist/devices/evology.d.ts +3 -0
- package/dist/devices/evology.d.ts.map +1 -0
- package/dist/devices/evology.js +60 -0
- package/dist/devices/evology.js.map +1 -0
- package/dist/devices/evvr.d.ts +3 -0
- package/dist/devices/evvr.d.ts.map +1 -0
- package/dist/devices/evvr.js +47 -0
- package/dist/devices/evvr.js.map +1 -0
- package/dist/devices/ewelink.d.ts +3 -0
- package/dist/devices/ewelink.d.ts.map +1 -0
- package/dist/devices/ewelink.js +326 -0
- package/dist/devices/ewelink.js.map +1 -0
- package/dist/devices/ezex.d.ts +3 -0
- package/dist/devices/ezex.d.ts.map +1 -0
- package/dist/devices/ezex.js +47 -0
- package/dist/devices/ezex.js.map +1 -0
- package/dist/devices/ezviz.d.ts +3 -0
- package/dist/devices/ezviz.d.ts.map +1 -0
- package/dist/devices/ezviz.js +47 -0
- package/dist/devices/ezviz.js.map +1 -0
- package/dist/devices/fantem.d.ts +3 -0
- package/dist/devices/fantem.d.ts.map +1 -0
- package/dist/devices/fantem.js +112 -0
- package/dist/devices/fantem.js.map +1 -0
- package/dist/devices/feibit.d.ts +3 -0
- package/dist/devices/feibit.d.ts.map +1 -0
- package/dist/devices/feibit.js +335 -0
- package/dist/devices/feibit.js.map +1 -0
- package/dist/devices/fireangel.d.ts +3 -0
- package/dist/devices/fireangel.d.ts.map +1 -0
- package/dist/devices/fireangel.js +96 -0
- package/dist/devices/fireangel.js.map +1 -0
- package/dist/devices/frankever.d.ts +3 -0
- package/dist/devices/frankever.d.ts.map +1 -0
- package/dist/devices/frankever.js +67 -0
- package/dist/devices/frankever.js.map +1 -0
- package/dist/devices/frient.d.ts +3 -0
- package/dist/devices/frient.d.ts.map +1 -0
- package/dist/devices/frient.js +84 -0
- package/dist/devices/frient.js.map +1 -0
- package/dist/devices/futurehome.d.ts +3 -0
- package/dist/devices/futurehome.d.ts.map +1 -0
- package/dist/devices/futurehome.js +137 -0
- package/dist/devices/futurehome.js.map +1 -0
- package/dist/devices/ge.d.ts +3 -0
- package/dist/devices/ge.d.ts.map +1 -0
- package/dist/devices/ge.js +130 -0
- package/dist/devices/ge.js.map +1 -0
- package/dist/devices/gewiss.d.ts +3 -0
- package/dist/devices/gewiss.d.ts.map +1 -0
- package/dist/devices/gewiss.js +148 -0
- package/dist/devices/gewiss.js.map +1 -0
- package/dist/devices/gidealed.d.ts +3 -0
- package/dist/devices/gidealed.d.ts.map +1 -0
- package/dist/devices/gidealed.js +47 -0
- package/dist/devices/gidealed.js.map +1 -0
- package/dist/devices/giderwel.d.ts +3 -0
- package/dist/devices/giderwel.d.ts.map +1 -0
- package/dist/devices/giderwel.js +47 -0
- package/dist/devices/giderwel.js.map +1 -0
- package/dist/devices/giex.d.ts +3 -0
- package/dist/devices/giex.d.ts.map +1 -0
- package/dist/devices/giex.js +114 -0
- package/dist/devices/giex.js.map +1 -0
- package/dist/devices/girier.d.ts +3 -0
- package/dist/devices/girier.d.ts.map +1 -0
- package/dist/devices/girier.js +51 -0
- package/dist/devices/girier.js.map +1 -0
- package/dist/devices/gledopto.d.ts +3 -0
- package/dist/devices/gledopto.d.ts.map +1 -0
- package/dist/devices/gledopto.js +1395 -0
- package/dist/devices/gledopto.js.map +1 -0
- package/dist/devices/gmmts.d.ts +3 -0
- package/dist/devices/gmmts.d.ts.map +1 -0
- package/dist/devices/gmmts.js +2267 -0
- package/dist/devices/gmmts.js.map +1 -0
- package/dist/devices/gmy.d.ts +3 -0
- package/dist/devices/gmy.d.ts.map +1 -0
- package/dist/devices/gmy.js +47 -0
- package/dist/devices/gmy.js.map +1 -0
- package/dist/devices/gs.d.ts +3 -0
- package/dist/devices/gs.d.ts.map +1 -0
- package/dist/devices/gs.js +121 -0
- package/dist/devices/gs.js.map +1 -0
- package/dist/devices/gumax.d.ts +3 -0
- package/dist/devices/gumax.d.ts.map +1 -0
- package/dist/devices/gumax.js +47 -0
- package/dist/devices/gumax.js.map +1 -0
- package/dist/devices/halemeier.d.ts +3 -0
- package/dist/devices/halemeier.d.ts.map +1 -0
- package/dist/devices/halemeier.js +142 -0
- package/dist/devices/halemeier.js.map +1 -0
- package/dist/devices/hampton_bay.d.ts +3 -0
- package/dist/devices/hampton_bay.d.ts.map +1 -0
- package/dist/devices/hampton_bay.js +68 -0
- package/dist/devices/hampton_bay.js.map +1 -0
- package/dist/devices/heatit.d.ts +3 -0
- package/dist/devices/heatit.d.ts.map +1 -0
- package/dist/devices/heatit.js +47 -0
- package/dist/devices/heatit.js.map +1 -0
- package/dist/devices/heiman.d.ts +3 -0
- package/dist/devices/heiman.d.ts.map +1 -0
- package/dist/devices/heiman.js +2092 -0
- package/dist/devices/heiman.js.map +1 -0
- package/dist/devices/heimgard_technologies.d.ts +3 -0
- package/dist/devices/heimgard_technologies.d.ts.map +1 -0
- package/dist/devices/heimgard_technologies.js +189 -0
- package/dist/devices/heimgard_technologies.js.map +1 -0
- package/dist/devices/hej.d.ts +3 -0
- package/dist/devices/hej.d.ts.map +1 -0
- package/dist/devices/hej.js +126 -0
- package/dist/devices/hej.js.map +1 -0
- package/dist/devices/hfh.d.ts +3 -0
- package/dist/devices/hfh.d.ts.map +1 -0
- package/dist/devices/hfh.js +47 -0
- package/dist/devices/hfh.js.map +1 -0
- package/dist/devices/hilux.d.ts +3 -0
- package/dist/devices/hilux.d.ts.map +1 -0
- package/dist/devices/hilux.js +54 -0
- package/dist/devices/hilux.js.map +1 -0
- package/dist/devices/hive.d.ts +3 -0
- package/dist/devices/hive.d.ts.map +1 -0
- package/dist/devices/hive.js +798 -0
- package/dist/devices/hive.js.map +1 -0
- package/dist/devices/hoftronic.d.ts +3 -0
- package/dist/devices/hoftronic.d.ts.map +1 -0
- package/dist/devices/hoftronic.js +56 -0
- package/dist/devices/hoftronic.js.map +1 -0
- package/dist/devices/homeseer.d.ts +3 -0
- package/dist/devices/homeseer.d.ts.map +1 -0
- package/dist/devices/homeseer.js +53 -0
- package/dist/devices/homeseer.js.map +1 -0
- package/dist/devices/hommyn.d.ts +3 -0
- package/dist/devices/hommyn.d.ts.map +1 -0
- package/dist/devices/hommyn.js +60 -0
- package/dist/devices/hommyn.js.map +1 -0
- package/dist/devices/honyar.d.ts +3 -0
- package/dist/devices/honyar.d.ts.map +1 -0
- package/dist/devices/honyar.js +167 -0
- package/dist/devices/honyar.js.map +1 -0
- package/dist/devices/hornbach.d.ts +3 -0
- package/dist/devices/hornbach.d.ts.map +1 -0
- package/dist/devices/hornbach.js +138 -0
- package/dist/devices/hornbach.js.map +1 -0
- package/dist/devices/hzc_electric.d.ts +3 -0
- package/dist/devices/hzc_electric.d.ts.map +1 -0
- package/dist/devices/hzc_electric.js +102 -0
- package/dist/devices/hzc_electric.js.map +1 -0
- package/dist/devices/icasa.d.ts +3 -0
- package/dist/devices/icasa.d.ts.map +1 -0
- package/dist/devices/icasa.js +174 -0
- package/dist/devices/icasa.js.map +1 -0
- package/dist/devices/idinio.d.ts +3 -0
- package/dist/devices/idinio.d.ts.map +1 -0
- package/dist/devices/idinio.js +47 -0
- package/dist/devices/idinio.js.map +1 -0
- package/dist/devices/ihorn.d.ts +3 -0
- package/dist/devices/ihorn.d.ts.map +1 -0
- package/dist/devices/ihorn.js +105 -0
- package/dist/devices/ihorn.js.map +1 -0
- package/dist/devices/ikea.d.ts +3 -0
- package/dist/devices/ikea.d.ts.map +1 -0
- package/dist/devices/ikea.js +1241 -0
- package/dist/devices/ikea.js.map +1 -0
- package/dist/devices/ilightsin.d.ts +3 -0
- package/dist/devices/ilightsin.d.ts.map +1 -0
- package/dist/devices/ilightsin.js +59 -0
- package/dist/devices/ilightsin.js.map +1 -0
- package/dist/devices/iluminize.d.ts +3 -0
- package/dist/devices/iluminize.d.ts.map +1 -0
- package/dist/devices/iluminize.js +385 -0
- package/dist/devices/iluminize.js.map +1 -0
- package/dist/devices/ilux.d.ts +3 -0
- package/dist/devices/ilux.d.ts.map +1 -0
- package/dist/devices/ilux.js +47 -0
- package/dist/devices/ilux.js.map +1 -0
- package/dist/devices/imhotepcreation.d.ts +3 -0
- package/dist/devices/imhotepcreation.d.ts.map +1 -0
- package/dist/devices/imhotepcreation.js +240 -0
- package/dist/devices/imhotepcreation.js.map +1 -0
- package/dist/devices/immax.d.ts +3 -0
- package/dist/devices/immax.d.ts.map +1 -0
- package/dist/devices/immax.js +471 -0
- package/dist/devices/immax.js.map +1 -0
- package/dist/devices/imou.d.ts +3 -0
- package/dist/devices/imou.d.ts.map +1 -0
- package/dist/devices/imou.js +109 -0
- package/dist/devices/imou.js.map +1 -0
- package/dist/devices/index.d.ts +4 -0
- package/dist/devices/index.d.ts.map +1 -0
- package/dist/devices/index.js +738 -0
- package/dist/devices/index.js.map +1 -0
- package/dist/devices/innr.d.ts +3 -0
- package/dist/devices/innr.d.ts.map +1 -0
- package/dist/devices/innr.js +1033 -0
- package/dist/devices/innr.js.map +1 -0
- package/dist/devices/inovelli.d.ts +3 -0
- package/dist/devices/inovelli.d.ts.map +1 -0
- package/dist/devices/inovelli.js +2474 -0
- package/dist/devices/inovelli.js.map +1 -0
- package/dist/devices/insta.d.ts +3 -0
- package/dist/devices/insta.d.ts.map +1 -0
- package/dist/devices/insta.js +182 -0
- package/dist/devices/insta.js.map +1 -0
- package/dist/devices/intuis.d.ts +3 -0
- package/dist/devices/intuis.d.ts.map +1 -0
- package/dist/devices/intuis.js +95 -0
- package/dist/devices/intuis.js.map +1 -0
- package/dist/devices/iolloi.d.ts +3 -0
- package/dist/devices/iolloi.d.ts.map +1 -0
- package/dist/devices/iolloi.js +48 -0
- package/dist/devices/iolloi.js.map +1 -0
- package/dist/devices/iotperfect.d.ts +3 -0
- package/dist/devices/iotperfect.d.ts.map +1 -0
- package/dist/devices/iotperfect.js +60 -0
- package/dist/devices/iotperfect.js.map +1 -0
- package/dist/devices/iris.d.ts +3 -0
- package/dist/devices/iris.d.ts.map +1 -0
- package/dist/devices/iris.js +208 -0
- package/dist/devices/iris.js.map +1 -0
- package/dist/devices/istar.d.ts +3 -0
- package/dist/devices/istar.d.ts.map +1 -0
- package/dist/devices/istar.js +61 -0
- package/dist/devices/istar.js.map +1 -0
- package/dist/devices/jasco.d.ts +3 -0
- package/dist/devices/jasco.d.ts.map +1 -0
- package/dist/devices/jasco.js +63 -0
- package/dist/devices/jasco.js.map +1 -0
- package/dist/devices/javis.d.ts +3 -0
- package/dist/devices/javis.d.ts.map +1 -0
- package/dist/devices/javis.js +77 -0
- package/dist/devices/javis.js.map +1 -0
- package/dist/devices/jethome.d.ts +3 -0
- package/dist/devices/jethome.d.ts.map +1 -0
- package/dist/devices/jethome.js +120 -0
- package/dist/devices/jethome.js.map +1 -0
- package/dist/devices/jiawen.d.ts +3 -0
- package/dist/devices/jiawen.d.ts.map +1 -0
- package/dist/devices/jiawen.js +54 -0
- package/dist/devices/jiawen.js.map +1 -0
- package/dist/devices/jumitech.d.ts +3 -0
- package/dist/devices/jumitech.d.ts.map +1 -0
- package/dist/devices/jumitech.js +47 -0
- package/dist/devices/jumitech.js.map +1 -0
- package/dist/devices/jxuan.d.ts +3 -0
- package/dist/devices/jxuan.d.ts.map +1 -0
- package/dist/devices/jxuan.js +85 -0
- package/dist/devices/jxuan.js.map +1 -0
- package/dist/devices/kami.d.ts +3 -0
- package/dist/devices/kami.d.ts.map +1 -0
- package/dist/devices/kami.js +51 -0
- package/dist/devices/kami.js.map +1 -0
- package/dist/devices/keen_home.d.ts +3 -0
- package/dist/devices/keen_home.d.ts.map +1 -0
- package/dist/devices/keen_home.js +155 -0
- package/dist/devices/keen_home.js.map +1 -0
- package/dist/devices/klikaanklikuit.d.ts +3 -0
- package/dist/devices/klikaanklikuit.d.ts.map +1 -0
- package/dist/devices/klikaanklikuit.js +54 -0
- package/dist/devices/klikaanklikuit.js.map +1 -0
- package/dist/devices/kmpcil.d.ts +3 -0
- package/dist/devices/kmpcil.d.ts.map +1 -0
- package/dist/devices/kmpcil.js +212 -0
- package/dist/devices/kmpcil.js.map +1 -0
- package/dist/devices/konke.d.ts +3 -0
- package/dist/devices/konke.d.ts.map +1 -0
- package/dist/devices/konke.js +207 -0
- package/dist/devices/konke.js.map +1 -0
- package/dist/devices/ksentry.d.ts +3 -0
- package/dist/devices/ksentry.d.ts.map +1 -0
- package/dist/devices/ksentry.js +47 -0
- package/dist/devices/ksentry.js.map +1 -0
- package/dist/devices/kurvia.d.ts +3 -0
- package/dist/devices/kurvia.d.ts.map +1 -0
- package/dist/devices/kurvia.js +49 -0
- package/dist/devices/kurvia.js.map +1 -0
- package/dist/devices/kwikset.d.ts +3 -0
- package/dist/devices/kwikset.d.ts.map +1 -0
- package/dist/devices/kwikset.js +153 -0
- package/dist/devices/kwikset.js.map +1 -0
- package/dist/devices/lanesto.d.ts +3 -0
- package/dist/devices/lanesto.d.ts.map +1 -0
- package/dist/devices/lanesto.js +47 -0
- package/dist/devices/lanesto.js.map +1 -0
- package/dist/devices/lds.d.ts +3 -0
- package/dist/devices/lds.d.ts.map +1 -0
- package/dist/devices/lds.js +54 -0
- package/dist/devices/lds.js.map +1 -0
- package/dist/devices/led_trading.d.ts +3 -0
- package/dist/devices/led_trading.d.ts.map +1 -0
- package/dist/devices/led_trading.js +108 -0
- package/dist/devices/led_trading.js.map +1 -0
- package/dist/devices/ledvance.d.ts +3 -0
- package/dist/devices/ledvance.d.ts.map +1 -0
- package/dist/devices/ledvance.js +407 -0
- package/dist/devices/ledvance.js.map +1 -0
- package/dist/devices/leedarson.d.ts +3 -0
- package/dist/devices/leedarson.d.ts.map +1 -0
- package/dist/devices/leedarson.js +180 -0
- package/dist/devices/leedarson.js.map +1 -0
- package/dist/devices/legrand.d.ts +3 -0
- package/dist/devices/legrand.d.ts.map +1 -0
- package/dist/devices/legrand.js +809 -0
- package/dist/devices/legrand.js.map +1 -0
- package/dist/devices/lellki.d.ts +3 -0
- package/dist/devices/lellki.d.ts.map +1 -0
- package/dist/devices/lellki.js +162 -0
- package/dist/devices/lellki.js.map +1 -0
- package/dist/devices/letsled.d.ts +3 -0
- package/dist/devices/letsled.d.ts.map +1 -0
- package/dist/devices/letsled.js +47 -0
- package/dist/devices/letsled.js.map +1 -0
- package/dist/devices/letv.d.ts +3 -0
- package/dist/devices/letv.d.ts.map +1 -0
- package/dist/devices/letv.js +86 -0
- package/dist/devices/letv.js.map +1 -0
- package/dist/devices/leviton.d.ts +3 -0
- package/dist/devices/leviton.d.ts.map +1 -0
- package/dist/devices/leviton.js +160 -0
- package/dist/devices/leviton.js.map +1 -0
- package/dist/devices/lg.d.ts +3 -0
- package/dist/devices/lg.d.ts.map +1 -0
- package/dist/devices/lg.js +61 -0
- package/dist/devices/lg.js.map +1 -0
- package/dist/devices/lidl.d.ts +3 -0
- package/dist/devices/lidl.d.ts.map +1 -0
- package/dist/devices/lidl.js +669 -0
- package/dist/devices/lidl.js.map +1 -0
- package/dist/devices/lifecontrol.d.ts +3 -0
- package/dist/devices/lifecontrol.d.ts.map +1 -0
- package/dist/devices/lifecontrol.js +141 -0
- package/dist/devices/lifecontrol.js.map +1 -0
- package/dist/devices/lightsolutions.d.ts +3 -0
- package/dist/devices/lightsolutions.d.ts.map +1 -0
- package/dist/devices/lightsolutions.js +90 -0
- package/dist/devices/lightsolutions.js.map +1 -0
- package/dist/devices/lincukoo.d.ts +3 -0
- package/dist/devices/lincukoo.d.ts.map +1 -0
- package/dist/devices/lincukoo.js +788 -0
- package/dist/devices/lincukoo.js.map +1 -0
- package/dist/devices/linkind.d.ts +3 -0
- package/dist/devices/linkind.d.ts.map +1 -0
- package/dist/devices/linkind.js +251 -0
- package/dist/devices/linkind.js.map +1 -0
- package/dist/devices/linptech.d.ts +3 -0
- package/dist/devices/linptech.d.ts.map +1 -0
- package/dist/devices/linptech.js +157 -0
- package/dist/devices/linptech.js.map +1 -0
- package/dist/devices/livingwise.d.ts +3 -0
- package/dist/devices/livingwise.d.ts.map +1 -0
- package/dist/devices/livingwise.js +115 -0
- package/dist/devices/livingwise.js.map +1 -0
- package/dist/devices/livolo.d.ts +3 -0
- package/dist/devices/livolo.d.ts.map +1 -0
- package/dist/devices/livolo.js +263 -0
- package/dist/devices/livolo.js.map +1 -0
- package/dist/devices/lixee.d.ts +3 -0
- package/dist/devices/lixee.d.ts.map +1 -0
- package/dist/devices/lixee.js +2038 -0
- package/dist/devices/lixee.js.map +1 -0
- package/dist/devices/lonsonho.d.ts +3 -0
- package/dist/devices/lonsonho.d.ts.map +1 -0
- package/dist/devices/lonsonho.js +310 -0
- package/dist/devices/lonsonho.js.map +1 -0
- package/dist/devices/ls.d.ts +3 -0
- package/dist/devices/ls.d.ts.map +1 -0
- package/dist/devices/ls.js +152 -0
- package/dist/devices/ls.js.map +1 -0
- package/dist/devices/lubeez.d.ts +3 -0
- package/dist/devices/lubeez.d.ts.map +1 -0
- package/dist/devices/lubeez.js +47 -0
- package/dist/devices/lubeez.js.map +1 -0
- package/dist/devices/lumi.d.ts +3 -0
- package/dist/devices/lumi.d.ts.map +1 -0
- package/dist/devices/lumi.js +5345 -0
- package/dist/devices/lumi.js.map +1 -0
- package/dist/devices/lupus.d.ts +3 -0
- package/dist/devices/lupus.d.ts.map +1 -0
- package/dist/devices/lupus.js +94 -0
- package/dist/devices/lupus.js.map +1 -0
- package/dist/devices/lutron.d.ts +3 -0
- package/dist/devices/lutron.d.ts.map +1 -0
- package/dist/devices/lutron.js +81 -0
- package/dist/devices/lutron.js.map +1 -0
- package/dist/devices/lux.d.ts +3 -0
- package/dist/devices/lux.d.ts.map +1 -0
- package/dist/devices/lux.js +87 -0
- package/dist/devices/lux.js.map +1 -0
- package/dist/devices/lytko.d.ts +3 -0
- package/dist/devices/lytko.d.ts.map +1 -0
- package/dist/devices/lytko.js +1809 -0
- package/dist/devices/lytko.js.map +1 -0
- package/dist/devices/m_elec.d.ts +3 -0
- package/dist/devices/m_elec.d.ts.map +1 -0
- package/dist/devices/m_elec.js +68 -0
- package/dist/devices/m_elec.js.map +1 -0
- package/dist/devices/makegood.d.ts +3 -0
- package/dist/devices/makegood.d.ts.map +1 -0
- package/dist/devices/makegood.js +117 -0
- package/dist/devices/makegood.js.map +1 -0
- package/dist/devices/matcall_bv.d.ts +3 -0
- package/dist/devices/matcall_bv.d.ts.map +1 -0
- package/dist/devices/matcall_bv.js +54 -0
- package/dist/devices/matcall_bv.js.map +1 -0
- package/dist/devices/mazda.d.ts +3 -0
- package/dist/devices/mazda.d.ts.map +1 -0
- package/dist/devices/mazda.js +146 -0
- package/dist/devices/mazda.js.map +1 -0
- package/dist/devices/meazon.d.ts +3 -0
- package/dist/devices/meazon.d.ts.map +1 -0
- package/dist/devices/meazon.js +95 -0
- package/dist/devices/meazon.js.map +1 -0
- package/dist/devices/mercator.d.ts +3 -0
- package/dist/devices/mercator.d.ts.map +1 -0
- package/dist/devices/mercator.js +242 -0
- package/dist/devices/mercator.js.map +1 -0
- package/dist/devices/miboxer.d.ts +3 -0
- package/dist/devices/miboxer.d.ts.map +1 -0
- package/dist/devices/miboxer.js +304 -0
- package/dist/devices/miboxer.js.map +1 -0
- package/dist/devices/micromatic.d.ts +3 -0
- package/dist/devices/micromatic.d.ts.map +1 -0
- package/dist/devices/micromatic.js +47 -0
- package/dist/devices/micromatic.js.map +1 -0
- package/dist/devices/mill.d.ts +3 -0
- package/dist/devices/mill.d.ts.map +1 -0
- package/dist/devices/mill.js +52 -0
- package/dist/devices/mill.js.map +1 -0
- package/dist/devices/mindy.d.ts +3 -0
- package/dist/devices/mindy.d.ts.map +1 -0
- package/dist/devices/mindy.js +379 -0
- package/dist/devices/mindy.js.map +1 -0
- package/dist/devices/modular.d.ts +3 -0
- package/dist/devices/modular.d.ts.map +1 -0
- package/dist/devices/modular.js +47 -0
- package/dist/devices/modular.js.map +1 -0
- package/dist/devices/moes.d.ts +3 -0
- package/dist/devices/moes.d.ts.map +1 -0
- package/dist/devices/moes.js +2368 -0
- package/dist/devices/moes.js.map +1 -0
- package/dist/devices/muller_licht.d.ts +3 -0
- package/dist/devices/muller_licht.d.ts.map +1 -0
- package/dist/devices/muller_licht.js +366 -0
- package/dist/devices/muller_licht.js.map +1 -0
- package/dist/devices/multir.d.ts +3 -0
- package/dist/devices/multir.d.ts.map +1 -0
- package/dist/devices/multir.js +152 -0
- package/dist/devices/multir.js.map +1 -0
- package/dist/devices/multiterm.d.ts +3 -0
- package/dist/devices/multiterm.d.ts.map +1 -0
- package/dist/devices/multiterm.js +119 -0
- package/dist/devices/multiterm.js.map +1 -0
- package/dist/devices/namron.d.ts +3 -0
- package/dist/devices/namron.d.ts.map +1 -0
- package/dist/devices/namron.js +2004 -0
- package/dist/devices/namron.js.map +1 -0
- package/dist/devices/nanoleaf.d.ts +3 -0
- package/dist/devices/nanoleaf.d.ts.map +1 -0
- package/dist/devices/nanoleaf.js +47 -0
- package/dist/devices/nanoleaf.js.map +1 -0
- package/dist/devices/nedis.d.ts +3 -0
- package/dist/devices/nedis.d.ts.map +1 -0
- package/dist/devices/nedis.js +87 -0
- package/dist/devices/nedis.js.map +1 -0
- package/dist/devices/neo.d.ts +3 -0
- package/dist/devices/neo.d.ts.map +1 -0
- package/dist/devices/neo.js +526 -0
- package/dist/devices/neo.js.map +1 -0
- package/dist/devices/net2grid.d.ts +3 -0
- package/dist/devices/net2grid.d.ts.map +1 -0
- package/dist/devices/net2grid.js +64 -0
- package/dist/devices/net2grid.js.map +1 -0
- package/dist/devices/netvox.d.ts +3 -0
- package/dist/devices/netvox.d.ts.map +1 -0
- package/dist/devices/netvox.js +71 -0
- package/dist/devices/netvox.js.map +1 -0
- package/dist/devices/nexelec.d.ts +3 -0
- package/dist/devices/nexelec.d.ts.map +1 -0
- package/dist/devices/nexelec.js +47 -0
- package/dist/devices/nexelec.js.map +1 -0
- package/dist/devices/niko.d.ts +3 -0
- package/dist/devices/niko.d.ts.map +1 -0
- package/dist/devices/niko.js +769 -0
- package/dist/devices/niko.js.map +1 -0
- package/dist/devices/ninja_blocks.d.ts +3 -0
- package/dist/devices/ninja_blocks.d.ts.map +1 -0
- package/dist/devices/ninja_blocks.js +60 -0
- package/dist/devices/ninja_blocks.js.map +1 -0
- package/dist/devices/niviss.d.ts +3 -0
- package/dist/devices/niviss.d.ts.map +1 -0
- package/dist/devices/niviss.js +47 -0
- package/dist/devices/niviss.js.map +1 -0
- package/dist/devices/nobo.d.ts +3 -0
- package/dist/devices/nobo.d.ts.map +1 -0
- package/dist/devices/nobo.js +88 -0
- package/dist/devices/nobo.js.map +1 -0
- package/dist/devices/nodon.d.ts +3 -0
- package/dist/devices/nodon.d.ts.map +1 -0
- package/dist/devices/nodon.js +483 -0
- package/dist/devices/nodon.js.map +1 -0
- package/dist/devices/nordtronic.d.ts +3 -0
- package/dist/devices/nordtronic.d.ts.map +1 -0
- package/dist/devices/nordtronic.js +95 -0
- package/dist/devices/nordtronic.js.map +1 -0
- package/dist/devices/nous.d.ts +3 -0
- package/dist/devices/nous.d.ts.map +1 -0
- package/dist/devices/nous.js +367 -0
- package/dist/devices/nous.js.map +1 -0
- package/dist/devices/novo.d.ts +3 -0
- package/dist/devices/novo.d.ts.map +1 -0
- package/dist/devices/novo.js +53 -0
- package/dist/devices/novo.js.map +1 -0
- package/dist/devices/nue_3a.d.ts +3 -0
- package/dist/devices/nue_3a.d.ts.map +1 -0
- package/dist/devices/nue_3a.js +359 -0
- package/dist/devices/nue_3a.js.map +1 -0
- package/dist/devices/nyce.d.ts +3 -0
- package/dist/devices/nyce.d.ts.map +1 -0
- package/dist/devices/nyce.js +124 -0
- package/dist/devices/nyce.js.map +1 -0
- package/dist/devices/onenuo.d.ts +3 -0
- package/dist/devices/onenuo.d.ts.map +1 -0
- package/dist/devices/onenuo.js +83 -0
- package/dist/devices/onenuo.js.map +1 -0
- package/dist/devices/onesti.d.ts +3 -0
- package/dist/devices/onesti.d.ts.map +1 -0
- package/dist/devices/onesti.js +265 -0
- package/dist/devices/onesti.js.map +1 -0
- package/dist/devices/onokom.d.ts +3 -0
- package/dist/devices/onokom.d.ts.map +1 -0
- package/dist/devices/onokom.js +2715 -0
- package/dist/devices/onokom.js.map +1 -0
- package/dist/devices/openlumi.d.ts +3 -0
- package/dist/devices/openlumi.d.ts.map +1 -0
- package/dist/devices/openlumi.js +47 -0
- package/dist/devices/openlumi.js.map +1 -0
- package/dist/devices/orvibo.d.ts +12 -0
- package/dist/devices/orvibo.d.ts.map +1 -0
- package/dist/devices/orvibo.js +715 -0
- package/dist/devices/orvibo.js.map +1 -0
- package/dist/devices/orztech.d.ts +3 -0
- package/dist/devices/orztech.d.ts.map +1 -0
- package/dist/devices/orztech.js +195 -0
- package/dist/devices/orztech.js.map +1 -0
- package/dist/devices/osram.d.ts +3 -0
- package/dist/devices/osram.d.ts.map +1 -0
- package/dist/devices/osram.js +513 -0
- package/dist/devices/osram.js.map +1 -0
- package/dist/devices/oujiabao.d.ts +3 -0
- package/dist/devices/oujiabao.d.ts.map +1 -0
- package/dist/devices/oujiabao.js +51 -0
- package/dist/devices/oujiabao.js.map +1 -0
- package/dist/devices/owon.d.ts +3 -0
- package/dist/devices/owon.d.ts.map +1 -0
- package/dist/devices/owon.js +888 -0
- package/dist/devices/owon.js.map +1 -0
- package/dist/devices/ozsmartthings.d.ts +3 -0
- package/dist/devices/ozsmartthings.d.ts.map +1 -0
- package/dist/devices/ozsmartthings.js +47 -0
- package/dist/devices/ozsmartthings.js.map +1 -0
- package/dist/devices/paul_neuhaus.d.ts +3 -0
- package/dist/devices/paul_neuhaus.d.ts.map +1 -0
- package/dist/devices/paul_neuhaus.js +190 -0
- package/dist/devices/paul_neuhaus.js.map +1 -0
- package/dist/devices/paulmann.d.ts +3 -0
- package/dist/devices/paulmann.d.ts.map +1 -0
- package/dist/devices/paulmann.js +426 -0
- package/dist/devices/paulmann.js.map +1 -0
- package/dist/devices/peq.d.ts +3 -0
- package/dist/devices/peq.d.ts.map +1 -0
- package/dist/devices/peq.js +60 -0
- package/dist/devices/peq.js.map +1 -0
- package/dist/devices/perenio.d.ts +3 -0
- package/dist/devices/perenio.d.ts.map +1 -0
- package/dist/devices/perenio.js +461 -0
- package/dist/devices/perenio.js.map +1 -0
- package/dist/devices/philio.d.ts +3 -0
- package/dist/devices/philio.d.ts.map +1 -0
- package/dist/devices/philio.js +48 -0
- package/dist/devices/philio.js.map +1 -0
- package/dist/devices/philips.d.ts +3 -0
- package/dist/devices/philips.d.ts.map +1 -0
- package/dist/devices/philips.js +4948 -0
- package/dist/devices/philips.js.map +1 -0
- package/dist/devices/plaid.d.ts +3 -0
- package/dist/devices/plaid.d.ts.map +1 -0
- package/dist/devices/plaid.js +61 -0
- package/dist/devices/plaid.js.map +1 -0
- package/dist/devices/plugwise.d.ts +3 -0
- package/dist/devices/plugwise.d.ts.map +1 -0
- package/dist/devices/plugwise.js +217 -0
- package/dist/devices/plugwise.js.map +1 -0
- package/dist/devices/profalux.d.ts +3 -0
- package/dist/devices/profalux.d.ts.map +1 -0
- package/dist/devices/profalux.js +215 -0
- package/dist/devices/profalux.js.map +1 -0
- package/dist/devices/prolight.d.ts +3 -0
- package/dist/devices/prolight.d.ts.map +1 -0
- package/dist/devices/prolight.js +111 -0
- package/dist/devices/prolight.js.map +1 -0
- package/dist/devices/purmo.d.ts +3 -0
- package/dist/devices/purmo.d.ts.map +1 -0
- package/dist/devices/purmo.js +91 -0
- package/dist/devices/purmo.js.map +1 -0
- package/dist/devices/pushok.d.ts +3 -0
- package/dist/devices/pushok.d.ts.map +1 -0
- package/dist/devices/pushok.js +736 -0
- package/dist/devices/pushok.js.map +1 -0
- package/dist/devices/qa.d.ts +3 -0
- package/dist/devices/qa.d.ts.map +1 -0
- package/dist/devices/qa.js +445 -0
- package/dist/devices/qa.js.map +1 -0
- package/dist/devices/qmotion.d.ts +3 -0
- package/dist/devices/qmotion.d.ts.map +1 -0
- package/dist/devices/qmotion.js +69 -0
- package/dist/devices/qmotion.js.map +1 -0
- package/dist/devices/qoto.d.ts +3 -0
- package/dist/devices/qoto.d.ts.map +1 -0
- package/dist/devices/qoto.js +83 -0
- package/dist/devices/qoto.js.map +1 -0
- package/dist/devices/quirky.d.ts +8 -0
- package/dist/devices/quirky.d.ts.map +1 -0
- package/dist/devices/quirky.js +47 -0
- package/dist/devices/quirky.js.map +1 -0
- package/dist/devices/quotra.d.ts +3 -0
- package/dist/devices/quotra.d.ts.map +1 -0
- package/dist/devices/quotra.js +54 -0
- package/dist/devices/quotra.js.map +1 -0
- package/dist/devices/rademacher.d.ts +3 -0
- package/dist/devices/rademacher.d.ts.map +1 -0
- package/dist/devices/rademacher.js +61 -0
- package/dist/devices/rademacher.js.map +1 -0
- package/dist/devices/radium.d.ts +3 -0
- package/dist/devices/radium.d.ts.map +1 -0
- package/dist/devices/radium.js +47 -0
- package/dist/devices/radium.js.map +1 -0
- package/dist/devices/raex.d.ts +3 -0
- package/dist/devices/raex.d.ts.map +1 -0
- package/dist/devices/raex.js +47 -0
- package/dist/devices/raex.js.map +1 -0
- package/dist/devices/rgb_genie.d.ts +3 -0
- package/dist/devices/rgb_genie.d.ts.map +1 -0
- package/dist/devices/rgb_genie.js +277 -0
- package/dist/devices/rgb_genie.js.map +1 -0
- package/dist/devices/robb.d.ts +3 -0
- package/dist/devices/robb.d.ts.map +1 -0
- package/dist/devices/robb.js +492 -0
- package/dist/devices/robb.js.map +1 -0
- package/dist/devices/roome.d.ts +3 -0
- package/dist/devices/roome.d.ts.map +1 -0
- package/dist/devices/roome.js +51 -0
- package/dist/devices/roome.js.map +1 -0
- package/dist/devices/rtx.d.ts +3 -0
- package/dist/devices/rtx.d.ts.map +1 -0
- package/dist/devices/rtx.js +143 -0
- package/dist/devices/rtx.js.map +1 -0
- package/dist/devices/salus_controls.d.ts +3 -0
- package/dist/devices/salus_controls.d.ts.map +1 -0
- package/dist/devices/salus_controls.js +222 -0
- package/dist/devices/salus_controls.js.map +1 -0
- package/dist/devices/samotech.d.ts +3 -0
- package/dist/devices/samotech.d.ts.map +1 -0
- package/dist/devices/samotech.js +123 -0
- package/dist/devices/samotech.js.map +1 -0
- package/dist/devices/saswell.d.ts +3 -0
- package/dist/devices/saswell.d.ts.map +1 -0
- package/dist/devices/saswell.js +120 -0
- package/dist/devices/saswell.js.map +1 -0
- package/dist/devices/sber.d.ts +3 -0
- package/dist/devices/sber.d.ts.map +1 -0
- package/dist/devices/sber.js +1921 -0
- package/dist/devices/sber.js.map +1 -0
- package/dist/devices/scanproducts.d.ts +3 -0
- package/dist/devices/scanproducts.d.ts.map +1 -0
- package/dist/devices/scanproducts.js +54 -0
- package/dist/devices/scanproducts.js.map +1 -0
- package/dist/devices/schlage.d.ts +3 -0
- package/dist/devices/schlage.d.ts.map +1 -0
- package/dist/devices/schlage.js +60 -0
- package/dist/devices/schlage.js.map +1 -0
- package/dist/devices/schneider_electric.d.ts +10 -0
- package/dist/devices/schneider_electric.d.ts.map +1 -0
- package/dist/devices/schneider_electric.js +2801 -0
- package/dist/devices/schneider_electric.js.map +1 -0
- package/dist/devices/schwaiger.d.ts +3 -0
- package/dist/devices/schwaiger.d.ts.map +1 -0
- package/dist/devices/schwaiger.js +105 -0
- package/dist/devices/schwaiger.js.map +1 -0
- package/dist/devices/seastar_intelligence.d.ts +3 -0
- package/dist/devices/seastar_intelligence.d.ts.map +1 -0
- package/dist/devices/seastar_intelligence.js +52 -0
- package/dist/devices/seastar_intelligence.js.map +1 -0
- package/dist/devices/securifi.d.ts +3 -0
- package/dist/devices/securifi.d.ts.map +1 -0
- package/dist/devices/securifi.js +79 -0
- package/dist/devices/securifi.js.map +1 -0
- package/dist/devices/sengled.d.ts +6 -0
- package/dist/devices/sengled.d.ts.map +1 -0
- package/dist/devices/sengled.js +395 -0
- package/dist/devices/sengled.js.map +1 -0
- package/dist/devices/senoro.d.ts +3 -0
- package/dist/devices/senoro.d.ts.map +1 -0
- package/dist/devices/senoro.js +64 -0
- package/dist/devices/senoro.js.map +1 -0
- package/dist/devices/sercomm.d.ts +3 -0
- package/dist/devices/sercomm.d.ts.map +1 -0
- package/dist/devices/sercomm.js +193 -0
- package/dist/devices/sercomm.js.map +1 -0
- package/dist/devices/shade_control.d.ts +3 -0
- package/dist/devices/shade_control.d.ts.map +1 -0
- package/dist/devices/shade_control.js +61 -0
- package/dist/devices/shade_control.js.map +1 -0
- package/dist/devices/shelly.d.ts +3 -0
- package/dist/devices/shelly.d.ts.map +1 -0
- package/dist/devices/shelly.js +1304 -0
- package/dist/devices/shelly.js.map +1 -0
- package/dist/devices/shenzhen_homa.d.ts +3 -0
- package/dist/devices/shenzhen_homa.d.ts.map +1 -0
- package/dist/devices/shenzhen_homa.js +143 -0
- package/dist/devices/shenzhen_homa.js.map +1 -0
- package/dist/devices/shinasystem.d.ts +3 -0
- package/dist/devices/shinasystem.d.ts.map +1 -0
- package/dist/devices/shinasystem.js +1322 -0
- package/dist/devices/shinasystem.js.map +1 -0
- package/dist/devices/shyugj.d.ts +3 -0
- package/dist/devices/shyugj.d.ts.map +1 -0
- package/dist/devices/shyugj.js +53 -0
- package/dist/devices/shyugj.js.map +1 -0
- package/dist/devices/siglis.d.ts +3 -0
- package/dist/devices/siglis.d.ts.map +1 -0
- package/dist/devices/siglis.js +440 -0
- package/dist/devices/siglis.js.map +1 -0
- package/dist/devices/sikom.d.ts +3 -0
- package/dist/devices/sikom.d.ts.map +1 -0
- package/dist/devices/sikom.js +64 -0
- package/dist/devices/sikom.js.map +1 -0
- package/dist/devices/silicon_labs.d.ts +3 -0
- package/dist/devices/silicon_labs.d.ts.map +1 -0
- package/dist/devices/silicon_labs.js +47 -0
- package/dist/devices/silicon_labs.js.map +1 -0
- package/dist/devices/simon.d.ts +3 -0
- package/dist/devices/simon.d.ts.map +1 -0
- package/dist/devices/simon.js +54 -0
- package/dist/devices/simon.js.map +1 -0
- package/dist/devices/simpla_home.d.ts +3 -0
- package/dist/devices/simpla_home.d.ts.map +1 -0
- package/dist/devices/simpla_home.js +97 -0
- package/dist/devices/simpla_home.js.map +1 -0
- package/dist/devices/sinope.d.ts +3 -0
- package/dist/devices/sinope.d.ts.map +1 -0
- package/dist/devices/sinope.js +2015 -0
- package/dist/devices/sinope.js.map +1 -0
- package/dist/devices/siterwell.d.ts +3 -0
- package/dist/devices/siterwell.d.ts.map +1 -0
- package/dist/devices/siterwell.js +107 -0
- package/dist/devices/siterwell.js.map +1 -0
- package/dist/devices/skydance.d.ts +3 -0
- package/dist/devices/skydance.d.ts.map +1 -0
- package/dist/devices/skydance.js +138 -0
- package/dist/devices/skydance.js.map +1 -0
- package/dist/devices/slacky_diy.d.ts +3 -0
- package/dist/devices/slacky_diy.d.ts.map +1 -0
- package/dist/devices/slacky_diy.js +3694 -0
- package/dist/devices/slacky_diy.js.map +1 -0
- package/dist/devices/slv.d.ts +3 -0
- package/dist/devices/slv.d.ts.map +1 -0
- package/dist/devices/slv.js +77 -0
- package/dist/devices/slv.js.map +1 -0
- package/dist/devices/smarli.d.ts +3 -0
- package/dist/devices/smarli.d.ts.map +1 -0
- package/dist/devices/smarli.js +99 -0
- package/dist/devices/smarli.js.map +1 -0
- package/dist/devices/smart9.d.ts +3 -0
- package/dist/devices/smart9.d.ts.map +1 -0
- package/dist/devices/smart9.js +58 -0
- package/dist/devices/smart9.js.map +1 -0
- package/dist/devices/smart_home_pty.d.ts +3 -0
- package/dist/devices/smart_home_pty.d.ts.map +1 -0
- package/dist/devices/smart_home_pty.js +54 -0
- package/dist/devices/smart_home_pty.js.map +1 -0
- package/dist/devices/smartenit.d.ts +3 -0
- package/dist/devices/smartenit.d.ts.map +1 -0
- package/dist/devices/smartenit.js +77 -0
- package/dist/devices/smartenit.js.map +1 -0
- package/dist/devices/smartthings.d.ts +26 -0
- package/dist/devices/smartthings.d.ts.map +1 -0
- package/dist/devices/smartthings.js +571 -0
- package/dist/devices/smartthings.js.map +1 -0
- package/dist/devices/smartwings.d.ts +3 -0
- package/dist/devices/smartwings.d.ts.map +1 -0
- package/dist/devices/smartwings.js +60 -0
- package/dist/devices/smartwings.js.map +1 -0
- package/dist/devices/smlight.d.ts +3 -0
- package/dist/devices/smlight.d.ts.map +1 -0
- package/dist/devices/smlight.js +73 -0
- package/dist/devices/smlight.js.map +1 -0
- package/dist/devices/soanalarm.d.ts +3 -0
- package/dist/devices/soanalarm.d.ts.map +1 -0
- package/dist/devices/soanalarm.js +58 -0
- package/dist/devices/soanalarm.js.map +1 -0
- package/dist/devices/sohan_electric.d.ts +3 -0
- package/dist/devices/sohan_electric.d.ts.map +1 -0
- package/dist/devices/sohan_electric.js +49 -0
- package/dist/devices/sohan_electric.js.map +1 -0
- package/dist/devices/solaredge.d.ts +3 -0
- package/dist/devices/solaredge.d.ts.map +1 -0
- package/dist/devices/solaredge.js +47 -0
- package/dist/devices/solaredge.js.map +1 -0
- package/dist/devices/soma.d.ts +3 -0
- package/dist/devices/soma.d.ts.map +1 -0
- package/dist/devices/soma.js +47 -0
- package/dist/devices/soma.js.map +1 -0
- package/dist/devices/somfy.d.ts +3 -0
- package/dist/devices/somfy.d.ts.map +1 -0
- package/dist/devices/somfy.js +173 -0
- package/dist/devices/somfy.js.map +1 -0
- package/dist/devices/somgoms.d.ts +3 -0
- package/dist/devices/somgoms.d.ts.map +1 -0
- package/dist/devices/somgoms.js +80 -0
- package/dist/devices/somgoms.js.map +1 -0
- package/dist/devices/sonoff.d.ts +42 -0
- package/dist/devices/sonoff.d.ts.map +1 -0
- package/dist/devices/sonoff.js +4921 -0
- package/dist/devices/sonoff.js.map +1 -0
- package/dist/devices/sowilo.d.ts +3 -0
- package/dist/devices/sowilo.d.ts.map +1 -0
- package/dist/devices/sowilo.js +47 -0
- package/dist/devices/sowilo.js.map +1 -0
- package/dist/devices/spacetronik.d.ts +3 -0
- package/dist/devices/spacetronik.d.ts.map +1 -0
- package/dist/devices/spacetronik.js +53 -0
- package/dist/devices/spacetronik.js.map +1 -0
- package/dist/devices/spotmau.d.ts +3 -0
- package/dist/devices/spotmau.d.ts.map +1 -0
- package/dist/devices/spotmau.js +74 -0
- package/dist/devices/spotmau.js.map +1 -0
- package/dist/devices/sprut.d.ts +3 -0
- package/dist/devices/sprut.d.ts.map +1 -0
- package/dist/devices/sprut.js +328 -0
- package/dist/devices/sprut.js.map +1 -0
- package/dist/devices/stello.d.ts +3 -0
- package/dist/devices/stello.d.ts.map +1 -0
- package/dist/devices/stello.js +142 -0
- package/dist/devices/stello.js.map +1 -0
- package/dist/devices/stelpro.d.ts +3 -0
- package/dist/devices/stelpro.d.ts.map +1 -0
- package/dist/devices/stelpro.js +376 -0
- package/dist/devices/stelpro.js.map +1 -0
- package/dist/devices/sunricher.d.ts +30 -0
- package/dist/devices/sunricher.d.ts.map +1 -0
- package/dist/devices/sunricher.js +2337 -0
- package/dist/devices/sunricher.js.map +1 -0
- package/dist/devices/superled.d.ts +3 -0
- package/dist/devices/superled.d.ts.map +1 -0
- package/dist/devices/superled.js +47 -0
- package/dist/devices/superled.js.map +1 -0
- package/dist/devices/swann.d.ts +3 -0
- package/dist/devices/swann.d.ts.map +1 -0
- package/dist/devices/swann.js +69 -0
- package/dist/devices/swann.js.map +1 -0
- package/dist/devices/sylvania.d.ts +3 -0
- package/dist/devices/sylvania.d.ts.map +1 -0
- package/dist/devices/sylvania.js +223 -0
- package/dist/devices/sylvania.js.map +1 -0
- package/dist/devices/tapestry.d.ts +3 -0
- package/dist/devices/tapestry.d.ts.map +1 -0
- package/dist/devices/tapestry.js +52 -0
- package/dist/devices/tapestry.js.map +1 -0
- package/dist/devices/task_lighting.d.ts +3 -0
- package/dist/devices/task_lighting.d.ts.map +1 -0
- package/dist/devices/task_lighting.js +47 -0
- package/dist/devices/task_lighting.js.map +1 -0
- package/dist/devices/tci.d.ts +3 -0
- package/dist/devices/tci.d.ts.map +1 -0
- package/dist/devices/tci.js +68 -0
- package/dist/devices/tci.js.map +1 -0
- package/dist/devices/tcl.d.ts +3 -0
- package/dist/devices/tcl.d.ts.map +1 -0
- package/dist/devices/tcl.js +47 -0
- package/dist/devices/tcl.js.map +1 -0
- package/dist/devices/tech.d.ts +3 -0
- package/dist/devices/tech.d.ts.map +1 -0
- package/dist/devices/tech.js +213 -0
- package/dist/devices/tech.js.map +1 -0
- package/dist/devices/technicolor.d.ts +3 -0
- package/dist/devices/technicolor.d.ts.map +1 -0
- package/dist/devices/technicolor.js +85 -0
- package/dist/devices/technicolor.js.map +1 -0
- package/dist/devices/terncy.d.ts +3 -0
- package/dist/devices/terncy.d.ts.map +1 -0
- package/dist/devices/terncy.js +192 -0
- package/dist/devices/terncy.js.map +1 -0
- package/dist/devices/the_light_group.d.ts +3 -0
- package/dist/devices/the_light_group.d.ts.map +1 -0
- package/dist/devices/the_light_group.js +145 -0
- package/dist/devices/the_light_group.js.map +1 -0
- package/dist/devices/third_reality.d.ts +3 -0
- package/dist/devices/third_reality.d.ts.map +1 -0
- package/dist/devices/third_reality.js +1067 -0
- package/dist/devices/third_reality.js.map +1 -0
- package/dist/devices/tis_control.d.ts +3 -0
- package/dist/devices/tis_control.d.ts.map +1 -0
- package/dist/devices/tis_control.js +47 -0
- package/dist/devices/tis_control.js.map +1 -0
- package/dist/devices/titan_products.d.ts +3 -0
- package/dist/devices/titan_products.d.ts.map +1 -0
- package/dist/devices/titan_products.js +58 -0
- package/dist/devices/titan_products.js.map +1 -0
- package/dist/devices/tlwglobal.d.ts +3 -0
- package/dist/devices/tlwglobal.d.ts.map +1 -0
- package/dist/devices/tlwglobal.js +64 -0
- package/dist/devices/tlwglobal.js.map +1 -0
- package/dist/devices/tnce.d.ts +3 -0
- package/dist/devices/tnce.d.ts.map +1 -0
- package/dist/devices/tnce.js +54 -0
- package/dist/devices/tnce.js.map +1 -0
- package/dist/devices/tplink.d.ts +3 -0
- package/dist/devices/tplink.d.ts.map +1 -0
- package/dist/devices/tplink.js +77 -0
- package/dist/devices/tplink.js.map +1 -0
- package/dist/devices/trust.d.ts +3 -0
- package/dist/devices/trust.d.ts.map +1 -0
- package/dist/devices/trust.js +180 -0
- package/dist/devices/trust.js.map +1 -0
- package/dist/devices/tubeszb.d.ts +3 -0
- package/dist/devices/tubeszb.d.ts.map +1 -0
- package/dist/devices/tubeszb.js +56 -0
- package/dist/devices/tubeszb.js.map +1 -0
- package/dist/devices/tuya.d.ts +3 -0
- package/dist/devices/tuya.d.ts.map +1 -0
- package/dist/devices/tuya.js +24771 -0
- package/dist/devices/tuya.js.map +1 -0
- package/dist/devices/ubisys.d.ts +3 -0
- package/dist/devices/ubisys.d.ts.map +1 -0
- package/dist/devices/ubisys.js +1295 -0
- package/dist/devices/ubisys.js.map +1 -0
- package/dist/devices/uhome.d.ts +3 -0
- package/dist/devices/uhome.d.ts.map +1 -0
- package/dist/devices/uhome.js +60 -0
- package/dist/devices/uhome.js.map +1 -0
- package/dist/devices/universal_electronics_inc.d.ts +3 -0
- package/dist/devices/universal_electronics_inc.d.ts.map +1 -0
- package/dist/devices/universal_electronics_inc.js +156 -0
- package/dist/devices/universal_electronics_inc.js.map +1 -0
- package/dist/devices/vav.d.ts +3 -0
- package/dist/devices/vav.d.ts.map +1 -0
- package/dist/devices/vav.js +57 -0
- package/dist/devices/vav.js.map +1 -0
- package/dist/devices/vbled.d.ts +3 -0
- package/dist/devices/vbled.d.ts.map +1 -0
- package/dist/devices/vbled.js +47 -0
- package/dist/devices/vbled.js.map +1 -0
- package/dist/devices/vesternet.d.ts +3 -0
- package/dist/devices/vesternet.d.ts.map +1 -0
- package/dist/devices/vesternet.js +355 -0
- package/dist/devices/vesternet.js.map +1 -0
- package/dist/devices/viessmann.d.ts +3 -0
- package/dist/devices/viessmann.d.ts.map +1 -0
- package/dist/devices/viessmann.js +120 -0
- package/dist/devices/viessmann.js.map +1 -0
- package/dist/devices/villeroy_boch.d.ts +3 -0
- package/dist/devices/villeroy_boch.d.ts.map +1 -0
- package/dist/devices/villeroy_boch.js +54 -0
- package/dist/devices/villeroy_boch.js.map +1 -0
- package/dist/devices/vimar.d.ts +3 -0
- package/dist/devices/vimar.d.ts.map +1 -0
- package/dist/devices/vimar.js +140 -0
- package/dist/devices/vimar.js.map +1 -0
- package/dist/devices/visonic.d.ts +3 -0
- package/dist/devices/visonic.d.ts.map +1 -0
- package/dist/devices/visonic.js +134 -0
- package/dist/devices/visonic.js.map +1 -0
- package/dist/devices/vrey.d.ts +3 -0
- package/dist/devices/vrey.d.ts.map +1 -0
- package/dist/devices/vrey.js +48 -0
- package/dist/devices/vrey.js.map +1 -0
- package/dist/devices/vsmart.d.ts +3 -0
- package/dist/devices/vsmart.d.ts.map +1 -0
- package/dist/devices/vsmart.js +442 -0
- package/dist/devices/vsmart.js.map +1 -0
- package/dist/devices/wally.d.ts +3 -0
- package/dist/devices/wally.d.ts.map +1 -0
- package/dist/devices/wally.js +60 -0
- package/dist/devices/wally.js.map +1 -0
- package/dist/devices/waxman.d.ts +3 -0
- package/dist/devices/waxman.d.ts.map +1 -0
- package/dist/devices/waxman.js +83 -0
- package/dist/devices/waxman.js.map +1 -0
- package/dist/devices/weiser.d.ts +3 -0
- package/dist/devices/weiser.d.ts.map +1 -0
- package/dist/devices/weiser.js +54 -0
- package/dist/devices/weiser.js.map +1 -0
- package/dist/devices/weten.d.ts +3 -0
- package/dist/devices/weten.d.ts.map +1 -0
- package/dist/devices/weten.js +83 -0
- package/dist/devices/weten.js.map +1 -0
- package/dist/devices/wirenboard.d.ts +3 -0
- package/dist/devices/wirenboard.d.ts.map +1 -0
- package/dist/devices/wirenboard.js +715 -0
- package/dist/devices/wirenboard.js.map +1 -0
- package/dist/devices/wisdom.d.ts +3 -0
- package/dist/devices/wisdom.d.ts.map +1 -0
- package/dist/devices/wisdom.js +47 -0
- package/dist/devices/wisdom.js.map +1 -0
- package/dist/devices/wmun.d.ts +3 -0
- package/dist/devices/wmun.d.ts.map +1 -0
- package/dist/devices/wmun.js +61 -0
- package/dist/devices/wmun.js.map +1 -0
- package/dist/devices/woolley.d.ts +3 -0
- package/dist/devices/woolley.d.ts.map +1 -0
- package/dist/devices/woolley.js +96 -0
- package/dist/devices/woolley.js.map +1 -0
- package/dist/devices/woox.d.ts +3 -0
- package/dist/devices/woox.d.ts.map +1 -0
- package/dist/devices/woox.js +194 -0
- package/dist/devices/woox.js.map +1 -0
- package/dist/devices/wyze.d.ts +3 -0
- package/dist/devices/wyze.d.ts.map +1 -0
- package/dist/devices/wyze.js +59 -0
- package/dist/devices/wyze.js.map +1 -0
- package/dist/devices/xal.d.ts +3 -0
- package/dist/devices/xal.d.ts.map +1 -0
- package/dist/devices/xal.js +61 -0
- package/dist/devices/xal.js.map +1 -0
- package/dist/devices/xenon.d.ts +4 -0
- package/dist/devices/xenon.d.ts.map +1 -0
- package/dist/devices/xenon.js +65 -0
- package/dist/devices/xenon.js.map +1 -0
- package/dist/devices/xinghuoyuan.d.ts +3 -0
- package/dist/devices/xinghuoyuan.d.ts.map +1 -0
- package/dist/devices/xinghuoyuan.js +47 -0
- package/dist/devices/xinghuoyuan.js.map +1 -0
- package/dist/devices/xyzroe.d.ts +3 -0
- package/dist/devices/xyzroe.d.ts.map +1 -0
- package/dist/devices/xyzroe.js +511 -0
- package/dist/devices/xyzroe.js.map +1 -0
- package/dist/devices/yale.d.ts +3 -0
- package/dist/devices/yale.d.ts.map +1 -0
- package/dist/devices/yale.js +686 -0
- package/dist/devices/yale.js.map +1 -0
- package/dist/devices/yandex.d.ts +3 -0
- package/dist/devices/yandex.d.ts.map +1 -0
- package/dist/devices/yandex.js +677 -0
- package/dist/devices/yandex.js.map +1 -0
- package/dist/devices/ynoa.d.ts +3 -0
- package/dist/devices/ynoa.d.ts.map +1 -0
- package/dist/devices/ynoa.js +116 -0
- package/dist/devices/ynoa.js.map +1 -0
- package/dist/devices/yokis.d.ts +3 -0
- package/dist/devices/yokis.d.ts.map +1 -0
- package/dist/devices/yokis.js +2972 -0
- package/dist/devices/yokis.js.map +1 -0
- package/dist/devices/yookee.d.ts +3 -0
- package/dist/devices/yookee.d.ts.map +1 -0
- package/dist/devices/yookee.js +59 -0
- package/dist/devices/yookee.js.map +1 -0
- package/dist/devices/ysrsai.d.ts +3 -0
- package/dist/devices/ysrsai.d.ts.map +1 -0
- package/dist/devices/ysrsai.js +68 -0
- package/dist/devices/ysrsai.js.map +1 -0
- package/dist/devices/zbeacon.d.ts +3 -0
- package/dist/devices/zbeacon.d.ts.map +1 -0
- package/dist/devices/zbeacon.js +54 -0
- package/dist/devices/zbeacon.js.map +1 -0
- package/dist/devices/zemismart.d.ts +3 -0
- package/dist/devices/zemismart.d.ts.map +1 -0
- package/dist/devices/zemismart.js +1061 -0
- package/dist/devices/zemismart.js.map +1 -0
- package/dist/devices/zen.d.ts +3 -0
- package/dist/devices/zen.d.ts.map +1 -0
- package/dist/devices/zen.js +93 -0
- package/dist/devices/zen.js.map +1 -0
- package/dist/devices/zigbeetlc.d.ts +3 -0
- package/dist/devices/zigbeetlc.d.ts.map +1 -0
- package/dist/devices/zigbeetlc.js +374 -0
- package/dist/devices/zigbeetlc.js.map +1 -0
- package/dist/devices/zipato.d.ts +3 -0
- package/dist/devices/zipato.d.ts.map +1 -0
- package/dist/devices/zipato.js +47 -0
- package/dist/devices/zipato.js.map +1 -0
- package/dist/devices/zunzunbee.d.ts +3 -0
- package/dist/devices/zunzunbee.d.ts.map +1 -0
- package/dist/devices/zunzunbee.js +97 -0
- package/dist/devices/zunzunbee.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/indexer.d.ts +5 -0
- package/dist/indexer.d.ts.map +1 -0
- package/dist/indexer.js +135 -0
- package/dist/indexer.js.map +1 -0
- package/dist/lib/adurosmart.d.ts +15 -0
- package/dist/lib/adurosmart.d.ts.map +1 -0
- package/dist/lib/adurosmart.js +669 -0
- package/dist/lib/adurosmart.js.map +1 -0
- package/dist/lib/bosch.d.ts +353 -0
- package/dist/lib/bosch.d.ts.map +1 -0
- package/dist/lib/bosch.js +3163 -0
- package/dist/lib/bosch.js.map +1 -0
- package/dist/lib/color.d.ts +272 -0
- package/dist/lib/color.d.ts.map +1 -0
- package/dist/lib/color.js +766 -0
- package/dist/lib/color.js.map +1 -0
- package/dist/lib/constants.d.ts +78 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +317 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/develco.d.ts +50 -0
- package/dist/lib/develco.d.ts.map +1 -0
- package/dist/lib/develco.js +433 -0
- package/dist/lib/develco.js.map +1 -0
- package/dist/lib/ewelink.d.ts +30 -0
- package/dist/lib/ewelink.d.ts.map +1 -0
- package/dist/lib/ewelink.js +722 -0
- package/dist/lib/ewelink.js.map +1 -0
- package/dist/lib/exposes.d.ts +376 -0
- package/dist/lib/exposes.d.ts.map +1 -0
- package/dist/lib/exposes.js +1136 -0
- package/dist/lib/exposes.js.map +1 -0
- package/dist/lib/generateDefinition.d.ts +10 -0
- package/dist/lib/generateDefinition.d.ts.map +1 -0
- package/dist/lib/generateDefinition.js +773 -0
- package/dist/lib/generateDefinition.js.map +1 -0
- package/dist/lib/heiman.d.ts +92 -0
- package/dist/lib/heiman.d.ts.map +1 -0
- package/dist/lib/heiman.js +211 -0
- package/dist/lib/heiman.js.map +1 -0
- package/dist/lib/ikea.d.ts +106 -0
- package/dist/lib/ikea.d.ts.map +1 -0
- package/dist/lib/ikea.js +984 -0
- package/dist/lib/ikea.js.map +1 -0
- package/dist/lib/kelvinToXy.d.ts +8 -0
- package/dist/lib/kelvinToXy.d.ts.map +1 -0
- package/dist/lib/kelvinToXy.js +1913 -0
- package/dist/lib/kelvinToXy.js.map +1 -0
- package/dist/lib/ledvance.d.ts +20 -0
- package/dist/lib/ledvance.d.ts.map +1 -0
- package/dist/lib/ledvance.js +100 -0
- package/dist/lib/ledvance.js.map +1 -0
- package/dist/lib/legacy.d.ts +5197 -0
- package/dist/lib/legacy.d.ts.map +1 -0
- package/dist/lib/legacy.js +6865 -0
- package/dist/lib/legacy.js.map +1 -0
- package/dist/lib/legrand.d.ts +132 -0
- package/dist/lib/legrand.d.ts.map +1 -0
- package/dist/lib/legrand.js +404 -0
- package/dist/lib/legrand.js.map +1 -0
- package/dist/lib/light.d.ts +9 -0
- package/dist/lib/light.d.ts.map +1 -0
- package/dist/lib/light.js +144 -0
- package/dist/lib/light.js.map +1 -0
- package/dist/lib/logger.d.ts +4 -0
- package/dist/lib/logger.d.ts.map +1 -0
- package/dist/lib/logger.js +14 -0
- package/dist/lib/logger.js.map +1 -0
- package/dist/lib/lumi.d.ts +1093 -0
- package/dist/lib/lumi.d.ts.map +1 -0
- package/dist/lib/lumi.js +6479 -0
- package/dist/lib/lumi.js.map +1 -0
- package/dist/lib/modernExtend.d.ts +436 -0
- package/dist/lib/modernExtend.d.ts.map +1 -0
- package/dist/lib/modernExtend.js +2702 -0
- package/dist/lib/modernExtend.js.map +1 -0
- package/dist/lib/namron.d.ts +56 -0
- package/dist/lib/namron.d.ts.map +1 -0
- package/dist/lib/namron.js +433 -0
- package/dist/lib/namron.js.map +1 -0
- package/dist/lib/nodon.d.ts +3 -0
- package/dist/lib/nodon.d.ts.map +1 -0
- package/dist/lib/nodon.js +130 -0
- package/dist/lib/nodon.js.map +1 -0
- package/dist/lib/philips.d.ts +321 -0
- package/dist/lib/philips.d.ts.map +1 -0
- package/dist/lib/philips.js +876 -0
- package/dist/lib/philips.js.map +1 -0
- package/dist/lib/reporting.d.ts +57 -0
- package/dist/lib/reporting.d.ts.map +1 -0
- package/dist/lib/reporting.js +294 -0
- package/dist/lib/reporting.js.map +1 -0
- package/dist/lib/sonoff.d.ts +30 -0
- package/dist/lib/sonoff.d.ts.map +1 -0
- package/dist/lib/sonoff.js +91 -0
- package/dist/lib/sonoff.js.map +1 -0
- package/dist/lib/store.d.ts +7 -0
- package/dist/lib/store.d.ts.map +1 -0
- package/dist/lib/store.js +59 -0
- package/dist/lib/store.js.map +1 -0
- package/dist/lib/sunricher.d.ts +29 -0
- package/dist/lib/sunricher.d.ts.map +1 -0
- package/dist/lib/sunricher.js +838 -0
- package/dist/lib/sunricher.js.map +1 -0
- package/dist/lib/tuya.d.ts +998 -0
- package/dist/lib/tuya.d.ts.map +1 -0
- package/dist/lib/tuya.js +3043 -0
- package/dist/lib/tuya.js.map +1 -0
- package/dist/lib/types.d.ts +429 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/types.js +3 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/ubisys.d.ts +107 -0
- package/dist/lib/ubisys.d.ts.map +1 -0
- package/dist/lib/ubisys.js +576 -0
- package/dist/lib/ubisys.js.map +1 -0
- package/dist/lib/utils.d.ts +95 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +736 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/zosung.d.ts +52 -0
- package/dist/lib/zosung.d.ts.map +1 -0
- package/dist/lib/zosung.js +264 -0
- package/dist/lib/zosung.js.map +1 -0
- package/dist/models-index.json +1 -0
- package/package.json +2 -8
|
@@ -0,0 +1,2474 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.definitions = void 0;
|
|
37
|
+
const zigbee_herdsman_1 = require("@willieee802/zigbee-herdsman");
|
|
38
|
+
const fz = __importStar(require("../converters/fromZigbee"));
|
|
39
|
+
const tz = __importStar(require("../converters/toZigbee"));
|
|
40
|
+
const exposes = __importStar(require("../lib/exposes"));
|
|
41
|
+
const m = __importStar(require("../lib/modernExtend"));
|
|
42
|
+
const reporting = __importStar(require("../lib/reporting"));
|
|
43
|
+
const utils = __importStar(require("../lib/utils"));
|
|
44
|
+
const e = exposes.presets;
|
|
45
|
+
const ea = exposes.access;
|
|
46
|
+
const clickLookup = {
|
|
47
|
+
0: "single",
|
|
48
|
+
1: "release",
|
|
49
|
+
2: "held",
|
|
50
|
+
3: "double",
|
|
51
|
+
4: "triple",
|
|
52
|
+
5: "quadruple",
|
|
53
|
+
6: "quintuple",
|
|
54
|
+
};
|
|
55
|
+
const buttonLookup = {
|
|
56
|
+
1: "down",
|
|
57
|
+
2: "up",
|
|
58
|
+
3: "config",
|
|
59
|
+
4: "aux_down",
|
|
60
|
+
5: "aux_up",
|
|
61
|
+
6: "aux_config",
|
|
62
|
+
};
|
|
63
|
+
const ledEffects = {
|
|
64
|
+
off: 0,
|
|
65
|
+
solid: 1,
|
|
66
|
+
fast_blink: 2,
|
|
67
|
+
slow_blink: 3,
|
|
68
|
+
pulse: 4,
|
|
69
|
+
chase: 5,
|
|
70
|
+
open_close: 6,
|
|
71
|
+
small_to_big: 7,
|
|
72
|
+
aurora: 8,
|
|
73
|
+
slow_falling: 9,
|
|
74
|
+
medium_falling: 10,
|
|
75
|
+
fast_falling: 11,
|
|
76
|
+
slow_rising: 12,
|
|
77
|
+
medium_rising: 13,
|
|
78
|
+
fast_rising: 14,
|
|
79
|
+
medium_blink: 15,
|
|
80
|
+
slow_chase: 16,
|
|
81
|
+
fast_chase: 17,
|
|
82
|
+
fast_siren: 18,
|
|
83
|
+
slow_siren: 19,
|
|
84
|
+
clear_effect: 255,
|
|
85
|
+
};
|
|
86
|
+
const individualLedEffects = {
|
|
87
|
+
off: 0,
|
|
88
|
+
solid: 1,
|
|
89
|
+
fast_blink: 2,
|
|
90
|
+
slow_blink: 3,
|
|
91
|
+
pulse: 4,
|
|
92
|
+
chase: 5,
|
|
93
|
+
falling: 6,
|
|
94
|
+
rising: 7,
|
|
95
|
+
aurora: 8,
|
|
96
|
+
clear_effect: 255,
|
|
97
|
+
};
|
|
98
|
+
const mmWaveControlCommands = {
|
|
99
|
+
reset_mmwave_module: 0,
|
|
100
|
+
set_interference: 1,
|
|
101
|
+
query_areas: 2,
|
|
102
|
+
clear_interference: 3,
|
|
103
|
+
reset_detection_area: 4,
|
|
104
|
+
clear_stay_areas: 5,
|
|
105
|
+
};
|
|
106
|
+
const INOVELLI_CLUSTER_NAME = "manuSpecificInovelli";
|
|
107
|
+
const INOVELLI_MMWAVE_CLUSTER_NAME = "manuSpecificInovelliMMWave";
|
|
108
|
+
const inovelliExtend = {
|
|
109
|
+
addCustomClusterInovelli: () => m.deviceAddCustomCluster(INOVELLI_CLUSTER_NAME, {
|
|
110
|
+
ID: 64561,
|
|
111
|
+
manufacturerCode: 0x122f,
|
|
112
|
+
attributes: {
|
|
113
|
+
dimmingSpeedUpRemote: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
114
|
+
dimmingSpeedUpLocal: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
115
|
+
rampRateOffToOnRemote: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
116
|
+
rampRateOffToOnLocal: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
117
|
+
dimmingSpeedDownRemote: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
118
|
+
dimmingSpeedDownLocal: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
119
|
+
rampRateOnToOffRemote: { ID: 0x0007, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
120
|
+
rampRateOnToOffLocal: { ID: 0x0008, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
121
|
+
minimumLevel: { ID: 0x0009, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
122
|
+
maximumLevel: { ID: 0x000a, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
123
|
+
invertSwitch: { ID: 0x000b, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
124
|
+
autoTimerOff: { ID: 0x000c, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
|
|
125
|
+
defaultLevelLocal: { ID: 0x000d, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
126
|
+
defaultLevelRemote: { ID: 0x000e, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
127
|
+
stateAfterPowerRestored: { ID: 0x000f, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
128
|
+
loadLevelIndicatorTimeout: { ID: 0x0011, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
129
|
+
activePowerReports: { ID: 0x0012, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
130
|
+
periodicPowerAndEnergyReports: { ID: 0x0013, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
|
|
131
|
+
activeEnergyReports: { ID: 0x0014, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
|
|
132
|
+
powerType: { ID: 0x0015, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
133
|
+
switchType: { ID: 0x0016, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
134
|
+
quickStartTime: { ID: 0x0017, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
135
|
+
quickStartLevel: { ID: 0x0018, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
136
|
+
higherOutputInNonNeutral: { ID: 0x0019, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
137
|
+
dimmingMode: { ID: 0x001a, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
138
|
+
nonNeutralAuxMediumGear: { ID: 0x001e, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
139
|
+
nonNeutralAuxLowGear: { ID: 0x001f, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
140
|
+
internalTemperature: { ID: 0x0020, type: zigbee_herdsman_1.Zcl.DataType.INT8, write: true, max: 0xff },
|
|
141
|
+
overheat: { ID: 0x0021, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
142
|
+
otaImageType: { ID: 0x0022, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
143
|
+
buttonDelay: { ID: 0x0032, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
144
|
+
deviceBindNumber: { ID: 0x0033, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
145
|
+
smartBulbMode: { ID: 0x0034, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
146
|
+
doubleTapUpToParam55: { ID: 0x0035, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
147
|
+
doubleTapDownToParam56: { ID: 0x0036, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
148
|
+
brightnessLevelForDoubleTapUp: { ID: 0x0037, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
149
|
+
brightnessLevelForDoubleTapDown: { ID: 0x0038, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
150
|
+
defaultLed1ColorWhenOn: { ID: 0x003c, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
151
|
+
defaultLed1ColorWhenOff: { ID: 0x003d, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
152
|
+
defaultLed1IntensityWhenOn: { ID: 0x003e, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
153
|
+
defaultLed1IntensityWhenOff: { ID: 0x003f, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
154
|
+
defaultLed2ColorWhenOn: { ID: 0x0041, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
155
|
+
defaultLed2ColorWhenOff: { ID: 0x0042, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
156
|
+
defaultLed2IntensityWhenOn: { ID: 0x0043, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
157
|
+
defaultLed2IntensityWhenOff: { ID: 0x0044, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
158
|
+
defaultLed3ColorWhenOn: { ID: 0x0046, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
159
|
+
defaultLed3ColorWhenOff: { ID: 0x0047, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
160
|
+
defaultLed3IntensityWhenOn: { ID: 0x0048, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
161
|
+
defaultLed3IntensityWhenOff: { ID: 0x0049, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
162
|
+
defaultLed4ColorWhenOn: { ID: 0x004b, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
163
|
+
defaultLed4ColorWhenOff: { ID: 0x004c, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
164
|
+
defaultLed4IntensityWhenOn: { ID: 0x004d, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
165
|
+
defaultLed4IntensityWhenOff: { ID: 0x004e, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
166
|
+
defaultLed5ColorWhenOn: { ID: 0x0050, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
167
|
+
defaultLed5ColorWhenOff: { ID: 0x0051, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
168
|
+
defaultLed5IntensityWhenOn: { ID: 0x0052, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
169
|
+
defaultLed5IntensityWhenOff: { ID: 0x0053, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
170
|
+
defaultLed6ColorWhenOn: { ID: 0x0055, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
171
|
+
defaultLed6ColorWhenOff: { ID: 0x0056, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
172
|
+
defaultLed6IntensityWhenOn: { ID: 0x0057, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
173
|
+
defaultLed6IntensityWhenOff: { ID: 0x0058, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
174
|
+
defaultLed7ColorWhenOn: { ID: 0x005a, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
175
|
+
defaultLed7ColorWhenOff: { ID: 0x005b, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
176
|
+
defaultLed7IntensityWhenOn: { ID: 0x005c, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
177
|
+
defaultLed7IntensityWhenOff: { ID: 0x005d, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
178
|
+
ledColorWhenOn: { ID: 0x005f, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
179
|
+
ledColorWhenOff: { ID: 0x060, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
180
|
+
ledIntensityWhenOn: { ID: 0x0061, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
181
|
+
ledIntensityWhenOff: { ID: 0x0062, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
182
|
+
ledBarScaling: { ID: 0x0064, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
183
|
+
mmwaveControlWiredDevice: { ID: 0x006e, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
184
|
+
mmWaveRoomSizePreset: { ID: 0x0075, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
185
|
+
singleTapBehavior: { ID: 0x0078, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
186
|
+
fanTimerMode: { ID: 0x0079, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
187
|
+
auxSwitchUniqueScenes: { ID: 0x007b, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
188
|
+
bindingOffToOnSyncLevel: { ID: 0x007d, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
189
|
+
breezeMode: { ID: 0x0081, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff },
|
|
190
|
+
fanControlMode: { ID: 0x0082, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
191
|
+
lowLevelForFanControlMode: { ID: 0x0083, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
192
|
+
mediumLevelForFanControlMode: { ID: 0x0084, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
193
|
+
highLevelForFanControlMode: { ID: 0x0085, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
194
|
+
ledColorForFanControlMode: { ID: 0x0086, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
195
|
+
localProtection: { ID: 0x0100, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
196
|
+
remoteProtection: { ID: 0x0101, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
197
|
+
outputMode: { ID: 0x0102, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
198
|
+
onOffLedMode: { ID: 0x0103, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
199
|
+
firmwareUpdateInProgressIndicator: { ID: 0x0104, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
200
|
+
relayClick: { ID: 0x105, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
201
|
+
doubleTapClearNotifications: { ID: 0x106, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true },
|
|
202
|
+
fanLedLevelType: { ID: 0x0107, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
203
|
+
},
|
|
204
|
+
commands: {
|
|
205
|
+
ledEffect: {
|
|
206
|
+
ID: 1,
|
|
207
|
+
parameters: [
|
|
208
|
+
{ name: "effect", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
209
|
+
{ name: "color", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
210
|
+
{ name: "level", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
211
|
+
{ name: "duration", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
energyReset: {
|
|
215
|
+
ID: 2,
|
|
216
|
+
parameters: [],
|
|
217
|
+
},
|
|
218
|
+
individualLedEffect: {
|
|
219
|
+
ID: 3,
|
|
220
|
+
parameters: [
|
|
221
|
+
{ name: "led", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
222
|
+
{ name: "effect", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
223
|
+
{ name: "color", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
224
|
+
{ name: "level", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
225
|
+
{ name: "duration", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff },
|
|
226
|
+
],
|
|
227
|
+
},
|
|
228
|
+
ledEffectComplete: {
|
|
229
|
+
ID: 0x24,
|
|
230
|
+
parameters: [{ name: "notificationType", type: zigbee_herdsman_1.Zcl.DataType.INT8, min: -128 }],
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
commandsResponse: {},
|
|
234
|
+
}),
|
|
235
|
+
addCustomMMWaveClusterInovelli: () => {
|
|
236
|
+
const mmWaveCommandAreaParameters = [
|
|
237
|
+
{ name: "areaId", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 3 },
|
|
238
|
+
{ name: "xMin", type: zigbee_herdsman_1.Zcl.DataType.INT16, min: -600, max: 600 },
|
|
239
|
+
{ name: "xMax", type: zigbee_herdsman_1.Zcl.DataType.INT16, min: -600, max: 600 },
|
|
240
|
+
{ name: "yMin", type: zigbee_herdsman_1.Zcl.DataType.INT16, min: -600, max: 600 },
|
|
241
|
+
{ name: "yMax", type: zigbee_herdsman_1.Zcl.DataType.INT16, min: -600, max: 600 },
|
|
242
|
+
{ name: "zMin", type: zigbee_herdsman_1.Zcl.DataType.INT16, min: -600, max: 600 },
|
|
243
|
+
{ name: "zMax", type: zigbee_herdsman_1.Zcl.DataType.INT16, min: -600, max: 600 },
|
|
244
|
+
];
|
|
245
|
+
const mmWaveCommandResponseAreaParameters = [
|
|
246
|
+
{ name: "count", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
247
|
+
{ name: "xMin1", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
248
|
+
{ name: "xMax1", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
249
|
+
{ name: "yMin1", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
250
|
+
{ name: "yMax1", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
251
|
+
{ name: "zMin1", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
252
|
+
{ name: "zMax1", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
253
|
+
{ name: "xMin2", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
254
|
+
{ name: "xMax2", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
255
|
+
{ name: "yMin2", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
256
|
+
{ name: "yMax2", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
257
|
+
{ name: "zMin2", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
258
|
+
{ name: "zMax2", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
259
|
+
{ name: "xMin3", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
260
|
+
{ name: "xMax3", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
261
|
+
{ name: "yMin3", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
262
|
+
{ name: "yMax3", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
263
|
+
{ name: "zMin3", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
264
|
+
{ name: "zMax3", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
265
|
+
{ name: "xMin4", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
266
|
+
{ name: "xMax4", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
267
|
+
{ name: "yMin4", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
268
|
+
{ name: "yMax4", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
269
|
+
{ name: "zMin4", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
270
|
+
{ name: "zMax4", type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
271
|
+
];
|
|
272
|
+
return m.deviceAddCustomCluster(INOVELLI_MMWAVE_CLUSTER_NAME, {
|
|
273
|
+
ID: 64562, // 0xfc32
|
|
274
|
+
manufacturerCode: 0x122f,
|
|
275
|
+
attributes: {
|
|
276
|
+
mmWaveHoldTime: { ID: 0x0072, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff },
|
|
277
|
+
mmWaveDetectSensitivity: { ID: 0x0070, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
278
|
+
mmWaveDetectTrigger: { ID: 0x0071, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
279
|
+
mmWaveTargetInfoReport: { ID: 0x006b, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
|
|
280
|
+
mmWaveStayLife: { ID: 0x006c, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff },
|
|
281
|
+
mmWaveVersion: { ID: 0x0073, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff },
|
|
282
|
+
mmWaveHeightMin: { ID: 0x0065, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768 },
|
|
283
|
+
mmWaveHeightMax: { ID: 0x0066, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768 },
|
|
284
|
+
mmWaveWidthMin: { ID: 0x0067, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768 },
|
|
285
|
+
mmWaveWidthMax: { ID: 0x0068, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768 },
|
|
286
|
+
mmWaveDepthMin: { ID: 0x0069, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768 },
|
|
287
|
+
mmWaveDepthMax: { ID: 0x006a, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768 },
|
|
288
|
+
},
|
|
289
|
+
commands: {
|
|
290
|
+
mmWaveControl: {
|
|
291
|
+
ID: 0,
|
|
292
|
+
parameters: [{ name: "controlID", type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff }],
|
|
293
|
+
},
|
|
294
|
+
setInterferenceArea: {
|
|
295
|
+
ID: 1,
|
|
296
|
+
parameters: mmWaveCommandAreaParameters,
|
|
297
|
+
},
|
|
298
|
+
setDetectionArea: {
|
|
299
|
+
ID: 2,
|
|
300
|
+
parameters: mmWaveCommandAreaParameters,
|
|
301
|
+
},
|
|
302
|
+
setStayArea: {
|
|
303
|
+
ID: 3,
|
|
304
|
+
parameters: mmWaveCommandAreaParameters,
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
commandsResponse: {
|
|
308
|
+
anyoneInReportingArea: {
|
|
309
|
+
ID: 0,
|
|
310
|
+
parameters: [
|
|
311
|
+
{ name: "area1", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
312
|
+
{ name: "area2", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
313
|
+
{ name: "area3", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
314
|
+
{ name: "area4", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
315
|
+
],
|
|
316
|
+
},
|
|
317
|
+
reportInterferenceArea: {
|
|
318
|
+
ID: 2,
|
|
319
|
+
parameters: mmWaveCommandResponseAreaParameters,
|
|
320
|
+
},
|
|
321
|
+
reportDetectionArea: {
|
|
322
|
+
ID: 3,
|
|
323
|
+
parameters: mmWaveCommandResponseAreaParameters,
|
|
324
|
+
},
|
|
325
|
+
reportStayArea: {
|
|
326
|
+
ID: 4,
|
|
327
|
+
parameters: mmWaveCommandResponseAreaParameters,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
});
|
|
331
|
+
},
|
|
332
|
+
inovelliDevice: ({ attrs, supportsLedEffects, supportsButtonTaps, splitValuesByEndpoint = false, }) => {
|
|
333
|
+
// biome-ignore lint/suspicious/noExplicitAny: generic
|
|
334
|
+
const fromZigbee = [];
|
|
335
|
+
const toZigbee = [];
|
|
336
|
+
const exposes = [];
|
|
337
|
+
if (supportsLedEffects) {
|
|
338
|
+
fromZigbee.push(fzLocal.led_effect_complete);
|
|
339
|
+
toZigbee.push(tzLocal.inovelli_led_effect, tzLocal.inovelli_individual_led_effect);
|
|
340
|
+
exposes.push(exposeLedEffects(), exposeIndividualLedEffects(), exposeLedEffectComplete());
|
|
341
|
+
}
|
|
342
|
+
for (const attr of attrs) {
|
|
343
|
+
fromZigbee.push(fzLocal.inovelli(attr.attributes, attr.clusterName, splitValuesByEndpoint));
|
|
344
|
+
toZigbee.push(tzLocal.inovelli_parameters(attr.attributes, attr.clusterName), tzLocal.inovelli_parameters_readOnly(attr.attributes, attr.clusterName));
|
|
345
|
+
attributesToExposeList(attr.attributes, exposes);
|
|
346
|
+
}
|
|
347
|
+
if (supportsButtonTaps) {
|
|
348
|
+
exposes.push(e.action(BUTTON_TAP_SEQUENCES));
|
|
349
|
+
}
|
|
350
|
+
const configure = [
|
|
351
|
+
async (device, coordinatorEndpoint, definition) => {
|
|
352
|
+
const endpoint = device.getEndpoint(1);
|
|
353
|
+
await reporting.bind(endpoint, coordinatorEndpoint, [INOVELLI_CLUSTER_NAME]);
|
|
354
|
+
// Bind for Button Event Reporting
|
|
355
|
+
const endpoint2 = device.getEndpoint(2);
|
|
356
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, [INOVELLI_CLUSTER_NAME]);
|
|
357
|
+
for (const attr of attrs) {
|
|
358
|
+
if (!splitValuesByEndpoint) {
|
|
359
|
+
await chunkedRead(endpoint, Object.keys(attr.attributes), attr.clusterName);
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
await chunkedRead(endpoint, Object.keys(attr.attributes).flatMap((key) => {
|
|
363
|
+
const keysplit = key.split("_");
|
|
364
|
+
if (keysplit.length === 2) {
|
|
365
|
+
if (Number(keysplit[1]) === 1) {
|
|
366
|
+
return [keysplit[0]];
|
|
367
|
+
}
|
|
368
|
+
return [];
|
|
369
|
+
}
|
|
370
|
+
return [key];
|
|
371
|
+
}), attr.clusterName);
|
|
372
|
+
await chunkedRead(endpoint2, Object.keys(attr.attributes).flatMap((key) => {
|
|
373
|
+
const keysplit = key.split("_");
|
|
374
|
+
if (keysplit.length === 2) {
|
|
375
|
+
if (Number(keysplit[1]) === 2) {
|
|
376
|
+
return [keysplit[0]];
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
return [];
|
|
380
|
+
}), attr.clusterName);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
];
|
|
385
|
+
return {
|
|
386
|
+
fromZigbee,
|
|
387
|
+
toZigbee,
|
|
388
|
+
exposes,
|
|
389
|
+
configure,
|
|
390
|
+
isModernExtend: true,
|
|
391
|
+
};
|
|
392
|
+
},
|
|
393
|
+
inovelliLight: ({ splitValuesByEndpoint = false } = {}) => {
|
|
394
|
+
// biome-ignore lint/suspicious/noExplicitAny: generic
|
|
395
|
+
const fromZigbee = [fzLocal.on_off_for_endpoint(1, "state"), fzLocal.brightness];
|
|
396
|
+
if (!splitValuesByEndpoint) {
|
|
397
|
+
fromZigbee.push(fz.level_config, fz.power_on_behavior);
|
|
398
|
+
}
|
|
399
|
+
const configure = [
|
|
400
|
+
async (device, coordinatorEndpoint, definition) => {
|
|
401
|
+
const endpoint = device.getEndpoint(1);
|
|
402
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "genLevelCtrl"]);
|
|
403
|
+
await reporting.onOff(endpoint);
|
|
404
|
+
},
|
|
405
|
+
];
|
|
406
|
+
return {
|
|
407
|
+
fromZigbee,
|
|
408
|
+
toZigbee: [
|
|
409
|
+
tzLocal.light_onoff_brightness_inovelli,
|
|
410
|
+
tz.power_on_behavior,
|
|
411
|
+
tz.ignore_transition,
|
|
412
|
+
tz.light_brightness_move,
|
|
413
|
+
tz.light_brightness_step,
|
|
414
|
+
tz.level_config,
|
|
415
|
+
],
|
|
416
|
+
exposes: [e.light_brightness()],
|
|
417
|
+
configure,
|
|
418
|
+
isModernExtend: true,
|
|
419
|
+
};
|
|
420
|
+
},
|
|
421
|
+
inovelliFan: ({ endpointId, splitValuesByEndpoint = false }) => {
|
|
422
|
+
return {
|
|
423
|
+
fromZigbee: [fzLocal.fan_mode(endpointId), fzLocal.breeze_mode(endpointId), fzLocal.fan_state(endpointId)],
|
|
424
|
+
toZigbee: [tzLocal.fan_mode(endpointId), tzLocal.breezeMode(endpointId), tzLocal.fan_state(endpointId)],
|
|
425
|
+
exposes: [e.fan().withState("fan_state").withModes(Object.keys(FAN_MODES)), exposeBreezeMode()],
|
|
426
|
+
configure: [
|
|
427
|
+
async (device, coordinatorEndpoint, definition) => {
|
|
428
|
+
const endpoint = device.getEndpoint(endpointId);
|
|
429
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "genLevelCtrl"]);
|
|
430
|
+
await reporting.onOff(endpoint);
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
isModernExtend: true,
|
|
434
|
+
};
|
|
435
|
+
},
|
|
436
|
+
inovelliMMWave: () => {
|
|
437
|
+
const configure = [
|
|
438
|
+
async (device, coordinatorEndpoint, definition) => {
|
|
439
|
+
const endpoint = device.getEndpoint(1);
|
|
440
|
+
await reporting.bind(endpoint, coordinatorEndpoint, [INOVELLI_MMWAVE_CLUSTER_NAME]);
|
|
441
|
+
await endpoint.command(INOVELLI_MMWAVE_CLUSTER_NAME, "mmWaveControl", {
|
|
442
|
+
controlID: mmWaveControlCommands.query_areas,
|
|
443
|
+
}, { disableResponse: true, disableDefaultResponse: true });
|
|
444
|
+
},
|
|
445
|
+
];
|
|
446
|
+
return {
|
|
447
|
+
fromZigbee: [fzLocal.anyone_in_reporting_area, fzLocal.report_areas],
|
|
448
|
+
toZigbee: [
|
|
449
|
+
tzLocal.inovelli_mmwave_control_commands,
|
|
450
|
+
tzLocal.mmwave_detection_areas,
|
|
451
|
+
tzLocal.mmwave_interference_areas,
|
|
452
|
+
tzLocal.mmwave_stay_areas,
|
|
453
|
+
],
|
|
454
|
+
exposes: [exposeMMWaveControl(), ...exposeMMWaveAreas(), exposeInterferenceAreas(), exposeDetectionAreas(), exposeStayAreas()],
|
|
455
|
+
configure: configure,
|
|
456
|
+
isModernExtend: true,
|
|
457
|
+
};
|
|
458
|
+
},
|
|
459
|
+
inovelliEnergyReset: () => {
|
|
460
|
+
return {
|
|
461
|
+
fromZigbee: [],
|
|
462
|
+
toZigbee: [tzLocal.inovelli_energy_reset],
|
|
463
|
+
exposes: [exposeEnergyReset()],
|
|
464
|
+
configure: [],
|
|
465
|
+
isModernExtend: true,
|
|
466
|
+
};
|
|
467
|
+
},
|
|
468
|
+
};
|
|
469
|
+
const FAN_MODES = { off: 0, low: 2, smart: 4, medium: 86, high: 170, on: 255 };
|
|
470
|
+
const BREEZE_MODES = ["off", "low", "medium", "high"];
|
|
471
|
+
const LED_NOTIFICATION_TYPES = {
|
|
472
|
+
0: "LED_1",
|
|
473
|
+
1: "LED_2",
|
|
474
|
+
2: "LED_3",
|
|
475
|
+
3: "LED_4",
|
|
476
|
+
4: "LED_5",
|
|
477
|
+
5: "LED_6",
|
|
478
|
+
6: "LED_7",
|
|
479
|
+
16: "ALL_LEDS",
|
|
480
|
+
"-1": "CONFIG_BUTTON_DOUBLE_PRESS",
|
|
481
|
+
};
|
|
482
|
+
const INOVELLI = 0x122f;
|
|
483
|
+
// Converts brightness level to a fan mode
|
|
484
|
+
const intToFanMode = (value) => {
|
|
485
|
+
let selectedMode = "low";
|
|
486
|
+
if (value >= FAN_MODES.low) {
|
|
487
|
+
selectedMode = "low";
|
|
488
|
+
}
|
|
489
|
+
if (value >= FAN_MODES.medium) {
|
|
490
|
+
selectedMode = "medium";
|
|
491
|
+
}
|
|
492
|
+
if (value >= FAN_MODES.high) {
|
|
493
|
+
selectedMode = "high";
|
|
494
|
+
}
|
|
495
|
+
if (value === 4) {
|
|
496
|
+
selectedMode = "smart";
|
|
497
|
+
}
|
|
498
|
+
if (value === 0) {
|
|
499
|
+
selectedMode = "off";
|
|
500
|
+
}
|
|
501
|
+
return selectedMode;
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* Convert speed string to int needed for breeze mode calculation.
|
|
505
|
+
* @param speedIn - speed string
|
|
506
|
+
* @returns low = 1, medium = 2, high = 3, off = 0
|
|
507
|
+
*/
|
|
508
|
+
const speedToInt = (speedIn) => {
|
|
509
|
+
switch (speedIn) {
|
|
510
|
+
case "low":
|
|
511
|
+
return 1;
|
|
512
|
+
case "medium":
|
|
513
|
+
return 2;
|
|
514
|
+
case "high":
|
|
515
|
+
return 3;
|
|
516
|
+
default:
|
|
517
|
+
return 0;
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
// Create Expose list with Inovelli Parameters definitions
|
|
521
|
+
const attributesToExposeList = (attributes, exposesList) => {
|
|
522
|
+
Object.keys(attributes).forEach((key) => {
|
|
523
|
+
if (attributes[key].displayType === "enum") {
|
|
524
|
+
const enumE = e
|
|
525
|
+
.enum(key, attributes[key].readOnly ? ea.STATE_GET : ea.ALL, Object.keys(attributes[key].values))
|
|
526
|
+
.withDescription(attributes[key].description);
|
|
527
|
+
if (!attributes[key].readOnly) {
|
|
528
|
+
enumE.withCategory(attributes[key].category ?? "config");
|
|
529
|
+
}
|
|
530
|
+
exposesList.push(enumE);
|
|
531
|
+
}
|
|
532
|
+
else if (attributes[key].displayType === "binary" || attributes[key].displayType === "switch") {
|
|
533
|
+
const binary = e
|
|
534
|
+
.binary(key, attributes[key].readOnly ? ea.STATE_GET : ea.ALL,
|
|
535
|
+
// @ts-expect-error ignore
|
|
536
|
+
attributes[key].values.Enabled, attributes[key].values.Disabled)
|
|
537
|
+
.withDescription(attributes[key].description);
|
|
538
|
+
if (!attributes[key].readOnly) {
|
|
539
|
+
binary.withCategory(attributes[key].category ?? "config");
|
|
540
|
+
}
|
|
541
|
+
exposesList.push(binary);
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
const numeric = e
|
|
545
|
+
.numeric(key, attributes[key].readOnly ? ea.STATE_GET : ea.ALL)
|
|
546
|
+
.withValueMin(attributes[key].min)
|
|
547
|
+
.withValueMax(attributes[key].max);
|
|
548
|
+
if (attributes[key].values) {
|
|
549
|
+
Object.keys(attributes[key].values).forEach((value) => {
|
|
550
|
+
numeric.withPreset(value, attributes[key].values[value], "");
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
if (attributes[key].unit) {
|
|
554
|
+
numeric.withUnit(attributes[key].unit);
|
|
555
|
+
}
|
|
556
|
+
numeric.withDescription(attributes[key].description);
|
|
557
|
+
if (!attributes[key].readOnly) {
|
|
558
|
+
numeric.withCategory(attributes[key].category ?? "config");
|
|
559
|
+
}
|
|
560
|
+
exposesList.push(numeric);
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* Common Attributes
|
|
566
|
+
*
|
|
567
|
+
* These attributes are shared between all devices with the manufacturer specific Inovelli cluster
|
|
568
|
+
* Some of the descriptions, max, min or value properties may be overridden for each device
|
|
569
|
+
*/
|
|
570
|
+
const COMMON_ATTRIBUTES = {
|
|
571
|
+
dimmingSpeedUpRemote: {
|
|
572
|
+
ID: 1,
|
|
573
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
574
|
+
min: 0,
|
|
575
|
+
max: 127,
|
|
576
|
+
description: "This changes the speed that the light dims up when controlled from the hub. " +
|
|
577
|
+
"A setting of 0 turns the light immediately on. Increasing the value slows down the transition speed. " +
|
|
578
|
+
"Every number represents 100ms. Default = 25 (2.5s)",
|
|
579
|
+
},
|
|
580
|
+
dimmingSpeedUpLocal: {
|
|
581
|
+
ID: 2,
|
|
582
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
583
|
+
min: 0,
|
|
584
|
+
max: 127,
|
|
585
|
+
description: "This changes the speed that the light dims up when controlled at the switch. " +
|
|
586
|
+
"A setting of 0 turns the light immediately on. Increasing the value slows down the transition speed. " +
|
|
587
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpRemote setting.",
|
|
588
|
+
},
|
|
589
|
+
rampRateOffToOnRemote: {
|
|
590
|
+
ID: 3,
|
|
591
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
592
|
+
min: 0,
|
|
593
|
+
max: 127,
|
|
594
|
+
description: "This changes the speed that the light turns on when controlled from the hub. " +
|
|
595
|
+
"A setting of 0 turns the light immediately on. Increasing the value slows down the transition speed. " +
|
|
596
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpRemote setting.",
|
|
597
|
+
},
|
|
598
|
+
rampRateOffToOnLocal: {
|
|
599
|
+
ID: 4,
|
|
600
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
601
|
+
min: 0,
|
|
602
|
+
max: 127,
|
|
603
|
+
description: "This changes the speed that the light turns on when controlled at the switch. " +
|
|
604
|
+
"A setting of 0 turns the light immediately on. Increasing the value slows down the transition speed. " +
|
|
605
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpRemote setting.",
|
|
606
|
+
},
|
|
607
|
+
dimmingSpeedDownRemote: {
|
|
608
|
+
ID: 5,
|
|
609
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
610
|
+
min: 0,
|
|
611
|
+
max: 127,
|
|
612
|
+
description: "This changes the speed that the light dims down when controlled from the hub. " +
|
|
613
|
+
"A setting of 0 turns the light immediately off. Increasing the value slows down the transition speed. " +
|
|
614
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpRemote setting.",
|
|
615
|
+
},
|
|
616
|
+
dimmingSpeedDownLocal: {
|
|
617
|
+
ID: 6,
|
|
618
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
619
|
+
min: 0,
|
|
620
|
+
max: 127,
|
|
621
|
+
description: "This changes the speed that the light dims down when controlled at the switch. " +
|
|
622
|
+
"A setting of 0 turns the light immediately off. Increasing the value slows down the transition speed. " +
|
|
623
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpLocal setting.",
|
|
624
|
+
},
|
|
625
|
+
rampRateOnToOffRemote: {
|
|
626
|
+
ID: 7,
|
|
627
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
628
|
+
min: 0,
|
|
629
|
+
max: 127,
|
|
630
|
+
description: "This changes the speed that the light turns off when controlled from the hub. " +
|
|
631
|
+
"A setting of 'instant' turns the light immediately off. Increasing the value slows down the transition speed. " +
|
|
632
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with rampRateOffToOnRemote setting.",
|
|
633
|
+
},
|
|
634
|
+
rampRateOnToOffLocal: {
|
|
635
|
+
ID: 8,
|
|
636
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
637
|
+
min: 0,
|
|
638
|
+
max: 127,
|
|
639
|
+
description: "This changes the speed that the light turns off when controlled at the switch. " +
|
|
640
|
+
"A setting of 'instant' turns the light immediately off. Increasing the value slows down the transition speed. " +
|
|
641
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with rampRateOffToOnLocal setting.",
|
|
642
|
+
},
|
|
643
|
+
invertSwitch: {
|
|
644
|
+
ID: 11,
|
|
645
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
646
|
+
displayType: "enum",
|
|
647
|
+
values: { Yes: 1, No: 0 },
|
|
648
|
+
min: 0,
|
|
649
|
+
max: 1,
|
|
650
|
+
description: "Inverts the orientation of the switch." +
|
|
651
|
+
" Useful when the switch is installed upside down. Essentially up becomes down and down becomes up.",
|
|
652
|
+
},
|
|
653
|
+
autoTimerOff: {
|
|
654
|
+
ID: 12,
|
|
655
|
+
min: 0,
|
|
656
|
+
max: 32767,
|
|
657
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT16,
|
|
658
|
+
unit: "seconds",
|
|
659
|
+
values: { Disabled: 0 },
|
|
660
|
+
description: "Automatically turns the switch off after this many seconds." +
|
|
661
|
+
" When the switch is turned on a timer is started. When the timer expires, the switch is turned off. 0 = Auto off is disabled.",
|
|
662
|
+
},
|
|
663
|
+
defaultLevelLocal: {
|
|
664
|
+
ID: 13,
|
|
665
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
666
|
+
min: 0,
|
|
667
|
+
max: 255,
|
|
668
|
+
description: "Default level for the load when it is turned on at the switch." +
|
|
669
|
+
" A setting of 255 means that the switch will return to the level that it was on before it was turned off.",
|
|
670
|
+
},
|
|
671
|
+
defaultLevelRemote: {
|
|
672
|
+
ID: 14,
|
|
673
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
674
|
+
min: 0,
|
|
675
|
+
max: 255,
|
|
676
|
+
description: "Default level for the load when it is turned on from the hub." +
|
|
677
|
+
" A setting of 255 means that the switch will return to the level that it was on before it was turned off.",
|
|
678
|
+
},
|
|
679
|
+
stateAfterPowerRestored: {
|
|
680
|
+
ID: 15,
|
|
681
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
682
|
+
min: 0,
|
|
683
|
+
max: 255,
|
|
684
|
+
description: "The state the switch should return to when power is restored after power failure. 0 = off, 1-254 = level, 255 = previous.",
|
|
685
|
+
},
|
|
686
|
+
loadLevelIndicatorTimeout: {
|
|
687
|
+
ID: 17,
|
|
688
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
689
|
+
description: "Shows the level that the load is at for x number of seconds after the load is adjusted" +
|
|
690
|
+
" and then returns to the Default LED state. 0 = Stay Off, 1-10 = seconds, 11 = Stay On.",
|
|
691
|
+
displayType: "enum",
|
|
692
|
+
values: {
|
|
693
|
+
"Stay Off": 0,
|
|
694
|
+
"1 Second": 1,
|
|
695
|
+
"2 Seconds": 2,
|
|
696
|
+
"3 Seconds": 3,
|
|
697
|
+
"4 Seconds": 4,
|
|
698
|
+
"5 Seconds": 5,
|
|
699
|
+
"6 Seconds": 6,
|
|
700
|
+
"7 Seconds": 7,
|
|
701
|
+
"8 Seconds": 8,
|
|
702
|
+
"9 Seconds": 9,
|
|
703
|
+
"10 Seconds": 10,
|
|
704
|
+
"Stay On": 11,
|
|
705
|
+
},
|
|
706
|
+
min: 0,
|
|
707
|
+
max: 11,
|
|
708
|
+
},
|
|
709
|
+
switchType: {
|
|
710
|
+
ID: 22,
|
|
711
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
712
|
+
displayType: "enum",
|
|
713
|
+
values: { "Single Pole": 0, "3-Way Dumb Switch": 1, "3-Way Aux Switch": 2, "Single-Pole Full Sine Wave": 3 },
|
|
714
|
+
min: 0,
|
|
715
|
+
max: 3,
|
|
716
|
+
description: "Set the switch configuration.",
|
|
717
|
+
},
|
|
718
|
+
internalTemperature: {
|
|
719
|
+
ID: 32,
|
|
720
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT8,
|
|
721
|
+
min: 0,
|
|
722
|
+
max: 127,
|
|
723
|
+
readOnly: true,
|
|
724
|
+
description: "The temperature measured by the temperature sensor inside the chip, in degrees Celsius",
|
|
725
|
+
category: "diagnostic",
|
|
726
|
+
unit: "°C",
|
|
727
|
+
},
|
|
728
|
+
overheat: {
|
|
729
|
+
ID: 33,
|
|
730
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
731
|
+
displayType: "enum",
|
|
732
|
+
values: { "No Alert": 0, Overheated: 1 },
|
|
733
|
+
min: 0,
|
|
734
|
+
max: 1,
|
|
735
|
+
readOnly: true,
|
|
736
|
+
description: "Indicates if the internal chipset is currently in an overheated state.",
|
|
737
|
+
},
|
|
738
|
+
buttonDelay: {
|
|
739
|
+
ID: 50,
|
|
740
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
741
|
+
values: {
|
|
742
|
+
"0ms": 0,
|
|
743
|
+
"100ms": 1,
|
|
744
|
+
"200ms": 2,
|
|
745
|
+
"300ms": 3,
|
|
746
|
+
"400ms": 4,
|
|
747
|
+
"500ms": 5,
|
|
748
|
+
"600ms": 6,
|
|
749
|
+
"700ms": 7,
|
|
750
|
+
"800ms": 8,
|
|
751
|
+
"900ms": 9,
|
|
752
|
+
},
|
|
753
|
+
displayType: "enum",
|
|
754
|
+
min: 0,
|
|
755
|
+
max: 9,
|
|
756
|
+
description: "This will set the button press delay. 0 = no delay (Disables Button Press Events), Default = 500ms.",
|
|
757
|
+
},
|
|
758
|
+
deviceBindNumber: {
|
|
759
|
+
ID: 51,
|
|
760
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
761
|
+
readOnly: true,
|
|
762
|
+
description: "The number of devices currently bound (excluding gateways) and counts one group as two devices",
|
|
763
|
+
},
|
|
764
|
+
smartBulbMode: {
|
|
765
|
+
ID: 52,
|
|
766
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
767
|
+
displayType: "enum",
|
|
768
|
+
values: { Disabled: 0, "Smart Bulb Mode": 1 },
|
|
769
|
+
description: "For use with Smart Bulbs that need constant power and are controlled via commands rather than power.",
|
|
770
|
+
},
|
|
771
|
+
doubleTapUpToParam55: {
|
|
772
|
+
ID: 53,
|
|
773
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
774
|
+
displayType: "enum",
|
|
775
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
776
|
+
description: "Enable or Disable setting level to parameter 55 on double-tap UP.",
|
|
777
|
+
},
|
|
778
|
+
doubleTapDownToParam56: {
|
|
779
|
+
ID: 54,
|
|
780
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
781
|
+
displayType: "enum",
|
|
782
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
783
|
+
description: "Enable or Disable setting level to parameter 56 on double-tap DOWN.",
|
|
784
|
+
},
|
|
785
|
+
brightnessLevelForDoubleTapUp: {
|
|
786
|
+
ID: 55,
|
|
787
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
788
|
+
min: 2,
|
|
789
|
+
max: 255,
|
|
790
|
+
description: "Set this level on double-tap UP (if enabled by P53). 255 = send ON command.",
|
|
791
|
+
},
|
|
792
|
+
brightnessLevelForDoubleTapDown: {
|
|
793
|
+
ID: 56,
|
|
794
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
795
|
+
min: 0,
|
|
796
|
+
max: 255,
|
|
797
|
+
description: "Set this level on double-tap DOWN (if enabled by P54). 255 = send OFF command.",
|
|
798
|
+
},
|
|
799
|
+
ledColorWhenOn: {
|
|
800
|
+
ID: 95,
|
|
801
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
802
|
+
min: 0,
|
|
803
|
+
max: 255,
|
|
804
|
+
values: {
|
|
805
|
+
Red: 0,
|
|
806
|
+
Orange: 21,
|
|
807
|
+
Yellow: 42,
|
|
808
|
+
Green: 85,
|
|
809
|
+
Cyan: 127,
|
|
810
|
+
Blue: 170,
|
|
811
|
+
Violet: 212,
|
|
812
|
+
Pink: 234,
|
|
813
|
+
White: 255,
|
|
814
|
+
},
|
|
815
|
+
description: "Set the color of the LED Indicator when the load is on.",
|
|
816
|
+
},
|
|
817
|
+
ledColorWhenOff: {
|
|
818
|
+
ID: 96,
|
|
819
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
820
|
+
min: 0,
|
|
821
|
+
max: 255,
|
|
822
|
+
values: {
|
|
823
|
+
Red: 0,
|
|
824
|
+
Orange: 21,
|
|
825
|
+
Yellow: 42,
|
|
826
|
+
Green: 85,
|
|
827
|
+
Cyan: 127,
|
|
828
|
+
Blue: 170,
|
|
829
|
+
Violet: 212,
|
|
830
|
+
Pink: 234,
|
|
831
|
+
White: 255,
|
|
832
|
+
},
|
|
833
|
+
description: "Set the color of the LED Indicator when the load is off.",
|
|
834
|
+
},
|
|
835
|
+
ledIntensityWhenOn: {
|
|
836
|
+
ID: 97,
|
|
837
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
838
|
+
min: 0,
|
|
839
|
+
max: 100,
|
|
840
|
+
description: "Set the intensity of the LED Indicator when the load is on.",
|
|
841
|
+
},
|
|
842
|
+
ledIntensityWhenOff: {
|
|
843
|
+
ID: 98,
|
|
844
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
845
|
+
min: 0,
|
|
846
|
+
max: 100,
|
|
847
|
+
description: "Set the intensity of the LED Indicator when the load is off.",
|
|
848
|
+
},
|
|
849
|
+
singleTapBehavior: {
|
|
850
|
+
ID: 120,
|
|
851
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
852
|
+
displayType: "enum",
|
|
853
|
+
values: { "Old Behavior": 0, "New Behavior": 1, "Down Always Off": 2 },
|
|
854
|
+
description: "Behavior of single tapping the on or off button. Old behavior turns the switch on or off. " +
|
|
855
|
+
"New behavior cycles through the levels set by P131-133. Down Always Off is like the new behavior but " +
|
|
856
|
+
"down always turns the switch off instead of going to next lower speed.",
|
|
857
|
+
},
|
|
858
|
+
fanControlMode: {
|
|
859
|
+
ID: 130,
|
|
860
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
861
|
+
displayType: "enum",
|
|
862
|
+
values: { Disabled: 0, "Multi Tap": 1, Cycle: 2, Toggle: 3 },
|
|
863
|
+
description: "Which mode to use when binding EP3 (config button) to another device (like a fan module).",
|
|
864
|
+
},
|
|
865
|
+
lowLevelForFanControlMode: {
|
|
866
|
+
ID: 131,
|
|
867
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
868
|
+
min: 2,
|
|
869
|
+
max: 254,
|
|
870
|
+
description: "Level to send to device bound to EP3 when set to low.",
|
|
871
|
+
},
|
|
872
|
+
mediumLevelForFanControlMode: {
|
|
873
|
+
ID: 132,
|
|
874
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
875
|
+
min: 2,
|
|
876
|
+
max: 254,
|
|
877
|
+
description: "Level to send to device bound to EP3 when set to medium.",
|
|
878
|
+
},
|
|
879
|
+
highLevelForFanControlMode: {
|
|
880
|
+
ID: 133,
|
|
881
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
882
|
+
min: 2,
|
|
883
|
+
max: 254,
|
|
884
|
+
description: "Level to send to device bound to EP3 when set to high.",
|
|
885
|
+
},
|
|
886
|
+
ledColorForFanControlMode: {
|
|
887
|
+
ID: 134,
|
|
888
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
889
|
+
min: 0,
|
|
890
|
+
max: 255,
|
|
891
|
+
values: {
|
|
892
|
+
Red: 0,
|
|
893
|
+
Orange: 21,
|
|
894
|
+
Yellow: 42,
|
|
895
|
+
Green: 85,
|
|
896
|
+
Cyan: 127,
|
|
897
|
+
Blue: 170,
|
|
898
|
+
Violet: 212,
|
|
899
|
+
Pink: 234,
|
|
900
|
+
White: 255,
|
|
901
|
+
},
|
|
902
|
+
description: "LED color used to display fan control mode.",
|
|
903
|
+
},
|
|
904
|
+
auxSwitchUniqueScenes: {
|
|
905
|
+
ID: 123,
|
|
906
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
907
|
+
displayType: "enum",
|
|
908
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
909
|
+
description: "Have unique scene numbers for scenes activated with the aux switch.",
|
|
910
|
+
},
|
|
911
|
+
bindingOffToOnSyncLevel: {
|
|
912
|
+
ID: 125,
|
|
913
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
914
|
+
displayType: "enum",
|
|
915
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
916
|
+
description: "Send Move_To_Level using Default Level with Off/On to bound devices.",
|
|
917
|
+
},
|
|
918
|
+
localProtection: {
|
|
919
|
+
ID: 256,
|
|
920
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
921
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
922
|
+
description: "Ability to control switch from the wall.",
|
|
923
|
+
displayType: "enum",
|
|
924
|
+
},
|
|
925
|
+
remoteProtection: {
|
|
926
|
+
ID: 257,
|
|
927
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
928
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
929
|
+
readOnly: true,
|
|
930
|
+
description: "Ability to control switch from the hub.",
|
|
931
|
+
displayType: "enum",
|
|
932
|
+
},
|
|
933
|
+
onOffLedMode: {
|
|
934
|
+
ID: 259,
|
|
935
|
+
min: 0,
|
|
936
|
+
max: 1,
|
|
937
|
+
values: { All: 0, One: 1 },
|
|
938
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
939
|
+
description: "When the device is in On/Off mode, use full LED bar or just one LED.",
|
|
940
|
+
displayType: "enum",
|
|
941
|
+
},
|
|
942
|
+
firmwareUpdateInProgressIndicator: {
|
|
943
|
+
ID: 260,
|
|
944
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
945
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
946
|
+
description: "Display progress on LED bar during firmware update.",
|
|
947
|
+
displayType: "enum",
|
|
948
|
+
},
|
|
949
|
+
defaultLed1ColorWhenOn: {
|
|
950
|
+
ID: 60,
|
|
951
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
952
|
+
min: 0,
|
|
953
|
+
max: 255,
|
|
954
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
955
|
+
},
|
|
956
|
+
defaultLed1ColorWhenOff: {
|
|
957
|
+
ID: 61,
|
|
958
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
959
|
+
min: 0,
|
|
960
|
+
max: 255,
|
|
961
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
962
|
+
},
|
|
963
|
+
defaultLed1IntensityWhenOn: {
|
|
964
|
+
ID: 62,
|
|
965
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
966
|
+
min: 0,
|
|
967
|
+
max: 101,
|
|
968
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
969
|
+
},
|
|
970
|
+
defaultLed1IntensityWhenOff: {
|
|
971
|
+
ID: 63,
|
|
972
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
973
|
+
min: 0,
|
|
974
|
+
max: 101,
|
|
975
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
976
|
+
},
|
|
977
|
+
defaultLed2ColorWhenOn: {
|
|
978
|
+
ID: 65,
|
|
979
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
980
|
+
min: 0,
|
|
981
|
+
max: 255,
|
|
982
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
983
|
+
},
|
|
984
|
+
defaultLed2ColorWhenOff: {
|
|
985
|
+
ID: 66,
|
|
986
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
987
|
+
min: 0,
|
|
988
|
+
max: 255,
|
|
989
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
990
|
+
},
|
|
991
|
+
defaultLed2IntensityWhenOn: {
|
|
992
|
+
ID: 67,
|
|
993
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
994
|
+
min: 0,
|
|
995
|
+
max: 101,
|
|
996
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
997
|
+
},
|
|
998
|
+
defaultLed2IntensityWhenOff: {
|
|
999
|
+
ID: 68,
|
|
1000
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1001
|
+
min: 0,
|
|
1002
|
+
max: 101,
|
|
1003
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1004
|
+
},
|
|
1005
|
+
defaultLed3ColorWhenOn: {
|
|
1006
|
+
ID: 70,
|
|
1007
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1008
|
+
min: 0,
|
|
1009
|
+
max: 255,
|
|
1010
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1011
|
+
},
|
|
1012
|
+
defaultLed3ColorWhenOff: {
|
|
1013
|
+
ID: 71,
|
|
1014
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1015
|
+
min: 0,
|
|
1016
|
+
max: 255,
|
|
1017
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1018
|
+
},
|
|
1019
|
+
defaultLed3IntensityWhenOn: {
|
|
1020
|
+
ID: 72,
|
|
1021
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1022
|
+
min: 0,
|
|
1023
|
+
max: 101,
|
|
1024
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1025
|
+
},
|
|
1026
|
+
defaultLed3IntensityWhenOff: {
|
|
1027
|
+
ID: 73,
|
|
1028
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1029
|
+
min: 0,
|
|
1030
|
+
max: 101,
|
|
1031
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1032
|
+
},
|
|
1033
|
+
defaultLed4ColorWhenOn: {
|
|
1034
|
+
ID: 75,
|
|
1035
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1036
|
+
min: 0,
|
|
1037
|
+
max: 255,
|
|
1038
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1039
|
+
},
|
|
1040
|
+
defaultLed4ColorWhenOff: {
|
|
1041
|
+
ID: 76,
|
|
1042
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1043
|
+
min: 0,
|
|
1044
|
+
max: 255,
|
|
1045
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1046
|
+
},
|
|
1047
|
+
defaultLed4IntensityWhenOn: {
|
|
1048
|
+
ID: 77,
|
|
1049
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1050
|
+
min: 0,
|
|
1051
|
+
max: 101,
|
|
1052
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1053
|
+
},
|
|
1054
|
+
defaultLed4IntensityWhenOff: {
|
|
1055
|
+
ID: 78,
|
|
1056
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1057
|
+
min: 0,
|
|
1058
|
+
max: 101,
|
|
1059
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1060
|
+
},
|
|
1061
|
+
defaultLed5ColorWhenOn: {
|
|
1062
|
+
ID: 80,
|
|
1063
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1064
|
+
min: 0,
|
|
1065
|
+
max: 255,
|
|
1066
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1067
|
+
},
|
|
1068
|
+
defaultLed5ColorWhenOff: {
|
|
1069
|
+
ID: 81,
|
|
1070
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1071
|
+
min: 0,
|
|
1072
|
+
max: 255,
|
|
1073
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1074
|
+
},
|
|
1075
|
+
defaultLed5IntensityWhenOn: {
|
|
1076
|
+
ID: 82,
|
|
1077
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1078
|
+
min: 0,
|
|
1079
|
+
max: 101,
|
|
1080
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1081
|
+
},
|
|
1082
|
+
defaultLed5IntensityWhenOff: {
|
|
1083
|
+
ID: 83,
|
|
1084
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1085
|
+
min: 0,
|
|
1086
|
+
max: 101,
|
|
1087
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1088
|
+
},
|
|
1089
|
+
defaultLed6ColorWhenOn: {
|
|
1090
|
+
ID: 85,
|
|
1091
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1092
|
+
min: 0,
|
|
1093
|
+
max: 255,
|
|
1094
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1095
|
+
},
|
|
1096
|
+
defaultLed6ColorWhenOff: {
|
|
1097
|
+
ID: 86,
|
|
1098
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1099
|
+
min: 0,
|
|
1100
|
+
max: 255,
|
|
1101
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1102
|
+
},
|
|
1103
|
+
defaultLed6IntensityWhenOn: {
|
|
1104
|
+
ID: 87,
|
|
1105
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1106
|
+
min: 0,
|
|
1107
|
+
max: 101,
|
|
1108
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1109
|
+
},
|
|
1110
|
+
defaultLed6IntensityWhenOff: {
|
|
1111
|
+
ID: 88,
|
|
1112
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1113
|
+
min: 0,
|
|
1114
|
+
max: 101,
|
|
1115
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1116
|
+
},
|
|
1117
|
+
defaultLed7ColorWhenOn: {
|
|
1118
|
+
ID: 90,
|
|
1119
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1120
|
+
min: 0,
|
|
1121
|
+
max: 255,
|
|
1122
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1123
|
+
},
|
|
1124
|
+
defaultLed7ColorWhenOff: {
|
|
1125
|
+
ID: 91,
|
|
1126
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1127
|
+
min: 0,
|
|
1128
|
+
max: 255,
|
|
1129
|
+
description: "0-254:This is the color of the LED strip in a hex representation. 255:Synchronization with default all LED strip color parameter.",
|
|
1130
|
+
},
|
|
1131
|
+
defaultLed7IntensityWhenOn: {
|
|
1132
|
+
ID: 92,
|
|
1133
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1134
|
+
min: 0,
|
|
1135
|
+
max: 101,
|
|
1136
|
+
description: "Intensity of LED strip when on. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1137
|
+
},
|
|
1138
|
+
defaultLed7IntensityWhenOff: {
|
|
1139
|
+
ID: 93,
|
|
1140
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1141
|
+
min: 0,
|
|
1142
|
+
max: 101,
|
|
1143
|
+
description: "Intensity of LED strip when off. 101 = Synchronized with default all LED strip intensity parameter.",
|
|
1144
|
+
},
|
|
1145
|
+
fanTimerMode: {
|
|
1146
|
+
ID: 121,
|
|
1147
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1148
|
+
displayType: "enum",
|
|
1149
|
+
values: { Disabled: 0, Enabled: 1 },
|
|
1150
|
+
description: "Enable or disable advanced timer mode to have the switch act like a bathroom fan timer",
|
|
1151
|
+
},
|
|
1152
|
+
doubleTapClearNotifications: {
|
|
1153
|
+
ID: 262,
|
|
1154
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1155
|
+
min: 0,
|
|
1156
|
+
max: 1,
|
|
1157
|
+
description: "Double-Tap the Config button to clear notifications.",
|
|
1158
|
+
values: { "Enabled (Default)": 0, Disabled: 1 },
|
|
1159
|
+
displayType: "enum",
|
|
1160
|
+
},
|
|
1161
|
+
fanLedLevelType: {
|
|
1162
|
+
ID: 263,
|
|
1163
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1164
|
+
min: 0,
|
|
1165
|
+
max: 10,
|
|
1166
|
+
values: { "Limitless (like VZM31)": 0, "Adaptive LED": 10 },
|
|
1167
|
+
description: "Level display of the LED Strip",
|
|
1168
|
+
},
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* Common Dimmer Attributes
|
|
1172
|
+
*
|
|
1173
|
+
* These attributes are shared between all devices that act like dimmers (including dimmers + fan switches) with
|
|
1174
|
+
* the manufacturer specific Inovelli cluster. These are not shared with on/off switches.
|
|
1175
|
+
* Some of the descriptions, max, min or value properties may be overridden for each device
|
|
1176
|
+
*/
|
|
1177
|
+
const COMMON_DIMMER_ATTRIBUTES = {
|
|
1178
|
+
...COMMON_ATTRIBUTES,
|
|
1179
|
+
minimumLevel: {
|
|
1180
|
+
ID: 9,
|
|
1181
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1182
|
+
min: 1,
|
|
1183
|
+
max: 254,
|
|
1184
|
+
description: "The minimum level that the dimmer allows the bulb to be dimmed to. " +
|
|
1185
|
+
"Useful when the user has an LED bulb that does not turn on or flickers at a lower level.",
|
|
1186
|
+
},
|
|
1187
|
+
maximumLevel: {
|
|
1188
|
+
ID: 10,
|
|
1189
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1190
|
+
min: 2,
|
|
1191
|
+
max: 255,
|
|
1192
|
+
description: "The maximum level that the dimmer allows the bulb to be dimmed to." +
|
|
1193
|
+
"Useful when the user has an LED bulb that reaches its maximum level before the " +
|
|
1194
|
+
"dimmer value of 99 or when the user wants to limit the maximum brightness.",
|
|
1195
|
+
},
|
|
1196
|
+
powerType: {
|
|
1197
|
+
ID: 21,
|
|
1198
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1199
|
+
displayType: "enum",
|
|
1200
|
+
values: { "Non Neutral": 0, Neutral: 1 },
|
|
1201
|
+
min: 0,
|
|
1202
|
+
max: 1,
|
|
1203
|
+
readOnly: true,
|
|
1204
|
+
description: "Set the power type for the device.",
|
|
1205
|
+
},
|
|
1206
|
+
outputMode: {
|
|
1207
|
+
ID: 258,
|
|
1208
|
+
min: 0,
|
|
1209
|
+
max: 1,
|
|
1210
|
+
values: { Dimmer: 0, "On/Off": 1 },
|
|
1211
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1212
|
+
description: "Use device as a Dimmer or an On/Off switch.",
|
|
1213
|
+
displayType: "enum",
|
|
1214
|
+
},
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* Common Dimmable light Attributes
|
|
1218
|
+
*
|
|
1219
|
+
* These attributes are shared between all devices that are dimmable light switches with
|
|
1220
|
+
* the manufacturer specific Inovelli cluster. These are not shared with fans or on/off switches.
|
|
1221
|
+
* Some of the descriptions, max, min or value properties may be overridden for each device
|
|
1222
|
+
*/
|
|
1223
|
+
const COMMON_DIMMABLE_LIGHT_ATTRIBUTES = {
|
|
1224
|
+
quickStartTime: {
|
|
1225
|
+
ID: 23,
|
|
1226
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1227
|
+
min: 0,
|
|
1228
|
+
max: 60,
|
|
1229
|
+
description: "Duration of full power output while lamp transitions from Off to On. In 60th of second. 0 = disable, 1 = 1/60s, 60 = 1s",
|
|
1230
|
+
},
|
|
1231
|
+
quickStartLevel: {
|
|
1232
|
+
ID: 24,
|
|
1233
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1234
|
+
min: 1,
|
|
1235
|
+
max: 254,
|
|
1236
|
+
description: "Level of power output during Quick Start Light time (P23).",
|
|
1237
|
+
},
|
|
1238
|
+
higherOutputInNonNeutral: {
|
|
1239
|
+
ID: 25,
|
|
1240
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1241
|
+
displayType: "enum",
|
|
1242
|
+
values: { "Disabled (default)": 0, Enabled: 1 },
|
|
1243
|
+
min: 0,
|
|
1244
|
+
max: 1,
|
|
1245
|
+
description: "Increase level in non-neutral mode",
|
|
1246
|
+
},
|
|
1247
|
+
dimmingMode: {
|
|
1248
|
+
ID: 26,
|
|
1249
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1250
|
+
displayType: "enum",
|
|
1251
|
+
values: { "Leading edge": 0, "Trailing edge": 1 },
|
|
1252
|
+
min: 0,
|
|
1253
|
+
max: 1,
|
|
1254
|
+
readOnly: true,
|
|
1255
|
+
description: "Switches the dimming mode from leading edge (default) to trailing edge. " +
|
|
1256
|
+
"1. Trailing Edge is only available on neutral single-pole and neutral multi-way with an " +
|
|
1257
|
+
"aux/add-on switch (multi-way with a dumb/existing switch and non-neutral setups are not supported and " +
|
|
1258
|
+
"will default back to Leading Edge). This parameter can only be changed at the switch.",
|
|
1259
|
+
},
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Common Dimmer or On/Off Attributes
|
|
1263
|
+
*
|
|
1264
|
+
* These attributes are shared between all devices that are light switches (either dimmers or on/off) with
|
|
1265
|
+
* the manufacturer specific Inovelli cluster. These are not shared with fans.
|
|
1266
|
+
* Some of the descriptions, max, min or value properties may be overridden for each device
|
|
1267
|
+
*/
|
|
1268
|
+
const COMMON_DIMMER_ON_OFF_ATTRIBUTES = {
|
|
1269
|
+
ledBarScaling: {
|
|
1270
|
+
ID: 100,
|
|
1271
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1272
|
+
displayType: "enum",
|
|
1273
|
+
values: { "Gen3 method (VZM-style)": 0, "Gen2 method (LZW-style)": 1 },
|
|
1274
|
+
description: "Method used for scaling.",
|
|
1275
|
+
},
|
|
1276
|
+
activePowerReports: {
|
|
1277
|
+
ID: 18,
|
|
1278
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1279
|
+
min: 0,
|
|
1280
|
+
max: 100,
|
|
1281
|
+
description: "Percent power level change that will result in a new power report being sent. 0 = Disabled",
|
|
1282
|
+
},
|
|
1283
|
+
periodicPowerAndEnergyReports: {
|
|
1284
|
+
ID: 19,
|
|
1285
|
+
min: 0,
|
|
1286
|
+
max: 32767,
|
|
1287
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT16,
|
|
1288
|
+
description: "Time period between consecutive power & energy reports being sent (in seconds). The timer is reset after each report is sent.",
|
|
1289
|
+
},
|
|
1290
|
+
activeEnergyReports: {
|
|
1291
|
+
ID: 20,
|
|
1292
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT16,
|
|
1293
|
+
min: 0,
|
|
1294
|
+
max: 32767,
|
|
1295
|
+
description: "Energy reports Energy level change which will result in sending a new energy report." +
|
|
1296
|
+
"0 = disabled, 1-32767 = 0.01kWh-327.67kWh. Default setting: 10 (0.1 kWh)",
|
|
1297
|
+
},
|
|
1298
|
+
};
|
|
1299
|
+
const VZM30_ATTRIBUTES = {
|
|
1300
|
+
...COMMON_ATTRIBUTES,
|
|
1301
|
+
...COMMON_DIMMER_ON_OFF_ATTRIBUTES,
|
|
1302
|
+
switchType: {
|
|
1303
|
+
...COMMON_ATTRIBUTES.switchType,
|
|
1304
|
+
values: { "Single Pole": 0, "Aux Switch": 1 },
|
|
1305
|
+
max: 1,
|
|
1306
|
+
},
|
|
1307
|
+
outputMode: {
|
|
1308
|
+
...COMMON_DIMMER_ATTRIBUTES.outputMode,
|
|
1309
|
+
description: "Use device as a Dimmer or an On/Off switch. Only applies when controlling bound devices.",
|
|
1310
|
+
},
|
|
1311
|
+
};
|
|
1312
|
+
const VZM31_ATTRIBUTES = {
|
|
1313
|
+
// Temporarily exclude fanTimerMode from the VZM31. While the specifications indicate that this attribute should be present, it's missing in the current firmware (2.18). This can be removed once the firmware bug is corrected.
|
|
1314
|
+
...Object.fromEntries(Object.entries(COMMON_DIMMER_ATTRIBUTES).filter(([key]) => key !== "fanTimerMode")),
|
|
1315
|
+
...COMMON_DIMMER_ON_OFF_ATTRIBUTES,
|
|
1316
|
+
...COMMON_DIMMABLE_LIGHT_ATTRIBUTES,
|
|
1317
|
+
relayClick: {
|
|
1318
|
+
ID: 261,
|
|
1319
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.BOOLEAN,
|
|
1320
|
+
min: 0,
|
|
1321
|
+
max: 1,
|
|
1322
|
+
description: "In neutral on/off setups, the default is to have a clicking sound to notify you that the relay " +
|
|
1323
|
+
"is open or closed. You may disable this sound by creating a, “simulated” on/off where the switch " +
|
|
1324
|
+
"only will turn onto 100 or off to 0.",
|
|
1325
|
+
values: { "Disabled (Click Sound On)": 0, "Enabled (Click Sound Off)": 1 },
|
|
1326
|
+
displayType: "enum",
|
|
1327
|
+
},
|
|
1328
|
+
};
|
|
1329
|
+
const VZM32_ATTRIBUTES = {
|
|
1330
|
+
...COMMON_DIMMER_ATTRIBUTES,
|
|
1331
|
+
...COMMON_DIMMER_ON_OFF_ATTRIBUTES,
|
|
1332
|
+
...COMMON_DIMMABLE_LIGHT_ATTRIBUTES,
|
|
1333
|
+
switchType: {
|
|
1334
|
+
...COMMON_ATTRIBUTES.switchType,
|
|
1335
|
+
values: { "Single Pole": 0, "Aux Switch": 1 },
|
|
1336
|
+
max: 1,
|
|
1337
|
+
},
|
|
1338
|
+
otaImageType: {
|
|
1339
|
+
ID: 34,
|
|
1340
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1341
|
+
displayType: "enum",
|
|
1342
|
+
values: {
|
|
1343
|
+
"Zigbee (259)": 0,
|
|
1344
|
+
"mmWave (260)": 1,
|
|
1345
|
+
"Alternating (259 & 260) (default)": 2,
|
|
1346
|
+
},
|
|
1347
|
+
min: 0,
|
|
1348
|
+
max: 2,
|
|
1349
|
+
description: "Which endpoint should the switch advertise for OTA update (Zigbee, mmWave, or both).",
|
|
1350
|
+
},
|
|
1351
|
+
mmwaveControlWiredDevice: {
|
|
1352
|
+
ID: 110,
|
|
1353
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1354
|
+
displayType: "enum",
|
|
1355
|
+
values: {
|
|
1356
|
+
Disabled: 0,
|
|
1357
|
+
"Occupancy (default)": 1,
|
|
1358
|
+
Vacancy: 2,
|
|
1359
|
+
"Wasteful Occupancy": 3,
|
|
1360
|
+
"Mirrored Occupancy": 4,
|
|
1361
|
+
"Mirrored Vacancy": 5,
|
|
1362
|
+
"Mirrored Wasteful Occupancy": 6,
|
|
1363
|
+
},
|
|
1364
|
+
min: 0,
|
|
1365
|
+
max: 6,
|
|
1366
|
+
description: "Controls whether the wired load is automatically turned on / off by the presence detector. " +
|
|
1367
|
+
"0 = Disabled (manual control of the load), " +
|
|
1368
|
+
"1 = Occupancy (default; turn on automatically with presence; turn off automatically without presence), " +
|
|
1369
|
+
"2 = Vacancy (does not turn on automatically; turn off automatically without presence), " +
|
|
1370
|
+
"3 = Wasteful Occupancy (turn on automatically with presence; does not turn off automatically), " +
|
|
1371
|
+
"4 = Mirrored Occupancy (turn on automatically without presence; turn off automatically with presence), " +
|
|
1372
|
+
"5 = Mirrored Vacancy (turn on automatically without presence; does not turn off automatically), " +
|
|
1373
|
+
"6 = Mirrored Wasteful Occupancy (does not turn on automatically; turns off automatically with presence).",
|
|
1374
|
+
},
|
|
1375
|
+
mmWaveRoomSizePreset: {
|
|
1376
|
+
ID: 117,
|
|
1377
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1378
|
+
displayType: "enum",
|
|
1379
|
+
values: {
|
|
1380
|
+
Custom: 0,
|
|
1381
|
+
Small: 1,
|
|
1382
|
+
Medium: 2,
|
|
1383
|
+
Large: 3,
|
|
1384
|
+
},
|
|
1385
|
+
min: 0,
|
|
1386
|
+
max: 3,
|
|
1387
|
+
description: "Allows selection of predefined room dimensions for mmWave sensor processing. Useful for optimizing " +
|
|
1388
|
+
"detection zones based on installation environment. Defaults to Custom which allows for manual dimension configuration " +
|
|
1389
|
+
"via other parameters. \nOptions: 0=Custom (User-defined), 1=Small (X: −100 to 100, Y: 0 to 200, Z: −100 to 100), " +
|
|
1390
|
+
"2=Medium (X: −160 to 160, Y: 0 to 280, Z: −100 to 100), 3=Large (X: −210 to 210, Y: 0 to 360, Z: −100 to 100)",
|
|
1391
|
+
},
|
|
1392
|
+
};
|
|
1393
|
+
const VZM32_MMWAVE_ATTRIBUTES = {
|
|
1394
|
+
mmWaveHoldTime: {
|
|
1395
|
+
ID: 114,
|
|
1396
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT32,
|
|
1397
|
+
min: 0,
|
|
1398
|
+
max: 4294967295,
|
|
1399
|
+
description: "This changes the duration, measured in seconds, after the mmWave radar detects transition from " +
|
|
1400
|
+
"the presence of a person to their absence. Default = 10 (seconds).",
|
|
1401
|
+
},
|
|
1402
|
+
mmWaveDetectSensitivity: {
|
|
1403
|
+
ID: 112,
|
|
1404
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1405
|
+
displayType: "enum",
|
|
1406
|
+
values: { Low: 0, Medium: 1, "High (default)": 2 },
|
|
1407
|
+
min: 0,
|
|
1408
|
+
max: 2,
|
|
1409
|
+
description: "The sensitivity of the mmWave sensor.",
|
|
1410
|
+
},
|
|
1411
|
+
mmWaveDetectTrigger: {
|
|
1412
|
+
ID: 113,
|
|
1413
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1414
|
+
displayType: "enum",
|
|
1415
|
+
values: { "Slow (5s)": 0, "Medium (1s)": 1, "Fast (0.2s, default)": 2 },
|
|
1416
|
+
min: 0,
|
|
1417
|
+
max: 2,
|
|
1418
|
+
description: "The time from detecting a person to triggering an action.",
|
|
1419
|
+
},
|
|
1420
|
+
mmWaveTargetInfoReport: {
|
|
1421
|
+
ID: 107,
|
|
1422
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1423
|
+
displayType: "enum",
|
|
1424
|
+
values: { "Disable (default)": 0, Enable: 1 },
|
|
1425
|
+
min: 0,
|
|
1426
|
+
max: 1,
|
|
1427
|
+
description: "Send target info report when bound to mmWave cluster.",
|
|
1428
|
+
},
|
|
1429
|
+
mmWaveStayLife: {
|
|
1430
|
+
ID: 108,
|
|
1431
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT32,
|
|
1432
|
+
min: 0,
|
|
1433
|
+
max: 4294967295,
|
|
1434
|
+
description: "The delay time of the stay area is set to 50ms when it is set to 1, to 1 second when it is set to 20, and the default value is 300, that is, 15 seconds",
|
|
1435
|
+
},
|
|
1436
|
+
mmWaveVersion: {
|
|
1437
|
+
ID: 115,
|
|
1438
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT32,
|
|
1439
|
+
min: 0,
|
|
1440
|
+
max: 4294967295,
|
|
1441
|
+
readOnly: true,
|
|
1442
|
+
description: "The firmware version number of the mmWave module.",
|
|
1443
|
+
},
|
|
1444
|
+
mmWaveHeightMin: {
|
|
1445
|
+
ID: 101,
|
|
1446
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT16,
|
|
1447
|
+
min: -600,
|
|
1448
|
+
max: 600,
|
|
1449
|
+
readOnly: false,
|
|
1450
|
+
description: "Defines the detection area (negative values are below the switch, positive values are above)",
|
|
1451
|
+
},
|
|
1452
|
+
mmWaveHeightMax: {
|
|
1453
|
+
ID: 102,
|
|
1454
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT16,
|
|
1455
|
+
min: -600,
|
|
1456
|
+
max: 600,
|
|
1457
|
+
readOnly: false,
|
|
1458
|
+
description: "Defines the detection area (negative values are below the switch, positive values are above)",
|
|
1459
|
+
},
|
|
1460
|
+
mmWaveWidthMin: {
|
|
1461
|
+
ID: 103,
|
|
1462
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT16,
|
|
1463
|
+
min: -600,
|
|
1464
|
+
max: 600,
|
|
1465
|
+
readOnly: false,
|
|
1466
|
+
description: "Defines the detection area (negative values are left of the switch facing away from the wall, positive values are right)",
|
|
1467
|
+
},
|
|
1468
|
+
mmWaveWidthMax: {
|
|
1469
|
+
ID: 104,
|
|
1470
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT16,
|
|
1471
|
+
min: -600,
|
|
1472
|
+
max: 600,
|
|
1473
|
+
readOnly: false,
|
|
1474
|
+
description: "Defines the detection area (negative values are left of the switch facing away from the wall, positive values are right)",
|
|
1475
|
+
},
|
|
1476
|
+
mmWaveDepthMin: {
|
|
1477
|
+
ID: 105,
|
|
1478
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT16,
|
|
1479
|
+
min: 0,
|
|
1480
|
+
max: 600,
|
|
1481
|
+
readOnly: false,
|
|
1482
|
+
description: "Defines the detection area in front of the switch",
|
|
1483
|
+
},
|
|
1484
|
+
mmWaveDepthMax: {
|
|
1485
|
+
ID: 106,
|
|
1486
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.INT16,
|
|
1487
|
+
min: 0,
|
|
1488
|
+
max: 600,
|
|
1489
|
+
readOnly: false,
|
|
1490
|
+
description: "Defines the detection area in front of the switch",
|
|
1491
|
+
},
|
|
1492
|
+
};
|
|
1493
|
+
const VZM35_ATTRIBUTES = {
|
|
1494
|
+
...COMMON_DIMMER_ATTRIBUTES,
|
|
1495
|
+
minimumLevel: {
|
|
1496
|
+
...COMMON_DIMMER_ATTRIBUTES.minimumLevel,
|
|
1497
|
+
description: "1-84: The level corresponding to the fan is Low, Medium, High. " +
|
|
1498
|
+
"85-170: The level corresponding to the fan is Medium, Medium, High. " +
|
|
1499
|
+
"170-254: The level corresponding to the fan is High, High, High ",
|
|
1500
|
+
},
|
|
1501
|
+
maximumLevel: {
|
|
1502
|
+
...COMMON_DIMMER_ATTRIBUTES.maximumLevel,
|
|
1503
|
+
description: "2-84: The level corresponding to the fan is Low, Medium, High.",
|
|
1504
|
+
},
|
|
1505
|
+
switchType: {
|
|
1506
|
+
...COMMON_ATTRIBUTES.switchType,
|
|
1507
|
+
values: { "Single Pole": 0, "Aux Switch": 1 },
|
|
1508
|
+
max: 1,
|
|
1509
|
+
},
|
|
1510
|
+
smartBulbMode: {
|
|
1511
|
+
...COMMON_ATTRIBUTES.smartBulbMode,
|
|
1512
|
+
description: "For use with Smart Fans that need constant power and are controlled via commands rather than power.",
|
|
1513
|
+
values: { Disabled: 0, "Smart Fan Mode": 1 },
|
|
1514
|
+
},
|
|
1515
|
+
quickStartTime: {
|
|
1516
|
+
ID: 23,
|
|
1517
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1518
|
+
min: 0,
|
|
1519
|
+
max: 60,
|
|
1520
|
+
description: "Duration of full power output while fan tranisitions from Off to On. In 60th of second. 0 = disable, 1 = 1/60s, 60 = 1s",
|
|
1521
|
+
},
|
|
1522
|
+
nonNeutralAuxMediumGear: {
|
|
1523
|
+
ID: 30,
|
|
1524
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1525
|
+
min: 42,
|
|
1526
|
+
max: 135,
|
|
1527
|
+
description: "Identification value in Non-nuetral, medium gear, aux switch",
|
|
1528
|
+
},
|
|
1529
|
+
nonNeutralAuxLowGear: {
|
|
1530
|
+
ID: 31,
|
|
1531
|
+
dataType: zigbee_herdsman_1.Zcl.DataType.UINT8,
|
|
1532
|
+
min: 42,
|
|
1533
|
+
max: 135,
|
|
1534
|
+
description: "Identification value in Non-nuetral, low gear, aux switch",
|
|
1535
|
+
},
|
|
1536
|
+
outputMode: {
|
|
1537
|
+
...COMMON_DIMMER_ATTRIBUTES.outputMode,
|
|
1538
|
+
values: { "Ceiling Fan (3-Speed)": 0, "Exhaust Fan (On/Off)": 1 },
|
|
1539
|
+
description: "Use device in ceiling fan (3-Speed) or in exhaust fan (On/Off) mode.",
|
|
1540
|
+
},
|
|
1541
|
+
};
|
|
1542
|
+
const VZM36_ATTRIBUTES = {
|
|
1543
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1544
|
+
dimmingSpeedUpRemote_1: { ...COMMON_ATTRIBUTES.dimmingSpeedUpRemote },
|
|
1545
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1546
|
+
rampRateOffToOnRemote_1: { ...COMMON_ATTRIBUTES.rampRateOffToOnRemote },
|
|
1547
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1548
|
+
dimmingSpeedDownRemote_1: { ...COMMON_ATTRIBUTES.dimmingSpeedDownRemote },
|
|
1549
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1550
|
+
rampRateOnToOffRemote_1: { ...COMMON_ATTRIBUTES.rampRateOnToOffRemote },
|
|
1551
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1552
|
+
minimumLevel_1: { ...COMMON_DIMMER_ATTRIBUTES.minimumLevel },
|
|
1553
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1554
|
+
maximumLevel_1: { ...COMMON_DIMMER_ATTRIBUTES.maximumLevel },
|
|
1555
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1556
|
+
autoTimerOff_1: {
|
|
1557
|
+
...COMMON_ATTRIBUTES.autoTimerOff,
|
|
1558
|
+
description: "Automatically turns the light off after this many seconds." +
|
|
1559
|
+
" When the light is turned on a timer is started. When the timer expires, the light is turned off. 0 = Auto off is disabled.",
|
|
1560
|
+
},
|
|
1561
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1562
|
+
defaultLevelRemote_1: {
|
|
1563
|
+
...COMMON_ATTRIBUTES.defaultLevelRemote,
|
|
1564
|
+
description: "Default level for the light when it is turned on from the hub." +
|
|
1565
|
+
" A setting of 255 means that the light will return to the level that it was on before it was turned off.",
|
|
1566
|
+
},
|
|
1567
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1568
|
+
stateAfterPowerRestored_1: {
|
|
1569
|
+
...COMMON_ATTRIBUTES.stateAfterPowerRestored,
|
|
1570
|
+
description: "The state the light should return to when power is restored after power failure. 0 = off, 1-254 = level, 255 = previous.",
|
|
1571
|
+
},
|
|
1572
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1573
|
+
quickStartTime_1: { ...COMMON_DIMMABLE_LIGHT_ATTRIBUTES.quickStartTime },
|
|
1574
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1575
|
+
quickStartLevel_1: { ...COMMON_DIMMABLE_LIGHT_ATTRIBUTES.quickStartLevel },
|
|
1576
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1577
|
+
higherOutputInNonNeutral_1: {
|
|
1578
|
+
...COMMON_DIMMABLE_LIGHT_ATTRIBUTES.higherOutputInNonNeutral,
|
|
1579
|
+
description: "Increase level in non-neutral mode for light.",
|
|
1580
|
+
},
|
|
1581
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1582
|
+
dimmingMode_1: {
|
|
1583
|
+
...COMMON_DIMMABLE_LIGHT_ATTRIBUTES.dimmingMode,
|
|
1584
|
+
readOnly: false,
|
|
1585
|
+
description: "Switches the dimming mode from leading edge (default) to trailing edge. " +
|
|
1586
|
+
"1. Trailing Edge is only available on neutral single-pole and neutral multi-way with an " +
|
|
1587
|
+
"aux/add-on switch (multi-way with a dumb/existing switch and non-neutral setups are not supported and " +
|
|
1588
|
+
"will default back to Leading Edge).",
|
|
1589
|
+
},
|
|
1590
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1591
|
+
smartBulbMode_1: { ...COMMON_ATTRIBUTES.smartBulbMode },
|
|
1592
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1593
|
+
ledColorWhenOn_1: { ...COMMON_ATTRIBUTES.ledColorWhenOn },
|
|
1594
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1595
|
+
ledIntensityWhenOn_1: { ...COMMON_ATTRIBUTES.ledIntensityWhenOn },
|
|
1596
|
+
// remote protection is readonly...
|
|
1597
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1598
|
+
outputMode_1: { ...COMMON_DIMMER_ATTRIBUTES.outputMode },
|
|
1599
|
+
// Endpoint 2 (Fan)
|
|
1600
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1601
|
+
dimmingSpeedUpRemote_2: {
|
|
1602
|
+
...COMMON_ATTRIBUTES.dimmingSpeedUpRemote,
|
|
1603
|
+
description: "This changes the speed that the fan ramps up when controlled from the hub. " +
|
|
1604
|
+
"A setting of 0 turns the fan immediately on. Increasing the value slows down the transition speed. " +
|
|
1605
|
+
"Every number represents 100ms. Default = 25 (2.5s)",
|
|
1606
|
+
},
|
|
1607
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1608
|
+
rampRateOffToOnRemote_2: {
|
|
1609
|
+
...COMMON_ATTRIBUTES.rampRateOffToOnRemote,
|
|
1610
|
+
description: "This changes the speed that the fan turns on when controlled from the hub. " +
|
|
1611
|
+
"A setting of 0 turns the fan immediately on. Increasing the value slows down the transition speed. " +
|
|
1612
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpRemote setting.",
|
|
1613
|
+
},
|
|
1614
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1615
|
+
dimmingSpeedDownRemote_2: {
|
|
1616
|
+
...COMMON_ATTRIBUTES.dimmingSpeedDownRemote,
|
|
1617
|
+
description: "This changes the speed that the fan ramps down when controlled from the hub. " +
|
|
1618
|
+
"A setting of 0 turns the fan immediately off. Increasing the value slows down the transition speed. " +
|
|
1619
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with dimmingSpeedUpRemote setting.",
|
|
1620
|
+
},
|
|
1621
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1622
|
+
rampRateOnToOffRemote_2: {
|
|
1623
|
+
...COMMON_ATTRIBUTES.rampRateOnToOffRemote,
|
|
1624
|
+
description: "This changes the speed that the fan turns off when controlled from the hub. " +
|
|
1625
|
+
"A setting of 'instant' turns the fan immediately off. Increasing the value slows down the transition speed. " +
|
|
1626
|
+
"Every number represents 100ms. Default = 127 - Keep in sync with rampRateOffToOnRemote setting.",
|
|
1627
|
+
},
|
|
1628
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1629
|
+
minimumLevel_2: {
|
|
1630
|
+
...COMMON_DIMMER_ATTRIBUTES.minimumLevel,
|
|
1631
|
+
description: "The minimum level that the fan can be set to.",
|
|
1632
|
+
},
|
|
1633
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1634
|
+
maximumLevel_2: {
|
|
1635
|
+
...COMMON_DIMMER_ATTRIBUTES.maximumLevel,
|
|
1636
|
+
description: "The maximum level that the fan can be set to.",
|
|
1637
|
+
},
|
|
1638
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1639
|
+
autoTimerOff_2: {
|
|
1640
|
+
...COMMON_ATTRIBUTES.autoTimerOff,
|
|
1641
|
+
description: "Automatically turns the fan off after this many seconds." +
|
|
1642
|
+
" When the fan is turned on a timer is started. When the timer expires, the switch is turned off. 0 = Auto off is disabled.",
|
|
1643
|
+
},
|
|
1644
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1645
|
+
defaultLevelRemote_2: {
|
|
1646
|
+
...COMMON_ATTRIBUTES.defaultLevelRemote,
|
|
1647
|
+
description: "Default level for the fan when it is turned on from the hub." +
|
|
1648
|
+
" A setting of 255 means that the fan will return to the level that it was on before it was turned off.",
|
|
1649
|
+
},
|
|
1650
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1651
|
+
stateAfterPowerRestored_2: {
|
|
1652
|
+
...COMMON_ATTRIBUTES.stateAfterPowerRestored,
|
|
1653
|
+
description: "The state the fan should return to when power is restored after power failure. 0 = off, 1-254 = level, 255 = previous.",
|
|
1654
|
+
},
|
|
1655
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1656
|
+
quickStartTime_2: {
|
|
1657
|
+
...COMMON_DIMMABLE_LIGHT_ATTRIBUTES.quickStartTime,
|
|
1658
|
+
description: "Duration of full power output while fan transitions from Off to On. In 60th of second. 0 = disable, 1 = 1/60s, 60 = 1s",
|
|
1659
|
+
},
|
|
1660
|
+
// power type readonly
|
|
1661
|
+
// internal temp readonly
|
|
1662
|
+
// overheat readonly
|
|
1663
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1664
|
+
smartBulbMode_2: {
|
|
1665
|
+
...COMMON_DIMMER_ATTRIBUTES.smartBulbMode,
|
|
1666
|
+
values: { Disabled: 0, "Smart Fan Mode": 1 },
|
|
1667
|
+
description: "For use with Smart Fans that need constant power and are controlled via commands rather than power.",
|
|
1668
|
+
},
|
|
1669
|
+
// remote protection readonly..
|
|
1670
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1671
|
+
outputMode_2: {
|
|
1672
|
+
...COMMON_DIMMER_ATTRIBUTES.outputMode,
|
|
1673
|
+
values: { "Ceiling Fan (3-Speed)": 0, "Exhaust Fan (On/Off)": 1 },
|
|
1674
|
+
description: "Use device in ceiling fan (3-Speed) or in exhaust fan (On/Off) mode.",
|
|
1675
|
+
},
|
|
1676
|
+
};
|
|
1677
|
+
function createMmWaveCompositeAreaConverter(key, command) {
|
|
1678
|
+
return {
|
|
1679
|
+
key: [key],
|
|
1680
|
+
convertSet: async (entity, key, values, meta) => {
|
|
1681
|
+
utils.assertObject(values);
|
|
1682
|
+
// The composite structure has area1, area2, area3, area4 as keys
|
|
1683
|
+
const areaKeys = ["area1", "area2", "area3", "area4"];
|
|
1684
|
+
const state = { [key]: {} };
|
|
1685
|
+
const compositeState = state[key];
|
|
1686
|
+
// Process each area that's provided in the composite
|
|
1687
|
+
for (const areaKey of areaKeys) {
|
|
1688
|
+
if (areaKey in values && utils.isObject(values[areaKey])) {
|
|
1689
|
+
const areaData = values[areaKey];
|
|
1690
|
+
// Extract area number from "area1" -> 1, "area2" -> 2, etc.
|
|
1691
|
+
const areaId = Number.parseInt(areaKey.replace("area", ""), 10);
|
|
1692
|
+
const payload = {
|
|
1693
|
+
// areaID is zero indexed
|
|
1694
|
+
areaId: areaId - 1,
|
|
1695
|
+
xMin: areaData.width_min,
|
|
1696
|
+
xMax: areaData.width_max,
|
|
1697
|
+
yMin: areaData.depth_min,
|
|
1698
|
+
yMax: areaData.depth_max,
|
|
1699
|
+
zMin: areaData.height_min,
|
|
1700
|
+
zMax: areaData.height_max,
|
|
1701
|
+
};
|
|
1702
|
+
await entity.command(INOVELLI_MMWAVE_CLUSTER_NAME, command, payload, {
|
|
1703
|
+
disableResponse: true,
|
|
1704
|
+
disableDefaultResponse: true,
|
|
1705
|
+
});
|
|
1706
|
+
// Store the area data in the state
|
|
1707
|
+
compositeState[areaKey] = areaData;
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
// Query areas after all updates are complete
|
|
1711
|
+
if (Object.keys(compositeState).length > 0) {
|
|
1712
|
+
await entity.command(INOVELLI_MMWAVE_CLUSTER_NAME, "mmWaveControl", {
|
|
1713
|
+
controlID: mmWaveControlCommands.query_areas,
|
|
1714
|
+
}, { disableResponse: true, disableDefaultResponse: true });
|
|
1715
|
+
}
|
|
1716
|
+
return { state };
|
|
1717
|
+
},
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
const tzLocal = {
|
|
1721
|
+
inovelli_parameters: (attributes, cluster) => ({
|
|
1722
|
+
key: Object.keys(attributes).filter((a) => !attributes[a].readOnly),
|
|
1723
|
+
convertSet: async (entity, key, value, meta) => {
|
|
1724
|
+
// Check key to see if there is an endpoint postfix for the VZM36
|
|
1725
|
+
const keysplit = key.split("_");
|
|
1726
|
+
let entityToUse = entity;
|
|
1727
|
+
if (keysplit.length === 2) {
|
|
1728
|
+
entityToUse = meta.device.getEndpoint(Number(keysplit[1]));
|
|
1729
|
+
}
|
|
1730
|
+
if (!(key in attributes)) {
|
|
1731
|
+
return;
|
|
1732
|
+
}
|
|
1733
|
+
const payload = {
|
|
1734
|
+
[attributes[key].ID]: {
|
|
1735
|
+
value: attributes[key].displayType === "enum"
|
|
1736
|
+
? // @ts-expect-error ignore
|
|
1737
|
+
attributes[key].values[value]
|
|
1738
|
+
: value,
|
|
1739
|
+
type: attributes[key].dataType,
|
|
1740
|
+
},
|
|
1741
|
+
};
|
|
1742
|
+
await entityToUse.write(cluster, payload, {
|
|
1743
|
+
manufacturerCode: INOVELLI,
|
|
1744
|
+
});
|
|
1745
|
+
return {
|
|
1746
|
+
state: {
|
|
1747
|
+
[key]: value,
|
|
1748
|
+
},
|
|
1749
|
+
};
|
|
1750
|
+
},
|
|
1751
|
+
convertGet: async (entity, key, meta) => {
|
|
1752
|
+
// Check key to see if there is an endpoint postfix for the VZM36
|
|
1753
|
+
const keysplit = key.split("_");
|
|
1754
|
+
let entityToUse = entity;
|
|
1755
|
+
let keyToUse = key;
|
|
1756
|
+
if (keysplit.length === 2) {
|
|
1757
|
+
entityToUse = meta.device.getEndpoint(Number(keysplit[1]));
|
|
1758
|
+
keyToUse = keysplit[0];
|
|
1759
|
+
}
|
|
1760
|
+
// XXX: far too dynamic to properly type
|
|
1761
|
+
await entityToUse.read(cluster, [keyToUse], {
|
|
1762
|
+
manufacturerCode: INOVELLI,
|
|
1763
|
+
});
|
|
1764
|
+
},
|
|
1765
|
+
}),
|
|
1766
|
+
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
1767
|
+
inovelli_parameters_readOnly: (attributes, cluster) => ({
|
|
1768
|
+
key: Object.keys(attributes).filter((a) => attributes[a].readOnly),
|
|
1769
|
+
convertGet: async (entity, key, meta) => {
|
|
1770
|
+
// Check key to see if there is an endpoint postfix for the VZM36
|
|
1771
|
+
const keysplit = key.split("_");
|
|
1772
|
+
let entityToUse = entity;
|
|
1773
|
+
let keyToUse = key;
|
|
1774
|
+
if (keysplit.length === 2) {
|
|
1775
|
+
entityToUse = meta.device.getEndpoint(Number(keysplit[1]));
|
|
1776
|
+
keyToUse = keysplit[0];
|
|
1777
|
+
}
|
|
1778
|
+
// XXX: far too dynamic to properly type
|
|
1779
|
+
await entityToUse.read(cluster, [keyToUse], {
|
|
1780
|
+
manufacturerCode: INOVELLI,
|
|
1781
|
+
});
|
|
1782
|
+
},
|
|
1783
|
+
}),
|
|
1784
|
+
inovelli_led_effect: {
|
|
1785
|
+
key: ["led_effect"],
|
|
1786
|
+
convertSet: async (entity, key, values, meta) => {
|
|
1787
|
+
await entity.command(INOVELLI_CLUSTER_NAME, "ledEffect", {
|
|
1788
|
+
// @ts-expect-error ignore
|
|
1789
|
+
effect: ledEffects[values.effect],
|
|
1790
|
+
// @ts-expect-error ignore
|
|
1791
|
+
color: Math.min(Math.max(0, values.color), 255),
|
|
1792
|
+
// @ts-expect-error ignore
|
|
1793
|
+
level: Math.min(Math.max(0, values.level), 100),
|
|
1794
|
+
// @ts-expect-error ignore
|
|
1795
|
+
duration: Math.min(Math.max(0, values.duration), 255),
|
|
1796
|
+
}, { disableResponse: true, disableDefaultResponse: true });
|
|
1797
|
+
return { state: { [key]: values } };
|
|
1798
|
+
},
|
|
1799
|
+
},
|
|
1800
|
+
inovelli_energy_reset: {
|
|
1801
|
+
key: ["energy_reset"],
|
|
1802
|
+
convertSet: async (entity, key, values, meta) => {
|
|
1803
|
+
await entity.command(INOVELLI_CLUSTER_NAME, "energyReset", {}, { disableResponse: true, disableDefaultResponse: true });
|
|
1804
|
+
},
|
|
1805
|
+
},
|
|
1806
|
+
inovelli_individual_led_effect: {
|
|
1807
|
+
key: ["individual_led_effect"],
|
|
1808
|
+
convertSet: async (entity, key, values, meta) => {
|
|
1809
|
+
utils.assertObject(values);
|
|
1810
|
+
await entity.command(INOVELLI_CLUSTER_NAME, "individualLedEffect", {
|
|
1811
|
+
led: Math.min(Math.max(1, Number.parseInt(values.led, 10)), 7) - 1,
|
|
1812
|
+
effect: individualLedEffects[values.effect],
|
|
1813
|
+
color: Math.min(Math.max(0, values.color), 255),
|
|
1814
|
+
level: Math.min(Math.max(0, values.level), 100),
|
|
1815
|
+
duration: Math.min(Math.max(0, values.duration), 255),
|
|
1816
|
+
}, { disableResponse: true, disableDefaultResponse: true });
|
|
1817
|
+
return { state: { [key]: values } };
|
|
1818
|
+
},
|
|
1819
|
+
},
|
|
1820
|
+
inovelli_mmwave_control_commands: {
|
|
1821
|
+
key: ["mmwave_control_commands"],
|
|
1822
|
+
convertSet: async (entity, key, values, meta) => {
|
|
1823
|
+
utils.assertObject(values);
|
|
1824
|
+
await entity.command(INOVELLI_MMWAVE_CLUSTER_NAME, "mmWaveControl", {
|
|
1825
|
+
controlID: mmWaveControlCommands[values.controlID],
|
|
1826
|
+
}, { disableResponse: true, disableDefaultResponse: true });
|
|
1827
|
+
return { state: { [key]: values } };
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
mmwave_detection_areas: createMmWaveCompositeAreaConverter("mmwave_detection_areas", "setDetectionArea"),
|
|
1831
|
+
mmwave_interference_areas: createMmWaveCompositeAreaConverter("mmwave_interference_areas", "setInterferenceArea"),
|
|
1832
|
+
mmwave_stay_areas: createMmWaveCompositeAreaConverter("mmwave_stay_areas", "setStayArea"),
|
|
1833
|
+
/*
|
|
1834
|
+
* Inovelli devices have a default transition property that the device should
|
|
1835
|
+
* fallback to if a transition is not specified by passing 0xffff
|
|
1836
|
+
*
|
|
1837
|
+
*/
|
|
1838
|
+
light_onoff_brightness_inovelli: {
|
|
1839
|
+
...tz.light_onoff_brightness,
|
|
1840
|
+
convertSet: async (entity, key, value, meta) => {
|
|
1841
|
+
const { message } = meta;
|
|
1842
|
+
const transition = utils.getTransition(entity, "brightness", meta);
|
|
1843
|
+
const state = utils.isString(message.state) ? message.state.toLowerCase() : null;
|
|
1844
|
+
// If transition is not specified and command is on (with no brightness), off or toggle, use on_off converter
|
|
1845
|
+
let brightness;
|
|
1846
|
+
if (message.brightness != null) {
|
|
1847
|
+
brightness = Number(message.brightness);
|
|
1848
|
+
}
|
|
1849
|
+
else if (message.brightness_percent != null) {
|
|
1850
|
+
brightness = utils.mapNumberRange(Number(message.brightness_percent), 0, 100, 0, 255);
|
|
1851
|
+
}
|
|
1852
|
+
if ((state === "toggle" || state === "off" || (brightness === undefined && state === "on")) && !transition.specified) {
|
|
1853
|
+
const localMeta = {
|
|
1854
|
+
...meta,
|
|
1855
|
+
converterOptions: {
|
|
1856
|
+
ctrlbits: 0,
|
|
1857
|
+
ontime: message.on_time != null ? Math.round(message.on_time * 10) : 0xffff,
|
|
1858
|
+
offwaittime: message.off_wait_time != null ? Math.round(message.off_wait_time * 10) : 0xffff,
|
|
1859
|
+
},
|
|
1860
|
+
};
|
|
1861
|
+
return await tz.on_off.convertSet(entity, key, value, localMeta);
|
|
1862
|
+
}
|
|
1863
|
+
const localMeta = {
|
|
1864
|
+
...meta,
|
|
1865
|
+
message: {
|
|
1866
|
+
...message,
|
|
1867
|
+
transition: (!transition.specified ? 0xffff : transition.time) / 10,
|
|
1868
|
+
},
|
|
1869
|
+
};
|
|
1870
|
+
return await tz.light_onoff_brightness.convertSet(entity, key, value, localMeta);
|
|
1871
|
+
},
|
|
1872
|
+
},
|
|
1873
|
+
fan_mode: (endpointId) => ({
|
|
1874
|
+
key: ["fan_mode"],
|
|
1875
|
+
convertSet: async (entity, key, value, meta) => {
|
|
1876
|
+
utils.assertString(value);
|
|
1877
|
+
const endpoint = meta.device.getEndpoint(endpointId);
|
|
1878
|
+
await endpoint.command("genLevelCtrl", "moveToLevelWithOnOff", {
|
|
1879
|
+
level: FAN_MODES[value],
|
|
1880
|
+
transtime: 0xffff,
|
|
1881
|
+
optionsMask: 0,
|
|
1882
|
+
optionsOverride: 0,
|
|
1883
|
+
}, utils.getOptions(meta.mapped, entity));
|
|
1884
|
+
meta.state[key] = value;
|
|
1885
|
+
if (endpointId === 2) {
|
|
1886
|
+
return {
|
|
1887
|
+
state: {
|
|
1888
|
+
[key]: value,
|
|
1889
|
+
fan_state: "ON",
|
|
1890
|
+
},
|
|
1891
|
+
};
|
|
1892
|
+
}
|
|
1893
|
+
return {
|
|
1894
|
+
state: {
|
|
1895
|
+
[key]: value,
|
|
1896
|
+
state: "ON",
|
|
1897
|
+
},
|
|
1898
|
+
};
|
|
1899
|
+
},
|
|
1900
|
+
convertGet: async (entity, key, meta) => {
|
|
1901
|
+
const endpoint = meta.device.getEndpoint(endpointId);
|
|
1902
|
+
await endpoint.read("genLevelCtrl", ["currentLevel"]);
|
|
1903
|
+
},
|
|
1904
|
+
}),
|
|
1905
|
+
fan_state: (endpointId) => ({
|
|
1906
|
+
key: ["fan_state", "on_time", "off_wait_time"],
|
|
1907
|
+
convertSet: async (entity, key, value, meta) => {
|
|
1908
|
+
const targetEntity = endpointId != null ? meta.device.getEndpoint(endpointId) : entity;
|
|
1909
|
+
const localMeta = {
|
|
1910
|
+
...meta,
|
|
1911
|
+
message: {
|
|
1912
|
+
...meta.message,
|
|
1913
|
+
state: meta.message.fan_state,
|
|
1914
|
+
},
|
|
1915
|
+
state: {
|
|
1916
|
+
...meta.state,
|
|
1917
|
+
state: meta.state.fan_state,
|
|
1918
|
+
},
|
|
1919
|
+
};
|
|
1920
|
+
const result = (await tz.on_off.convertSet(targetEntity, key, value, localMeta));
|
|
1921
|
+
if (result?.state?.state != null) {
|
|
1922
|
+
return { state: { fan_state: result.state.state } };
|
|
1923
|
+
}
|
|
1924
|
+
return result ?? {};
|
|
1925
|
+
},
|
|
1926
|
+
convertGet: async (entity, key, meta) => {
|
|
1927
|
+
const targetEntity = endpointId != null ? meta.device.getEndpoint(endpointId) : entity;
|
|
1928
|
+
await tz.on_off.convertGet(targetEntity, key, meta);
|
|
1929
|
+
},
|
|
1930
|
+
}),
|
|
1931
|
+
breezeMode: (endpointId) => ({
|
|
1932
|
+
key: ["breezeMode"],
|
|
1933
|
+
convertSet: async (entity, key, value, meta) => {
|
|
1934
|
+
utils.assertObject(value);
|
|
1935
|
+
// Calculate the value..
|
|
1936
|
+
let configValue = 0;
|
|
1937
|
+
let term = false;
|
|
1938
|
+
configValue += speedToInt(value.speed1);
|
|
1939
|
+
configValue += (Number(value.time1) / 5) * 4;
|
|
1940
|
+
let speed = speedToInt(value.speed2);
|
|
1941
|
+
if (speed !== 0) {
|
|
1942
|
+
configValue += speed * 64;
|
|
1943
|
+
configValue += (value.time2 / 5) * 256;
|
|
1944
|
+
}
|
|
1945
|
+
else {
|
|
1946
|
+
term = true;
|
|
1947
|
+
}
|
|
1948
|
+
speed = speedToInt(value.speed3);
|
|
1949
|
+
if (speed !== 0 && !term) {
|
|
1950
|
+
configValue += speed * 4096;
|
|
1951
|
+
configValue += (value.time3 / 5) * 16384;
|
|
1952
|
+
}
|
|
1953
|
+
else {
|
|
1954
|
+
term = true;
|
|
1955
|
+
}
|
|
1956
|
+
speed = speedToInt(value.speed4);
|
|
1957
|
+
if (speed !== 0 && !term) {
|
|
1958
|
+
configValue += speed * 262144;
|
|
1959
|
+
configValue += (value.time4 / 5) * 1048576;
|
|
1960
|
+
}
|
|
1961
|
+
else {
|
|
1962
|
+
term = true;
|
|
1963
|
+
}
|
|
1964
|
+
speed = speedToInt(value.speed5);
|
|
1965
|
+
if (speed !== 0 && !term) {
|
|
1966
|
+
configValue += speed * 16777216;
|
|
1967
|
+
configValue += (value.time5 / 5) * 67108864;
|
|
1968
|
+
}
|
|
1969
|
+
else {
|
|
1970
|
+
term = true;
|
|
1971
|
+
}
|
|
1972
|
+
const endpoint = meta.device.getEndpoint(endpointId);
|
|
1973
|
+
const payload = { breezeMode: configValue.toString() };
|
|
1974
|
+
await endpoint.write(INOVELLI_CLUSTER_NAME, payload, {
|
|
1975
|
+
manufacturerCode: INOVELLI,
|
|
1976
|
+
});
|
|
1977
|
+
return { state: { [key]: value } };
|
|
1978
|
+
},
|
|
1979
|
+
}),
|
|
1980
|
+
};
|
|
1981
|
+
const fzLocal = {
|
|
1982
|
+
inovelli: (attributes, cluster, splitValuesByEndpoint = false) => ({
|
|
1983
|
+
cluster: cluster,
|
|
1984
|
+
type: ["raw", "readResponse", "attributeReport"],
|
|
1985
|
+
convert: (model, msg, publish, options, meta) => {
|
|
1986
|
+
if (msg.type === "raw" && msg.endpoint.ID === 2 && msg.data[4] === 0x00) {
|
|
1987
|
+
// Scene Event
|
|
1988
|
+
// # byte 1 - msg.data[6]
|
|
1989
|
+
// # 0 - pressed
|
|
1990
|
+
// # 1 - released
|
|
1991
|
+
// # 2 - held
|
|
1992
|
+
// # 3 - 2x
|
|
1993
|
+
// # 4 - 3x
|
|
1994
|
+
// # 5 - 4x
|
|
1995
|
+
// # 6 - 5x
|
|
1996
|
+
// # byte 2 - msg.data[5]
|
|
1997
|
+
// # 1 - down button
|
|
1998
|
+
// # 2 - up button
|
|
1999
|
+
// # 3 - config button
|
|
2000
|
+
const button = buttonLookup[msg.data[5]];
|
|
2001
|
+
const action = clickLookup[msg.data[6]];
|
|
2002
|
+
return { action: `${button}_${action}` };
|
|
2003
|
+
}
|
|
2004
|
+
if (msg.type === "readResponse" || msg.type === "attributeReport") {
|
|
2005
|
+
return Object.keys(msg.data).reduce((p, c) => {
|
|
2006
|
+
const key = splitValuesByEndpoint ? `${c}_${msg.endpoint.ID}` : c;
|
|
2007
|
+
const raw = msg.data[c];
|
|
2008
|
+
if (attributes[key] && attributes[key].displayType === "enum") {
|
|
2009
|
+
return {
|
|
2010
|
+
// biome-ignore lint/performance/noAccumulatingSpread: ignored using `--suppress`
|
|
2011
|
+
...p,
|
|
2012
|
+
[key]: Object.keys(attributes[key].values).find((k) => attributes[key].values[k] === raw),
|
|
2013
|
+
};
|
|
2014
|
+
}
|
|
2015
|
+
// biome-ignore lint/performance/noAccumulatingSpread: ignored using `--suppress`
|
|
2016
|
+
return { ...p, [key]: raw };
|
|
2017
|
+
}, {});
|
|
2018
|
+
}
|
|
2019
|
+
return msg.data;
|
|
2020
|
+
},
|
|
2021
|
+
}),
|
|
2022
|
+
fan_mode: (endpointId) => ({
|
|
2023
|
+
cluster: "genLevelCtrl",
|
|
2024
|
+
type: ["attributeReport", "readResponse"],
|
|
2025
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2026
|
+
if (msg.endpoint.ID === endpointId) {
|
|
2027
|
+
if (msg.data.currentLevel !== undefined) {
|
|
2028
|
+
const mode = intToFanMode(msg.data.currentLevel || 1);
|
|
2029
|
+
return {
|
|
2030
|
+
fan_mode: mode,
|
|
2031
|
+
};
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
return msg.data;
|
|
2035
|
+
},
|
|
2036
|
+
}),
|
|
2037
|
+
fan_state: (endpointId) => ({
|
|
2038
|
+
cluster: "genOnOff",
|
|
2039
|
+
type: ["attributeReport", "readResponse"],
|
|
2040
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2041
|
+
if (msg.data.onOff === undefined) {
|
|
2042
|
+
return msg.data;
|
|
2043
|
+
}
|
|
2044
|
+
if (endpointId != null && msg.endpoint.ID !== endpointId) {
|
|
2045
|
+
return msg.data;
|
|
2046
|
+
}
|
|
2047
|
+
return { fan_state: msg.data.onOff === 1 ? "ON" : "OFF" };
|
|
2048
|
+
},
|
|
2049
|
+
}),
|
|
2050
|
+
on_off_for_endpoint: (endpointId, stateKey) => ({
|
|
2051
|
+
cluster: "genOnOff",
|
|
2052
|
+
type: ["attributeReport", "readResponse"],
|
|
2053
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2054
|
+
if (msg.endpoint.ID !== endpointId || msg.data.onOff === undefined) {
|
|
2055
|
+
return msg.data;
|
|
2056
|
+
}
|
|
2057
|
+
return { [stateKey]: msg.data.onOff === 1 ? "ON" : "OFF" };
|
|
2058
|
+
},
|
|
2059
|
+
}),
|
|
2060
|
+
brightness: {
|
|
2061
|
+
cluster: "genLevelCtrl",
|
|
2062
|
+
type: ["attributeReport", "readResponse"],
|
|
2063
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2064
|
+
if (msg.endpoint.ID === 1) {
|
|
2065
|
+
if (msg.data.currentLevel !== undefined) {
|
|
2066
|
+
return { brightness: msg.data.currentLevel };
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
},
|
|
2070
|
+
},
|
|
2071
|
+
/**
|
|
2072
|
+
* Decode breeze mode value:
|
|
2073
|
+
*
|
|
2074
|
+
* 0: disable
|
|
2075
|
+
* 1~0xffffffff: custom (using user configuration parameters) 4bytes
|
|
2076
|
+
* Up to 5 different options. First two bits determine the speed. Next four bits is time * 5 seconds.
|
|
2077
|
+
* 1111 11 1111 11 1111 11 1111 11 1111 11
|
|
2078
|
+
* Setting byte: 00-off, 01-low, 10-meduim, 11-high
|
|
2079
|
+
* Each 6 bit word is stored in ascending order, step one word being LSB
|
|
2080
|
+
*
|
|
2081
|
+
* Extract each nybble of the word, then reverse the calculation to get the setting for each.
|
|
2082
|
+
*/
|
|
2083
|
+
breeze_mode: (endpointId) => ({
|
|
2084
|
+
cluster: INOVELLI_CLUSTER_NAME,
|
|
2085
|
+
type: ["attributeReport", "readResponse"],
|
|
2086
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2087
|
+
if (msg.endpoint.ID === endpointId) {
|
|
2088
|
+
// TODO: typo?
|
|
2089
|
+
if (msg.data.breezeMode !== undefined) {
|
|
2090
|
+
const bitmasks = [3, 60, 192, 3840, 12288, 245760, 786432, 15728640, 50331648, 1006632960];
|
|
2091
|
+
const raw = msg.data.breezeMode;
|
|
2092
|
+
const s1 = BREEZE_MODES[raw & bitmasks[0]];
|
|
2093
|
+
const s2 = BREEZE_MODES[(raw & bitmasks[2]) / 64];
|
|
2094
|
+
const s3 = BREEZE_MODES[(raw & bitmasks[4]) / 4096];
|
|
2095
|
+
const s4 = BREEZE_MODES[(raw & bitmasks[6]) / 262144];
|
|
2096
|
+
const s5 = BREEZE_MODES[(raw & bitmasks[8]) / 16777216];
|
|
2097
|
+
const d1 = ((raw & bitmasks[1]) / 4) * 5;
|
|
2098
|
+
const d2 = ((raw & bitmasks[3]) / 256) * 5;
|
|
2099
|
+
const d3 = ((raw & bitmasks[5]) / 16384) * 5;
|
|
2100
|
+
const d4 = ((raw & bitmasks[7]) / 1048576) * 5;
|
|
2101
|
+
const d5 = ((raw & bitmasks[9]) / 67108864) * 5;
|
|
2102
|
+
return {
|
|
2103
|
+
breeze_mode: {
|
|
2104
|
+
speed1: s1,
|
|
2105
|
+
duration1: d1,
|
|
2106
|
+
speed2: s2,
|
|
2107
|
+
duration2: d2,
|
|
2108
|
+
speed3: s3,
|
|
2109
|
+
duration3: d3,
|
|
2110
|
+
speed4: s4,
|
|
2111
|
+
duration4: d4,
|
|
2112
|
+
speed5: s5,
|
|
2113
|
+
duration5: d5,
|
|
2114
|
+
},
|
|
2115
|
+
};
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
},
|
|
2119
|
+
}),
|
|
2120
|
+
led_effect_complete: {
|
|
2121
|
+
cluster: INOVELLI_CLUSTER_NAME,
|
|
2122
|
+
type: ["commandLedEffectComplete"],
|
|
2123
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2124
|
+
if (msg.data.notificationType in LED_NOTIFICATION_TYPES) {
|
|
2125
|
+
return { notificationComplete: LED_NOTIFICATION_TYPES[msg.data.notificationType] };
|
|
2126
|
+
}
|
|
2127
|
+
return { notificationComplete: "Unknown" };
|
|
2128
|
+
},
|
|
2129
|
+
},
|
|
2130
|
+
report_areas: {
|
|
2131
|
+
cluster: INOVELLI_MMWAVE_CLUSTER_NAME,
|
|
2132
|
+
type: ["commandReportInterferenceArea", "commandReportDetectionArea", "commandReportStayArea"],
|
|
2133
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2134
|
+
const areas = {};
|
|
2135
|
+
const data = msg.data;
|
|
2136
|
+
for (let i = 1; i <= 4; i++) {
|
|
2137
|
+
areas[`area${i}`] = {
|
|
2138
|
+
width_min: data[`xMin${i}`],
|
|
2139
|
+
width_max: data[`xMax${i}`],
|
|
2140
|
+
height_min: data[`zMin${i}`],
|
|
2141
|
+
height_max: data[`zMax${i}`],
|
|
2142
|
+
depth_min: data[`yMin${i}`],
|
|
2143
|
+
depth_max: data[`yMax${i}`],
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
const result = {};
|
|
2147
|
+
// Map command types to the new property names
|
|
2148
|
+
const propertyMap = {
|
|
2149
|
+
commandReportInterferenceArea: "mmwave_interference_areas",
|
|
2150
|
+
commandReportDetectionArea: "mmwave_detection_areas",
|
|
2151
|
+
commandReportStayArea: "mmwave_stay_areas",
|
|
2152
|
+
};
|
|
2153
|
+
result[propertyMap[msg.type]] = areas;
|
|
2154
|
+
return result;
|
|
2155
|
+
},
|
|
2156
|
+
},
|
|
2157
|
+
anyone_in_reporting_area: {
|
|
2158
|
+
cluster: INOVELLI_MMWAVE_CLUSTER_NAME,
|
|
2159
|
+
type: ["commandAnyoneInReportingArea"],
|
|
2160
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2161
|
+
return {
|
|
2162
|
+
mmwave_area1_occupancy: msg.data.area1 === 1,
|
|
2163
|
+
mmwave_area2_occupancy: msg.data.area2 === 1,
|
|
2164
|
+
mmwave_area3_occupancy: msg.data.area3 === 1,
|
|
2165
|
+
mmwave_area4_occupancy: msg.data.area4 === 1,
|
|
2166
|
+
};
|
|
2167
|
+
},
|
|
2168
|
+
},
|
|
2169
|
+
};
|
|
2170
|
+
const exposeLedEffects = () => {
|
|
2171
|
+
return e
|
|
2172
|
+
.composite("led_effect", "led_effect", ea.STATE_SET)
|
|
2173
|
+
.withFeature(e.enum("effect", ea.STATE_SET, Object.keys(ledEffects)).withDescription("Animation Effect to use for the LEDs"))
|
|
2174
|
+
.withFeature(e
|
|
2175
|
+
.numeric("color", ea.STATE_SET)
|
|
2176
|
+
.withValueMin(0)
|
|
2177
|
+
.withValueMax(255)
|
|
2178
|
+
.withDescription("Calculated by using a hue color circle(value/255*360) If color = 255 display white"))
|
|
2179
|
+
.withFeature(e.numeric("level", ea.STATE_SET).withValueMin(0).withValueMax(100).withDescription("Brightness of the LEDs"))
|
|
2180
|
+
.withFeature(e
|
|
2181
|
+
.numeric("duration", ea.STATE_SET)
|
|
2182
|
+
.withValueMin(0)
|
|
2183
|
+
.withValueMax(255)
|
|
2184
|
+
.withDescription("1-60 is in seconds calculated 61-120 is in minutes calculated by(value-60) " +
|
|
2185
|
+
"Example a value of 65 would be 65-60 = 5 minutes - 120-254 Is in hours calculated by(value-120) " +
|
|
2186
|
+
"Example a value of 132 would be 132-120 would be 12 hours. - 255 Indefinitely"))
|
|
2187
|
+
.withCategory("config");
|
|
2188
|
+
};
|
|
2189
|
+
const exposeIndividualLedEffects = () => {
|
|
2190
|
+
return e
|
|
2191
|
+
.composite("individual_led_effect", "individual_led_effect", ea.STATE_SET)
|
|
2192
|
+
.withFeature(e.enum("led", ea.STATE_SET, ["1", "2", "3", "4", "5", "6", "7"]).withDescription("Individual LED to target."))
|
|
2193
|
+
.withFeature(e.enum("effect", ea.STATE_SET, Object.keys(individualLedEffects)).withDescription("Animation Effect to use for the LED"))
|
|
2194
|
+
.withFeature(e
|
|
2195
|
+
.numeric("color", ea.STATE_SET)
|
|
2196
|
+
.withValueMin(0)
|
|
2197
|
+
.withValueMax(255)
|
|
2198
|
+
.withDescription("Calculated by using a hue color circle(value/255*360) If color = 255 display white"))
|
|
2199
|
+
.withFeature(e.numeric("level", ea.STATE_SET).withValueMin(0).withValueMax(100).withDescription("Brightness of the LED"))
|
|
2200
|
+
.withFeature(e
|
|
2201
|
+
.numeric("duration", ea.STATE_SET)
|
|
2202
|
+
.withValueMin(0)
|
|
2203
|
+
.withValueMax(255)
|
|
2204
|
+
.withDescription("1-60 is in seconds calculated 61-120 is in minutes calculated by(value-60) " +
|
|
2205
|
+
"Example a value of 65 would be 65-60 = 5 minutes - 120-254 Is in hours calculated by(value-120) " +
|
|
2206
|
+
" Example a value of 132 would be 132-120 would be 12 hours. - 255 Indefinitely"))
|
|
2207
|
+
.withCategory("config");
|
|
2208
|
+
};
|
|
2209
|
+
const exposeBreezeMode = () => {
|
|
2210
|
+
return e
|
|
2211
|
+
.composite("breeze mode", "breezeMode", ea.STATE_SET)
|
|
2212
|
+
.withFeature(e.enum("speed1", ea.STATE_SET, ["low", "medium", "high"]).withDescription("Step 1 Speed"))
|
|
2213
|
+
.withFeature(e.numeric("time1", ea.STATE_SET).withValueMin(1).withValueMax(80).withDescription("Duration (s) for fan in Step 1 "))
|
|
2214
|
+
.withFeature(e.enum("speed2", ea.STATE_SET, ["low", "medium", "high"]).withDescription("Step 2 Speed"))
|
|
2215
|
+
.withFeature(e.numeric("time2", ea.STATE_SET).withValueMin(1).withValueMax(80).withDescription("Duration (s) for fan in Step 2 "))
|
|
2216
|
+
.withFeature(e.enum("speed3", ea.STATE_SET, ["low", "medium", "high"]).withDescription("Step 3 Speed"))
|
|
2217
|
+
.withFeature(e.numeric("time3", ea.STATE_SET).withValueMin(1).withValueMax(80).withDescription("Duration (s) for fan in Step 3 "))
|
|
2218
|
+
.withFeature(e.enum("speed4", ea.STATE_SET, ["low", "medium", "high"]).withDescription("Step 4 Speed"))
|
|
2219
|
+
.withFeature(e.numeric("time4", ea.STATE_SET).withValueMin(1).withValueMax(80).withDescription("Duration (s) for fan in Step 4 "))
|
|
2220
|
+
.withFeature(e.enum("speed5", ea.STATE_SET, ["low", "medium", "high"]).withDescription("Step 5 Speed"))
|
|
2221
|
+
.withFeature(e.numeric("time5", ea.STATE_SET).withValueMin(1).withValueMax(80).withDescription("Duration (s) for fan in Step 5 "))
|
|
2222
|
+
.withCategory("config");
|
|
2223
|
+
};
|
|
2224
|
+
const exposeMMWaveControl = () => {
|
|
2225
|
+
return e
|
|
2226
|
+
.composite("mmwave_control_commands", "mmwave_control_commands", ea.STATE_SET)
|
|
2227
|
+
.withFeature(e.enum("controlID", ea.STATE_SET, Object.keys(mmWaveControlCommands)).withDescription("Which mmWave Control command to send"))
|
|
2228
|
+
.withCategory("config");
|
|
2229
|
+
};
|
|
2230
|
+
const exposeLedEffectComplete = () => {
|
|
2231
|
+
return e
|
|
2232
|
+
.enum("notificationComplete", ea.STATE, Object.values(LED_NOTIFICATION_TYPES))
|
|
2233
|
+
.withDescription("Indication that a specific notification has completed.")
|
|
2234
|
+
.withCategory("diagnostic");
|
|
2235
|
+
};
|
|
2236
|
+
const exposeEnergyReset = () => {
|
|
2237
|
+
return e.enum("energy_reset", ea.SET, ["reset"]).withDescription("Reset energy meter").withCategory("config");
|
|
2238
|
+
};
|
|
2239
|
+
const exposeMMWaveAreas = () => {
|
|
2240
|
+
return [
|
|
2241
|
+
e
|
|
2242
|
+
.binary("area1Occupancy", ea.STATE, true, false)
|
|
2243
|
+
.withProperty("mmwave_area1_occupancy")
|
|
2244
|
+
.withDescription("Indicates whether the device detected occupancy in Area 1"),
|
|
2245
|
+
e
|
|
2246
|
+
.binary("area2Occupancy", ea.STATE, true, false)
|
|
2247
|
+
.withProperty("mmwave_area2_occupancy")
|
|
2248
|
+
.withDescription("Indicates whether the device detected occupancy in Area 2"),
|
|
2249
|
+
e
|
|
2250
|
+
.binary("area3Occupancy", ea.STATE, true, false)
|
|
2251
|
+
.withProperty("mmwave_area3_occupancy")
|
|
2252
|
+
.withDescription("Indicates whether the device detected occupancy in Area 3"),
|
|
2253
|
+
e
|
|
2254
|
+
.binary("area4Occupancy", ea.STATE, true, false)
|
|
2255
|
+
.withProperty("mmwave_area4_occupancy")
|
|
2256
|
+
.withDescription("Indicates whether the device detected occupancy in Area 4"),
|
|
2257
|
+
];
|
|
2258
|
+
};
|
|
2259
|
+
const createAreaComposite = (areaName, property) => {
|
|
2260
|
+
return e
|
|
2261
|
+
.composite(areaName, property, ea.STATE)
|
|
2262
|
+
.withFeature(e
|
|
2263
|
+
.numeric("width_min", ea.STATE_SET)
|
|
2264
|
+
.withValueMin(-600)
|
|
2265
|
+
.withValueMax(600)
|
|
2266
|
+
.withDescription("Defines the area (negative values are left of the switch facing away from the wall, positive values are right)"))
|
|
2267
|
+
.withFeature(e
|
|
2268
|
+
.numeric("width_max", ea.STATE_SET)
|
|
2269
|
+
.withValueMin(-600)
|
|
2270
|
+
.withValueMax(600)
|
|
2271
|
+
.withDescription("Defines the area (negative values are left of the switch facing away from the wall, positive values are right)"))
|
|
2272
|
+
.withFeature(e
|
|
2273
|
+
.numeric("height_min", ea.STATE_SET)
|
|
2274
|
+
.withValueMin(-600)
|
|
2275
|
+
.withValueMax(600)
|
|
2276
|
+
.withDescription("Defines the area (negative values are below the switch, positive values are above)"))
|
|
2277
|
+
.withFeature(e
|
|
2278
|
+
.numeric("height_max", ea.STATE_SET)
|
|
2279
|
+
.withValueMin(-600)
|
|
2280
|
+
.withValueMax(600)
|
|
2281
|
+
.withDescription("Defines the area (negative values are below the switch, positive values are above)"))
|
|
2282
|
+
.withFeature(e.numeric("depth_min", ea.STATE_SET).withValueMin(0).withValueMax(600).withDescription("Defines the area in front of the switch"))
|
|
2283
|
+
.withFeature(e.numeric("depth_max", ea.STATE_SET).withValueMin(0).withValueMax(600).withDescription("Defines the area in front of the switch"));
|
|
2284
|
+
};
|
|
2285
|
+
const exposeDetectionAreas = () => {
|
|
2286
|
+
return e
|
|
2287
|
+
.composite("mmwave_detection_areas", "mmwave_detection_areas", ea.STATE_SET)
|
|
2288
|
+
.withDescription("Defines one or more active detection zones where the sensor reports movement or occupancy. Up to four detection zones can be set.")
|
|
2289
|
+
.withFeature(createAreaComposite("area_1", "area1"))
|
|
2290
|
+
.withFeature(createAreaComposite("area_2", "area2"))
|
|
2291
|
+
.withFeature(createAreaComposite("area_3", "area3"))
|
|
2292
|
+
.withFeature(createAreaComposite("area_4", "area4"))
|
|
2293
|
+
.withCategory("config");
|
|
2294
|
+
};
|
|
2295
|
+
const exposeInterferenceAreas = () => {
|
|
2296
|
+
return e
|
|
2297
|
+
.composite("mmwave_interference_areas", "mmwave_interference_areas", ea.STATE_SET)
|
|
2298
|
+
.withDescription("Manually defines the coordinates of an interference area, which is an ignored zone where targets are not reported as present. Up to four zones can be defined.")
|
|
2299
|
+
.withFeature(createAreaComposite("area_1", "area1"))
|
|
2300
|
+
.withFeature(createAreaComposite("area_2", "area2"))
|
|
2301
|
+
.withFeature(createAreaComposite("area_3", "area3"))
|
|
2302
|
+
.withFeature(createAreaComposite("area_4", "area4"))
|
|
2303
|
+
.withCategory("config");
|
|
2304
|
+
};
|
|
2305
|
+
const exposeStayAreas = () => {
|
|
2306
|
+
return e
|
|
2307
|
+
.composite("mmwave_stay_areas", "mmwave_stay_areas", ea.STATE_SET)
|
|
2308
|
+
.withDescription("Defines one or more stay areas where stationary presence should still be detected. Up to four stay zones can be configured.")
|
|
2309
|
+
.withFeature(createAreaComposite("area_1", "area1"))
|
|
2310
|
+
.withFeature(createAreaComposite("area_2", "area2"))
|
|
2311
|
+
.withFeature(createAreaComposite("area_3", "area3"))
|
|
2312
|
+
.withFeature(createAreaComposite("area_4", "area4"))
|
|
2313
|
+
.withCategory("config");
|
|
2314
|
+
};
|
|
2315
|
+
const BUTTON_TAP_SEQUENCES = [
|
|
2316
|
+
"down_single",
|
|
2317
|
+
"up_single",
|
|
2318
|
+
"config_single",
|
|
2319
|
+
"down_release",
|
|
2320
|
+
"up_release",
|
|
2321
|
+
"config_release",
|
|
2322
|
+
"down_held",
|
|
2323
|
+
"up_held",
|
|
2324
|
+
"config_held",
|
|
2325
|
+
"down_double",
|
|
2326
|
+
"up_double",
|
|
2327
|
+
"config_double",
|
|
2328
|
+
"down_triple",
|
|
2329
|
+
"up_triple",
|
|
2330
|
+
"config_triple",
|
|
2331
|
+
"down_quadruple",
|
|
2332
|
+
"up_quadruple",
|
|
2333
|
+
"config_quadruple",
|
|
2334
|
+
"down_quintuple",
|
|
2335
|
+
"up_quintuple",
|
|
2336
|
+
"config_quintuple",
|
|
2337
|
+
];
|
|
2338
|
+
/*
|
|
2339
|
+
* Inovelli devices have a huge number of attributes. Calling endpoint.read() in a single call
|
|
2340
|
+
* for all attributes causes timeouts even with the timeout set to an absurdly high number (2 minutes)
|
|
2341
|
+
*/
|
|
2342
|
+
const chunkedRead = async (endpoint, attributes, cluster) => {
|
|
2343
|
+
const chunkSize = 10;
|
|
2344
|
+
for (let i = 0; i < attributes.length; i += chunkSize) {
|
|
2345
|
+
// XXX: far too dynamic to properly type
|
|
2346
|
+
await endpoint.read(cluster, attributes.slice(i, i + chunkSize));
|
|
2347
|
+
}
|
|
2348
|
+
};
|
|
2349
|
+
exports.definitions = [
|
|
2350
|
+
{
|
|
2351
|
+
zigbeeModel: ["VZM30-SN"],
|
|
2352
|
+
model: "VZM30-SN",
|
|
2353
|
+
vendor: "Inovelli",
|
|
2354
|
+
description: "On/off switch",
|
|
2355
|
+
extend: [
|
|
2356
|
+
m.deviceEndpoints({
|
|
2357
|
+
endpoints: { "1": 1, "2": 2, "3": 3, "4": 4 },
|
|
2358
|
+
multiEndpointSkip: ["state", "voltage", "power", "current", "energy", "brightness", "temperature", "humidity"],
|
|
2359
|
+
}),
|
|
2360
|
+
inovelliExtend.inovelliLight(),
|
|
2361
|
+
inovelliExtend.inovelliDevice({
|
|
2362
|
+
attrs: [{ attributes: VZM30_ATTRIBUTES, clusterName: INOVELLI_CLUSTER_NAME }],
|
|
2363
|
+
supportsLedEffects: true,
|
|
2364
|
+
supportsButtonTaps: true,
|
|
2365
|
+
}),
|
|
2366
|
+
inovelliExtend.addCustomClusterInovelli(),
|
|
2367
|
+
m.identify(),
|
|
2368
|
+
inovelliExtend.inovelliEnergyReset(),
|
|
2369
|
+
m.electricityMeter({ energy: { divisor: 1000 } }),
|
|
2370
|
+
m.temperature(),
|
|
2371
|
+
m.humidity(),
|
|
2372
|
+
],
|
|
2373
|
+
ota: true,
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
zigbeeModel: ["VZM31-SN"],
|
|
2377
|
+
model: "VZM31-SN",
|
|
2378
|
+
vendor: "Inovelli",
|
|
2379
|
+
description: "2-in-1 switch + dimmer",
|
|
2380
|
+
extend: [
|
|
2381
|
+
m.deviceEndpoints({
|
|
2382
|
+
endpoints: { "1": 1, "2": 2, "3": 3 },
|
|
2383
|
+
multiEndpointSkip: ["state", "power", "energy", "brightness"],
|
|
2384
|
+
}),
|
|
2385
|
+
inovelliExtend.inovelliLight(),
|
|
2386
|
+
inovelliExtend.inovelliDevice({
|
|
2387
|
+
attrs: [{ attributes: VZM31_ATTRIBUTES, clusterName: INOVELLI_CLUSTER_NAME }],
|
|
2388
|
+
supportsLedEffects: true,
|
|
2389
|
+
supportsButtonTaps: true,
|
|
2390
|
+
}),
|
|
2391
|
+
inovelliExtend.addCustomClusterInovelli(),
|
|
2392
|
+
m.identify(),
|
|
2393
|
+
inovelliExtend.inovelliEnergyReset(),
|
|
2394
|
+
m.electricityMeter({
|
|
2395
|
+
current: false,
|
|
2396
|
+
voltage: false,
|
|
2397
|
+
power: { min: 15, max: 3600, change: 1 },
|
|
2398
|
+
energy: { min: 15, max: 3600, change: 0 },
|
|
2399
|
+
}),
|
|
2400
|
+
],
|
|
2401
|
+
ota: true,
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
zigbeeModel: ["VZM32-SN"],
|
|
2405
|
+
model: "VZM32-SN",
|
|
2406
|
+
vendor: "Inovelli",
|
|
2407
|
+
description: "mmWave Zigbee Dimmer",
|
|
2408
|
+
extend: [
|
|
2409
|
+
m.deviceEndpoints({
|
|
2410
|
+
endpoints: { "1": 1, "2": 2, "3": 3 },
|
|
2411
|
+
multiEndpointSkip: ["state", "voltage", "power", "current", "energy", "brightness", "illuminance", "occupancy"],
|
|
2412
|
+
}),
|
|
2413
|
+
inovelliExtend.inovelliLight(),
|
|
2414
|
+
inovelliExtend.inovelliDevice({
|
|
2415
|
+
attrs: [
|
|
2416
|
+
{ attributes: VZM32_ATTRIBUTES, clusterName: INOVELLI_CLUSTER_NAME },
|
|
2417
|
+
{ attributes: VZM32_MMWAVE_ATTRIBUTES, clusterName: INOVELLI_MMWAVE_CLUSTER_NAME },
|
|
2418
|
+
],
|
|
2419
|
+
supportsLedEffects: true,
|
|
2420
|
+
supportsButtonTaps: true,
|
|
2421
|
+
}),
|
|
2422
|
+
inovelliExtend.inovelliMMWave(),
|
|
2423
|
+
inovelliExtend.addCustomClusterInovelli(),
|
|
2424
|
+
inovelliExtend.addCustomMMWaveClusterInovelli(),
|
|
2425
|
+
m.identify(),
|
|
2426
|
+
inovelliExtend.inovelliEnergyReset(),
|
|
2427
|
+
m.electricityMeter({
|
|
2428
|
+
energy: { divisor: 1000 },
|
|
2429
|
+
}),
|
|
2430
|
+
m.illuminance(),
|
|
2431
|
+
m.occupancy(),
|
|
2432
|
+
],
|
|
2433
|
+
ota: true,
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
zigbeeModel: ["VZM35-SN"],
|
|
2437
|
+
model: "VZM35-SN",
|
|
2438
|
+
vendor: "Inovelli",
|
|
2439
|
+
description: "Fan controller",
|
|
2440
|
+
extend: [
|
|
2441
|
+
inovelliExtend.inovelliFan({ endpointId: 1 }),
|
|
2442
|
+
inovelliExtend.inovelliDevice({
|
|
2443
|
+
attrs: [{ attributes: VZM35_ATTRIBUTES, clusterName: INOVELLI_CLUSTER_NAME }],
|
|
2444
|
+
supportsLedEffects: true,
|
|
2445
|
+
supportsButtonTaps: true,
|
|
2446
|
+
}),
|
|
2447
|
+
inovelliExtend.addCustomClusterInovelli(),
|
|
2448
|
+
m.identify(),
|
|
2449
|
+
],
|
|
2450
|
+
ota: true,
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
zigbeeModel: ["VZM36"],
|
|
2454
|
+
model: "VZM36",
|
|
2455
|
+
vendor: "Inovelli",
|
|
2456
|
+
description: "Fan canopy module",
|
|
2457
|
+
fromZigbee: [],
|
|
2458
|
+
toZigbee: [],
|
|
2459
|
+
extend: [
|
|
2460
|
+
inovelliExtend.inovelliLight({ splitValuesByEndpoint: true }),
|
|
2461
|
+
inovelliExtend.inovelliFan({ endpointId: 2, splitValuesByEndpoint: true }),
|
|
2462
|
+
inovelliExtend.inovelliDevice({
|
|
2463
|
+
attrs: [{ attributes: VZM36_ATTRIBUTES, clusterName: INOVELLI_CLUSTER_NAME }],
|
|
2464
|
+
supportsLedEffects: false,
|
|
2465
|
+
splitValuesByEndpoint: true,
|
|
2466
|
+
supportsButtonTaps: false,
|
|
2467
|
+
}),
|
|
2468
|
+
inovelliExtend.addCustomClusterInovelli(),
|
|
2469
|
+
m.identify(),
|
|
2470
|
+
],
|
|
2471
|
+
ota: true,
|
|
2472
|
+
},
|
|
2473
|
+
];
|
|
2474
|
+
//# sourceMappingURL=inovelli.js.map
|