zigbee-herdsman-converters 23.9.1 → 23.11.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 +41 -0
- package/dist/converters/fromZigbee.d.ts +1 -0
- package/dist/converters/fromZigbee.d.ts.map +1 -1
- package/dist/converters/fromZigbee.js +24 -6
- package/dist/converters/fromZigbee.js.map +1 -1
- package/dist/converters/toZigbee.d.ts +0 -3
- package/dist/converters/toZigbee.d.ts.map +1 -1
- package/dist/converters/toZigbee.js +1 -43
- package/dist/converters/toZigbee.js.map +1 -1
- package/dist/devices/avatto.d.ts.map +1 -1
- package/dist/devices/avatto.js +39 -0
- package/dist/devices/avatto.js.map +1 -1
- package/dist/devices/busch_jaeger.d.ts.map +1 -1
- package/dist/devices/busch_jaeger.js +18 -27
- package/dist/devices/busch_jaeger.js.map +1 -1
- package/dist/devices/candeo.d.ts.map +1 -1
- package/dist/devices/candeo.js +66 -9
- package/dist/devices/candeo.js.map +1 -1
- package/dist/devices/efekta.d.ts.map +1 -1
- package/dist/devices/efekta.js +962 -0
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/enocean.d.ts.map +1 -1
- package/dist/devices/enocean.js +1 -0
- package/dist/devices/enocean.js.map +1 -1
- package/dist/devices/gledopto.js +1 -1
- package/dist/devices/gledopto.js.map +1 -1
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +2 -0
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/innr.js +1 -1
- package/dist/devices/innr.js.map +1 -1
- package/dist/devices/lumi.d.ts.map +1 -1
- package/dist/devices/lumi.js +1 -0
- package/dist/devices/lumi.js.map +1 -1
- package/dist/devices/mazda.d.ts.map +1 -1
- package/dist/devices/mazda.js +40 -54
- package/dist/devices/mazda.js.map +1 -1
- package/dist/devices/mindy.d.ts +3 -0
- package/dist/devices/mindy.d.ts.map +1 -0
- package/dist/devices/mindy.js +384 -0
- package/dist/devices/mindy.js.map +1 -0
- package/dist/devices/namron.js +1 -1
- package/dist/devices/onesti.d.ts.map +1 -1
- package/dist/devices/onesti.js +3 -0
- package/dist/devices/onesti.js.map +1 -1
- package/dist/devices/third_reality.js +2 -2
- package/dist/devices/third_reality.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +6 -7
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/vimar.d.ts.map +1 -1
- package/dist/devices/vimar.js +7 -0
- package/dist/devices/vimar.js.map +1 -1
- package/dist/devices/yandex.d.ts.map +1 -1
- package/dist/devices/yandex.js +45 -0
- package/dist/devices/yandex.js.map +1 -1
- package/dist/lib/generateDefinition.d.ts +4 -0
- package/dist/lib/generateDefinition.d.ts.map +1 -1
- package/dist/lib/generateDefinition.js +101 -76
- package/dist/lib/generateDefinition.js.map +1 -1
- package/dist/lib/modernExtend.d.ts +6 -0
- package/dist/lib/modernExtend.d.ts.map +1 -1
- package/dist/lib/modernExtend.js +111 -2
- package/dist/lib/modernExtend.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
package/dist/devices/efekta.js
CHANGED
|
@@ -47,6 +47,9 @@ const sixReporting = { min: 3600, max: 21600, change: 1 };
|
|
|
47
47
|
const co2Reporting = { min: 10, max: 600, change: 0.000001 };
|
|
48
48
|
const pmReporting = { min: 10, max: 600, change: 0.1 };
|
|
49
49
|
const pm2Reporting = { min: 10, max: 600, change: 0.01 };
|
|
50
|
+
const soilMoistureReporting = { min: 600, max: 7200, change: 100 };
|
|
51
|
+
const slowReporting = { min: 120, max: 3600, change: 25 };
|
|
52
|
+
const slow2Reporting = { min: 300, max: 3600, change: 50 };
|
|
50
53
|
exports.definitions = [
|
|
51
54
|
{
|
|
52
55
|
zigbeeModel: ["EFEKTA_iAQ3"],
|
|
@@ -4790,5 +4793,964 @@ exports.definitions = [
|
|
|
4790
4793
|
}),
|
|
4791
4794
|
],
|
|
4792
4795
|
},
|
|
4796
|
+
{
|
|
4797
|
+
zigbeeModel: ["zFlora_S"],
|
|
4798
|
+
model: "zFlora_S",
|
|
4799
|
+
vendor: "EFEKTA",
|
|
4800
|
+
description: "Plant watering sensor zFlora S",
|
|
4801
|
+
extend: [
|
|
4802
|
+
m.identify(),
|
|
4803
|
+
m.soilMoisture({
|
|
4804
|
+
reporting: soilMoistureReporting,
|
|
4805
|
+
access: "STATE",
|
|
4806
|
+
}),
|
|
4807
|
+
m.battery({
|
|
4808
|
+
percentage: true,
|
|
4809
|
+
lowStatus: true,
|
|
4810
|
+
voltage: true,
|
|
4811
|
+
percentageReporting: true,
|
|
4812
|
+
voltageReporting: true,
|
|
4813
|
+
percentageReportingConfig: sixReporting,
|
|
4814
|
+
voltageReportingConfig: sixReporting,
|
|
4815
|
+
}),
|
|
4816
|
+
m.temperature({
|
|
4817
|
+
reporting: slowReporting,
|
|
4818
|
+
access: "STATE",
|
|
4819
|
+
}),
|
|
4820
|
+
m.humidity({
|
|
4821
|
+
reporting: slow2Reporting,
|
|
4822
|
+
access: "STATE",
|
|
4823
|
+
}),
|
|
4824
|
+
m.numeric({
|
|
4825
|
+
name: "reading_interval",
|
|
4826
|
+
unit: "sec",
|
|
4827
|
+
valueMin: 1,
|
|
4828
|
+
valueMax: 360,
|
|
4829
|
+
cluster: "genPowerCfg",
|
|
4830
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
4831
|
+
description: "Setting the time in minutes, by default 3 minutes",
|
|
4832
|
+
access: "STATE_SET",
|
|
4833
|
+
}),
|
|
4834
|
+
m.binary({
|
|
4835
|
+
name: "smart_sleep",
|
|
4836
|
+
valueOn: ["ON", 1],
|
|
4837
|
+
valueOff: ["OFF", 0],
|
|
4838
|
+
cluster: "genPowerCfg",
|
|
4839
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
4840
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
4841
|
+
access: "STATE_SET",
|
|
4842
|
+
}),
|
|
4843
|
+
m.enumLookup({
|
|
4844
|
+
name: "tx_radio_power",
|
|
4845
|
+
lookup: { "0dbm": 0, "4dbm": 4 },
|
|
4846
|
+
cluster: "genPowerCfg",
|
|
4847
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
4848
|
+
description: "Set TX Radio Power, dbm",
|
|
4849
|
+
access: "STATE_SET",
|
|
4850
|
+
}),
|
|
4851
|
+
m.numeric({
|
|
4852
|
+
name: "uptime",
|
|
4853
|
+
unit: "Hours",
|
|
4854
|
+
cluster: "genTime",
|
|
4855
|
+
attribute: "localTime",
|
|
4856
|
+
description: "Uptime",
|
|
4857
|
+
scale: 3600,
|
|
4858
|
+
precision: 1,
|
|
4859
|
+
access: "STATE",
|
|
4860
|
+
}),
|
|
4861
|
+
m.numeric({
|
|
4862
|
+
name: "lower_level",
|
|
4863
|
+
unit: "%",
|
|
4864
|
+
valueMin: 0,
|
|
4865
|
+
valueMax: 99,
|
|
4866
|
+
cluster: "msSoilMoisture",
|
|
4867
|
+
attribute: { ID: 0x0502, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
4868
|
+
description: "Lower level of soil moisture 0% is:",
|
|
4869
|
+
access: "STATE_SET",
|
|
4870
|
+
}),
|
|
4871
|
+
m.numeric({
|
|
4872
|
+
name: "upper_level",
|
|
4873
|
+
unit: "%",
|
|
4874
|
+
valueMin: 1,
|
|
4875
|
+
valueMax: 100,
|
|
4876
|
+
cluster: "msSoilMoisture",
|
|
4877
|
+
attribute: { ID: 0x0503, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
4878
|
+
description: "Upper level of soil moisture 100% is:",
|
|
4879
|
+
access: "STATE_SET",
|
|
4880
|
+
}),
|
|
4881
|
+
m.numeric({
|
|
4882
|
+
name: "temperature_offset",
|
|
4883
|
+
unit: "°C",
|
|
4884
|
+
valueMin: -50,
|
|
4885
|
+
valueMax: 50,
|
|
4886
|
+
valueStep: 0.1,
|
|
4887
|
+
scale: 10,
|
|
4888
|
+
cluster: "msTemperatureMeasurement",
|
|
4889
|
+
attribute: { ID: 0x0410, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
4890
|
+
description: "Adjust temperature",
|
|
4891
|
+
access: "STATE_SET",
|
|
4892
|
+
}),
|
|
4893
|
+
m.binary({
|
|
4894
|
+
name: "temperature_compensation",
|
|
4895
|
+
valueOn: ["ON", 1],
|
|
4896
|
+
valueOff: ["OFF", 0],
|
|
4897
|
+
cluster: "msTemperatureMeasurement",
|
|
4898
|
+
attribute: { ID: 0x0504, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
4899
|
+
description: "Temperature compensation",
|
|
4900
|
+
access: "STATE_SET",
|
|
4901
|
+
}),
|
|
4902
|
+
],
|
|
4903
|
+
},
|
|
4904
|
+
{
|
|
4905
|
+
zigbeeModel: ["zFlora_S_Max"],
|
|
4906
|
+
model: "zFlora_S_Max",
|
|
4907
|
+
vendor: "EFEKTA",
|
|
4908
|
+
description: "Plant watering sensor zFlora_S Max",
|
|
4909
|
+
extend: [
|
|
4910
|
+
m.identify(),
|
|
4911
|
+
m.soilMoisture({
|
|
4912
|
+
reporting: soilMoistureReporting,
|
|
4913
|
+
access: "STATE",
|
|
4914
|
+
}),
|
|
4915
|
+
m.battery({
|
|
4916
|
+
percentage: true,
|
|
4917
|
+
lowStatus: true,
|
|
4918
|
+
voltage: true,
|
|
4919
|
+
percentageReporting: true,
|
|
4920
|
+
voltageReporting: true,
|
|
4921
|
+
percentageReportingConfig: sixReporting,
|
|
4922
|
+
voltageReportingConfig: sixReporting,
|
|
4923
|
+
}),
|
|
4924
|
+
m.temperature({
|
|
4925
|
+
reporting: slowReporting,
|
|
4926
|
+
access: "STATE",
|
|
4927
|
+
}),
|
|
4928
|
+
m.humidity({
|
|
4929
|
+
reporting: slow2Reporting,
|
|
4930
|
+
access: "STATE",
|
|
4931
|
+
}),
|
|
4932
|
+
m.illuminance({
|
|
4933
|
+
reporting: slowReporting,
|
|
4934
|
+
access: "STATE",
|
|
4935
|
+
}),
|
|
4936
|
+
m.numeric({
|
|
4937
|
+
name: "reading_interval",
|
|
4938
|
+
unit: "sec",
|
|
4939
|
+
valueMin: 1,
|
|
4940
|
+
valueMax: 360,
|
|
4941
|
+
cluster: "genPowerCfg",
|
|
4942
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
4943
|
+
description: "Setting the time in minutes, by default 3 minutes",
|
|
4944
|
+
access: "STATE_SET",
|
|
4945
|
+
}),
|
|
4946
|
+
m.binary({
|
|
4947
|
+
name: "smart_sleep",
|
|
4948
|
+
valueOn: ["ON", 1],
|
|
4949
|
+
valueOff: ["OFF", 0],
|
|
4950
|
+
cluster: "genPowerCfg",
|
|
4951
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
4952
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
4953
|
+
access: "STATE_SET",
|
|
4954
|
+
}),
|
|
4955
|
+
m.enumLookup({
|
|
4956
|
+
name: "tx_radio_power",
|
|
4957
|
+
lookup: { "0dbm": 0, "4dbm": 4 },
|
|
4958
|
+
cluster: "genPowerCfg",
|
|
4959
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
4960
|
+
description: "Set TX Radio Power, dbm",
|
|
4961
|
+
access: "STATE_SET",
|
|
4962
|
+
}),
|
|
4963
|
+
m.numeric({
|
|
4964
|
+
name: "uptime",
|
|
4965
|
+
unit: "Hours",
|
|
4966
|
+
cluster: "genTime",
|
|
4967
|
+
attribute: "localTime",
|
|
4968
|
+
description: "Uptime",
|
|
4969
|
+
scale: 3600,
|
|
4970
|
+
precision: 1,
|
|
4971
|
+
access: "STATE",
|
|
4972
|
+
}),
|
|
4973
|
+
m.numeric({
|
|
4974
|
+
name: "lower_level",
|
|
4975
|
+
unit: "%",
|
|
4976
|
+
valueMin: 0,
|
|
4977
|
+
valueMax: 99,
|
|
4978
|
+
cluster: "msSoilMoisture",
|
|
4979
|
+
attribute: { ID: 0x0502, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
4980
|
+
description: "Lower level of soil moisture 0% is:",
|
|
4981
|
+
access: "STATE_SET",
|
|
4982
|
+
}),
|
|
4983
|
+
m.numeric({
|
|
4984
|
+
name: "upper_level",
|
|
4985
|
+
unit: "%",
|
|
4986
|
+
valueMin: 1,
|
|
4987
|
+
valueMax: 100,
|
|
4988
|
+
cluster: "msSoilMoisture",
|
|
4989
|
+
attribute: { ID: 0x0503, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
4990
|
+
description: "Upper level of soil moisture 100% is:",
|
|
4991
|
+
access: "STATE_SET",
|
|
4992
|
+
}),
|
|
4993
|
+
m.numeric({
|
|
4994
|
+
name: "temperature_offset",
|
|
4995
|
+
unit: "°C",
|
|
4996
|
+
valueMin: -50,
|
|
4997
|
+
valueMax: 50,
|
|
4998
|
+
valueStep: 0.1,
|
|
4999
|
+
scale: 10,
|
|
5000
|
+
cluster: "msTemperatureMeasurement",
|
|
5001
|
+
attribute: { ID: 0x0410, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5002
|
+
description: "Adjust temperature",
|
|
5003
|
+
access: "STATE_SET",
|
|
5004
|
+
}),
|
|
5005
|
+
m.binary({
|
|
5006
|
+
name: "temperature_compensation",
|
|
5007
|
+
valueOn: ["ON", 1],
|
|
5008
|
+
valueOff: ["OFF", 0],
|
|
5009
|
+
cluster: "msTemperatureMeasurement",
|
|
5010
|
+
attribute: { ID: 0x0504, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5011
|
+
description: "Temperature compensation",
|
|
5012
|
+
access: "STATE_SET",
|
|
5013
|
+
}),
|
|
5014
|
+
],
|
|
5015
|
+
},
|
|
5016
|
+
{
|
|
5017
|
+
zigbeeModel: ["zFlora_Pro"],
|
|
5018
|
+
model: "zFlora_Pro",
|
|
5019
|
+
vendor: "EFEKTA",
|
|
5020
|
+
description: "Plant watering sensor zFlora_Pro",
|
|
5021
|
+
extend: [
|
|
5022
|
+
m.identify(),
|
|
5023
|
+
m.soilMoisture({
|
|
5024
|
+
reporting: soilMoistureReporting,
|
|
5025
|
+
access: "STATE",
|
|
5026
|
+
}),
|
|
5027
|
+
m.battery({
|
|
5028
|
+
percentage: true,
|
|
5029
|
+
lowStatus: true,
|
|
5030
|
+
voltage: true,
|
|
5031
|
+
percentageReporting: true,
|
|
5032
|
+
voltageReporting: true,
|
|
5033
|
+
percentageReportingConfig: sixReporting,
|
|
5034
|
+
voltageReportingConfig: sixReporting,
|
|
5035
|
+
}),
|
|
5036
|
+
m.temperature({
|
|
5037
|
+
reporting: slowReporting,
|
|
5038
|
+
access: "STATE",
|
|
5039
|
+
}),
|
|
5040
|
+
m.humidity({
|
|
5041
|
+
reporting: slow2Reporting,
|
|
5042
|
+
access: "STATE",
|
|
5043
|
+
}),
|
|
5044
|
+
m.illuminance({
|
|
5045
|
+
reporting: slowReporting,
|
|
5046
|
+
access: "STATE",
|
|
5047
|
+
}),
|
|
5048
|
+
m.numeric({
|
|
5049
|
+
name: "reading_interval",
|
|
5050
|
+
unit: "sec",
|
|
5051
|
+
valueMin: 1,
|
|
5052
|
+
valueMax: 360,
|
|
5053
|
+
cluster: "genPowerCfg",
|
|
5054
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5055
|
+
description: "Setting the time in minutes, by default 3 minutes",
|
|
5056
|
+
access: "STATE_SET",
|
|
5057
|
+
}),
|
|
5058
|
+
m.binary({
|
|
5059
|
+
name: "smart_sleep",
|
|
5060
|
+
valueOn: ["ON", 1],
|
|
5061
|
+
valueOff: ["OFF", 0],
|
|
5062
|
+
cluster: "genPowerCfg",
|
|
5063
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5064
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
5065
|
+
access: "STATE_SET",
|
|
5066
|
+
}),
|
|
5067
|
+
m.enumLookup({
|
|
5068
|
+
name: "tx_radio_power",
|
|
5069
|
+
lookup: { "0dbm": 0, "4dbm": 4 },
|
|
5070
|
+
cluster: "genPowerCfg",
|
|
5071
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
5072
|
+
description: "Set TX Radio Power, dbm",
|
|
5073
|
+
access: "STATE_SET",
|
|
5074
|
+
}),
|
|
5075
|
+
m.numeric({
|
|
5076
|
+
name: "uptime",
|
|
5077
|
+
unit: "Hours",
|
|
5078
|
+
cluster: "genTime",
|
|
5079
|
+
attribute: "localTime",
|
|
5080
|
+
description: "Uptime",
|
|
5081
|
+
scale: 3600,
|
|
5082
|
+
precision: 1,
|
|
5083
|
+
access: "STATE",
|
|
5084
|
+
}),
|
|
5085
|
+
m.numeric({
|
|
5086
|
+
name: "lower_level",
|
|
5087
|
+
unit: "%",
|
|
5088
|
+
valueMin: 0,
|
|
5089
|
+
valueMax: 99,
|
|
5090
|
+
cluster: "msSoilMoisture",
|
|
5091
|
+
attribute: { ID: 0x0502, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5092
|
+
description: "Lower level of soil moisture 0% is:",
|
|
5093
|
+
access: "STATE_SET",
|
|
5094
|
+
}),
|
|
5095
|
+
m.numeric({
|
|
5096
|
+
name: "upper_level",
|
|
5097
|
+
unit: "%",
|
|
5098
|
+
valueMin: 1,
|
|
5099
|
+
valueMax: 100,
|
|
5100
|
+
cluster: "msSoilMoisture",
|
|
5101
|
+
attribute: { ID: 0x0503, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5102
|
+
description: "Upper level of soil moisture 100% is:",
|
|
5103
|
+
access: "STATE_SET",
|
|
5104
|
+
}),
|
|
5105
|
+
m.numeric({
|
|
5106
|
+
name: "temperature_offset",
|
|
5107
|
+
unit: "°C",
|
|
5108
|
+
valueMin: -50,
|
|
5109
|
+
valueMax: 50,
|
|
5110
|
+
valueStep: 0.1,
|
|
5111
|
+
scale: 10,
|
|
5112
|
+
cluster: "msTemperatureMeasurement",
|
|
5113
|
+
attribute: { ID: 0x0410, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5114
|
+
description: "Adjust temperature",
|
|
5115
|
+
access: "STATE_SET",
|
|
5116
|
+
}),
|
|
5117
|
+
m.binary({
|
|
5118
|
+
name: "temperature_compensation",
|
|
5119
|
+
valueOn: ["ON", 1],
|
|
5120
|
+
valueOff: ["OFF", 0],
|
|
5121
|
+
cluster: "msTemperatureMeasurement",
|
|
5122
|
+
attribute: { ID: 0x0504, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5123
|
+
description: "Temperature compensation",
|
|
5124
|
+
access: "STATE_SET",
|
|
5125
|
+
}),
|
|
5126
|
+
],
|
|
5127
|
+
},
|
|
5128
|
+
{
|
|
5129
|
+
zigbeeModel: ["zFlora_ProMax"],
|
|
5130
|
+
model: "zFlora_ProMax",
|
|
5131
|
+
vendor: "EFEKTA",
|
|
5132
|
+
description: "Plant watering sensor zFlora_ProMax with signal amplifier",
|
|
5133
|
+
extend: [
|
|
5134
|
+
m.identify(),
|
|
5135
|
+
m.soilMoisture({
|
|
5136
|
+
reporting: soilMoistureReporting,
|
|
5137
|
+
access: "STATE",
|
|
5138
|
+
}),
|
|
5139
|
+
m.battery({
|
|
5140
|
+
percentage: true,
|
|
5141
|
+
lowStatus: true,
|
|
5142
|
+
voltage: true,
|
|
5143
|
+
percentageReporting: true,
|
|
5144
|
+
voltageReporting: true,
|
|
5145
|
+
percentageReportingConfig: sixReporting,
|
|
5146
|
+
voltageReportingConfig: sixReporting,
|
|
5147
|
+
}),
|
|
5148
|
+
m.temperature({
|
|
5149
|
+
reporting: slowReporting,
|
|
5150
|
+
access: "STATE",
|
|
5151
|
+
}),
|
|
5152
|
+
m.humidity({
|
|
5153
|
+
reporting: slow2Reporting,
|
|
5154
|
+
access: "STATE",
|
|
5155
|
+
}),
|
|
5156
|
+
m.illuminance({
|
|
5157
|
+
reporting: slowReporting,
|
|
5158
|
+
access: "STATE",
|
|
5159
|
+
}),
|
|
5160
|
+
m.numeric({
|
|
5161
|
+
name: "reading_interval",
|
|
5162
|
+
unit: "sec",
|
|
5163
|
+
valueMin: 1,
|
|
5164
|
+
valueMax: 360,
|
|
5165
|
+
cluster: "genPowerCfg",
|
|
5166
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5167
|
+
description: "Setting the time in minutes, by default 9 minutes",
|
|
5168
|
+
access: "STATE_SET",
|
|
5169
|
+
}),
|
|
5170
|
+
m.binary({
|
|
5171
|
+
name: "smart_sleep",
|
|
5172
|
+
valueOn: ["ON", 1],
|
|
5173
|
+
valueOff: ["OFF", 0],
|
|
5174
|
+
cluster: "genPowerCfg",
|
|
5175
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5176
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
5177
|
+
access: "STATE_SET",
|
|
5178
|
+
}),
|
|
5179
|
+
m.enumLookup({
|
|
5180
|
+
name: "tx_radio_power",
|
|
5181
|
+
lookup: { "4dbm": 4, "19dbm": 19 },
|
|
5182
|
+
cluster: "genPowerCfg",
|
|
5183
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
5184
|
+
description: "Set TX Radio Power, dbm",
|
|
5185
|
+
access: "STATE_SET",
|
|
5186
|
+
}),
|
|
5187
|
+
m.numeric({
|
|
5188
|
+
name: "uptime",
|
|
5189
|
+
unit: "Hours",
|
|
5190
|
+
cluster: "genTime",
|
|
5191
|
+
attribute: "localTime",
|
|
5192
|
+
description: "Uptime",
|
|
5193
|
+
scale: 3600,
|
|
5194
|
+
precision: 1,
|
|
5195
|
+
access: "STATE",
|
|
5196
|
+
}),
|
|
5197
|
+
m.numeric({
|
|
5198
|
+
name: "lower_level",
|
|
5199
|
+
unit: "%",
|
|
5200
|
+
valueMin: 0,
|
|
5201
|
+
valueMax: 99,
|
|
5202
|
+
cluster: "msSoilMoisture",
|
|
5203
|
+
attribute: { ID: 0x0502, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5204
|
+
description: "Lower level of soil moisture 0% is:",
|
|
5205
|
+
access: "STATE_SET",
|
|
5206
|
+
}),
|
|
5207
|
+
m.numeric({
|
|
5208
|
+
name: "upper_level",
|
|
5209
|
+
unit: "%",
|
|
5210
|
+
valueMin: 1,
|
|
5211
|
+
valueMax: 100,
|
|
5212
|
+
cluster: "msSoilMoisture",
|
|
5213
|
+
attribute: { ID: 0x0503, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5214
|
+
description: "Upper level of soil moisture 100% is:",
|
|
5215
|
+
access: "STATE_SET",
|
|
5216
|
+
}),
|
|
5217
|
+
m.numeric({
|
|
5218
|
+
name: "temperature_offset",
|
|
5219
|
+
unit: "°C",
|
|
5220
|
+
valueMin: -50,
|
|
5221
|
+
valueMax: 50,
|
|
5222
|
+
valueStep: 0.1,
|
|
5223
|
+
scale: 10,
|
|
5224
|
+
cluster: "msTemperatureMeasurement",
|
|
5225
|
+
attribute: { ID: 0x0410, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5226
|
+
description: "Adjust temperature",
|
|
5227
|
+
access: "STATE_SET",
|
|
5228
|
+
}),
|
|
5229
|
+
m.binary({
|
|
5230
|
+
name: "temperature_compensation",
|
|
5231
|
+
valueOn: ["ON", 1],
|
|
5232
|
+
valueOff: ["OFF", 0],
|
|
5233
|
+
cluster: "msTemperatureMeasurement",
|
|
5234
|
+
attribute: { ID: 0x0504, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5235
|
+
description: "Temperature compensation",
|
|
5236
|
+
access: "STATE_SET",
|
|
5237
|
+
}),
|
|
5238
|
+
],
|
|
5239
|
+
},
|
|
5240
|
+
{
|
|
5241
|
+
zigbeeModel: ["EFEKTA_eFlora"],
|
|
5242
|
+
model: "EFEKTA_eFlora",
|
|
5243
|
+
vendor: "EFEKTA",
|
|
5244
|
+
description: "Plant Wattering Sensor with e-ink display 1.02",
|
|
5245
|
+
extend: [
|
|
5246
|
+
m.soilMoisture({
|
|
5247
|
+
reporting: soilMoistureReporting,
|
|
5248
|
+
access: "STATE",
|
|
5249
|
+
}),
|
|
5250
|
+
m.battery({
|
|
5251
|
+
percentage: true,
|
|
5252
|
+
lowStatus: true,
|
|
5253
|
+
voltage: true,
|
|
5254
|
+
percentageReporting: true,
|
|
5255
|
+
voltageReporting: true,
|
|
5256
|
+
percentageReportingConfig: sixReporting,
|
|
5257
|
+
voltageReportingConfig: sixReporting,
|
|
5258
|
+
}),
|
|
5259
|
+
m.temperature({
|
|
5260
|
+
reporting: slowReporting,
|
|
5261
|
+
access: "STATE",
|
|
5262
|
+
}),
|
|
5263
|
+
m.humidity({
|
|
5264
|
+
reporting: slow2Reporting,
|
|
5265
|
+
access: "STATE",
|
|
5266
|
+
}),
|
|
5267
|
+
m.illuminance({
|
|
5268
|
+
reporting: slowReporting,
|
|
5269
|
+
access: "STATE",
|
|
5270
|
+
}),
|
|
5271
|
+
m.numeric({
|
|
5272
|
+
name: "reading_interval",
|
|
5273
|
+
unit: "sec",
|
|
5274
|
+
valueMin: 1,
|
|
5275
|
+
valueMax: 360,
|
|
5276
|
+
cluster: "genPowerCfg",
|
|
5277
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5278
|
+
description: "Setting the time in minutes, by default 10 minutes",
|
|
5279
|
+
access: "STATE_SET",
|
|
5280
|
+
}),
|
|
5281
|
+
m.numeric({
|
|
5282
|
+
name: "lower_level",
|
|
5283
|
+
unit: "%",
|
|
5284
|
+
valueMin: 0,
|
|
5285
|
+
valueMax: 99,
|
|
5286
|
+
cluster: "msSoilMoisture",
|
|
5287
|
+
attribute: { ID: 0x0502, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5288
|
+
description: "Lower level of soil moisture 0% is:",
|
|
5289
|
+
access: "STATE_SET",
|
|
5290
|
+
}),
|
|
5291
|
+
m.numeric({
|
|
5292
|
+
name: "upper_level",
|
|
5293
|
+
unit: "%",
|
|
5294
|
+
valueMin: 1,
|
|
5295
|
+
valueMax: 100,
|
|
5296
|
+
cluster: "msSoilMoisture",
|
|
5297
|
+
attribute: { ID: 0x0503, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5298
|
+
description: "Upper level of soil moisture 100% is:",
|
|
5299
|
+
access: "STATE_SET",
|
|
5300
|
+
}),
|
|
5301
|
+
m.enumLookup({
|
|
5302
|
+
name: "invert",
|
|
5303
|
+
lookup: { BW: 0, WB: 1 },
|
|
5304
|
+
cluster: "genPowerCfg",
|
|
5305
|
+
attribute: { ID: 0x0210, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
5306
|
+
description: "Invert display color",
|
|
5307
|
+
access: "STATE_SET",
|
|
5308
|
+
}),
|
|
5309
|
+
m.binary({
|
|
5310
|
+
name: "temperature_compensation",
|
|
5311
|
+
valueOn: ["ON", 1],
|
|
5312
|
+
valueOff: ["OFF", 0],
|
|
5313
|
+
cluster: "msSoilMoisture",
|
|
5314
|
+
attribute: { ID: 0x0505, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5315
|
+
description: "Temperature compensation",
|
|
5316
|
+
access: "STATE_SET",
|
|
5317
|
+
}),
|
|
5318
|
+
],
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
zigbeeModel: ["EFEKTA_eFlora_Pro"],
|
|
5322
|
+
model: "EFEKTA_eFlora_Pro",
|
|
5323
|
+
vendor: "EFEKTA",
|
|
5324
|
+
description: "Plant Wattering Sensor with e-ink display 2.13",
|
|
5325
|
+
extend: [
|
|
5326
|
+
m.soilMoisture({
|
|
5327
|
+
reporting: soilMoistureReporting,
|
|
5328
|
+
access: "STATE",
|
|
5329
|
+
}),
|
|
5330
|
+
m.battery({
|
|
5331
|
+
percentage: true,
|
|
5332
|
+
lowStatus: true,
|
|
5333
|
+
voltage: true,
|
|
5334
|
+
percentageReporting: true,
|
|
5335
|
+
voltageReporting: true,
|
|
5336
|
+
percentageReportingConfig: sixReporting,
|
|
5337
|
+
voltageReportingConfig: sixReporting,
|
|
5338
|
+
}),
|
|
5339
|
+
m.temperature({
|
|
5340
|
+
reporting: slowReporting,
|
|
5341
|
+
access: "STATE",
|
|
5342
|
+
}),
|
|
5343
|
+
m.humidity({
|
|
5344
|
+
reporting: slow2Reporting,
|
|
5345
|
+
access: "STATE",
|
|
5346
|
+
}),
|
|
5347
|
+
m.illuminance({
|
|
5348
|
+
reporting: slowReporting,
|
|
5349
|
+
access: "STATE",
|
|
5350
|
+
}),
|
|
5351
|
+
m.numeric({
|
|
5352
|
+
name: "reading_interval",
|
|
5353
|
+
unit: "sec",
|
|
5354
|
+
valueMin: 1,
|
|
5355
|
+
valueMax: 360,
|
|
5356
|
+
cluster: "genPowerCfg",
|
|
5357
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5358
|
+
description: "Setting the time in minutes, by default 5 minutes",
|
|
5359
|
+
access: "STATE_SET",
|
|
5360
|
+
}),
|
|
5361
|
+
m.enumLookup({
|
|
5362
|
+
name: "tx_radio_power",
|
|
5363
|
+
lookup: { "4dbm": 4, "19dbm": 19 },
|
|
5364
|
+
cluster: "genPowerCfg",
|
|
5365
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
5366
|
+
description: "Set TX Radio Power, dbm",
|
|
5367
|
+
access: "STATE_SET",
|
|
5368
|
+
}),
|
|
5369
|
+
m.enumLookup({
|
|
5370
|
+
name: "invert",
|
|
5371
|
+
lookup: { BW: 0, WB: 1 },
|
|
5372
|
+
cluster: "genPowerCfg",
|
|
5373
|
+
attribute: { ID: 0xf004, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
5374
|
+
description: "Invert display color",
|
|
5375
|
+
access: "STATE_SET",
|
|
5376
|
+
}),
|
|
5377
|
+
m.enumLookup({
|
|
5378
|
+
name: "fastmode",
|
|
5379
|
+
lookup: { Fast: 0, "Ultra Fast": 1 },
|
|
5380
|
+
cluster: "genPowerCfg",
|
|
5381
|
+
attribute: { ID: 0xf005, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
5382
|
+
description: "Display refresh mode",
|
|
5383
|
+
access: "STATE_SET",
|
|
5384
|
+
}),
|
|
5385
|
+
m.numeric({
|
|
5386
|
+
name: "lower_level",
|
|
5387
|
+
unit: "%",
|
|
5388
|
+
valueMin: 0,
|
|
5389
|
+
valueMax: 99,
|
|
5390
|
+
cluster: "msSoilMoisture",
|
|
5391
|
+
attribute: { ID: 0x0502, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5392
|
+
description: "Lower level of soil moisture 0% is:",
|
|
5393
|
+
access: "STATE_SET",
|
|
5394
|
+
}),
|
|
5395
|
+
m.numeric({
|
|
5396
|
+
name: "upper_level",
|
|
5397
|
+
unit: "%",
|
|
5398
|
+
valueMin: 1,
|
|
5399
|
+
valueMax: 100,
|
|
5400
|
+
cluster: "msSoilMoisture",
|
|
5401
|
+
attribute: { ID: 0x0503, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5402
|
+
description: "Upper level of soil moisture 100% is:",
|
|
5403
|
+
access: "STATE_SET",
|
|
5404
|
+
}),
|
|
5405
|
+
m.binary({
|
|
5406
|
+
name: "temperature_compensation",
|
|
5407
|
+
valueOn: ["ON", 1],
|
|
5408
|
+
valueOff: ["OFF", 0],
|
|
5409
|
+
cluster: "msSoilMoisture",
|
|
5410
|
+
attribute: { ID: 0x0505, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5411
|
+
description: "Temperature compensation",
|
|
5412
|
+
access: "STATE_SET",
|
|
5413
|
+
}),
|
|
5414
|
+
],
|
|
5415
|
+
},
|
|
5416
|
+
{
|
|
5417
|
+
zigbeeModel: ["EFEKTA_eTH102zex"],
|
|
5418
|
+
model: "EFEKTA_eTH102zex",
|
|
5419
|
+
vendor: "EFEKTA",
|
|
5420
|
+
description: "Temperature and humidity sensor with e-ink1.02, date, termostat, hygrostat",
|
|
5421
|
+
extend: [
|
|
5422
|
+
m.temperature({
|
|
5423
|
+
reporting: fourReporting,
|
|
5424
|
+
access: "STATE",
|
|
5425
|
+
}),
|
|
5426
|
+
m.humidity({
|
|
5427
|
+
reporting: fourReporting,
|
|
5428
|
+
access: "STATE",
|
|
5429
|
+
}),
|
|
5430
|
+
m.battery({
|
|
5431
|
+
percentage: true,
|
|
5432
|
+
lowStatus: true,
|
|
5433
|
+
voltage: true,
|
|
5434
|
+
percentageReporting: true,
|
|
5435
|
+
voltageReporting: true,
|
|
5436
|
+
percentageReportingConfig: sixReporting,
|
|
5437
|
+
voltageReportingConfig: sixReporting,
|
|
5438
|
+
}),
|
|
5439
|
+
m.numeric({
|
|
5440
|
+
name: "reading_interval",
|
|
5441
|
+
unit: "sec",
|
|
5442
|
+
valueMin: 10,
|
|
5443
|
+
valueMax: 600,
|
|
5444
|
+
cluster: "genPowerCfg",
|
|
5445
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5446
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
5447
|
+
access: "STATE_SET",
|
|
5448
|
+
}),
|
|
5449
|
+
m.binary({
|
|
5450
|
+
name: "config_report_enable",
|
|
5451
|
+
valueOn: ["ON", 1],
|
|
5452
|
+
valueOff: ["OFF", 0],
|
|
5453
|
+
cluster: "genPowerCfg",
|
|
5454
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5455
|
+
description: "Enable reporting based on reporting configuration",
|
|
5456
|
+
access: "STATE_SET",
|
|
5457
|
+
}),
|
|
5458
|
+
m.binary({
|
|
5459
|
+
name: "comparison_previous_data",
|
|
5460
|
+
valueOn: ["ON", 1],
|
|
5461
|
+
valueOff: ["OFF", 0],
|
|
5462
|
+
cluster: "genPowerCfg",
|
|
5463
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5464
|
+
description: "Enable сontrol of comparison with previous data",
|
|
5465
|
+
access: "STATE_SET",
|
|
5466
|
+
}),
|
|
5467
|
+
m.binary({
|
|
5468
|
+
name: "enable_temperature",
|
|
5469
|
+
valueOn: ["ON", 1],
|
|
5470
|
+
valueOff: ["OFF", 0],
|
|
5471
|
+
cluster: "msTemperatureMeasurement",
|
|
5472
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5473
|
+
description: "Enable Temperature Control",
|
|
5474
|
+
}),
|
|
5475
|
+
m.binary({
|
|
5476
|
+
name: "invert_logic_temperature",
|
|
5477
|
+
valueOn: ["ON", 1],
|
|
5478
|
+
valueOff: ["OFF", 0],
|
|
5479
|
+
cluster: "msTemperatureMeasurement",
|
|
5480
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5481
|
+
description: "Invert Logic Temperature Control",
|
|
5482
|
+
}),
|
|
5483
|
+
m.enumLookup({
|
|
5484
|
+
name: "invert",
|
|
5485
|
+
lookup: { BW: 0, WB: 1 },
|
|
5486
|
+
cluster: "genPowerCfg",
|
|
5487
|
+
attribute: { ID: 0xf004, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
5488
|
+
description: "Invert display color",
|
|
5489
|
+
access: "STATE_SET",
|
|
5490
|
+
}),
|
|
5491
|
+
m.numeric({
|
|
5492
|
+
name: "high_temperature",
|
|
5493
|
+
unit: "°C",
|
|
5494
|
+
valueMin: -35,
|
|
5495
|
+
valueMax: 90,
|
|
5496
|
+
cluster: "msTemperatureMeasurement",
|
|
5497
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5498
|
+
description: "Setting High Temperature Border",
|
|
5499
|
+
}),
|
|
5500
|
+
m.numeric({
|
|
5501
|
+
name: "low_temperature",
|
|
5502
|
+
unit: "°C",
|
|
5503
|
+
valueMin: -35,
|
|
5504
|
+
valueMax: 90,
|
|
5505
|
+
cluster: "msTemperatureMeasurement",
|
|
5506
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5507
|
+
description: "Setting Low Temperature Border",
|
|
5508
|
+
}),
|
|
5509
|
+
m.binary({
|
|
5510
|
+
name: "enable_humidity",
|
|
5511
|
+
valueOn: ["ON", 1],
|
|
5512
|
+
valueOff: ["OFF", 0],
|
|
5513
|
+
cluster: "msRelativeHumidity",
|
|
5514
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5515
|
+
description: "Enable Humidity Control",
|
|
5516
|
+
}),
|
|
5517
|
+
m.binary({
|
|
5518
|
+
name: "invert_logic_humidity",
|
|
5519
|
+
valueOn: ["ON", 1],
|
|
5520
|
+
valueOff: ["OFF", 0],
|
|
5521
|
+
cluster: "msRelativeHumidity",
|
|
5522
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5523
|
+
description: "Invert Logic Humidity Control",
|
|
5524
|
+
}),
|
|
5525
|
+
m.numeric({
|
|
5526
|
+
name: "high_humidity",
|
|
5527
|
+
unit: "%",
|
|
5528
|
+
valueMin: 0,
|
|
5529
|
+
valueMax: 99,
|
|
5530
|
+
cluster: "msRelativeHumidity",
|
|
5531
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5532
|
+
description: "Setting High Humidity Border",
|
|
5533
|
+
}),
|
|
5534
|
+
m.numeric({
|
|
5535
|
+
name: "low_humidity",
|
|
5536
|
+
unit: "%",
|
|
5537
|
+
valueMin: 0,
|
|
5538
|
+
valueMax: 99,
|
|
5539
|
+
cluster: "msRelativeHumidity",
|
|
5540
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5541
|
+
description: "Setting Low Humidity Border",
|
|
5542
|
+
}),
|
|
5543
|
+
],
|
|
5544
|
+
},
|
|
5545
|
+
{
|
|
5546
|
+
zigbeeModel: ["EFEKTA_eTH102z"],
|
|
5547
|
+
model: "EFEKTA_eTH102z",
|
|
5548
|
+
vendor: "EFEKTA",
|
|
5549
|
+
description: "Temperature and humidity sensor with e-ink1.02, date, termostat, hygrostat",
|
|
5550
|
+
extend: [
|
|
5551
|
+
m.temperature({
|
|
5552
|
+
reporting: fourReporting,
|
|
5553
|
+
access: "STATE",
|
|
5554
|
+
}),
|
|
5555
|
+
m.humidity({
|
|
5556
|
+
reporting: fourReporting,
|
|
5557
|
+
access: "STATE",
|
|
5558
|
+
}),
|
|
5559
|
+
m.battery({
|
|
5560
|
+
percentage: true,
|
|
5561
|
+
lowStatus: true,
|
|
5562
|
+
voltage: true,
|
|
5563
|
+
percentageReporting: true,
|
|
5564
|
+
voltageReporting: true,
|
|
5565
|
+
percentageReportingConfig: sixReporting,
|
|
5566
|
+
voltageReportingConfig: sixReporting,
|
|
5567
|
+
}),
|
|
5568
|
+
m.numeric({
|
|
5569
|
+
name: "reading_interval",
|
|
5570
|
+
unit: "sec",
|
|
5571
|
+
valueMin: 10,
|
|
5572
|
+
valueMax: 600,
|
|
5573
|
+
cluster: "genPowerCfg",
|
|
5574
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5575
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
5576
|
+
access: "STATE_SET",
|
|
5577
|
+
}),
|
|
5578
|
+
m.binary({
|
|
5579
|
+
name: "config_report_enable",
|
|
5580
|
+
valueOn: ["ON", 1],
|
|
5581
|
+
valueOff: ["OFF", 0],
|
|
5582
|
+
cluster: "genPowerCfg",
|
|
5583
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5584
|
+
description: "Enable reporting based on reporting configuration",
|
|
5585
|
+
access: "STATE_SET",
|
|
5586
|
+
}),
|
|
5587
|
+
m.binary({
|
|
5588
|
+
name: "comparison_previous_data",
|
|
5589
|
+
valueOn: ["ON", 1],
|
|
5590
|
+
valueOff: ["OFF", 0],
|
|
5591
|
+
cluster: "genPowerCfg",
|
|
5592
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5593
|
+
description: "Enable сontrol of comparison with previous data",
|
|
5594
|
+
access: "STATE_SET",
|
|
5595
|
+
}),
|
|
5596
|
+
m.binary({
|
|
5597
|
+
name: "enable_temperature",
|
|
5598
|
+
valueOn: ["ON", 1],
|
|
5599
|
+
valueOff: ["OFF", 0],
|
|
5600
|
+
cluster: "msTemperatureMeasurement",
|
|
5601
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5602
|
+
description: "Enable Temperature Control",
|
|
5603
|
+
}),
|
|
5604
|
+
m.binary({
|
|
5605
|
+
name: "invert_logic_temperature",
|
|
5606
|
+
valueOn: ["ON", 1],
|
|
5607
|
+
valueOff: ["OFF", 0],
|
|
5608
|
+
cluster: "msTemperatureMeasurement",
|
|
5609
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5610
|
+
description: "Invert Logic Temperature Control",
|
|
5611
|
+
}),
|
|
5612
|
+
m.enumLookup({
|
|
5613
|
+
name: "invert",
|
|
5614
|
+
lookup: { BW: 0, WB: 1 },
|
|
5615
|
+
cluster: "genPowerCfg",
|
|
5616
|
+
attribute: { ID: 0xf004, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
|
|
5617
|
+
description: "Invert display color",
|
|
5618
|
+
access: "STATE_SET",
|
|
5619
|
+
}),
|
|
5620
|
+
m.numeric({
|
|
5621
|
+
name: "high_temperature",
|
|
5622
|
+
unit: "°C",
|
|
5623
|
+
valueMin: -5,
|
|
5624
|
+
valueMax: 60,
|
|
5625
|
+
cluster: "msTemperatureMeasurement",
|
|
5626
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5627
|
+
description: "Setting High Temperature Border",
|
|
5628
|
+
}),
|
|
5629
|
+
m.numeric({
|
|
5630
|
+
name: "low_temperature",
|
|
5631
|
+
unit: "°C",
|
|
5632
|
+
valueMin: -5,
|
|
5633
|
+
valueMax: 60,
|
|
5634
|
+
cluster: "msTemperatureMeasurement",
|
|
5635
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5636
|
+
description: "Setting Low Temperature Border",
|
|
5637
|
+
}),
|
|
5638
|
+
m.binary({
|
|
5639
|
+
name: "enable_humidity",
|
|
5640
|
+
valueOn: ["ON", 1],
|
|
5641
|
+
valueOff: ["OFF", 0],
|
|
5642
|
+
cluster: "msRelativeHumidity",
|
|
5643
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5644
|
+
description: "Enable Humidity Control",
|
|
5645
|
+
}),
|
|
5646
|
+
m.binary({
|
|
5647
|
+
name: "invert_logic_humidity",
|
|
5648
|
+
valueOn: ["ON", 1],
|
|
5649
|
+
valueOff: ["OFF", 0],
|
|
5650
|
+
cluster: "msRelativeHumidity",
|
|
5651
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5652
|
+
description: "Invert Logic Humidity Control",
|
|
5653
|
+
}),
|
|
5654
|
+
m.numeric({
|
|
5655
|
+
name: "high_humidity",
|
|
5656
|
+
unit: "%",
|
|
5657
|
+
valueMin: 0,
|
|
5658
|
+
valueMax: 99,
|
|
5659
|
+
cluster: "msRelativeHumidity",
|
|
5660
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5661
|
+
description: "Setting High Humidity Border",
|
|
5662
|
+
}),
|
|
5663
|
+
m.numeric({
|
|
5664
|
+
name: "low_humidity",
|
|
5665
|
+
unit: "%",
|
|
5666
|
+
valueMin: 0,
|
|
5667
|
+
valueMax: 99,
|
|
5668
|
+
cluster: "msRelativeHumidity",
|
|
5669
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
5670
|
+
description: "Setting Low Humidity Border",
|
|
5671
|
+
}),
|
|
5672
|
+
],
|
|
5673
|
+
},
|
|
5674
|
+
{
|
|
5675
|
+
zigbeeModel: ["EFEKTA_Air_Monitor"],
|
|
5676
|
+
model: "EFEKTA_Air_Monitor",
|
|
5677
|
+
vendor: "EfektaLab",
|
|
5678
|
+
description: "CO2 smart monitor, AA battery",
|
|
5679
|
+
extend: [
|
|
5680
|
+
m.co2({
|
|
5681
|
+
reporting: false,
|
|
5682
|
+
access: "STATE",
|
|
5683
|
+
}),
|
|
5684
|
+
m.temperature({
|
|
5685
|
+
reporting: false,
|
|
5686
|
+
access: "STATE",
|
|
5687
|
+
}),
|
|
5688
|
+
m.humidity({
|
|
5689
|
+
reporting: false,
|
|
5690
|
+
access: "STATE",
|
|
5691
|
+
}),
|
|
5692
|
+
m.battery({
|
|
5693
|
+
percentage: true,
|
|
5694
|
+
lowStatus: true,
|
|
5695
|
+
voltage: false,
|
|
5696
|
+
percentageReporting: false,
|
|
5697
|
+
}),
|
|
5698
|
+
m.numeric({
|
|
5699
|
+
name: "uptime",
|
|
5700
|
+
unit: "Hours",
|
|
5701
|
+
cluster: "genTime",
|
|
5702
|
+
attribute: "localTime",
|
|
5703
|
+
description: "Uptime",
|
|
5704
|
+
access: "STATE",
|
|
5705
|
+
}),
|
|
5706
|
+
m.numeric({
|
|
5707
|
+
name: "report_delay",
|
|
5708
|
+
unit: "sec",
|
|
5709
|
+
valueMin: 20,
|
|
5710
|
+
valueMax: 1800,
|
|
5711
|
+
cluster: "genPowerCfg",
|
|
5712
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5713
|
+
description: "Setting the sensor report delay. Setting the time in seconds (20-1800), by default 60 seconds",
|
|
5714
|
+
access: "STATE_SET",
|
|
5715
|
+
}),
|
|
5716
|
+
m.binary({
|
|
5717
|
+
name: "forced_recalibration",
|
|
5718
|
+
valueOn: ["ON", 1],
|
|
5719
|
+
valueOff: ["OFF", 0],
|
|
5720
|
+
cluster: "msCO2",
|
|
5721
|
+
attribute: { ID: 0x0202, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5722
|
+
description: "Start FRC (Perform Forced Recalibration of the CO2 Sensor)",
|
|
5723
|
+
access: "STATE_SET",
|
|
5724
|
+
}),
|
|
5725
|
+
m.numeric({
|
|
5726
|
+
name: "manual_forced_recalibration",
|
|
5727
|
+
unit: "ppm",
|
|
5728
|
+
valueMin: 0,
|
|
5729
|
+
valueMax: 5000,
|
|
5730
|
+
cluster: "msCO2",
|
|
5731
|
+
attribute: { ID: 0x0207, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
5732
|
+
description: "Start Manual FRC (Perform Forced Recalibration of the CO2 Sensor)",
|
|
5733
|
+
access: "STATE_SET",
|
|
5734
|
+
}),
|
|
5735
|
+
m.binary({
|
|
5736
|
+
name: "automatic_scal",
|
|
5737
|
+
valueOn: ["ON", 1],
|
|
5738
|
+
valueOff: ["OFF", 0],
|
|
5739
|
+
cluster: "msCO2",
|
|
5740
|
+
attribute: { ID: 0x0402, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5741
|
+
description: "Automatic self calibration",
|
|
5742
|
+
access: "STATE_SET",
|
|
5743
|
+
}),
|
|
5744
|
+
m.binary({
|
|
5745
|
+
name: "factory_reset_co2",
|
|
5746
|
+
valueOn: ["ON", 1],
|
|
5747
|
+
valueOff: ["OFF", 0],
|
|
5748
|
+
cluster: "msCO2",
|
|
5749
|
+
attribute: { ID: 0x0206, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
5750
|
+
description: "Factory Reset CO2 sensor",
|
|
5751
|
+
access: "STATE_SET",
|
|
5752
|
+
}),
|
|
5753
|
+
],
|
|
5754
|
+
},
|
|
4793
5755
|
];
|
|
4794
5756
|
//# sourceMappingURL=efekta.js.map
|