zigbee-herdsman-converters 23.6.0 → 23.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/converters/fromZigbee.d.ts.map +1 -1
- package/dist/converters/fromZigbee.js +3 -0
- package/dist/converters/fromZigbee.js.map +1 -1
- package/dist/devices/cwd.d.ts +3 -0
- package/dist/devices/cwd.d.ts.map +1 -0
- package/dist/devices/cwd.js +14 -0
- package/dist/devices/cwd.js.map +1 -0
- package/dist/devices/dqsmart.js +34 -1
- package/dist/devices/dqsmart.js.map +1 -1
- package/dist/devices/efekta.d.ts.map +1 -1
- package/dist/devices/efekta.js +922 -0
- package/dist/devices/efekta.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/niko.d.ts.map +1 -1
- package/dist/devices/niko.js +9 -3
- package/dist/devices/niko.js.map +1 -1
- package/dist/devices/nodon.d.ts.map +1 -1
- package/dist/devices/nodon.js +75 -76
- package/dist/devices/nodon.js.map +1 -1
- package/dist/devices/nordtronic.d.ts.map +1 -1
- package/dist/devices/nordtronic.js +7 -0
- package/dist/devices/nordtronic.js.map +1 -1
- package/dist/devices/orvibo.d.ts.map +1 -1
- package/dist/devices/orvibo.js +164 -51
- package/dist/devices/orvibo.js.map +1 -1
- package/dist/devices/shinasystem.d.ts.map +1 -1
- package/dist/devices/shinasystem.js +34 -0
- package/dist/devices/shinasystem.js.map +1 -1
- package/dist/devices/sonoff.d.ts.map +1 -1
- package/dist/devices/sonoff.js +17 -6
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +18 -1
- package/dist/devices/tuya.js.map +1 -1
- package/dist/lib/modernExtend.d.ts +1 -0
- package/dist/lib/modernExtend.d.ts.map +1 -1
- package/dist/lib/modernExtend.js +8 -6
- 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
|
@@ -1863,6 +1863,928 @@ exports.definitions = [
|
|
|
1863
1863
|
}),
|
|
1864
1864
|
],
|
|
1865
1865
|
},
|
|
1866
|
+
{
|
|
1867
|
+
zigbeeModel: ["EFEKTA_TH_v1_LR"],
|
|
1868
|
+
model: "EFEKTA_TH_v1_LR",
|
|
1869
|
+
vendor: "EFEKTA",
|
|
1870
|
+
description: "Temperature and humidity sensors with a signal amplifier. Simple Thermostat.",
|
|
1871
|
+
extend: [
|
|
1872
|
+
m.temperature({
|
|
1873
|
+
reporting: fourReporting,
|
|
1874
|
+
access: "STATE",
|
|
1875
|
+
}),
|
|
1876
|
+
m.humidity({
|
|
1877
|
+
reporting: fourReporting,
|
|
1878
|
+
access: "STATE",
|
|
1879
|
+
}),
|
|
1880
|
+
m.battery({
|
|
1881
|
+
percentage: true,
|
|
1882
|
+
lowStatus: true,
|
|
1883
|
+
voltage: true,
|
|
1884
|
+
percentageReporting: true,
|
|
1885
|
+
voltageReporting: true,
|
|
1886
|
+
percentageReportingConfig: sixReporting,
|
|
1887
|
+
voltageReportingConfig: sixReporting,
|
|
1888
|
+
}),
|
|
1889
|
+
m.numeric({
|
|
1890
|
+
name: "reading_interval",
|
|
1891
|
+
unit: "sec",
|
|
1892
|
+
valueMin: 10,
|
|
1893
|
+
valueMax: 360,
|
|
1894
|
+
cluster: "genPowerCfg",
|
|
1895
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
1896
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
1897
|
+
access: "STATE_SET",
|
|
1898
|
+
}),
|
|
1899
|
+
m.enumLookup({
|
|
1900
|
+
name: "tx_radio_power",
|
|
1901
|
+
lookup: { "4dbm": 4, "19dbm": 19 },
|
|
1902
|
+
cluster: "genPowerCfg",
|
|
1903
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
1904
|
+
description: "Set TX Radio Power, dbm",
|
|
1905
|
+
access: "STATE_SET",
|
|
1906
|
+
}),
|
|
1907
|
+
m.binary({
|
|
1908
|
+
name: "smart_sleep",
|
|
1909
|
+
valueOn: ["ON", 1],
|
|
1910
|
+
valueOff: ["OFF", 0],
|
|
1911
|
+
cluster: "genPowerCfg",
|
|
1912
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1913
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
1914
|
+
access: "STATE_SET",
|
|
1915
|
+
}),
|
|
1916
|
+
m.numeric({
|
|
1917
|
+
name: "uptime",
|
|
1918
|
+
unit: "Hours",
|
|
1919
|
+
cluster: "genTime",
|
|
1920
|
+
attribute: "localTime",
|
|
1921
|
+
description: "Uptime",
|
|
1922
|
+
scale: 3600,
|
|
1923
|
+
precision: 1,
|
|
1924
|
+
access: "STATE",
|
|
1925
|
+
}),
|
|
1926
|
+
m.binary({
|
|
1927
|
+
name: "config_report_enable",
|
|
1928
|
+
valueOn: ["ON", 1],
|
|
1929
|
+
valueOff: ["OFF", 0],
|
|
1930
|
+
cluster: "genPowerCfg",
|
|
1931
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1932
|
+
description: "Enable reporting based on reporting configuration",
|
|
1933
|
+
access: "STATE_SET",
|
|
1934
|
+
}),
|
|
1935
|
+
m.binary({
|
|
1936
|
+
name: "comparison_previous_data",
|
|
1937
|
+
valueOn: ["ON", 1],
|
|
1938
|
+
valueOff: ["OFF", 0],
|
|
1939
|
+
cluster: "genPowerCfg",
|
|
1940
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1941
|
+
description: "Enable сontrol of comparison with previous data",
|
|
1942
|
+
access: "STATE_SET",
|
|
1943
|
+
}),
|
|
1944
|
+
m.binary({
|
|
1945
|
+
name: "enable_temperature",
|
|
1946
|
+
valueOn: ["ON", 1],
|
|
1947
|
+
valueOff: ["OFF", 0],
|
|
1948
|
+
cluster: "msTemperatureMeasurement",
|
|
1949
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1950
|
+
description: "Enable Temperature Control",
|
|
1951
|
+
}),
|
|
1952
|
+
m.binary({
|
|
1953
|
+
name: "invert_logic_temperature",
|
|
1954
|
+
valueOn: ["ON", 1],
|
|
1955
|
+
valueOff: ["OFF", 0],
|
|
1956
|
+
cluster: "msTemperatureMeasurement",
|
|
1957
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1958
|
+
description: "Invert Logic Temperature Control",
|
|
1959
|
+
}),
|
|
1960
|
+
m.numeric({
|
|
1961
|
+
name: "high_temperature",
|
|
1962
|
+
unit: "°C",
|
|
1963
|
+
valueMin: -40,
|
|
1964
|
+
valueMax: 90,
|
|
1965
|
+
cluster: "msTemperatureMeasurement",
|
|
1966
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
1967
|
+
description: "Setting High Temperature Border",
|
|
1968
|
+
}),
|
|
1969
|
+
m.numeric({
|
|
1970
|
+
name: "low_temperature",
|
|
1971
|
+
unit: "°C",
|
|
1972
|
+
valueMin: -40,
|
|
1973
|
+
valueMax: 90,
|
|
1974
|
+
cluster: "msTemperatureMeasurement",
|
|
1975
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
1976
|
+
description: "Setting Low Temperature Border",
|
|
1977
|
+
}),
|
|
1978
|
+
m.binary({
|
|
1979
|
+
name: "enable_humidity",
|
|
1980
|
+
valueOn: ["ON", 1],
|
|
1981
|
+
valueOff: ["OFF", 0],
|
|
1982
|
+
cluster: "msRelativeHumidity",
|
|
1983
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1984
|
+
description: "Enable Humidity Control",
|
|
1985
|
+
}),
|
|
1986
|
+
m.binary({
|
|
1987
|
+
name: "invert_logic_humidity",
|
|
1988
|
+
valueOn: ["ON", 1],
|
|
1989
|
+
valueOff: ["OFF", 0],
|
|
1990
|
+
cluster: "msRelativeHumidity",
|
|
1991
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
1992
|
+
description: "Invert Logic Humidity Control",
|
|
1993
|
+
}),
|
|
1994
|
+
m.numeric({
|
|
1995
|
+
name: "high_humidity",
|
|
1996
|
+
unit: "%",
|
|
1997
|
+
valueMin: 0,
|
|
1998
|
+
valueMax: 99,
|
|
1999
|
+
cluster: "msRelativeHumidity",
|
|
2000
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2001
|
+
description: "Setting High Humidity Border",
|
|
2002
|
+
}),
|
|
2003
|
+
m.numeric({
|
|
2004
|
+
name: "low_humidity",
|
|
2005
|
+
unit: "%",
|
|
2006
|
+
valueMin: 0,
|
|
2007
|
+
valueMax: 99,
|
|
2008
|
+
cluster: "msRelativeHumidity",
|
|
2009
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2010
|
+
description: "Setting Low Humidity Border",
|
|
2011
|
+
}),
|
|
2012
|
+
],
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
zigbeeModel: ["EFEKTA_TH_v1"],
|
|
2016
|
+
model: "EFEKTA_TH_v1",
|
|
2017
|
+
vendor: "EFEKTA",
|
|
2018
|
+
description: "Temperature and humidity sensors. Simple Thermostat.",
|
|
2019
|
+
extend: [
|
|
2020
|
+
m.temperature({
|
|
2021
|
+
reporting: fourReporting,
|
|
2022
|
+
access: "STATE",
|
|
2023
|
+
}),
|
|
2024
|
+
m.humidity({
|
|
2025
|
+
reporting: fourReporting,
|
|
2026
|
+
access: "STATE",
|
|
2027
|
+
}),
|
|
2028
|
+
m.battery({
|
|
2029
|
+
percentage: true,
|
|
2030
|
+
lowStatus: true,
|
|
2031
|
+
voltage: true,
|
|
2032
|
+
percentageReporting: true,
|
|
2033
|
+
voltageReporting: true,
|
|
2034
|
+
percentageReportingConfig: sixReporting,
|
|
2035
|
+
voltageReportingConfig: sixReporting,
|
|
2036
|
+
}),
|
|
2037
|
+
m.numeric({
|
|
2038
|
+
name: "reading_interval",
|
|
2039
|
+
unit: "sec",
|
|
2040
|
+
valueMin: 10,
|
|
2041
|
+
valueMax: 360,
|
|
2042
|
+
cluster: "genPowerCfg",
|
|
2043
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
2044
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
2045
|
+
access: "STATE_SET",
|
|
2046
|
+
}),
|
|
2047
|
+
m.binary({
|
|
2048
|
+
name: "smart_sleep",
|
|
2049
|
+
valueOn: ["ON", 1],
|
|
2050
|
+
valueOff: ["OFF", 0],
|
|
2051
|
+
cluster: "genPowerCfg",
|
|
2052
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2053
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
2054
|
+
access: "STATE_SET",
|
|
2055
|
+
}),
|
|
2056
|
+
m.numeric({
|
|
2057
|
+
name: "uptime",
|
|
2058
|
+
unit: "Hours",
|
|
2059
|
+
cluster: "genTime",
|
|
2060
|
+
attribute: "localTime",
|
|
2061
|
+
description: "Uptime",
|
|
2062
|
+
scale: 3600,
|
|
2063
|
+
precision: 1,
|
|
2064
|
+
access: "STATE",
|
|
2065
|
+
}),
|
|
2066
|
+
m.binary({
|
|
2067
|
+
name: "config_report_enable",
|
|
2068
|
+
valueOn: ["ON", 1],
|
|
2069
|
+
valueOff: ["OFF", 0],
|
|
2070
|
+
cluster: "genPowerCfg",
|
|
2071
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2072
|
+
description: "Enable reporting based on reporting configuration",
|
|
2073
|
+
access: "STATE_SET",
|
|
2074
|
+
}),
|
|
2075
|
+
m.binary({
|
|
2076
|
+
name: "comparison_previous_data",
|
|
2077
|
+
valueOn: ["ON", 1],
|
|
2078
|
+
valueOff: ["OFF", 0],
|
|
2079
|
+
cluster: "genPowerCfg",
|
|
2080
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2081
|
+
description: "Enable сontrol of comparison with previous data",
|
|
2082
|
+
access: "STATE_SET",
|
|
2083
|
+
}),
|
|
2084
|
+
m.binary({
|
|
2085
|
+
name: "enable_temperature",
|
|
2086
|
+
valueOn: ["ON", 1],
|
|
2087
|
+
valueOff: ["OFF", 0],
|
|
2088
|
+
cluster: "msTemperatureMeasurement",
|
|
2089
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2090
|
+
description: "Enable Temperature Control",
|
|
2091
|
+
}),
|
|
2092
|
+
m.binary({
|
|
2093
|
+
name: "invert_logic_temperature",
|
|
2094
|
+
valueOn: ["ON", 1],
|
|
2095
|
+
valueOff: ["OFF", 0],
|
|
2096
|
+
cluster: "msTemperatureMeasurement",
|
|
2097
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2098
|
+
description: "Invert Logic Temperature Control",
|
|
2099
|
+
}),
|
|
2100
|
+
m.numeric({
|
|
2101
|
+
name: "high_temperature",
|
|
2102
|
+
unit: "°C",
|
|
2103
|
+
valueMin: -40,
|
|
2104
|
+
valueMax: 90,
|
|
2105
|
+
cluster: "msTemperatureMeasurement",
|
|
2106
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2107
|
+
description: "Setting High Temperature Border",
|
|
2108
|
+
}),
|
|
2109
|
+
m.numeric({
|
|
2110
|
+
name: "low_temperature",
|
|
2111
|
+
unit: "°C",
|
|
2112
|
+
valueMin: -40,
|
|
2113
|
+
valueMax: 90,
|
|
2114
|
+
cluster: "msTemperatureMeasurement",
|
|
2115
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2116
|
+
description: "Setting Low Temperature Border",
|
|
2117
|
+
}),
|
|
2118
|
+
m.binary({
|
|
2119
|
+
name: "enable_humidity",
|
|
2120
|
+
valueOn: ["ON", 1],
|
|
2121
|
+
valueOff: ["OFF", 0],
|
|
2122
|
+
cluster: "msRelativeHumidity",
|
|
2123
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2124
|
+
description: "Enable Humidity Control",
|
|
2125
|
+
}),
|
|
2126
|
+
m.binary({
|
|
2127
|
+
name: "invert_logic_humidity",
|
|
2128
|
+
valueOn: ["ON", 1],
|
|
2129
|
+
valueOff: ["OFF", 0],
|
|
2130
|
+
cluster: "msRelativeHumidity",
|
|
2131
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2132
|
+
description: "Invert Logic Humidity Control",
|
|
2133
|
+
}),
|
|
2134
|
+
m.numeric({
|
|
2135
|
+
name: "high_humidity",
|
|
2136
|
+
unit: "%",
|
|
2137
|
+
valueMin: 0,
|
|
2138
|
+
valueMax: 99,
|
|
2139
|
+
cluster: "msRelativeHumidity",
|
|
2140
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2141
|
+
description: "Setting High Humidity Border",
|
|
2142
|
+
}),
|
|
2143
|
+
m.numeric({
|
|
2144
|
+
name: "low_humidity",
|
|
2145
|
+
unit: "%",
|
|
2146
|
+
valueMin: 0,
|
|
2147
|
+
valueMax: 99,
|
|
2148
|
+
cluster: "msRelativeHumidity",
|
|
2149
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2150
|
+
description: "Setting Low Humidity Border",
|
|
2151
|
+
}),
|
|
2152
|
+
],
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
zigbeeModel: ["EFEKTA_TH_v2_LR"],
|
|
2156
|
+
model: "EFEKTA_TH_v2_LR",
|
|
2157
|
+
vendor: "EFEKTA",
|
|
2158
|
+
description: "Temperature and humidity sensors with a signal amplifier. Simple Thermostat.",
|
|
2159
|
+
extend: [
|
|
2160
|
+
m.temperature({
|
|
2161
|
+
reporting: fourReporting,
|
|
2162
|
+
access: "STATE",
|
|
2163
|
+
}),
|
|
2164
|
+
m.humidity({
|
|
2165
|
+
reporting: fourReporting,
|
|
2166
|
+
access: "STATE",
|
|
2167
|
+
}),
|
|
2168
|
+
m.battery({
|
|
2169
|
+
percentage: true,
|
|
2170
|
+
lowStatus: true,
|
|
2171
|
+
voltage: true,
|
|
2172
|
+
percentageReporting: true,
|
|
2173
|
+
voltageReporting: true,
|
|
2174
|
+
percentageReportingConfig: sixReporting,
|
|
2175
|
+
voltageReportingConfig: sixReporting,
|
|
2176
|
+
}),
|
|
2177
|
+
m.numeric({
|
|
2178
|
+
name: "reading_interval",
|
|
2179
|
+
unit: "sec",
|
|
2180
|
+
valueMin: 10,
|
|
2181
|
+
valueMax: 360,
|
|
2182
|
+
cluster: "genPowerCfg",
|
|
2183
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
2184
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
2185
|
+
access: "STATE_SET",
|
|
2186
|
+
}),
|
|
2187
|
+
m.enumLookup({
|
|
2188
|
+
name: "tx_radio_power",
|
|
2189
|
+
lookup: { "4dbm": 4, "19dbm": 19 },
|
|
2190
|
+
cluster: "genPowerCfg",
|
|
2191
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
2192
|
+
description: "Set TX Radio Power, dbm",
|
|
2193
|
+
access: "STATE_SET",
|
|
2194
|
+
}),
|
|
2195
|
+
m.binary({
|
|
2196
|
+
name: "smart_sleep",
|
|
2197
|
+
valueOn: ["ON", 1],
|
|
2198
|
+
valueOff: ["OFF", 0],
|
|
2199
|
+
cluster: "genPowerCfg",
|
|
2200
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2201
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
2202
|
+
access: "STATE_SET",
|
|
2203
|
+
}),
|
|
2204
|
+
m.numeric({
|
|
2205
|
+
name: "uptime",
|
|
2206
|
+
unit: "Hours",
|
|
2207
|
+
cluster: "genTime",
|
|
2208
|
+
attribute: "localTime",
|
|
2209
|
+
description: "Uptime",
|
|
2210
|
+
scale: 3600,
|
|
2211
|
+
precision: 1,
|
|
2212
|
+
access: "STATE",
|
|
2213
|
+
}),
|
|
2214
|
+
m.binary({
|
|
2215
|
+
name: "config_report_enable",
|
|
2216
|
+
valueOn: ["ON", 1],
|
|
2217
|
+
valueOff: ["OFF", 0],
|
|
2218
|
+
cluster: "genPowerCfg",
|
|
2219
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2220
|
+
description: "Enable reporting based on reporting configuration",
|
|
2221
|
+
access: "STATE_SET",
|
|
2222
|
+
}),
|
|
2223
|
+
m.binary({
|
|
2224
|
+
name: "comparison_previous_data",
|
|
2225
|
+
valueOn: ["ON", 1],
|
|
2226
|
+
valueOff: ["OFF", 0],
|
|
2227
|
+
cluster: "genPowerCfg",
|
|
2228
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2229
|
+
description: "Enable сontrol of comparison with previous data",
|
|
2230
|
+
access: "STATE_SET",
|
|
2231
|
+
}),
|
|
2232
|
+
m.binary({
|
|
2233
|
+
name: "enable_temperature",
|
|
2234
|
+
valueOn: ["ON", 1],
|
|
2235
|
+
valueOff: ["OFF", 0],
|
|
2236
|
+
cluster: "msTemperatureMeasurement",
|
|
2237
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2238
|
+
description: "Enable Temperature Control",
|
|
2239
|
+
}),
|
|
2240
|
+
m.binary({
|
|
2241
|
+
name: "invert_logic_temperature",
|
|
2242
|
+
valueOn: ["ON", 1],
|
|
2243
|
+
valueOff: ["OFF", 0],
|
|
2244
|
+
cluster: "msTemperatureMeasurement",
|
|
2245
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2246
|
+
description: "Invert Logic Temperature Control",
|
|
2247
|
+
}),
|
|
2248
|
+
m.numeric({
|
|
2249
|
+
name: "high_temperature",
|
|
2250
|
+
unit: "°C",
|
|
2251
|
+
valueMin: -40,
|
|
2252
|
+
valueMax: 90,
|
|
2253
|
+
cluster: "msTemperatureMeasurement",
|
|
2254
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2255
|
+
description: "Setting High Temperature Border",
|
|
2256
|
+
}),
|
|
2257
|
+
m.numeric({
|
|
2258
|
+
name: "low_temperature",
|
|
2259
|
+
unit: "°C",
|
|
2260
|
+
valueMin: -40,
|
|
2261
|
+
valueMax: 90,
|
|
2262
|
+
cluster: "msTemperatureMeasurement",
|
|
2263
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2264
|
+
description: "Setting Low Temperature Border",
|
|
2265
|
+
}),
|
|
2266
|
+
m.binary({
|
|
2267
|
+
name: "enable_humidity",
|
|
2268
|
+
valueOn: ["ON", 1],
|
|
2269
|
+
valueOff: ["OFF", 0],
|
|
2270
|
+
cluster: "msRelativeHumidity",
|
|
2271
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2272
|
+
description: "Enable Humidity Control",
|
|
2273
|
+
}),
|
|
2274
|
+
m.binary({
|
|
2275
|
+
name: "invert_logic_humidity",
|
|
2276
|
+
valueOn: ["ON", 1],
|
|
2277
|
+
valueOff: ["OFF", 0],
|
|
2278
|
+
cluster: "msRelativeHumidity",
|
|
2279
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2280
|
+
description: "Invert Logic Humidity Control",
|
|
2281
|
+
}),
|
|
2282
|
+
m.numeric({
|
|
2283
|
+
name: "high_humidity",
|
|
2284
|
+
unit: "%",
|
|
2285
|
+
valueMin: 0,
|
|
2286
|
+
valueMax: 99,
|
|
2287
|
+
cluster: "msRelativeHumidity",
|
|
2288
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2289
|
+
description: "Setting High Humidity Border",
|
|
2290
|
+
}),
|
|
2291
|
+
m.numeric({
|
|
2292
|
+
name: "low_humidity",
|
|
2293
|
+
unit: "%",
|
|
2294
|
+
valueMin: 0,
|
|
2295
|
+
valueMax: 99,
|
|
2296
|
+
cluster: "msRelativeHumidity",
|
|
2297
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2298
|
+
description: "Setting Low Humidity Border",
|
|
2299
|
+
}),
|
|
2300
|
+
],
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
zigbeeModel: ["EFEKTA_TH_v2"],
|
|
2304
|
+
model: "EFEKTA_TH_v2",
|
|
2305
|
+
vendor: "EFEKTA",
|
|
2306
|
+
description: "Temperature and humidity sensors. Simple Thermostat.",
|
|
2307
|
+
extend: [
|
|
2308
|
+
m.temperature({
|
|
2309
|
+
reporting: fourReporting,
|
|
2310
|
+
access: "STATE",
|
|
2311
|
+
}),
|
|
2312
|
+
m.humidity({
|
|
2313
|
+
reporting: fourReporting,
|
|
2314
|
+
access: "STATE",
|
|
2315
|
+
}),
|
|
2316
|
+
m.battery({
|
|
2317
|
+
percentage: true,
|
|
2318
|
+
lowStatus: true,
|
|
2319
|
+
voltage: true,
|
|
2320
|
+
percentageReporting: true,
|
|
2321
|
+
voltageReporting: true,
|
|
2322
|
+
percentageReportingConfig: sixReporting,
|
|
2323
|
+
voltageReportingConfig: sixReporting,
|
|
2324
|
+
}),
|
|
2325
|
+
m.numeric({
|
|
2326
|
+
name: "reading_interval",
|
|
2327
|
+
unit: "sec",
|
|
2328
|
+
valueMin: 10,
|
|
2329
|
+
valueMax: 360,
|
|
2330
|
+
cluster: "genPowerCfg",
|
|
2331
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
2332
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
2333
|
+
access: "STATE_SET",
|
|
2334
|
+
}),
|
|
2335
|
+
m.binary({
|
|
2336
|
+
name: "smart_sleep",
|
|
2337
|
+
valueOn: ["ON", 1],
|
|
2338
|
+
valueOff: ["OFF", 0],
|
|
2339
|
+
cluster: "genPowerCfg",
|
|
2340
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2341
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
2342
|
+
access: "STATE_SET",
|
|
2343
|
+
}),
|
|
2344
|
+
m.numeric({
|
|
2345
|
+
name: "uptime",
|
|
2346
|
+
unit: "Hours",
|
|
2347
|
+
cluster: "genTime",
|
|
2348
|
+
attribute: "localTime",
|
|
2349
|
+
description: "Uptime",
|
|
2350
|
+
scale: 3600,
|
|
2351
|
+
precision: 1,
|
|
2352
|
+
access: "STATE",
|
|
2353
|
+
}),
|
|
2354
|
+
m.binary({
|
|
2355
|
+
name: "config_report_enable",
|
|
2356
|
+
valueOn: ["ON", 1],
|
|
2357
|
+
valueOff: ["OFF", 0],
|
|
2358
|
+
cluster: "genPowerCfg",
|
|
2359
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2360
|
+
description: "Enable reporting based on reporting configuration",
|
|
2361
|
+
access: "STATE_SET",
|
|
2362
|
+
}),
|
|
2363
|
+
m.binary({
|
|
2364
|
+
name: "comparison_previous_data",
|
|
2365
|
+
valueOn: ["ON", 1],
|
|
2366
|
+
valueOff: ["OFF", 0],
|
|
2367
|
+
cluster: "genPowerCfg",
|
|
2368
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2369
|
+
description: "Enable сontrol of comparison with previous data",
|
|
2370
|
+
access: "STATE_SET",
|
|
2371
|
+
}),
|
|
2372
|
+
m.binary({
|
|
2373
|
+
name: "enable_temperature",
|
|
2374
|
+
valueOn: ["ON", 1],
|
|
2375
|
+
valueOff: ["OFF", 0],
|
|
2376
|
+
cluster: "msTemperatureMeasurement",
|
|
2377
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2378
|
+
description: "Enable Temperature Control",
|
|
2379
|
+
}),
|
|
2380
|
+
m.binary({
|
|
2381
|
+
name: "invert_logic_temperature",
|
|
2382
|
+
valueOn: ["ON", 1],
|
|
2383
|
+
valueOff: ["OFF", 0],
|
|
2384
|
+
cluster: "msTemperatureMeasurement",
|
|
2385
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2386
|
+
description: "Invert Logic Temperature Control",
|
|
2387
|
+
}),
|
|
2388
|
+
m.numeric({
|
|
2389
|
+
name: "high_temperature",
|
|
2390
|
+
unit: "°C",
|
|
2391
|
+
valueMin: -40,
|
|
2392
|
+
valueMax: 90,
|
|
2393
|
+
cluster: "msTemperatureMeasurement",
|
|
2394
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2395
|
+
description: "Setting High Temperature Border",
|
|
2396
|
+
}),
|
|
2397
|
+
m.numeric({
|
|
2398
|
+
name: "low_temperature",
|
|
2399
|
+
unit: "°C",
|
|
2400
|
+
valueMin: -40,
|
|
2401
|
+
valueMax: 90,
|
|
2402
|
+
cluster: "msTemperatureMeasurement",
|
|
2403
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2404
|
+
description: "Setting Low Temperature Border",
|
|
2405
|
+
}),
|
|
2406
|
+
m.binary({
|
|
2407
|
+
name: "enable_humidity",
|
|
2408
|
+
valueOn: ["ON", 1],
|
|
2409
|
+
valueOff: ["OFF", 0],
|
|
2410
|
+
cluster: "msRelativeHumidity",
|
|
2411
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2412
|
+
description: "Enable Humidity Control",
|
|
2413
|
+
}),
|
|
2414
|
+
m.binary({
|
|
2415
|
+
name: "invert_logic_humidity",
|
|
2416
|
+
valueOn: ["ON", 1],
|
|
2417
|
+
valueOff: ["OFF", 0],
|
|
2418
|
+
cluster: "msRelativeHumidity",
|
|
2419
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2420
|
+
description: "Invert Logic Humidity Control",
|
|
2421
|
+
}),
|
|
2422
|
+
m.numeric({
|
|
2423
|
+
name: "high_humidity",
|
|
2424
|
+
unit: "%",
|
|
2425
|
+
valueMin: 0,
|
|
2426
|
+
valueMax: 99,
|
|
2427
|
+
cluster: "msRelativeHumidity",
|
|
2428
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2429
|
+
description: "Setting High Humidity Border",
|
|
2430
|
+
}),
|
|
2431
|
+
m.numeric({
|
|
2432
|
+
name: "low_humidity",
|
|
2433
|
+
unit: "%",
|
|
2434
|
+
valueMin: 0,
|
|
2435
|
+
valueMax: 99,
|
|
2436
|
+
cluster: "msRelativeHumidity",
|
|
2437
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2438
|
+
description: "Setting Low Humidity Border",
|
|
2439
|
+
}),
|
|
2440
|
+
],
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
zigbeeModel: ["EFEKTA_TH_DUO_LR"],
|
|
2444
|
+
model: "EFEKTA_TH_DUO_LR",
|
|
2445
|
+
vendor: "EFEKTA",
|
|
2446
|
+
description: "Smart device with internal and external temperature and humidity sensor.",
|
|
2447
|
+
extend: [
|
|
2448
|
+
m.deviceEndpoints({ endpoints: { "1": 1, "2": 2 } }),
|
|
2449
|
+
m.temperature({
|
|
2450
|
+
endpointNames: ["1"],
|
|
2451
|
+
description: "Measured value of the built-in temperature sensor",
|
|
2452
|
+
reporting: fourReporting,
|
|
2453
|
+
}),
|
|
2454
|
+
m.temperature({
|
|
2455
|
+
endpointNames: ["2"],
|
|
2456
|
+
description: "Measured value of the external temperature sensor",
|
|
2457
|
+
reporting: fourReporting,
|
|
2458
|
+
}),
|
|
2459
|
+
m.humidity({
|
|
2460
|
+
endpointNames: ["1"],
|
|
2461
|
+
description: "Measured value of the built-in humidity sensor",
|
|
2462
|
+
reporting: fourReporting,
|
|
2463
|
+
}),
|
|
2464
|
+
m.humidity({
|
|
2465
|
+
endpointNames: ["2"],
|
|
2466
|
+
description: "Measured value of the external humidity sensor",
|
|
2467
|
+
reporting: fourReporting,
|
|
2468
|
+
}),
|
|
2469
|
+
m.battery({
|
|
2470
|
+
percentage: true,
|
|
2471
|
+
lowStatus: true,
|
|
2472
|
+
voltage: true,
|
|
2473
|
+
percentageReporting: true,
|
|
2474
|
+
voltageReporting: true,
|
|
2475
|
+
percentageReportingConfig: sixReporting,
|
|
2476
|
+
voltageReportingConfig: sixReporting,
|
|
2477
|
+
}),
|
|
2478
|
+
m.numeric({
|
|
2479
|
+
name: "reading_interval",
|
|
2480
|
+
unit: "sec",
|
|
2481
|
+
valueMin: 10,
|
|
2482
|
+
valueMax: 360,
|
|
2483
|
+
cluster: "genPowerCfg",
|
|
2484
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
2485
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
2486
|
+
access: "STATE_SET",
|
|
2487
|
+
}),
|
|
2488
|
+
m.enumLookup({
|
|
2489
|
+
name: "tx_radio_power",
|
|
2490
|
+
lookup: { "4dbm": 4, "19dbm": 19 },
|
|
2491
|
+
cluster: "genPowerCfg",
|
|
2492
|
+
attribute: { ID: 0x0236, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
|
|
2493
|
+
description: "Set TX Radio Power, dbm",
|
|
2494
|
+
access: "STATE_SET",
|
|
2495
|
+
}),
|
|
2496
|
+
m.binary({
|
|
2497
|
+
name: "smart_sleep",
|
|
2498
|
+
valueOn: ["ON", 1],
|
|
2499
|
+
valueOff: ["OFF", 0],
|
|
2500
|
+
cluster: "genPowerCfg",
|
|
2501
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2502
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
2503
|
+
access: "STATE_SET",
|
|
2504
|
+
}),
|
|
2505
|
+
m.numeric({
|
|
2506
|
+
name: "uptime",
|
|
2507
|
+
unit: "Hours",
|
|
2508
|
+
cluster: "genTime",
|
|
2509
|
+
attribute: "localTime",
|
|
2510
|
+
description: "Uptime",
|
|
2511
|
+
scale: 3600,
|
|
2512
|
+
precision: 1,
|
|
2513
|
+
access: "STATE",
|
|
2514
|
+
}),
|
|
2515
|
+
m.binary({
|
|
2516
|
+
name: "config_report_enable",
|
|
2517
|
+
valueOn: ["ON", 1],
|
|
2518
|
+
valueOff: ["OFF", 0],
|
|
2519
|
+
cluster: "genPowerCfg",
|
|
2520
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2521
|
+
description: "Enable reporting based on reporting configuration",
|
|
2522
|
+
access: "STATE_SET",
|
|
2523
|
+
}),
|
|
2524
|
+
m.binary({
|
|
2525
|
+
name: "comparison_previous_data",
|
|
2526
|
+
valueOn: ["ON", 1],
|
|
2527
|
+
valueOff: ["OFF", 0],
|
|
2528
|
+
cluster: "genPowerCfg",
|
|
2529
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2530
|
+
description: "Enable сontrol of comparison with previous data",
|
|
2531
|
+
access: "STATE_SET",
|
|
2532
|
+
}),
|
|
2533
|
+
m.binary({
|
|
2534
|
+
name: "enable_temperature",
|
|
2535
|
+
valueOn: ["ON", 1],
|
|
2536
|
+
valueOff: ["OFF", 0],
|
|
2537
|
+
cluster: "msTemperatureMeasurement",
|
|
2538
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2539
|
+
description: "Enable Temperature Control",
|
|
2540
|
+
}),
|
|
2541
|
+
m.binary({
|
|
2542
|
+
name: "switching_temperature_sensor",
|
|
2543
|
+
valueOn: ["ON", 1],
|
|
2544
|
+
valueOff: ["OFF", 0],
|
|
2545
|
+
cluster: "msTemperatureMeasurement",
|
|
2546
|
+
attribute: { ID: 0x0229, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2547
|
+
description: "Enable internal or external sensor control",
|
|
2548
|
+
}),
|
|
2549
|
+
m.binary({
|
|
2550
|
+
name: "invert_logic_temperature",
|
|
2551
|
+
valueOn: ["ON", 1],
|
|
2552
|
+
valueOff: ["OFF", 0],
|
|
2553
|
+
cluster: "msTemperatureMeasurement",
|
|
2554
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2555
|
+
description: "Invert Logic Temperature Control",
|
|
2556
|
+
}),
|
|
2557
|
+
m.numeric({
|
|
2558
|
+
name: "high_temperature",
|
|
2559
|
+
unit: "°C",
|
|
2560
|
+
valueMin: -40,
|
|
2561
|
+
valueMax: 90,
|
|
2562
|
+
cluster: "msTemperatureMeasurement",
|
|
2563
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2564
|
+
description: "Setting High Temperature Border",
|
|
2565
|
+
}),
|
|
2566
|
+
m.numeric({
|
|
2567
|
+
name: "low_temperature",
|
|
2568
|
+
unit: "°C",
|
|
2569
|
+
valueMin: -40,
|
|
2570
|
+
valueMax: 90,
|
|
2571
|
+
cluster: "msTemperatureMeasurement",
|
|
2572
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2573
|
+
description: "Setting Low Temperature Border",
|
|
2574
|
+
}),
|
|
2575
|
+
m.binary({
|
|
2576
|
+
name: "enable_humidity",
|
|
2577
|
+
valueOn: ["ON", 1],
|
|
2578
|
+
valueOff: ["OFF", 0],
|
|
2579
|
+
cluster: "msRelativeHumidity",
|
|
2580
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2581
|
+
description: "Enable Humidity Control",
|
|
2582
|
+
}),
|
|
2583
|
+
m.binary({
|
|
2584
|
+
name: "switching_humidity_sensor",
|
|
2585
|
+
valueOn: ["ON", 1],
|
|
2586
|
+
valueOff: ["OFF", 0],
|
|
2587
|
+
cluster: "msRelativeHumidity",
|
|
2588
|
+
attribute: { ID: 0x0229, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2589
|
+
description: "Enable internal or external sensor control",
|
|
2590
|
+
}),
|
|
2591
|
+
m.binary({
|
|
2592
|
+
name: "invert_logic_humidity",
|
|
2593
|
+
valueOn: ["ON", 1],
|
|
2594
|
+
valueOff: ["OFF", 0],
|
|
2595
|
+
cluster: "msRelativeHumidity",
|
|
2596
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2597
|
+
description: "Invert Logic Humidity Control",
|
|
2598
|
+
}),
|
|
2599
|
+
m.numeric({
|
|
2600
|
+
name: "high_humidity",
|
|
2601
|
+
unit: "%",
|
|
2602
|
+
valueMin: 0,
|
|
2603
|
+
valueMax: 99,
|
|
2604
|
+
cluster: "msRelativeHumidity",
|
|
2605
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2606
|
+
description: "Setting High Humidity Border",
|
|
2607
|
+
}),
|
|
2608
|
+
m.numeric({
|
|
2609
|
+
name: "low_humidity",
|
|
2610
|
+
unit: "%",
|
|
2611
|
+
valueMin: 0,
|
|
2612
|
+
valueMax: 99,
|
|
2613
|
+
cluster: "msRelativeHumidity",
|
|
2614
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2615
|
+
description: "Setting Low Humidity Border",
|
|
2616
|
+
}),
|
|
2617
|
+
],
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
zigbeeModel: ["EFEKTA_TH_DUO"],
|
|
2621
|
+
model: "EFEKTA_TH_DUO",
|
|
2622
|
+
vendor: "EFEKTA",
|
|
2623
|
+
description: "Smart device with internal and external temperature and humidity sensor.",
|
|
2624
|
+
extend: [
|
|
2625
|
+
m.deviceEndpoints({ endpoints: { "1": 1, "2": 2 } }),
|
|
2626
|
+
m.temperature({
|
|
2627
|
+
endpointNames: ["1"],
|
|
2628
|
+
description: "Measured value of the built-in temperature sensor",
|
|
2629
|
+
reporting: fourReporting,
|
|
2630
|
+
}),
|
|
2631
|
+
m.temperature({
|
|
2632
|
+
endpointNames: ["2"],
|
|
2633
|
+
description: "Measured value of the external temperature sensor",
|
|
2634
|
+
reporting: fourReporting,
|
|
2635
|
+
}),
|
|
2636
|
+
m.humidity({
|
|
2637
|
+
endpointNames: ["1"],
|
|
2638
|
+
description: "Measured value of the built-in humidity sensor",
|
|
2639
|
+
reporting: fourReporting,
|
|
2640
|
+
}),
|
|
2641
|
+
m.humidity({
|
|
2642
|
+
endpointNames: ["2"],
|
|
2643
|
+
description: "Measured value of the external humidity sensor",
|
|
2644
|
+
reporting: fourReporting,
|
|
2645
|
+
}),
|
|
2646
|
+
m.battery({
|
|
2647
|
+
percentage: true,
|
|
2648
|
+
lowStatus: true,
|
|
2649
|
+
voltage: true,
|
|
2650
|
+
percentageReporting: true,
|
|
2651
|
+
voltageReporting: true,
|
|
2652
|
+
percentageReportingConfig: sixReporting,
|
|
2653
|
+
voltageReportingConfig: sixReporting,
|
|
2654
|
+
}),
|
|
2655
|
+
m.numeric({
|
|
2656
|
+
name: "reading_interval",
|
|
2657
|
+
unit: "sec",
|
|
2658
|
+
valueMin: 10,
|
|
2659
|
+
valueMax: 360,
|
|
2660
|
+
cluster: "genPowerCfg",
|
|
2661
|
+
attribute: { ID: 0x0201, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
|
|
2662
|
+
description: "Setting the sensor reading interval in seconds, by default 30 seconds",
|
|
2663
|
+
access: "STATE_SET",
|
|
2664
|
+
}),
|
|
2665
|
+
m.binary({
|
|
2666
|
+
name: "smart_sleep",
|
|
2667
|
+
valueOn: ["ON", 1],
|
|
2668
|
+
valueOff: ["OFF", 0],
|
|
2669
|
+
cluster: "genPowerCfg",
|
|
2670
|
+
attribute: { ID: 0x0216, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2671
|
+
description: "Enable Smart Sleep, short wakeup every 7 seconds",
|
|
2672
|
+
access: "STATE_SET",
|
|
2673
|
+
}),
|
|
2674
|
+
m.numeric({
|
|
2675
|
+
name: "uptime",
|
|
2676
|
+
unit: "Hours",
|
|
2677
|
+
cluster: "genTime",
|
|
2678
|
+
attribute: "localTime",
|
|
2679
|
+
description: "Uptime",
|
|
2680
|
+
scale: 3600,
|
|
2681
|
+
precision: 1,
|
|
2682
|
+
access: "STATE",
|
|
2683
|
+
}),
|
|
2684
|
+
m.binary({
|
|
2685
|
+
name: "config_report_enable",
|
|
2686
|
+
valueOn: ["ON", 1],
|
|
2687
|
+
valueOff: ["OFF", 0],
|
|
2688
|
+
cluster: "genPowerCfg",
|
|
2689
|
+
attribute: { ID: 0x0275, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2690
|
+
description: "Enable reporting based on reporting configuration",
|
|
2691
|
+
access: "STATE_SET",
|
|
2692
|
+
}),
|
|
2693
|
+
m.binary({
|
|
2694
|
+
name: "comparison_previous_data",
|
|
2695
|
+
valueOn: ["ON", 1],
|
|
2696
|
+
valueOff: ["OFF", 0],
|
|
2697
|
+
cluster: "genPowerCfg",
|
|
2698
|
+
attribute: { ID: 0x0205, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2699
|
+
description: "Enable сontrol of comparison with previous data",
|
|
2700
|
+
access: "STATE_SET",
|
|
2701
|
+
}),
|
|
2702
|
+
m.binary({
|
|
2703
|
+
name: "enable_temperature",
|
|
2704
|
+
valueOn: ["ON", 1],
|
|
2705
|
+
valueOff: ["OFF", 0],
|
|
2706
|
+
cluster: "msTemperatureMeasurement",
|
|
2707
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2708
|
+
description: "Enable Temperature Control",
|
|
2709
|
+
}),
|
|
2710
|
+
m.binary({
|
|
2711
|
+
name: "switching_temperature_sensor",
|
|
2712
|
+
valueOn: ["ON", 1],
|
|
2713
|
+
valueOff: ["OFF", 0],
|
|
2714
|
+
cluster: "msTemperatureMeasurement",
|
|
2715
|
+
attribute: { ID: 0x0229, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2716
|
+
description: "Enable internal or external sensor control",
|
|
2717
|
+
}),
|
|
2718
|
+
m.binary({
|
|
2719
|
+
name: "invert_logic_temperature",
|
|
2720
|
+
valueOn: ["ON", 1],
|
|
2721
|
+
valueOff: ["OFF", 0],
|
|
2722
|
+
cluster: "msTemperatureMeasurement",
|
|
2723
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2724
|
+
description: "Invert Logic Temperature Control",
|
|
2725
|
+
}),
|
|
2726
|
+
m.numeric({
|
|
2727
|
+
name: "high_temperature",
|
|
2728
|
+
unit: "°C",
|
|
2729
|
+
valueMin: -40,
|
|
2730
|
+
valueMax: 90,
|
|
2731
|
+
cluster: "msTemperatureMeasurement",
|
|
2732
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2733
|
+
description: "Setting High Temperature Border",
|
|
2734
|
+
}),
|
|
2735
|
+
m.numeric({
|
|
2736
|
+
name: "low_temperature",
|
|
2737
|
+
unit: "°C",
|
|
2738
|
+
valueMin: -40,
|
|
2739
|
+
valueMax: 90,
|
|
2740
|
+
cluster: "msTemperatureMeasurement",
|
|
2741
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2742
|
+
description: "Setting Low Temperature Border",
|
|
2743
|
+
}),
|
|
2744
|
+
m.binary({
|
|
2745
|
+
name: "enable_humidity",
|
|
2746
|
+
valueOn: ["ON", 1],
|
|
2747
|
+
valueOff: ["OFF", 0],
|
|
2748
|
+
cluster: "msRelativeHumidity",
|
|
2749
|
+
attribute: { ID: 0x0220, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2750
|
+
description: "Enable Humidity Control",
|
|
2751
|
+
}),
|
|
2752
|
+
m.binary({
|
|
2753
|
+
name: "switching_humidity_sensor",
|
|
2754
|
+
valueOn: ["ON", 1],
|
|
2755
|
+
valueOff: ["OFF", 0],
|
|
2756
|
+
cluster: "msRelativeHumidity",
|
|
2757
|
+
attribute: { ID: 0x0229, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2758
|
+
description: "Enable internal or external sensor control",
|
|
2759
|
+
}),
|
|
2760
|
+
m.binary({
|
|
2761
|
+
name: "invert_logic_humidity",
|
|
2762
|
+
valueOn: ["ON", 1],
|
|
2763
|
+
valueOff: ["OFF", 0],
|
|
2764
|
+
cluster: "msRelativeHumidity",
|
|
2765
|
+
attribute: { ID: 0x0225, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
|
|
2766
|
+
description: "Invert Logic Humidity Control",
|
|
2767
|
+
}),
|
|
2768
|
+
m.numeric({
|
|
2769
|
+
name: "high_humidity",
|
|
2770
|
+
unit: "%",
|
|
2771
|
+
valueMin: 0,
|
|
2772
|
+
valueMax: 99,
|
|
2773
|
+
cluster: "msRelativeHumidity",
|
|
2774
|
+
attribute: { ID: 0x0221, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2775
|
+
description: "Setting High Humidity Border",
|
|
2776
|
+
}),
|
|
2777
|
+
m.numeric({
|
|
2778
|
+
name: "low_humidity",
|
|
2779
|
+
unit: "%",
|
|
2780
|
+
valueMin: 0,
|
|
2781
|
+
valueMax: 99,
|
|
2782
|
+
cluster: "msRelativeHumidity",
|
|
2783
|
+
attribute: { ID: 0x0222, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
|
|
2784
|
+
description: "Setting Low Humidity Border",
|
|
2785
|
+
}),
|
|
2786
|
+
],
|
|
2787
|
+
},
|
|
1866
2788
|
{
|
|
1867
2789
|
zigbeeModel: ["EFEKTA_PST_V1_LR"],
|
|
1868
2790
|
model: "EFEKTA_PST_V1_LR",
|