zigbee-herdsman-converters 23.0.0 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7396 -0
- package/dist/converters/fromZigbee.d.ts +292 -2035
- package/dist/converters/fromZigbee.d.ts.map +1 -1
- package/dist/converters/fromZigbee.js +5084 -5085
- package/dist/converters/fromZigbee.js.map +1 -1
- package/dist/converters/toZigbee.d.ts +228 -1581
- package/dist/converters/toZigbee.d.ts.map +1 -1
- package/dist/converters/toZigbee.js +4163 -4174
- package/dist/converters/toZigbee.js.map +1 -1
- package/dist/devices/ITCommander.js +3 -6
- package/dist/devices/ITCommander.js.map +1 -1
- package/dist/devices/acova.js +15 -18
- package/dist/devices/acova.js.map +1 -1
- package/dist/devices/adeo.js +23 -26
- package/dist/devices/adeo.js.map +1 -1
- package/dist/devices/adurosmart.js +8 -11
- package/dist/devices/adurosmart.js.map +1 -1
- package/dist/devices/aeotec.js +2 -5
- package/dist/devices/aeotec.js.map +1 -1
- package/dist/devices/airam.js +3 -6
- package/dist/devices/airam.js.map +1 -1
- package/dist/devices/airzone_aidoo.js +9 -12
- package/dist/devices/airzone_aidoo.js.map +1 -1
- package/dist/devices/akuvox.js +2 -5
- package/dist/devices/akuvox.js.map +1 -1
- package/dist/devices/aldi.js +2 -5
- package/dist/devices/aldi.js.map +1 -1
- package/dist/devices/alecto.js +2 -5
- package/dist/devices/alecto.js.map +1 -1
- package/dist/devices/atlantic.js +9 -9
- package/dist/devices/atlantic.js.map +1 -1
- package/dist/devices/aurora_lighting.js +12 -15
- package/dist/devices/aurora_lighting.js.map +1 -1
- package/dist/devices/awox.js +11 -14
- package/dist/devices/awox.js.map +1 -1
- package/dist/devices/axis.js +4 -7
- package/dist/devices/axis.js.map +1 -1
- package/dist/devices/bitron.js +34 -37
- package/dist/devices/bitron.js.map +1 -1
- package/dist/devices/bituo_technik.js +3 -6
- package/dist/devices/bituo_technik.js.map +1 -1
- package/dist/devices/blaupunkt.js +4 -7
- package/dist/devices/blaupunkt.js.map +1 -1
- package/dist/devices/blitzwolf.js +3 -6
- package/dist/devices/blitzwolf.js.map +1 -1
- package/dist/devices/bosch.js +42 -45
- package/dist/devices/bosch.js.map +1 -1
- package/dist/devices/brimate.js +2 -5
- package/dist/devices/brimate.js.map +1 -1
- package/dist/devices/bticino.js +10 -13
- package/dist/devices/bticino.js.map +1 -1
- package/dist/devices/busch_jaeger.js +4 -7
- package/dist/devices/busch_jaeger.js.map +1 -1
- package/dist/devices/byun.js +3 -6
- package/dist/devices/byun.js.map +1 -1
- package/dist/devices/calex.js +8 -11
- package/dist/devices/calex.js.map +1 -1
- package/dist/devices/casaia.js +5 -8
- package/dist/devices/casaia.js.map +1 -1
- package/dist/devices/cel.js +35 -5
- package/dist/devices/cel.js.map +1 -1
- package/dist/devices/centralite.js +48 -51
- package/dist/devices/centralite.js.map +1 -1
- package/dist/devices/cleverio.js +6 -9
- package/dist/devices/cleverio.js.map +1 -1
- package/dist/devices/climax.js +15 -18
- package/dist/devices/climax.js.map +1 -1
- package/dist/devices/ctm.js +30 -33
- package/dist/devices/ctm.js.map +1 -1
- package/dist/devices/current_products_corp.js +4 -7
- package/dist/devices/current_products_corp.js.map +1 -1
- package/dist/devices/custom_devices_diy.js +35 -38
- package/dist/devices/custom_devices_diy.js.map +1 -1
- package/dist/devices/danalock.js +4 -7
- package/dist/devices/danalock.js.map +1 -1
- package/dist/devices/danfoss.js +82 -85
- package/dist/devices/danfoss.js.map +1 -1
- package/dist/devices/databyte.js +5 -8
- package/dist/devices/databyte.js.map +1 -1
- package/dist/devices/datek.js +29 -32
- package/dist/devices/datek.js.map +1 -1
- package/dist/devices/dawon_dns.js +17 -20
- package/dist/devices/dawon_dns.js.map +1 -1
- package/dist/devices/develco.js +36 -39
- package/dist/devices/develco.js.map +1 -1
- package/dist/devices/diyruz.js +27 -30
- package/dist/devices/diyruz.js.map +1 -1
- package/dist/devices/dlink.js +2 -5
- package/dist/devices/dlink.js.map +1 -1
- package/dist/devices/easyaccess.js +4 -7
- package/dist/devices/easyaccess.js.map +1 -1
- package/dist/devices/echostar.js +3 -6
- package/dist/devices/echostar.js.map +1 -1
- package/dist/devices/ecodim.js +7 -10
- package/dist/devices/ecodim.js.map +1 -1
- package/dist/devices/ecolink.js +2 -5
- package/dist/devices/ecolink.js.map +1 -1
- package/dist/devices/ecozy.js +17 -20
- package/dist/devices/ecozy.js.map +1 -1
- package/dist/devices/edp.js +4 -7
- package/dist/devices/edp.js.map +1 -1
- package/dist/devices/efekta.d.ts.map +1 -1
- package/dist/devices/efekta.js +297 -51
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/eglo.js +14 -17
- package/dist/devices/eglo.js.map +1 -1
- package/dist/devices/elko.js +5 -8
- package/dist/devices/elko.js.map +1 -1
- package/dist/devices/enocean.js +4 -7
- package/dist/devices/enocean.js.map +1 -1
- package/dist/devices/envilar.js +2 -5
- package/dist/devices/envilar.js.map +1 -1
- package/dist/devices/essentialb.js +2 -5
- package/dist/devices/essentialb.js.map +1 -1
- package/dist/devices/eurotronic.js +34 -37
- package/dist/devices/eurotronic.js.map +1 -1
- package/dist/devices/evn.js +11 -14
- package/dist/devices/evn.js.map +1 -1
- package/dist/devices/evology.js +4 -7
- package/dist/devices/evology.js.map +1 -1
- package/dist/devices/ewelink.js +2 -5
- package/dist/devices/ewelink.js.map +1 -1
- package/dist/devices/fantem.js +3 -6
- package/dist/devices/fantem.js.map +1 -1
- package/dist/devices/feibit.js +21 -24
- package/dist/devices/feibit.js.map +1 -1
- package/dist/devices/fireangel.js +2 -5
- package/dist/devices/fireangel.js.map +1 -1
- package/dist/devices/ge.js +6 -9
- package/dist/devices/ge.js.map +1 -1
- package/dist/devices/gewiss.js +4 -7
- package/dist/devices/gewiss.js.map +1 -1
- package/dist/devices/gledopto.d.ts.map +1 -1
- package/dist/devices/gledopto.js +18 -16
- package/dist/devices/gledopto.js.map +1 -1
- package/dist/devices/gmmts.js +2 -5
- package/dist/devices/gmmts.js.map +1 -1
- package/dist/devices/halemeier.js +7 -10
- package/dist/devices/halemeier.js.map +1 -1
- package/dist/devices/hampton_bay.js +4 -7
- package/dist/devices/hampton_bay.js.map +1 -1
- package/dist/devices/heiman.js +62 -65
- package/dist/devices/heiman.js.map +1 -1
- package/dist/devices/heimgard_technologies.js +20 -23
- package/dist/devices/heimgard_technologies.js.map +1 -1
- package/dist/devices/hive.js +97 -100
- package/dist/devices/hive.js.map +1 -1
- package/dist/devices/hommyn.js +3 -6
- package/dist/devices/hommyn.js.map +1 -1
- package/dist/devices/honyar.js +12 -15
- package/dist/devices/honyar.js.map +1 -1
- package/dist/devices/hzc_electric.js +4 -7
- package/dist/devices/hzc_electric.js.map +1 -1
- package/dist/devices/icasa.js +5 -8
- package/dist/devices/icasa.js.map +1 -1
- package/dist/devices/ihorn.js +9 -12
- package/dist/devices/ihorn.js.map +1 -1
- package/dist/devices/iluminize.js +36 -39
- package/dist/devices/iluminize.js.map +1 -1
- package/dist/devices/imhotepcreation.js +19 -22
- package/dist/devices/imhotepcreation.js.map +1 -1
- package/dist/devices/immax.js +11 -14
- package/dist/devices/immax.js.map +1 -1
- package/dist/devices/innr.js +4 -7
- package/dist/devices/innr.js.map +1 -1
- package/dist/devices/inovelli.js +27 -30
- package/dist/devices/inovelli.js.map +1 -1
- package/dist/devices/insta.js +16 -19
- package/dist/devices/insta.js.map +1 -1
- package/dist/devices/iotperfect.js +2 -5
- package/dist/devices/iotperfect.js.map +1 -1
- package/dist/devices/iris.js +13 -16
- package/dist/devices/iris.js.map +1 -1
- package/dist/devices/jasco.js +2 -5
- package/dist/devices/jasco.js.map +1 -1
- package/dist/devices/javis.js +3 -6
- package/dist/devices/javis.js.map +1 -1
- package/dist/devices/jethome.js +2 -5
- package/dist/devices/jethome.js.map +1 -1
- package/dist/devices/jxuan.js +7 -10
- package/dist/devices/jxuan.js.map +1 -1
- package/dist/devices/kami.js +2 -5
- package/dist/devices/kami.js.map +1 -1
- package/dist/devices/keen_home.js +9 -12
- package/dist/devices/keen_home.js.map +1 -1
- package/dist/devices/kmpcil.js +5 -8
- package/dist/devices/kmpcil.js.map +1 -1
- package/dist/devices/konke.js +12 -15
- package/dist/devices/konke.js.map +1 -1
- package/dist/devices/kurvia.js +2 -5
- package/dist/devices/kurvia.js.map +1 -1
- package/dist/devices/kwikset.js +16 -19
- package/dist/devices/kwikset.js.map +1 -1
- package/dist/devices/led_trading.js +4 -7
- package/dist/devices/led_trading.js.map +1 -1
- package/dist/devices/leedarson.js +6 -9
- package/dist/devices/leedarson.js.map +1 -1
- package/dist/devices/legrand.js +61 -64
- package/dist/devices/legrand.js.map +1 -1
- package/dist/devices/lellki.js +4 -7
- package/dist/devices/lellki.js.map +1 -1
- package/dist/devices/letv.js +2 -5
- package/dist/devices/letv.js.map +1 -1
- package/dist/devices/leviton.js +22 -25
- package/dist/devices/leviton.js.map +1 -1
- package/dist/devices/lidl.js +10 -13
- package/dist/devices/lidl.js.map +1 -1
- package/dist/devices/linkind.js +20 -23
- package/dist/devices/linkind.js.map +1 -1
- package/dist/devices/linptech.js +2 -5
- package/dist/devices/linptech.js.map +1 -1
- package/dist/devices/livingwise.js +4 -7
- package/dist/devices/livingwise.js.map +1 -1
- package/dist/devices/livolo.js +19 -22
- package/dist/devices/livolo.js.map +1 -1
- package/dist/devices/lixee.js +3 -6
- package/dist/devices/lixee.js.map +1 -1
- package/dist/devices/lonsonho.js +16 -19
- package/dist/devices/lonsonho.js.map +1 -1
- package/dist/devices/lumi.js +146 -149
- package/dist/devices/lumi.js.map +1 -1
- package/dist/devices/lupus.js +8 -11
- package/dist/devices/lupus.js.map +1 -1
- package/dist/devices/lutron.js +3 -6
- package/dist/devices/lutron.js.map +1 -1
- package/dist/devices/lux.js +15 -18
- package/dist/devices/lux.js.map +1 -1
- package/dist/devices/lytko.js +46 -49
- package/dist/devices/lytko.js.map +1 -1
- package/dist/devices/meazon.js +6 -9
- package/dist/devices/meazon.js.map +1 -1
- package/dist/devices/mercator.js +7 -10
- package/dist/devices/mercator.js.map +1 -1
- package/dist/devices/miboxer.js +8 -11
- package/dist/devices/miboxer.js.map +1 -1
- package/dist/devices/moes.js +19 -22
- package/dist/devices/moes.js.map +1 -1
- package/dist/devices/muller_licht.js +22 -25
- package/dist/devices/muller_licht.js.map +1 -1
- package/dist/devices/multiterm.js +5 -8
- package/dist/devices/multiterm.js.map +1 -1
- package/dist/devices/namron.js +85 -88
- package/dist/devices/namron.js.map +1 -1
- package/dist/devices/neo.js +4 -7
- package/dist/devices/neo.js.map +1 -1
- package/dist/devices/net2grid.js +4 -7
- package/dist/devices/net2grid.js.map +1 -1
- package/dist/devices/netvox.js +5 -8
- package/dist/devices/netvox.js.map +1 -1
- package/dist/devices/niko.js +20 -23
- package/dist/devices/niko.js.map +1 -1
- package/dist/devices/ninja_blocks.js +4 -7
- package/dist/devices/ninja_blocks.js.map +1 -1
- package/dist/devices/nodon.js +23 -26
- package/dist/devices/nodon.js.map +1 -1
- package/dist/devices/nous.js +4 -7
- package/dist/devices/nous.js.map +1 -1
- package/dist/devices/novo.js +2 -5
- package/dist/devices/novo.js.map +1 -1
- package/dist/devices/nue_3a.js +12 -15
- package/dist/devices/nue_3a.js.map +1 -1
- package/dist/devices/nyce.js +30 -33
- package/dist/devices/nyce.js.map +1 -1
- package/dist/devices/onesti.js +16 -19
- package/dist/devices/onesti.js.map +1 -1
- package/dist/devices/openlumi.js +2 -5
- package/dist/devices/openlumi.js.map +1 -1
- package/dist/devices/orvibo.js +19 -22
- package/dist/devices/orvibo.js.map +1 -1
- package/dist/devices/osram.js +22 -25
- package/dist/devices/osram.js.map +1 -1
- package/dist/devices/oujiabao.js +2 -5
- package/dist/devices/oujiabao.js.map +1 -1
- package/dist/devices/owon.js +33 -36
- package/dist/devices/owon.js.map +1 -1
- package/dist/devices/paul_neuhaus.js +19 -22
- package/dist/devices/paul_neuhaus.js.map +1 -1
- package/dist/devices/paulmann.js +14 -17
- package/dist/devices/paulmann.js.map +1 -1
- package/dist/devices/peq.js +2 -5
- package/dist/devices/peq.js.map +1 -1
- package/dist/devices/perenio.js +8 -11
- package/dist/devices/perenio.js.map +1 -1
- package/dist/devices/philips.js +29 -32
- package/dist/devices/philips.js.map +1 -1
- package/dist/devices/plaid.js +2 -5
- package/dist/devices/plaid.js.map +1 -1
- package/dist/devices/plugwise.js +9 -12
- package/dist/devices/plugwise.js.map +1 -1
- package/dist/devices/profalux.js +6 -9
- package/dist/devices/profalux.js.map +1 -1
- package/dist/devices/prolight.js +10 -13
- package/dist/devices/prolight.js.map +1 -1
- package/dist/devices/purmo.js +12 -15
- package/dist/devices/purmo.js.map +1 -1
- package/dist/devices/qa.js +8 -11
- package/dist/devices/qa.js.map +1 -1
- package/dist/devices/qmotion.js +5 -8
- package/dist/devices/qmotion.js.map +1 -1
- package/dist/devices/qoto.js +2 -5
- package/dist/devices/qoto.js.map +1 -1
- package/dist/devices/rgb_genie.js +43 -46
- package/dist/devices/rgb_genie.js.map +1 -1
- package/dist/devices/robb.js +33 -36
- package/dist/devices/robb.js.map +1 -1
- package/dist/devices/roome.js +2 -5
- package/dist/devices/roome.js.map +1 -1
- package/dist/devices/rtx.js +3 -6
- package/dist/devices/rtx.js.map +1 -1
- package/dist/devices/salus_controls.js +23 -26
- package/dist/devices/salus_controls.js.map +1 -1
- package/dist/devices/saswell.js +2 -5
- package/dist/devices/saswell.js.map +1 -1
- package/dist/devices/schlage.js +4 -7
- package/dist/devices/schlage.js.map +1 -1
- package/dist/devices/schneider_electric.js +156 -159
- package/dist/devices/schneider_electric.js.map +1 -1
- package/dist/devices/schwaiger.js +4 -7
- package/dist/devices/schwaiger.js.map +1 -1
- package/dist/devices/securifi.js +5 -8
- package/dist/devices/securifi.js.map +1 -1
- package/dist/devices/sercomm.js +14 -17
- package/dist/devices/sercomm.js.map +1 -1
- package/dist/devices/shade_control.js +4 -7
- package/dist/devices/shade_control.js.map +1 -1
- package/dist/devices/shinasystem.js +31 -34
- package/dist/devices/shinasystem.js.map +1 -1
- package/dist/devices/siglis.js +43 -46
- package/dist/devices/siglis.js.map +1 -1
- package/dist/devices/sikom.js +4 -7
- package/dist/devices/sikom.js.map +1 -1
- package/dist/devices/sinope.js +70 -73
- package/dist/devices/sinope.js.map +1 -1
- package/dist/devices/siterwell.js +2 -5
- package/dist/devices/siterwell.js.map +1 -1
- package/dist/devices/smart9.js +2 -5
- package/dist/devices/smart9.js.map +1 -1
- package/dist/devices/smartenit.js +5 -8
- package/dist/devices/smartenit.js.map +1 -1
- package/dist/devices/smartthings.js +31 -34
- package/dist/devices/smartthings.js.map +1 -1
- package/dist/devices/smartwings.js +4 -7
- package/dist/devices/smartwings.js.map +1 -1
- package/dist/devices/sohan_electric.js +2 -5
- package/dist/devices/sohan_electric.js.map +1 -1
- package/dist/devices/somfy.js +4 -7
- package/dist/devices/somfy.js.map +1 -1
- package/dist/devices/somgoms.js +5 -8
- package/dist/devices/somgoms.js.map +1 -1
- package/dist/devices/sonoff.js +16 -19
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/stelpro.js +54 -57
- package/dist/devices/stelpro.js.map +1 -1
- package/dist/devices/sunricher.js +54 -57
- package/dist/devices/sunricher.js.map +1 -1
- package/dist/devices/swann.js +4 -7
- package/dist/devices/swann.js.map +1 -1
- package/dist/devices/sylvania.js +3 -6
- package/dist/devices/sylvania.js.map +1 -1
- package/dist/devices/tapestry.js +2 -5
- package/dist/devices/tapestry.js.map +1 -1
- package/dist/devices/technicolor.js +10 -13
- package/dist/devices/technicolor.js.map +1 -1
- package/dist/devices/terncy.js +7 -10
- package/dist/devices/terncy.js.map +1 -1
- package/dist/devices/the_light_group.js +5 -8
- package/dist/devices/the_light_group.js.map +1 -1
- package/dist/devices/third_reality.js +20 -23
- package/dist/devices/third_reality.js.map +1 -1
- package/dist/devices/titan_products.js +2 -5
- package/dist/devices/titan_products.js.map +1 -1
- package/dist/devices/tplink.js +3 -6
- package/dist/devices/tplink.js.map +1 -1
- package/dist/devices/trust.js +6 -9
- package/dist/devices/trust.js.map +1 -1
- package/dist/devices/tubeszb.js +2 -5
- package/dist/devices/tubeszb.js.map +1 -1
- package/dist/devices/tuya.js +191 -194
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/ubisys.js +66 -69
- package/dist/devices/ubisys.js.map +1 -1
- package/dist/devices/uhome.js +4 -7
- package/dist/devices/uhome.js.map +1 -1
- package/dist/devices/universal_electronics_inc.js +20 -23
- package/dist/devices/universal_electronics_inc.js.map +1 -1
- package/dist/devices/vesternet.js +14 -17
- package/dist/devices/vesternet.js.map +1 -1
- package/dist/devices/viessmann.js +16 -19
- package/dist/devices/viessmann.js.map +1 -1
- package/dist/devices/vimar.js +13 -16
- package/dist/devices/vimar.js.map +1 -1
- package/dist/devices/visonic.js +8 -11
- package/dist/devices/visonic.js.map +1 -1
- package/dist/devices/wally.js +2 -5
- package/dist/devices/wally.js.map +1 -1
- package/dist/devices/waxman.js +5 -8
- package/dist/devices/waxman.js.map +1 -1
- package/dist/devices/weiser.js +6 -9
- package/dist/devices/weiser.js.map +1 -1
- package/dist/devices/weten.js +2 -5
- package/dist/devices/weten.js.map +1 -1
- package/dist/devices/wirenboard.js +7 -10
- package/dist/devices/wirenboard.js.map +1 -1
- package/dist/devices/woolley.js +4 -7
- package/dist/devices/woolley.js.map +1 -1
- package/dist/devices/woox.js +8 -11
- package/dist/devices/woox.js.map +1 -1
- package/dist/devices/wyze.js +4 -7
- package/dist/devices/wyze.js.map +1 -1
- package/dist/devices/xyzroe.js +10 -13
- package/dist/devices/xyzroe.js.map +1 -1
- package/dist/devices/yale.js +11 -14
- package/dist/devices/yale.js.map +1 -1
- package/dist/devices/ynoa.js +6 -9
- package/dist/devices/ynoa.js.map +1 -1
- package/dist/devices/yokis.js +2 -5
- package/dist/devices/yokis.js.map +1 -1
- package/dist/devices/yookee.js +4 -7
- package/dist/devices/yookee.js.map +1 -1
- package/dist/devices/zemismart.js +7 -10
- package/dist/devices/zemismart.js.map +1 -1
- package/dist/devices/zen.js +19 -22
- package/dist/devices/zen.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/lib/ikea.js +2 -5
- package/dist/lib/ikea.js.map +1 -1
- package/dist/lib/legacy.d.ts.map +1 -1
- package/dist/lib/legacy.js +2 -2
- package/dist/lib/legacy.js.map +1 -1
- package/dist/lib/lumi.d.ts +2 -14
- package/dist/lib/lumi.d.ts.map +1 -1
- package/dist/lib/lumi.js +5 -8
- package/dist/lib/lumi.js.map +1 -1
- package/dist/lib/modernExtend.js +66 -69
- package/dist/lib/modernExtend.js.map +1 -1
- package/dist/lib/philips.d.ts +1 -1
- package/dist/lib/philips.js +4 -7
- package/dist/lib/philips.js.map +1 -1
- package/dist/lib/tuya.js +5 -8
- package/dist/lib/tuya.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +3 -2
package/dist/devices/tuya.js
CHANGED
|
@@ -32,13 +32,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
36
|
exports.definitions = void 0;
|
|
40
|
-
const
|
|
41
|
-
const
|
|
37
|
+
const fz = __importStar(require("../converters/fromZigbee"));
|
|
38
|
+
const tz = __importStar(require("../converters/toZigbee"));
|
|
42
39
|
const libColor = __importStar(require("../lib/color"));
|
|
43
40
|
const constants_1 = require("../lib/constants");
|
|
44
41
|
const exposes = __importStar(require("../lib/exposes"));
|
|
@@ -409,9 +406,9 @@ const tzLocal = {
|
|
|
409
406
|
state: libColor.syncColorState(newState, meta.state, entity, meta.options),
|
|
410
407
|
};
|
|
411
408
|
}
|
|
412
|
-
return await
|
|
409
|
+
return await tz.light_color.convertSet(entity, key, value, meta);
|
|
413
410
|
},
|
|
414
|
-
convertGet:
|
|
411
|
+
convertGet: tz.light_color.convertGet,
|
|
415
412
|
},
|
|
416
413
|
TS0224: {
|
|
417
414
|
key: ["light", "duration", "volume"],
|
|
@@ -569,9 +566,9 @@ const fzLocal = {
|
|
|
569
566
|
},
|
|
570
567
|
},
|
|
571
568
|
TS0222_humidity: {
|
|
572
|
-
...
|
|
569
|
+
...fz.humidity,
|
|
573
570
|
convert: async (model, msg, publish, options, meta) => {
|
|
574
|
-
const result =
|
|
571
|
+
const result = fz.humidity.convert(model, msg, publish, options, meta);
|
|
575
572
|
if (result)
|
|
576
573
|
result.humidity *= 10;
|
|
577
574
|
return result;
|
|
@@ -608,16 +605,16 @@ const fzLocal = {
|
|
|
608
605
|
msg.data.batteryVoltage < 30 &&
|
|
609
606
|
!["_TZ3000_lqmvrwa2"].includes(meta.device.manufacturerName))
|
|
610
607
|
return;
|
|
611
|
-
return
|
|
608
|
+
return fz.battery.convert(model, msg, publish, options, meta);
|
|
612
609
|
},
|
|
613
610
|
},
|
|
614
611
|
TS0201_humidity: {
|
|
615
|
-
...
|
|
612
|
+
...fz.humidity,
|
|
616
613
|
convert: (model, msg, publish, options, meta) => {
|
|
617
614
|
if (["_TZ3210_ncw88jfq", "_TZ3000_ywagc4rj"].includes(meta.device.manufacturerName)) {
|
|
618
615
|
msg.data.measuredValue *= 10;
|
|
619
616
|
}
|
|
620
|
-
return
|
|
617
|
+
return fz.humidity.convert(model, msg, publish, options, meta);
|
|
621
618
|
},
|
|
622
619
|
},
|
|
623
620
|
humidity10: {
|
|
@@ -645,9 +642,9 @@ const fzLocal = {
|
|
|
645
642
|
},
|
|
646
643
|
},
|
|
647
644
|
TS011F_electrical_measurement: {
|
|
648
|
-
...
|
|
645
|
+
...fz.electrical_measurement,
|
|
649
646
|
convert: async (model, msg, publish, options, meta) => {
|
|
650
|
-
const result =
|
|
647
|
+
const result = fz.electrical_measurement.convert(model, msg, publish, options, meta) ?? {};
|
|
651
648
|
const lookup = {
|
|
652
649
|
power: "activePower",
|
|
653
650
|
current: "rmsCurrent",
|
|
@@ -851,7 +848,7 @@ exports.definitions = [
|
|
|
851
848
|
vendor: "Tuya",
|
|
852
849
|
description: "Gas sensor",
|
|
853
850
|
whiteLabel: [{ vendor: "Tesla Smart", model: "TSL-SEN-GAS" }],
|
|
854
|
-
fromZigbee: [
|
|
851
|
+
fromZigbee: [fz.ias_gas_alarm_1, fz.ignore_basic_report],
|
|
855
852
|
toZigbee: [],
|
|
856
853
|
exposes: [e.gas(), e.tamper()],
|
|
857
854
|
},
|
|
@@ -897,7 +894,7 @@ exports.definitions = [
|
|
|
897
894
|
model: "TS0218",
|
|
898
895
|
vendor: "Tuya",
|
|
899
896
|
description: "Button",
|
|
900
|
-
fromZigbee: [
|
|
897
|
+
fromZigbee: [fz.command_emergency, fz.battery],
|
|
901
898
|
exposes: [e.battery(), e.action(["click"])],
|
|
902
899
|
toZigbee: [],
|
|
903
900
|
},
|
|
@@ -906,7 +903,7 @@ exports.definitions = [
|
|
|
906
903
|
model: "TS0203",
|
|
907
904
|
vendor: "Tuya",
|
|
908
905
|
description: "Door sensor",
|
|
909
|
-
fromZigbee: [
|
|
906
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_contact_alarm_1_report],
|
|
910
907
|
toZigbee: [],
|
|
911
908
|
whiteLabel: [
|
|
912
909
|
{ vendor: "CR Smart Home", model: "TS0203" },
|
|
@@ -980,7 +977,7 @@ exports.definitions = [
|
|
|
980
977
|
model: "TS0203_1",
|
|
981
978
|
vendor: "Tuya",
|
|
982
979
|
description: "Door sensor with scene switch",
|
|
983
|
-
fromZigbee: [tuya.fz.datapoints,
|
|
980
|
+
fromZigbee: [tuya.fz.datapoints, fz.ias_contact_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_contact_alarm_1_report],
|
|
984
981
|
toZigbee: [tuya.tz.datapoints],
|
|
985
982
|
onEvent: tuya.onEventSetTime,
|
|
986
983
|
configure: tuya.configureMagicPacket,
|
|
@@ -995,7 +992,7 @@ exports.definitions = [
|
|
|
995
992
|
model: "LKWSZ211",
|
|
996
993
|
vendor: "Tuya",
|
|
997
994
|
description: "Scene remote with 2 keys",
|
|
998
|
-
fromZigbee: [tuya.fz.datapoints,
|
|
995
|
+
fromZigbee: [tuya.fz.datapoints, fz.ignore_basic_report],
|
|
999
996
|
toZigbee: [tuya.tz.datapoints],
|
|
1000
997
|
onEvent: tuya.onEventSetTime,
|
|
1001
998
|
configure: tuya.configureMagicPacket,
|
|
@@ -1744,8 +1741,8 @@ exports.definitions = [
|
|
|
1744
1741
|
tuya.whitelabel("Lidl", "14149505L/14149506L_2", "Livarno Lux light bar RGB+CCT (black/white)", ["_TZ3210_iystcadi"]),
|
|
1745
1742
|
tuya.whitelabel("Tuya", "TS0505B_2_2", "Zigbee GU10/E14 5W smart bulb", ["_TZ3210_it1u8ahz"]),
|
|
1746
1743
|
],
|
|
1747
|
-
toZigbee: [
|
|
1748
|
-
fromZigbee: [
|
|
1744
|
+
toZigbee: [tz.on_off, tzLocal.led_control, tuya.tz.do_not_disturb],
|
|
1745
|
+
fromZigbee: [fz.on_off, fz.tuya_led_controller, fz.brightness, fz.ignore_basic_report],
|
|
1749
1746
|
exposes: [e.light_brightness_colortemp_colorhs([143, 500]).removeFeature("color_temp_startup"), tuya.exposes.doNotDisturb()],
|
|
1750
1747
|
configure: async (device, coordinatorEndpoint) => {
|
|
1751
1748
|
device.getEndpoint(1).saveClusterAttributeKeyValue("lightingColorCtrl", {
|
|
@@ -1780,8 +1777,8 @@ exports.definitions = [
|
|
|
1780
1777
|
vendor: "Tuya",
|
|
1781
1778
|
description: "Zigbee RGB+CCT light",
|
|
1782
1779
|
whiteLabel: [tuya.whitelabel("Tuya", "TS0505B_4_1", "Zigbee 3.0 15W led light bulb E27 RGBCW", ["_TZ3210_bfwvfyx1"])],
|
|
1783
|
-
toZigbee: [
|
|
1784
|
-
fromZigbee: [
|
|
1780
|
+
toZigbee: [tz.on_off, tzLocal.led_control, tuya.tz.do_not_disturb],
|
|
1781
|
+
fromZigbee: [fz.on_off, fz.tuya_led_controller, fz.brightness, fz.ignore_basic_report],
|
|
1785
1782
|
exposes: [e.light_brightness_colortemp_colorhs([50, 1000]).removeFeature("color_temp_startup"), tuya.exposes.doNotDisturb()],
|
|
1786
1783
|
configure: async (device, coordinatorEndpoint) => {
|
|
1787
1784
|
device.getEndpoint(1).saveClusterAttributeKeyValue("lightingColorCtrl", {
|
|
@@ -1848,7 +1845,7 @@ exports.definitions = [
|
|
|
1848
1845
|
model: "TS0202_3",
|
|
1849
1846
|
vendor: "Tuya",
|
|
1850
1847
|
description: "Motion detector with illuminance",
|
|
1851
|
-
fromZigbee: [
|
|
1848
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report],
|
|
1852
1849
|
toZigbee: [],
|
|
1853
1850
|
onEvent: tuya.onEventSetTime,
|
|
1854
1851
|
configure: tuya.configureMagicPacket,
|
|
@@ -1860,7 +1857,7 @@ exports.definitions = [
|
|
|
1860
1857
|
model: "TS0202_2",
|
|
1861
1858
|
vendor: "Tuya",
|
|
1862
1859
|
description: "Motion sensor with scene switch",
|
|
1863
|
-
fromZigbee: [tuya.fz.datapoints,
|
|
1860
|
+
fromZigbee: [tuya.fz.datapoints, fz.ias_occupancy_alarm_1, fz.battery],
|
|
1864
1861
|
toZigbee: [tuya.tz.datapoints],
|
|
1865
1862
|
configure: async (device, coordinatorEndpoint) => {
|
|
1866
1863
|
const endpoint = device.getEndpoint(1);
|
|
@@ -1889,7 +1886,7 @@ exports.definitions = [
|
|
|
1889
1886
|
vendor: "Tuya",
|
|
1890
1887
|
description: "Motion sensor",
|
|
1891
1888
|
// Requires alarm_1_with_timeout https://github.com/Koenkk/zigbee2mqtt/issues/2818#issuecomment-776119586
|
|
1892
|
-
fromZigbee: [
|
|
1889
|
+
fromZigbee: [fz.ias_occupancy_alarm_1_with_timeout, fz.battery, fz.ignore_basic_report],
|
|
1893
1890
|
toZigbee: [],
|
|
1894
1891
|
exposes: [e.occupancy(), e.battery_low(), e.battery(), e.battery_voltage()],
|
|
1895
1892
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -1918,7 +1915,7 @@ exports.definitions = [
|
|
|
1918
1915
|
tuya.whitelabel("Tuya", "HW500A", "Motion sensor", ["_TZ3000_bsvqrxru"]),
|
|
1919
1916
|
tuya.whitelabel("Nedis", "ZBSM10WT", "Motion sensor", ["_TZ3000_nss8amz9"]),
|
|
1920
1917
|
],
|
|
1921
|
-
fromZigbee: [
|
|
1918
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report],
|
|
1922
1919
|
toZigbee: [],
|
|
1923
1920
|
exposes: (device, options) => {
|
|
1924
1921
|
const exps = [e.occupancy(), e.battery_low(), e.battery(), e.battery_voltage()];
|
|
@@ -1944,8 +1941,8 @@ exports.definitions = [
|
|
|
1944
1941
|
model: "ZM-35H-Q",
|
|
1945
1942
|
vendor: "Tuya",
|
|
1946
1943
|
description: "Motion sensor",
|
|
1947
|
-
fromZigbee: [
|
|
1948
|
-
toZigbee: [
|
|
1944
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ZM35HQ_attr, legacy.fromZigbee.ZM35HQ_battery],
|
|
1945
|
+
toZigbee: [tz.ZM35HQ_attr],
|
|
1949
1946
|
extend: [m.quirkCheckinInterval(15000)],
|
|
1950
1947
|
exposes: [
|
|
1951
1948
|
e.occupancy(),
|
|
@@ -1962,8 +1959,8 @@ exports.definitions = [
|
|
|
1962
1959
|
model: "IH012-RT01",
|
|
1963
1960
|
vendor: "Tuya",
|
|
1964
1961
|
description: "Motion sensor",
|
|
1965
|
-
fromZigbee: [
|
|
1966
|
-
toZigbee: [
|
|
1962
|
+
fromZigbee: [fz.ignore_basic_report, fz.ZM35HQ_attr, fz.battery],
|
|
1963
|
+
toZigbee: [tz.ZM35HQ_attr],
|
|
1967
1964
|
extend: [
|
|
1968
1965
|
m.quirkCheckinInterval(15000),
|
|
1969
1966
|
// Occupancy reporting interval is 60s, so allow for one dropped update plus a small safety margin of 5s
|
|
@@ -1992,8 +1989,8 @@ exports.definitions = [
|
|
|
1992
1989
|
model: "IH012-RT02",
|
|
1993
1990
|
vendor: "Tuya",
|
|
1994
1991
|
description: "Motion sensor",
|
|
1995
|
-
fromZigbee: [
|
|
1996
|
-
toZigbee: [
|
|
1992
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.ignore_basic_report, fz.ZM35HQ_attr, fz.battery],
|
|
1993
|
+
toZigbee: [tz.ZM35HQ_attr],
|
|
1997
1994
|
extend: [m.quirkCheckinInterval(15000)],
|
|
1998
1995
|
exposes: [
|
|
1999
1996
|
e.occupancy(),
|
|
@@ -2029,7 +2026,7 @@ exports.definitions = [
|
|
|
2029
2026
|
model: "TS0207_repeater",
|
|
2030
2027
|
vendor: "Tuya",
|
|
2031
2028
|
description: "Repeater",
|
|
2032
|
-
fromZigbee: [
|
|
2029
|
+
fromZigbee: [fz.linkquality_from_basic],
|
|
2033
2030
|
toZigbee: [],
|
|
2034
2031
|
exposes: [],
|
|
2035
2032
|
},
|
|
@@ -2038,7 +2035,7 @@ exports.definitions = [
|
|
|
2038
2035
|
model: "TS0207_water_leak_detector",
|
|
2039
2036
|
vendor: "Tuya",
|
|
2040
2037
|
description: "Water leak detector",
|
|
2041
|
-
fromZigbee: [
|
|
2038
|
+
fromZigbee: [fz.ias_water_leak_alarm_1, fz.battery, fz.ignore_basic_report],
|
|
2042
2039
|
whiteLabel: [
|
|
2043
2040
|
{ vendor: "CR Smart Home", model: "TS0207" },
|
|
2044
2041
|
tuya.whitelabel("Meian", "SW02", "Water leak sensor", ["_TZ3000_kyb656no"]),
|
|
@@ -2759,12 +2756,12 @@ exports.definitions = [
|
|
|
2759
2756
|
model: "TS130F",
|
|
2760
2757
|
vendor: "Tuya",
|
|
2761
2758
|
description: "Curtain/blind switch",
|
|
2762
|
-
fromZigbee: [
|
|
2759
|
+
fromZigbee: [fz.cover_position_tilt, tuya.fz.indicator_mode, fz.tuya_cover_options, tuya.fz.backlight_mode_off_on],
|
|
2763
2760
|
toZigbee: [
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2761
|
+
tz.cover_state,
|
|
2762
|
+
tz.cover_position_tilt,
|
|
2763
|
+
tz.tuya_cover_calibration,
|
|
2764
|
+
tz.tuya_cover_reversal,
|
|
2768
2765
|
tuya.tz.backlight_indicator_mode_2,
|
|
2769
2766
|
tuya.tz.backlight_indicator_mode_1,
|
|
2770
2767
|
],
|
|
@@ -2803,8 +2800,8 @@ exports.definitions = [
|
|
|
2803
2800
|
whiteLabel: [tuya.whitelabel("Girier", "TS130F_GIRIER", "Smart curtain switch", ["_TZ3210_dwytrmda"])],
|
|
2804
2801
|
ota: true,
|
|
2805
2802
|
meta: { coverInverted: true },
|
|
2806
|
-
fromZigbee: [
|
|
2807
|
-
toZigbee: [
|
|
2803
|
+
fromZigbee: [fz.tuya_cover_options, fz.cover_position_tilt],
|
|
2804
|
+
toZigbee: [tz.cover_state, tz.moes_cover_calibration, tz.cover_position_tilt, tz.tuya_cover_reversal],
|
|
2808
2805
|
exposes: [
|
|
2809
2806
|
e.cover_position(),
|
|
2810
2807
|
e.numeric("calibration_time", ea.ALL).withValueMin(0).withValueMax(100),
|
|
@@ -2824,7 +2821,7 @@ exports.definitions = [
|
|
|
2824
2821
|
e.switch().withEndpoint("l3").setAccess("state", ea.STATE_SET),
|
|
2825
2822
|
e.switch().withEndpoint("l4").setAccess("state", ea.STATE_SET),
|
|
2826
2823
|
],
|
|
2827
|
-
fromZigbee: [
|
|
2824
|
+
fromZigbee: [fz.ignore_basic_report, legacy.fromZigbee.tuya_switch],
|
|
2828
2825
|
toZigbee: [legacy.toZigbee.tuya_switch_state],
|
|
2829
2826
|
meta: { multiEndpoint: true },
|
|
2830
2827
|
whiteLabel: [
|
|
@@ -2972,7 +2969,7 @@ exports.definitions = [
|
|
|
2972
2969
|
vendor: "Tuya",
|
|
2973
2970
|
description: "1 gang switch",
|
|
2974
2971
|
exposes: [e.switch().setAccess("state", ea.STATE_SET)],
|
|
2975
|
-
fromZigbee: [
|
|
2972
|
+
fromZigbee: [fz.ignore_basic_report, legacy.fromZigbee.tuya_switch],
|
|
2976
2973
|
toZigbee: [legacy.toZigbee.tuya_switch_state],
|
|
2977
2974
|
whiteLabel: [tuya.whitelabel("Shawader", "SMKG-1KNL-US/TZB-W", "1 gang switch", ["_TZE204_ojtqawav"])],
|
|
2978
2975
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -3007,7 +3004,7 @@ exports.definitions = [
|
|
|
3007
3004
|
vendor: "Tuya",
|
|
3008
3005
|
description: "2 gang switch",
|
|
3009
3006
|
exposes: [e.switch().withEndpoint("l1").setAccess("state", ea.STATE_SET), e.switch().withEndpoint("l2").setAccess("state", ea.STATE_SET)],
|
|
3010
|
-
fromZigbee: [
|
|
3007
|
+
fromZigbee: [fz.ignore_basic_report, legacy.fromZigbee.tuya_switch],
|
|
3011
3008
|
toZigbee: [legacy.toZigbee.tuya_switch_state],
|
|
3012
3009
|
meta: { multiEndpoint: true },
|
|
3013
3010
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -3058,7 +3055,7 @@ exports.definitions = [
|
|
|
3058
3055
|
e.switch().withEndpoint("l2").setAccess("state", ea.STATE_SET),
|
|
3059
3056
|
e.switch().withEndpoint("l3").setAccess("state", ea.STATE_SET),
|
|
3060
3057
|
],
|
|
3061
|
-
fromZigbee: [
|
|
3058
|
+
fromZigbee: [fz.ignore_basic_report, legacy.fromZigbee.tuya_switch],
|
|
3062
3059
|
toZigbee: [legacy.toZigbee.tuya_switch_state],
|
|
3063
3060
|
meta: { multiEndpoint: true },
|
|
3064
3061
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -3112,7 +3109,7 @@ exports.definitions = [
|
|
|
3112
3109
|
model: "TS0215A_sos",
|
|
3113
3110
|
vendor: "Tuya",
|
|
3114
3111
|
description: "SOS button",
|
|
3115
|
-
fromZigbee: [
|
|
3112
|
+
fromZigbee: [fz.command_emergency, fz.battery],
|
|
3116
3113
|
exposes: [e.battery(), e.battery_voltage(), e.action(["emergency"])],
|
|
3117
3114
|
toZigbee: [],
|
|
3118
3115
|
whiteLabel: [
|
|
@@ -3138,7 +3135,7 @@ exports.definitions = [
|
|
|
3138
3135
|
model: "TS0215A_remote",
|
|
3139
3136
|
vendor: "Tuya",
|
|
3140
3137
|
description: "Security remote control",
|
|
3141
|
-
fromZigbee: [
|
|
3138
|
+
fromZigbee: [fz.command_arm, fz.command_emergency, fz.battery],
|
|
3142
3139
|
exposes: [e.battery(), e.action(["disarm", "arm_day_zones", "arm_night_zones", "arm_all_zones", "exit_delay", "emergency"])],
|
|
3143
3140
|
toZigbee: [],
|
|
3144
3141
|
whiteLabel: [
|
|
@@ -3163,8 +3160,8 @@ exports.definitions = [
|
|
|
3163
3160
|
vendor: "Tuya",
|
|
3164
3161
|
description: "Led strip controller HSB",
|
|
3165
3162
|
exposes: [e.light_colorhs()],
|
|
3166
|
-
fromZigbee: [
|
|
3167
|
-
toZigbee: [
|
|
3163
|
+
fromZigbee: [fz.on_off, fz.tuya_led_controller],
|
|
3164
|
+
toZigbee: [tz.tuya_led_controller, tz.ignore_transition, tz.ignore_rate],
|
|
3168
3165
|
},
|
|
3169
3166
|
{
|
|
3170
3167
|
zigbeeModel: ["TS0502A"],
|
|
@@ -3238,8 +3235,8 @@ exports.definitions = [
|
|
|
3238
3235
|
model: "TS0505A_led",
|
|
3239
3236
|
vendor: "Tuya",
|
|
3240
3237
|
description: "RGB+CCT LED",
|
|
3241
|
-
toZigbee: [
|
|
3242
|
-
fromZigbee: [
|
|
3238
|
+
toZigbee: [tz.on_off, tz.tuya_led_control],
|
|
3239
|
+
fromZigbee: [fz.on_off, fz.tuya_led_controller, fz.brightness, fz.ignore_basic_report],
|
|
3243
3240
|
exposes: [e.light_brightness_colortemp_colorhs([153, 500]).removeFeature("color_temp_startup")],
|
|
3244
3241
|
},
|
|
3245
3242
|
{
|
|
@@ -3273,7 +3270,7 @@ exports.definitions = [
|
|
|
3273
3270
|
model: "TS0201",
|
|
3274
3271
|
vendor: "Tuya",
|
|
3275
3272
|
description: "Temperature & humidity sensor with display",
|
|
3276
|
-
fromZigbee: [fzLocal.TS0201_battery,
|
|
3273
|
+
fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fzLocal.TS0201_humidity],
|
|
3277
3274
|
toZigbee: [],
|
|
3278
3275
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
|
|
3279
3276
|
configure: tuya.configureMagicPacket,
|
|
@@ -3300,7 +3297,7 @@ exports.definitions = [
|
|
|
3300
3297
|
model: "WSD500A",
|
|
3301
3298
|
vendor: "Tuya",
|
|
3302
3299
|
description: "Temperature & humidity sensor",
|
|
3303
|
-
fromZigbee: [fzLocal.TS0201_battery,
|
|
3300
|
+
fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fz.humidity],
|
|
3304
3301
|
toZigbee: [],
|
|
3305
3302
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
|
|
3306
3303
|
configure: tuya.configureMagicPacket,
|
|
@@ -3325,7 +3322,7 @@ exports.definitions = [
|
|
|
3325
3322
|
model: "IH-K009",
|
|
3326
3323
|
vendor: "Tuya",
|
|
3327
3324
|
description: "Temperature & humidity sensor",
|
|
3328
|
-
fromZigbee: [fzLocal.TS0201_battery,
|
|
3325
|
+
fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fz.humidity],
|
|
3329
3326
|
toZigbee: [],
|
|
3330
3327
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
|
|
3331
3328
|
configure: tuya.configureMagicPacket,
|
|
@@ -3336,7 +3333,7 @@ exports.definitions = [
|
|
|
3336
3333
|
model: "SM0201",
|
|
3337
3334
|
vendor: "Tuya",
|
|
3338
3335
|
description: "Temperature & humidity sensor with LED screen",
|
|
3339
|
-
fromZigbee: [
|
|
3336
|
+
fromZigbee: [fz.battery, fz.temperature, fz.humidity],
|
|
3340
3337
|
toZigbee: [],
|
|
3341
3338
|
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
|
|
3342
3339
|
},
|
|
@@ -3395,7 +3392,7 @@ exports.definitions = [
|
|
|
3395
3392
|
tuya.whitelabel("Nous", "LZ4", "Wireless switch button", ["_TZ3000_6km7djcm"]),
|
|
3396
3393
|
],
|
|
3397
3394
|
exposes: [e.battery(), e.action(["single", "double", "hold"])],
|
|
3398
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
3395
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
3399
3396
|
toZigbee: [],
|
|
3400
3397
|
configure: tuya.configureMagicPacket,
|
|
3401
3398
|
/*
|
|
@@ -3415,7 +3412,7 @@ exports.definitions = [
|
|
|
3415
3412
|
tuya.whitelabel("Marmitek", "Push_ME", "Wireless switch with 1 button", ["_TYZB01_1xktopx6"]),
|
|
3416
3413
|
],
|
|
3417
3414
|
exposes: [e.battery(), e.battery_voltage(), e.action(["single", "double", "hold"])],
|
|
3418
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
3415
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
3419
3416
|
toZigbee: [],
|
|
3420
3417
|
configure: tuya.configureMagicPacket,
|
|
3421
3418
|
/*
|
|
@@ -3436,7 +3433,7 @@ exports.definitions = [
|
|
|
3436
3433
|
{ vendor: "ClickSmart+", model: "CSPGM2075PW" },
|
|
3437
3434
|
],
|
|
3438
3435
|
exposes: [e.battery(), e.action(["1_single", "1_double", "1_hold", "2_single", "2_double", "2_hold"])],
|
|
3439
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
3436
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
3440
3437
|
toZigbee: [],
|
|
3441
3438
|
configure: tuya.configureMagicPacket,
|
|
3442
3439
|
/*
|
|
@@ -3457,7 +3454,7 @@ exports.definitions = [
|
|
|
3457
3454
|
{ vendor: "LoraTap", model: "SS600ZB" },
|
|
3458
3455
|
],
|
|
3459
3456
|
exposes: [e.battery(), e.action(["1_single", "1_double", "1_hold", "2_single", "2_double", "2_hold", "3_single", "3_double", "3_hold"])],
|
|
3460
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
3457
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
3461
3458
|
toZigbee: [],
|
|
3462
3459
|
configure: tuya.configureMagicPacket,
|
|
3463
3460
|
/*
|
|
@@ -3482,7 +3479,7 @@ exports.definitions = [
|
|
|
3482
3479
|
tuya.whitelabel("Tuya", "TS0044_1", "Zigbee 4 button remote - 12 scene", ["_TZ3000_dziaict4", "_TZ3000_mh9px7cq", "_TZ3000_j61x9rxn"]),
|
|
3483
3480
|
tuya.whitelabel("Tuya", "TM-YKQ004", "Zigbee 4 button remote - 12 scene", ["_TZ3000_u3nv1jwk"]),
|
|
3484
3481
|
],
|
|
3485
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
3482
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
3486
3483
|
exposes: [
|
|
3487
3484
|
e.battery(),
|
|
3488
3485
|
e.action([
|
|
@@ -3552,18 +3549,18 @@ exports.definitions = [
|
|
|
3552
3549
|
]),
|
|
3553
3550
|
],
|
|
3554
3551
|
fromZigbee: [
|
|
3555
|
-
|
|
3552
|
+
fz.battery,
|
|
3556
3553
|
tuya.fz.on_off_action,
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3554
|
+
fz.tuya_operation_mode,
|
|
3555
|
+
fz.command_on,
|
|
3556
|
+
fz.command_off,
|
|
3557
|
+
fz.command_step,
|
|
3558
|
+
fz.command_move,
|
|
3559
|
+
fz.command_stop,
|
|
3560
|
+
fz.command_step_color_temperature,
|
|
3564
3561
|
],
|
|
3565
3562
|
whiteLabel: [tuya.whitelabel("Zemismart", "ZMR4", "Wireless switch with 4 buttons", ["_TZ3000_11pg3ima", "_TZ3000_et7afzxz"])],
|
|
3566
|
-
toZigbee: [
|
|
3563
|
+
toZigbee: [tz.tuya_operation_mode],
|
|
3567
3564
|
configure: async (device, coordinatorEndpoint) => {
|
|
3568
3565
|
const endpoint = device.getEndpoint(1);
|
|
3569
3566
|
await endpoint.read("genBasic", [0x0004, 0x000, 0x0001, 0x0005, 0x0007, 0xfffe]);
|
|
@@ -3624,8 +3621,8 @@ exports.definitions = [
|
|
|
3624
3621
|
"6_hold",
|
|
3625
3622
|
]),
|
|
3626
3623
|
],
|
|
3627
|
-
fromZigbee: [
|
|
3628
|
-
toZigbee: [
|
|
3624
|
+
fromZigbee: [fz.battery, tuya.fz.on_off_action, fz.tuya_operation_mode, fz.command_on, fz.command_off, fz.command_step, fz.command_move],
|
|
3625
|
+
toZigbee: [tz.tuya_operation_mode],
|
|
3629
3626
|
configure: async (device, coordinatorEndpoint) => {
|
|
3630
3627
|
const endpoint = device.getEndpoint(1);
|
|
3631
3628
|
await endpoint.read("genBasic", [0x0004, 0x000, 0x0001, 0x0005, 0x0007, 0xfffe]);
|
|
@@ -3824,7 +3821,7 @@ exports.definitions = [
|
|
|
3824
3821
|
model: "TS0601_water_sensor",
|
|
3825
3822
|
vendor: "Tuya",
|
|
3826
3823
|
description: "Water leak sensor",
|
|
3827
|
-
fromZigbee: [legacy.fromZigbee.tuya_water_leak,
|
|
3824
|
+
fromZigbee: [legacy.fromZigbee.tuya_water_leak, fz.ignore_basic_report],
|
|
3828
3825
|
exposes: [e.water_leak()],
|
|
3829
3826
|
toZigbee: [],
|
|
3830
3827
|
whiteLabel: [{ vendor: "Neo", model: "NAS-WS02B0" }],
|
|
@@ -3834,7 +3831,7 @@ exports.definitions = [
|
|
|
3834
3831
|
model: "WLS-100z",
|
|
3835
3832
|
vendor: "Tuya",
|
|
3836
3833
|
description: "Water leak sensor",
|
|
3837
|
-
fromZigbee: [
|
|
3834
|
+
fromZigbee: [fz.ignore_basic_report, fz.ignore_tuya_raw, legacy.fromZigbee.wls100z_water_leak],
|
|
3838
3835
|
toZigbee: [],
|
|
3839
3836
|
onEvent: tuya.onEventSetTime,
|
|
3840
3837
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -3862,8 +3859,8 @@ exports.definitions = [
|
|
|
3862
3859
|
model: "TS0001_power",
|
|
3863
3860
|
description: "Switch with power monitoring",
|
|
3864
3861
|
vendor: "Tuya",
|
|
3865
|
-
fromZigbee: [
|
|
3866
|
-
toZigbee: [
|
|
3862
|
+
fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report, tuya.fz.power_outage_memory, tuya.fz.switch_type],
|
|
3863
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_1, tuya.tz.switch_type],
|
|
3867
3864
|
configure: async (device, coordinatorEndpoint) => {
|
|
3868
3865
|
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
3869
3866
|
const endpoint = device.getEndpoint(1);
|
|
@@ -3951,8 +3948,8 @@ exports.definitions = [
|
|
|
3951
3948
|
model: "TS000F_power",
|
|
3952
3949
|
description: "Switch with power monitoring",
|
|
3953
3950
|
vendor: "Tuya",
|
|
3954
|
-
fromZigbee: [
|
|
3955
|
-
toZigbee: [
|
|
3951
|
+
fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report, tuya.fz.power_on_behavior_1, tuya.fz.switch_type],
|
|
3952
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_1, tuya.tz.switch_type],
|
|
3956
3953
|
configure: async (device, coordinatorEndpoint) => {
|
|
3957
3954
|
const endpoint = device.getEndpoint(1);
|
|
3958
3955
|
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
@@ -4407,7 +4404,7 @@ exports.definitions = [
|
|
|
4407
4404
|
tuya.whitelabel("HUARUI", "CMD900LE", "Lithium battery intelligent curtain opening and closing motor", ["_TZE200_zxxfv8wi"]),
|
|
4408
4405
|
tuya.whitelabel("Novato", "WPK", "Smart curtain track", ["_TZE204_lh3arisb"]),
|
|
4409
4406
|
],
|
|
4410
|
-
fromZigbee: [legacy.fromZigbee.tuya_cover,
|
|
4407
|
+
fromZigbee: [legacy.fromZigbee.tuya_cover, fz.ignore_basic_report],
|
|
4411
4408
|
toZigbee: [legacy.toZigbee.tuya_cover_control, legacy.toZigbee.tuya_cover_options],
|
|
4412
4409
|
exposes: [
|
|
4413
4410
|
e.cover_position().setAccess("position", ea.STATE_SET),
|
|
@@ -4426,7 +4423,7 @@ exports.definitions = [
|
|
|
4426
4423
|
tuya.whitelabel("Zemismart", "BCM100DB", "Curtain Motor", ["_TZE200_eegnwoyw"]),
|
|
4427
4424
|
tuya.whitelabel("Nova Digital", "ZBCMR-01", "Roller Blind Motor", ["_TZE600_ogyg1y6b"]),
|
|
4428
4425
|
],
|
|
4429
|
-
fromZigbee: [legacy.fromZigbee.tuya_cover,
|
|
4426
|
+
fromZigbee: [legacy.fromZigbee.tuya_cover, fz.ignore_basic_report],
|
|
4430
4427
|
toZigbee: [legacy.toZigbee.tuya_cover_control],
|
|
4431
4428
|
exposes: [e.cover_position().setAccess("position", ea.STATE_SET)],
|
|
4432
4429
|
},
|
|
@@ -4716,7 +4713,7 @@ exports.definitions = [
|
|
|
4716
4713
|
},
|
|
4717
4714
|
ota: true,
|
|
4718
4715
|
onEvent: tuya.onEventSetLocalTime,
|
|
4719
|
-
fromZigbee: [legacy.fromZigbee.tuya_thermostat,
|
|
4716
|
+
fromZigbee: [legacy.fromZigbee.tuya_thermostat, fz.ignore_basic_report, fz.ignore_tuya_set_time],
|
|
4720
4717
|
toZigbee: [
|
|
4721
4718
|
legacy.toZigbee.tuya_thermostat_child_lock,
|
|
4722
4719
|
legacy.toZigbee.tuya_thermostat_window_detection,
|
|
@@ -5475,8 +5472,8 @@ exports.definitions = [
|
|
|
5475
5472
|
fromZigbee: [
|
|
5476
5473
|
legacy.fromZigbee.tuya_thermostat_weekly_schedule_2,
|
|
5477
5474
|
legacy.fromZigbee.etop_thermostat,
|
|
5478
|
-
|
|
5479
|
-
|
|
5475
|
+
fz.ignore_basic_report,
|
|
5476
|
+
fz.ignore_tuya_set_time,
|
|
5480
5477
|
],
|
|
5481
5478
|
toZigbee: [
|
|
5482
5479
|
legacy.toZigbee.etop_thermostat_system_mode,
|
|
@@ -5512,8 +5509,8 @@ exports.definitions = [
|
|
|
5512
5509
|
fromZigbee: [
|
|
5513
5510
|
legacy.fromZigbee.tuya_thermostat_weekly_schedule_2,
|
|
5514
5511
|
legacy.fromZigbee.etop_thermostat,
|
|
5515
|
-
|
|
5516
|
-
|
|
5512
|
+
fz.ignore_basic_report,
|
|
5513
|
+
fz.ignore_tuya_set_time,
|
|
5517
5514
|
],
|
|
5518
5515
|
toZigbee: [
|
|
5519
5516
|
legacy.toZigbee.etop_thermostat_system_mode,
|
|
@@ -6013,8 +6010,8 @@ exports.definitions = [
|
|
|
6013
6010
|
{ vendor: "Connecte", model: "4500993" },
|
|
6014
6011
|
],
|
|
6015
6012
|
vendor: "Tuya",
|
|
6016
|
-
fromZigbee: [
|
|
6017
|
-
toZigbee: [
|
|
6013
|
+
fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report, tuya.fz.power_outage_memory, tuya.fz.indicator_mode],
|
|
6014
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_1, tuya.tz.backlight_indicator_mode_1],
|
|
6018
6015
|
configure: async (device, coordinatorEndpoint) => {
|
|
6019
6016
|
const endpoint = device.getEndpoint(1);
|
|
6020
6017
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "haElectricalMeasurement", "seMetering"]);
|
|
@@ -6980,7 +6977,7 @@ exports.definitions = [
|
|
|
6980
6977
|
model: "SNTZ007",
|
|
6981
6978
|
vendor: "Tuya",
|
|
6982
6979
|
description: "Rechargeable Zigbee contact sensor",
|
|
6983
|
-
fromZigbee: [
|
|
6980
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery, fz.ignore_basic_report, fz.ignore_time_read],
|
|
6984
6981
|
toZigbee: [],
|
|
6985
6982
|
exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery()],
|
|
6986
6983
|
whiteLabel: [{ vendor: "BlitzWolf", model: "BW-IS2" }],
|
|
@@ -6990,7 +6987,7 @@ exports.definitions = [
|
|
|
6990
6987
|
model: "RH3040",
|
|
6991
6988
|
vendor: "Tuya",
|
|
6992
6989
|
description: "PIR sensor",
|
|
6993
|
-
fromZigbee: [
|
|
6990
|
+
fromZigbee: [fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1],
|
|
6994
6991
|
toZigbee: [],
|
|
6995
6992
|
whiteLabel: [
|
|
6996
6993
|
{ vendor: "Samotech", model: "SM301Z" },
|
|
@@ -7032,7 +7029,7 @@ exports.definitions = [
|
|
|
7032
7029
|
model: "TT001ZAV20",
|
|
7033
7030
|
vendor: "Tuya",
|
|
7034
7031
|
description: "Temperature & humidity sensor",
|
|
7035
|
-
fromZigbee: [
|
|
7032
|
+
fromZigbee: [fz.humidity, fz.temperature, fz.battery],
|
|
7036
7033
|
toZigbee: [],
|
|
7037
7034
|
exposes: [e.humidity(), e.temperature(), e.battery()],
|
|
7038
7035
|
},
|
|
@@ -7244,7 +7241,7 @@ exports.definitions = [
|
|
|
7244
7241
|
model: "gq8b1uv",
|
|
7245
7242
|
vendor: "Tuya",
|
|
7246
7243
|
description: "Zigbee smart dimmer",
|
|
7247
|
-
fromZigbee: [legacy.fromZigbee.tuya_dimmer,
|
|
7244
|
+
fromZigbee: [legacy.fromZigbee.tuya_dimmer, fz.ignore_basic_report],
|
|
7248
7245
|
toZigbee: [legacy.toZigbee.tuya_dimmer_state, legacy.toZigbee.tuya_dimmer_level],
|
|
7249
7246
|
exposes: [e.light_brightness().setAccess("state", ea.STATE_SET).setAccess("brightness", ea.STATE_SET)],
|
|
7250
7247
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -7276,7 +7273,7 @@ exports.definitions = [
|
|
|
7276
7273
|
model: "SNTZ009",
|
|
7277
7274
|
vendor: "Tuya",
|
|
7278
7275
|
description: "Water leak sensor",
|
|
7279
|
-
fromZigbee: [legacy.fromZigbee.tuya_water_leak,
|
|
7276
|
+
fromZigbee: [legacy.fromZigbee.tuya_water_leak, fz.ignore_basic_report],
|
|
7280
7277
|
exposes: [e.water_leak()],
|
|
7281
7278
|
toZigbee: [],
|
|
7282
7279
|
},
|
|
@@ -7314,8 +7311,8 @@ exports.definitions = [
|
|
|
7314
7311
|
model: "TS0726_2_gang",
|
|
7315
7312
|
vendor: "Tuya",
|
|
7316
7313
|
description: "2 gang switch with neutral wire",
|
|
7317
|
-
fromZigbee: [
|
|
7318
|
-
toZigbee: [
|
|
7314
|
+
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fz.ignore_basic_report, fzLocal.TS0726_action],
|
|
7315
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
|
|
7319
7316
|
exposes: [
|
|
7320
7317
|
...[1, 2].map((ep) => e.switch().withEndpoint(`l${ep}`)),
|
|
7321
7318
|
...[1, 2].map((ep) => e.power_on_behavior().withEndpoint(`l${ep}`)),
|
|
@@ -7338,8 +7335,8 @@ exports.definitions = [
|
|
|
7338
7335
|
model: "TS0726_3_gang",
|
|
7339
7336
|
vendor: "Tuya",
|
|
7340
7337
|
description: "3 gang switch with neutral wire",
|
|
7341
|
-
fromZigbee: [
|
|
7342
|
-
toZigbee: [
|
|
7338
|
+
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fz.ignore_basic_report, fzLocal.TS0726_action],
|
|
7339
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
|
|
7343
7340
|
exposes: [
|
|
7344
7341
|
...[1, 2, 3].map((ep) => e.switch().withEndpoint(`l${ep}`)),
|
|
7345
7342
|
...[1, 2, 3].map((ep) => e.power_on_behavior().withEndpoint(`l${ep}`)),
|
|
@@ -7362,8 +7359,8 @@ exports.definitions = [
|
|
|
7362
7359
|
model: "TS0726_4_gang",
|
|
7363
7360
|
vendor: "Tuya",
|
|
7364
7361
|
description: "4 gang switch with neutral wire",
|
|
7365
|
-
fromZigbee: [
|
|
7366
|
-
toZigbee: [
|
|
7362
|
+
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fz.ignore_basic_report, fzLocal.TS0726_action],
|
|
7363
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
|
|
7367
7364
|
exposes: [
|
|
7368
7365
|
...[1, 2, 3, 4].map((ep) => e.switch().withEndpoint(`l${ep}`)),
|
|
7369
7366
|
...[1, 2, 3, 4].map((ep) => e.power_on_behavior().withEndpoint(`l${ep}`)),
|
|
@@ -7441,25 +7438,25 @@ exports.definitions = [
|
|
|
7441
7438
|
model: "U86KWF-ZPSJ",
|
|
7442
7439
|
vendor: "Tuya",
|
|
7443
7440
|
description: "Environment controller",
|
|
7444
|
-
fromZigbee: [
|
|
7441
|
+
fromZigbee: [fz.thermostat, fz.fan],
|
|
7445
7442
|
toZigbee: [
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7443
|
+
tz.thermostat_local_temperature,
|
|
7444
|
+
tz.thermostat_local_temperature_calibration,
|
|
7445
|
+
tz.thermostat_occupancy,
|
|
7446
|
+
tz.thermostat_occupied_heating_setpoint,
|
|
7447
|
+
tz.thermostat_unoccupied_heating_setpoint,
|
|
7448
|
+
tz.thermostat_occupied_cooling_setpoint,
|
|
7449
|
+
tz.thermostat_unoccupied_cooling_setpoint,
|
|
7450
|
+
tz.thermostat_setpoint_raise_lower,
|
|
7451
|
+
tz.thermostat_remote_sensing,
|
|
7452
|
+
tz.thermostat_control_sequence_of_operation,
|
|
7453
|
+
tz.thermostat_system_mode,
|
|
7454
|
+
tz.thermostat_weekly_schedule,
|
|
7455
|
+
tz.thermostat_clear_weekly_schedule,
|
|
7456
|
+
tz.thermostat_relay_status_log,
|
|
7457
|
+
tz.thermostat_temperature_setpoint_hold,
|
|
7458
|
+
tz.thermostat_temperature_setpoint_hold_duration,
|
|
7459
|
+
tz.fan_mode,
|
|
7463
7460
|
],
|
|
7464
7461
|
exposes: [
|
|
7465
7462
|
e
|
|
@@ -7496,7 +7493,7 @@ exports.definitions = [
|
|
|
7496
7493
|
.withSystemMode(["off", "auto", "heat"], ea.STATE_SET)
|
|
7497
7494
|
.withRunningState(["idle", "heat", "cool"], ea.STATE),
|
|
7498
7495
|
],
|
|
7499
|
-
fromZigbee: [legacy.fromZigbee.tuya_thermostat,
|
|
7496
|
+
fromZigbee: [legacy.fromZigbee.tuya_thermostat, fz.ignore_basic_report, legacy.fromZigbee.tuya_dimmer],
|
|
7500
7497
|
meta: {
|
|
7501
7498
|
tuyaThermostatSystemMode: legacy.thermostatSystemModes2,
|
|
7502
7499
|
tuyaThermostatPreset: legacy.thermostatPresets,
|
|
@@ -7514,7 +7511,7 @@ exports.definitions = [
|
|
|
7514
7511
|
vendor: "Tuya",
|
|
7515
7512
|
description: "Multiprise with 4 AC outlets and 2 USB super charging ports (16A)",
|
|
7516
7513
|
extend: [tuya.modernExtend.tuyaOnOff()],
|
|
7517
|
-
fromZigbee: [
|
|
7514
|
+
fromZigbee: [fz.on_off_skip_duplicate_transaction],
|
|
7518
7515
|
exposes: [e.switch().withEndpoint("l1"), e.switch().withEndpoint("l2"), e.switch().withEndpoint("l3"), e.switch().withEndpoint("l4")],
|
|
7519
7516
|
whiteLabel: [{ vendor: "LELLKI", model: "WP33-EU" }],
|
|
7520
7517
|
meta: { multiEndpoint: true },
|
|
@@ -7534,13 +7531,13 @@ exports.definitions = [
|
|
|
7534
7531
|
model: "TS0216",
|
|
7535
7532
|
vendor: "Tuya",
|
|
7536
7533
|
description: "Sound and flash siren",
|
|
7537
|
-
fromZigbee: [
|
|
7534
|
+
fromZigbee: [fz.ts0216_siren, fz.battery],
|
|
7538
7535
|
exposes: [
|
|
7539
7536
|
e.battery(),
|
|
7540
7537
|
e.binary("alarm", ea.STATE_SET, true, false),
|
|
7541
7538
|
e.numeric("volume", ea.ALL).withValueMin(0).withValueMax(100).withDescription("Volume of siren"),
|
|
7542
7539
|
],
|
|
7543
|
-
toZigbee: [
|
|
7540
|
+
toZigbee: [tz.ts0216_alarm, tz.ts0216_duration, tz.ts0216_volume],
|
|
7544
7541
|
configure: async (device, coordinatorEndpoint) => {
|
|
7545
7542
|
const endpoint = device.getEndpoint(1);
|
|
7546
7543
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
|
|
@@ -7554,7 +7551,7 @@ exports.definitions = [
|
|
|
7554
7551
|
model: "HY08WE",
|
|
7555
7552
|
vendor: "Tuya",
|
|
7556
7553
|
description: "Wall-mount thermostat",
|
|
7557
|
-
fromZigbee: [legacy.fromZigbee.hy_thermostat,
|
|
7554
|
+
fromZigbee: [legacy.fromZigbee.hy_thermostat, fz.ignore_basic_report],
|
|
7558
7555
|
toZigbee: [legacy.toZigbee.hy_thermostat],
|
|
7559
7556
|
onEvent: tuya.onEventSetTime,
|
|
7560
7557
|
exposes: [
|
|
@@ -7608,7 +7605,7 @@ exports.definitions = [
|
|
|
7608
7605
|
model: "X5H-GB-B",
|
|
7609
7606
|
vendor: "Tuya",
|
|
7610
7607
|
description: "Wall-mount thermostat",
|
|
7611
|
-
fromZigbee: [
|
|
7608
|
+
fromZigbee: [fz.ignore_basic_report, fz.ignore_tuya_set_time, legacy.fromZigbee.x5h_thermostat],
|
|
7612
7609
|
toZigbee: [legacy.toZigbee.x5h_thermostat],
|
|
7613
7610
|
whiteLabel: [
|
|
7614
7611
|
{ vendor: "Beok", model: "TGR85-ZB" },
|
|
@@ -7912,7 +7909,7 @@ exports.definitions = [
|
|
|
7912
7909
|
model: "TS0222_temperature_humidity",
|
|
7913
7910
|
vendor: "Tuya",
|
|
7914
7911
|
description: "Temperature & humidity sensor",
|
|
7915
|
-
fromZigbee: [fzLocal.TS0222_humidity,
|
|
7912
|
+
fromZigbee: [fzLocal.TS0222_humidity, fz.battery, fz.temperature],
|
|
7916
7913
|
toZigbee: [],
|
|
7917
7914
|
configure: tuya.configureMagicPacket,
|
|
7918
7915
|
exposes: [e.battery(), e.temperature(), e.humidity()],
|
|
@@ -7924,7 +7921,7 @@ exports.definitions = [
|
|
|
7924
7921
|
model: "TS0222_light",
|
|
7925
7922
|
vendor: "Tuya",
|
|
7926
7923
|
description: "Light sensor",
|
|
7927
|
-
fromZigbee: [
|
|
7924
|
+
fromZigbee: [fz.battery],
|
|
7928
7925
|
toZigbee: [],
|
|
7929
7926
|
configure: tuya.configureMagicPacket,
|
|
7930
7927
|
whiteLabel: [tuya.whitelabel("Moes", "ZSS-QT-LS-C", "Light sensor", ["_TZ3000_9kbbfeho"])],
|
|
@@ -7936,7 +7933,7 @@ exports.definitions = [
|
|
|
7936
7933
|
model: "THE01860A",
|
|
7937
7934
|
vendor: "Tuya",
|
|
7938
7935
|
description: "Temp & humidity flower sensor with illuminance",
|
|
7939
|
-
fromZigbee: [
|
|
7936
|
+
fromZigbee: [fz.humidity, fz.battery, fz.temperature],
|
|
7940
7937
|
toZigbee: [],
|
|
7941
7938
|
configure: tuya.configureMagicPacket,
|
|
7942
7939
|
exposes: [e.battery(), e.temperature(), e.humidity()],
|
|
@@ -7947,7 +7944,7 @@ exports.definitions = [
|
|
|
7947
7944
|
model: "TS0222",
|
|
7948
7945
|
vendor: "Tuya",
|
|
7949
7946
|
description: "Light intensity sensor",
|
|
7950
|
-
fromZigbee: [
|
|
7947
|
+
fromZigbee: [fz.battery, legacy.fromZigbee.TS0222],
|
|
7951
7948
|
toZigbee: [],
|
|
7952
7949
|
exposes: [e.battery()],
|
|
7953
7950
|
configure: tuya.configureMagicPacket,
|
|
@@ -7959,8 +7956,8 @@ exports.definitions = [
|
|
|
7959
7956
|
vendor: "Tuya",
|
|
7960
7957
|
description: "Vibration sensor",
|
|
7961
7958
|
whiteLabel: [tuya.whitelabel("Niceboy", "ORBIS Vibration Sensor", "Vibration sensor", ["_TYZB01_821siati"])],
|
|
7962
|
-
fromZigbee: [
|
|
7963
|
-
toZigbee: [
|
|
7959
|
+
fromZigbee: [fz.battery, fz.ias_vibration_alarm_1_with_timeout],
|
|
7960
|
+
toZigbee: [tz.TS0210_sensitivity],
|
|
7964
7961
|
exposes: [
|
|
7965
7962
|
e.battery(),
|
|
7966
7963
|
e.battery_voltage(),
|
|
@@ -8005,14 +8002,14 @@ exports.definitions = [
|
|
|
8005
8002
|
description: "Din smart relay (with power monitoring)",
|
|
8006
8003
|
vendor: "Tuya",
|
|
8007
8004
|
fromZigbee: [
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8005
|
+
fz.on_off,
|
|
8006
|
+
fz.electrical_measurement,
|
|
8007
|
+
fz.metering,
|
|
8008
|
+
fz.ignore_basic_report,
|
|
8012
8009
|
tuya.fz.power_outage_memory,
|
|
8013
|
-
|
|
8010
|
+
fz.tuya_relay_din_led_indicator,
|
|
8014
8011
|
],
|
|
8015
|
-
toZigbee: [
|
|
8012
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_1, tz.tuya_relay_din_led_indicator],
|
|
8016
8013
|
whiteLabel: [{ vendor: "MatSee Plus", model: "ATMS1602Z" }],
|
|
8017
8014
|
ota: true,
|
|
8018
8015
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -8048,14 +8045,14 @@ exports.definitions = [
|
|
|
8048
8045
|
description: "Din smart relay (with power monitoring via polling)",
|
|
8049
8046
|
vendor: "Tuya",
|
|
8050
8047
|
fromZigbee: [
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8048
|
+
fz.on_off,
|
|
8049
|
+
fz.electrical_measurement,
|
|
8050
|
+
fz.metering,
|
|
8051
|
+
fz.ignore_basic_report,
|
|
8055
8052
|
tuya.fz.power_outage_memory,
|
|
8056
|
-
|
|
8053
|
+
fz.tuya_relay_din_led_indicator,
|
|
8057
8054
|
],
|
|
8058
|
-
toZigbee: [
|
|
8055
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_1, tz.tuya_relay_din_led_indicator],
|
|
8059
8056
|
whiteLabel: [
|
|
8060
8057
|
tuya.whitelabel("Tongou", "TO-Q-SY1-JZT", "Din smart relay (with power monitoring via polling)", ["_TZ3000_qeuvnohg"]),
|
|
8061
8058
|
tuya.whitelabel("TOMZN", "TOB9Z-63M", "Din smart relay (with power monitoring via polling)", ["_TZ3000_6l1pjfqe"]),
|
|
@@ -8096,8 +8093,8 @@ exports.definitions = [
|
|
|
8096
8093
|
model: "ATMS1601Z",
|
|
8097
8094
|
description: "Din smart relay (without power monitoring)",
|
|
8098
8095
|
vendor: "Tuya",
|
|
8099
|
-
fromZigbee: [
|
|
8100
|
-
toZigbee: [
|
|
8096
|
+
fromZigbee: [fz.on_off, fz.ignore_basic_report, tuya.fz.power_outage_memory, fz.tuya_relay_din_led_indicator],
|
|
8097
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_1, tz.tuya_relay_din_led_indicator],
|
|
8101
8098
|
configure: async (device, coordinatorEndpoint) => {
|
|
8102
8099
|
const endpoint = device.getEndpoint(1);
|
|
8103
8100
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff"]);
|
|
@@ -8176,7 +8173,7 @@ exports.definitions = [
|
|
|
8176
8173
|
model: "GDC311ZBQ1",
|
|
8177
8174
|
vendor: "Tuya",
|
|
8178
8175
|
description: "LoraTap garage door opener with wireless sensor",
|
|
8179
|
-
fromZigbee: [legacy.fromZigbee.matsee_garage_door_opener,
|
|
8176
|
+
fromZigbee: [legacy.fromZigbee.matsee_garage_door_opener, fz.ignore_basic_report],
|
|
8180
8177
|
toZigbee: [legacy.toZigbee.matsee_garage_door_opener, legacy.toZigbee.tuya_data_point_test],
|
|
8181
8178
|
whiteLabel: [{ vendor: "LoraTap", model: "GDC311ZBQ1" }],
|
|
8182
8179
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -8222,8 +8219,8 @@ exports.definitions = [
|
|
|
8222
8219
|
model: "LCZ030",
|
|
8223
8220
|
vendor: "Tuya",
|
|
8224
8221
|
description: "Temperature & humidity & illuminance sensor with display",
|
|
8225
|
-
fromZigbee: [
|
|
8226
|
-
toZigbee: [
|
|
8222
|
+
fromZigbee: [fz.battery, fz.temperature, fz.humidity, fz.ts0201_temperature_humidity_alarm],
|
|
8223
|
+
toZigbee: [tz.ts0201_temperature_humidity_alarm],
|
|
8227
8224
|
configure: async (device, coordinatorEndpoint) => {
|
|
8228
8225
|
const endpoint = device.getEndpoint(1);
|
|
8229
8226
|
// Enables reporting of measurement state changes
|
|
@@ -8377,7 +8374,7 @@ exports.definitions = [
|
|
|
8377
8374
|
vendor: "Tuya",
|
|
8378
8375
|
description: "Wireless switch with 6 buttons",
|
|
8379
8376
|
whiteLabel: [{ vendor: "LoraTap", model: "SS9600ZB" }],
|
|
8380
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
8377
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
8381
8378
|
exposes: [
|
|
8382
8379
|
e.battery(),
|
|
8383
8380
|
e.action([
|
|
@@ -8439,17 +8436,17 @@ exports.definitions = [
|
|
|
8439
8436
|
.withDescription('Operation mode: "command" - for group control, "event" - for clicks'),
|
|
8440
8437
|
],
|
|
8441
8438
|
fromZigbee: [
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8439
|
+
fz.battery,
|
|
8440
|
+
fz.command_on,
|
|
8441
|
+
fz.command_off,
|
|
8442
|
+
fz.command_step,
|
|
8443
|
+
fz.command_move,
|
|
8444
|
+
fz.command_stop,
|
|
8445
|
+
fz.command_step_color_temperature,
|
|
8449
8446
|
tuya.fz.on_off_action,
|
|
8450
|
-
|
|
8447
|
+
fz.tuya_operation_mode,
|
|
8451
8448
|
],
|
|
8452
|
-
toZigbee: [
|
|
8449
|
+
toZigbee: [tz.tuya_operation_mode],
|
|
8453
8450
|
onEvent: tuya.onEventSetLocalTime,
|
|
8454
8451
|
configure: async (device, coordinatorEndpoint) => {
|
|
8455
8452
|
const endpoint = device.getEndpoint(1);
|
|
@@ -8514,16 +8511,16 @@ exports.definitions = [
|
|
|
8514
8511
|
vendor: "Tuya",
|
|
8515
8512
|
description: "Smart knob",
|
|
8516
8513
|
fromZigbee: [
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8514
|
+
fz.command_step,
|
|
8515
|
+
fz.command_toggle,
|
|
8516
|
+
fz.command_move_hue,
|
|
8517
|
+
fz.command_step_color_temperature,
|
|
8518
|
+
fz.command_stop_move_raw,
|
|
8519
|
+
fz.tuya_multi_action,
|
|
8520
|
+
fz.tuya_operation_mode,
|
|
8521
|
+
fz.battery,
|
|
8525
8522
|
],
|
|
8526
|
-
toZigbee: [
|
|
8523
|
+
toZigbee: [tz.tuya_operation_mode],
|
|
8527
8524
|
exposes: [
|
|
8528
8525
|
e.action([
|
|
8529
8526
|
"toggle",
|
|
@@ -9054,7 +9051,7 @@ exports.definitions = [
|
|
|
9054
9051
|
model: "JM-TRH-ZGB-V1",
|
|
9055
9052
|
vendor: "Tuya",
|
|
9056
9053
|
description: "Temperature & humidity sensor with clock",
|
|
9057
|
-
fromZigbee: [legacy.fromZigbee.nous_lcd_temperature_humidity_sensor,
|
|
9054
|
+
fromZigbee: [legacy.fromZigbee.nous_lcd_temperature_humidity_sensor, fz.ignore_tuya_set_time],
|
|
9058
9055
|
toZigbee: [legacy.toZigbee.nous_lcd_temperature_humidity_sensor],
|
|
9059
9056
|
onEvent: tuya.onEventSetLocalTime,
|
|
9060
9057
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -9086,7 +9083,7 @@ exports.definitions = [
|
|
|
9086
9083
|
model: "ZB-Sm",
|
|
9087
9084
|
vendor: "Tuya",
|
|
9088
9085
|
description: "Tubular motor",
|
|
9089
|
-
fromZigbee: [legacy.fromZigbee.zb_sm_cover,
|
|
9086
|
+
fromZigbee: [legacy.fromZigbee.zb_sm_cover, fz.ignore_basic_report],
|
|
9090
9087
|
toZigbee: [legacy.toZigbee.zb_sm_cover],
|
|
9091
9088
|
onEvent: tuya.onEventSetTime,
|
|
9092
9089
|
exposes: [
|
|
@@ -9136,7 +9133,7 @@ exports.definitions = [
|
|
|
9136
9133
|
model: "KCTW1Z",
|
|
9137
9134
|
vendor: "Tuya",
|
|
9138
9135
|
description: "Temperature & humidity sensor with LCD",
|
|
9139
|
-
fromZigbee: [
|
|
9136
|
+
fromZigbee: [fz.temperature, fzLocal.humidity10, fzLocal.temperature_unit, fz.battery, fz.ignore_tuya_set_time],
|
|
9140
9137
|
toZigbee: [tzLocal.temperature_unit],
|
|
9141
9138
|
onEvent: tuya.onEventSetLocalTime,
|
|
9142
9139
|
exposes: [
|
|
@@ -9725,8 +9722,8 @@ exports.definitions = [
|
|
|
9725
9722
|
vendor: "Tuya",
|
|
9726
9723
|
description: "1 channel dimmer",
|
|
9727
9724
|
extend: [m.light({ powerOnBehavior: false, configureReporting: true })],
|
|
9728
|
-
fromZigbee: [tuya.fz.power_on_behavior_1,
|
|
9729
|
-
toZigbee: [
|
|
9725
|
+
fromZigbee: [tuya.fz.power_on_behavior_1, fz.TS110E_switch_type, fz.TS110E, fz.on_off],
|
|
9726
|
+
toZigbee: [tz.TS110E_light_onoff_brightness, tuya.tz.power_on_behavior_1, tz.TS110E_options],
|
|
9730
9727
|
exposes: [e.power_on_behavior(), tuya.exposes.switchType(), e.min_brightness(), e.max_brightness()],
|
|
9731
9728
|
configure: tuya.configureMagicPacket,
|
|
9732
9729
|
},
|
|
@@ -9740,8 +9737,8 @@ exports.definitions = [
|
|
|
9740
9737
|
tuya.whitelabel("Lonsonho", "QS-Zigbee-D02-TRIAC-LN_1", "1 channel dimmer", ["_TZ3210_ngqk6jia"]),
|
|
9741
9738
|
],
|
|
9742
9739
|
ota: true,
|
|
9743
|
-
fromZigbee: [
|
|
9744
|
-
toZigbee: [
|
|
9740
|
+
fromZigbee: [fz.TS110E, fz.TS110E_light_type, tuya.fz.power_on_behavior_1, fz.on_off],
|
|
9741
|
+
toZigbee: [tz.TS110E_onoff_brightness, tz.TS110E_options, tuya.tz.power_on_behavior_1, tz.light_brightness_move],
|
|
9745
9742
|
exposes: [
|
|
9746
9743
|
e.light_brightness().withMinBrightness().withMaxBrightness(),
|
|
9747
9744
|
tuya.exposes.lightType().withAccess(ea.ALL),
|
|
@@ -9760,8 +9757,8 @@ exports.definitions = [
|
|
|
9760
9757
|
model: "EKAC-T3095Z",
|
|
9761
9758
|
vendor: "Ekaza",
|
|
9762
9759
|
description: "1 channel dimmer",
|
|
9763
|
-
fromZigbee: [
|
|
9764
|
-
toZigbee: [
|
|
9760
|
+
fromZigbee: [fz.TS110E, tuya.fz.power_on_behavior_1, fz.on_off],
|
|
9761
|
+
toZigbee: [tz.TS110E_onoff_brightness, tz.TS110E_options, tuya.tz.power_on_behavior_1, tz.light_brightness_move],
|
|
9765
9762
|
exposes: [e.light_brightness().withMinBrightness().withMaxBrightness(), e.power_on_behavior().withAccess(ea.ALL)],
|
|
9766
9763
|
configure: async (device, coordinatorEndpoint) => {
|
|
9767
9764
|
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
@@ -9783,8 +9780,8 @@ exports.definitions = [
|
|
|
9783
9780
|
configureReporting: true,
|
|
9784
9781
|
}),
|
|
9785
9782
|
],
|
|
9786
|
-
fromZigbee: [tuya.fz.power_on_behavior_1,
|
|
9787
|
-
toZigbee: [
|
|
9783
|
+
fromZigbee: [tuya.fz.power_on_behavior_1, fz.TS110E_switch_type, fz.TS110E],
|
|
9784
|
+
toZigbee: [tz.TS110E_light_onoff_brightness, tuya.tz.power_on_behavior_1, tz.TS110E_options],
|
|
9788
9785
|
configure: tuya.configureMagicPacket,
|
|
9789
9786
|
exposes: [
|
|
9790
9787
|
e.min_brightness().withEndpoint("l1"),
|
|
@@ -9801,8 +9798,8 @@ exports.definitions = [
|
|
|
9801
9798
|
model: "TS110E_2gang_2",
|
|
9802
9799
|
vendor: "Tuya",
|
|
9803
9800
|
description: "2 channel dimmer",
|
|
9804
|
-
fromZigbee: [
|
|
9805
|
-
toZigbee: [
|
|
9801
|
+
fromZigbee: [fz.TS110E, fz.TS110E_light_type, tuya.fz.power_on_behavior_1, fz.on_off],
|
|
9802
|
+
toZigbee: [tz.TS110E_onoff_brightness, tz.TS110E_options, tuya.tz.power_on_behavior_1, tz.light_brightness_move],
|
|
9806
9803
|
meta: { multiEndpoint: true },
|
|
9807
9804
|
exposes: [
|
|
9808
9805
|
e.light_brightness().withMinBrightness().withMaxBrightness().withEndpoint("l1"),
|
|
@@ -10064,7 +10061,7 @@ exports.definitions = [
|
|
|
10064
10061
|
vendor: "Tuya",
|
|
10065
10062
|
description: "Smart light & sound siren",
|
|
10066
10063
|
fromZigbee: [],
|
|
10067
|
-
toZigbee: [
|
|
10064
|
+
toZigbee: [tz.warning, tzLocal.TS0224],
|
|
10068
10065
|
exposes: [
|
|
10069
10066
|
e.warning(),
|
|
10070
10067
|
e.binary("light", ea.STATE_SET, "ON", "OFF").withDescription("Turn the light of the alarm ON/OFF"),
|
|
@@ -10084,7 +10081,7 @@ exports.definitions = [
|
|
|
10084
10081
|
vendor: "Tuya",
|
|
10085
10082
|
description: "Smart button",
|
|
10086
10083
|
exposes: [e.battery(), e.battery_voltage(), e.action(["single", "double"])],
|
|
10087
|
-
fromZigbee: [tuya.fz.on_off_action,
|
|
10084
|
+
fromZigbee: [tuya.fz.on_off_action, fz.battery],
|
|
10088
10085
|
toZigbee: [],
|
|
10089
10086
|
configure: tuya.configureMagicPacket,
|
|
10090
10087
|
},
|
|
@@ -10109,7 +10106,7 @@ exports.definitions = [
|
|
|
10109
10106
|
indicatorMode: true,
|
|
10110
10107
|
}),
|
|
10111
10108
|
],
|
|
10112
|
-
fromZigbee: [
|
|
10109
|
+
fromZigbee: [fz.temperature, fzLocal.TS011F_threshold],
|
|
10113
10110
|
toZigbee: [tzLocal.TS011F_threshold],
|
|
10114
10111
|
exposes: (device, options) => {
|
|
10115
10112
|
const exposes = [];
|
|
@@ -10359,8 +10356,8 @@ exports.definitions = [
|
|
|
10359
10356
|
model: "TS030F",
|
|
10360
10357
|
vendor: "Tuya",
|
|
10361
10358
|
description: "Smart blind controller",
|
|
10362
|
-
fromZigbee: [
|
|
10363
|
-
toZigbee: [
|
|
10359
|
+
fromZigbee: [fz.cover_position_tilt, fz.tuya_cover_options_2],
|
|
10360
|
+
toZigbee: [tz.cover_position_tilt, tz.cover_state, tzLocal.TS030F_border, tz.moes_cover_calibration, tz.tuya_cover_reversal],
|
|
10364
10361
|
configure: async (device, coordinatorEndpoint) => {
|
|
10365
10362
|
const endpoint = device.getEndpoint(1);
|
|
10366
10363
|
await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "closuresWindowCovering"]);
|
|
@@ -10533,7 +10530,7 @@ exports.definitions = [
|
|
|
10533
10530
|
},
|
|
10534
10531
|
},
|
|
10535
10532
|
{
|
|
10536
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_ves1ycwx", "_TZE200_ves1ycwx"]),
|
|
10533
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_ves1ycwx", "_TZE284_ves1ycwx", "_TZE200_ves1ycwx"]),
|
|
10537
10534
|
model: "SPM02",
|
|
10538
10535
|
vendor: "Tuya",
|
|
10539
10536
|
description: "Smart energy monitor for 3P+N system",
|
|
@@ -10568,7 +10565,7 @@ exports.definitions = [
|
|
|
10568
10565
|
},
|
|
10569
10566
|
},
|
|
10570
10567
|
{
|
|
10571
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_qhlxve78", "_TZE204_qhlxve78"]),
|
|
10568
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_qhlxve78", "_TZE284_qhlxve78", "_TZE204_qhlxve78"]),
|
|
10572
10569
|
model: "SPM01V2",
|
|
10573
10570
|
vendor: "Tuya",
|
|
10574
10571
|
description: "Smart energy monitor for 1P+N system",
|
|
@@ -10644,7 +10641,7 @@ exports.definitions = [
|
|
|
10644
10641
|
},
|
|
10645
10642
|
},
|
|
10646
10643
|
{
|
|
10647
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_v9hkz2yn", "_TZE200_v9hkz2yn"]),
|
|
10644
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_v9hkz2yn", "_TZE284_v9hkz2yn", "_TZE200_v9hkz2yn"]),
|
|
10648
10645
|
model: "SPM02V2",
|
|
10649
10646
|
vendor: "Tuya",
|
|
10650
10647
|
description: "Smart energy monitor for 3P+N system",
|
|
@@ -10978,7 +10975,7 @@ exports.definitions = [
|
|
|
10978
10975
|
},
|
|
10979
10976
|
},
|
|
10980
10977
|
{
|
|
10981
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_gomuk3dc", "_TZE200_gomuk3dc"]),
|
|
10978
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_gomuk3dc", "_TZE284_gomuk3dc", "_TZE200_gomuk3dc"]),
|
|
10982
10979
|
model: "SDM01V1.5",
|
|
10983
10980
|
vendor: "Tuya",
|
|
10984
10981
|
description: "Smart energy monitor for 3P+N system",
|
|
@@ -11047,7 +11044,7 @@ exports.definitions = [
|
|
|
11047
11044
|
},
|
|
11048
11045
|
},
|
|
11049
11046
|
{
|
|
11050
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_78ioiaml", "_TZE200_78ioiaml"]),
|
|
11047
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_78ioiaml", "_TZE284_78ioiaml", "_TZE200_78ioiaml"]),
|
|
11051
11048
|
model: "SDM02V1",
|
|
11052
11049
|
vendor: "Tuya",
|
|
11053
11050
|
description: "Smart energy monitor for 2P+N system",
|
|
@@ -11377,7 +11374,7 @@ exports.definitions = [
|
|
|
11377
11374
|
model: "SM0202",
|
|
11378
11375
|
vendor: "Tuya",
|
|
11379
11376
|
description: "Motion sensor",
|
|
11380
|
-
fromZigbee: [
|
|
11377
|
+
fromZigbee: [fz.ias_occupancy_alarm_1_with_timeout, fz.battery],
|
|
11381
11378
|
toZigbee: [],
|
|
11382
11379
|
exposes: [e.occupancy(), e.battery_low(), e.battery(), e.battery_voltage()],
|
|
11383
11380
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -11396,8 +11393,8 @@ exports.definitions = [
|
|
|
11396
11393
|
vendor: "Tuya",
|
|
11397
11394
|
description: "Zigbee fingerbot plus",
|
|
11398
11395
|
whiteLabel: [tuya.whitelabel("Adaprox", "TS0001_fingerbot_1", "Zigbee fingerbot plus", ["_TZ3210_dse8ogfy"])],
|
|
11399
|
-
fromZigbee: [
|
|
11400
|
-
toZigbee: [
|
|
11396
|
+
fromZigbee: [fz.on_off, tuya.fz.datapoints],
|
|
11397
|
+
toZigbee: [tz.on_off, tuya.tz.datapoints],
|
|
11401
11398
|
exposes: [
|
|
11402
11399
|
e.switch(),
|
|
11403
11400
|
e.battery(),
|
|
@@ -11659,7 +11656,7 @@ exports.definitions = [
|
|
|
11659
11656
|
model: "M9-zigbee-SL",
|
|
11660
11657
|
vendor: "Tuya",
|
|
11661
11658
|
description: "Smart Switch (4 gang + 4 scene) with neutral wire and motion sensing",
|
|
11662
|
-
fromZigbee: [tuya.fz.datapoints,
|
|
11659
|
+
fromZigbee: [tuya.fz.datapoints, fz.ias_occupancy_only_alarm_2, tuya.fz.indicator_mode],
|
|
11663
11660
|
toZigbee: [tuya.tz.datapoints, tuya.tz.power_on_behavior_1, tuya.tz.backlight_indicator_mode_1],
|
|
11664
11661
|
configure: tuya.configureMagicPacket,
|
|
11665
11662
|
exposes: [
|
|
@@ -13391,8 +13388,8 @@ exports.definitions = [
|
|
|
13391
13388
|
model: "QS-Zigbee-D04",
|
|
13392
13389
|
vendor: "LEDRON",
|
|
13393
13390
|
description: "0-10v dimmer",
|
|
13394
|
-
fromZigbee: [
|
|
13395
|
-
toZigbee: [
|
|
13391
|
+
fromZigbee: [fz.TS110E, fz.on_off],
|
|
13392
|
+
toZigbee: [tz.TS110E_onoff_brightness, tz.TS110E_options, tz.light_brightness_move],
|
|
13396
13393
|
whiteLabel: [tuya.whitelabel("Ledron", "QS-Zigbee-D06-DC", "Dimmer 12-36v", ["_TZ3210_hquixjeg"])],
|
|
13397
13394
|
exposes: [e.light_brightness().withMinBrightness().withMaxBrightness()],
|
|
13398
13395
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -15325,7 +15322,7 @@ exports.definitions = [
|
|
|
15325
15322
|
vendor: "LeapMMW",
|
|
15326
15323
|
description: "Human presence sensor",
|
|
15327
15324
|
extend: [tuyaBase({ dp: true })],
|
|
15328
|
-
fromZigbee: [
|
|
15325
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.ias_occupancy_alarm_1_report],
|
|
15329
15326
|
exposes: [
|
|
15330
15327
|
e.occupancy(),
|
|
15331
15328
|
e.illuminance(),
|