iobroker.sonoff 3.1.2 → 3.3.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/LICENSE +1 -1
- package/README.md +29 -2
- package/admin/i18n/de/translations.json +33 -21
- package/admin/i18n/en/translations.json +14 -2
- package/admin/i18n/es/translations.json +13 -1
- package/admin/i18n/fr/translations.json +13 -1
- package/admin/i18n/it/translations.json +13 -1
- package/admin/i18n/nl/translations.json +13 -1
- package/admin/i18n/pl/translations.json +13 -1
- package/admin/i18n/pt/translations.json +13 -1
- package/admin/i18n/ru/translations.json +13 -1
- package/admin/i18n/uk/translations.json +13 -1
- package/admin/i18n/zh-cn/translations.json +13 -1
- package/admin/jsonConfig.json +146 -28
- package/admin/words.js +36 -24
- package/io-package.json +36 -29
- package/lib/datapoints.js +368 -207
- package/lib/server.js +561 -244
- package/main.js +10 -7
- package/package.json +10 -8
package/lib/datapoints.js
CHANGED
|
@@ -1,209 +1,370 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
'Approx. Altitude': {type: 'number',
|
|
3
|
-
'PM2.5':
|
|
4
|
-
A0:
|
|
5
|
-
A1:
|
|
6
|
-
A2:
|
|
7
|
-
A3:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Analog0:
|
|
14
|
-
Analog1:
|
|
15
|
-
Analog2:
|
|
16
|
-
Analog3:
|
|
17
|
-
ApparentPower: {type: 'number',
|
|
18
|
-
Arm:
|
|
19
|
-
BSSId:
|
|
20
|
-
BatteryPercentage: {type: 'number',
|
|
21
|
-
BatteryVoltage:
|
|
22
|
-
Bits:
|
|
23
|
-
Blue:
|
|
24
|
-
Boiler:
|
|
25
|
-
Burner:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
2
|
+
'Approx. Altitude': { type: 'number', role: 'value.altitude', read: true, write: false, unit: 'm' },
|
|
3
|
+
'PM2.5': { type: 'number', role: 'value', read: true, write: false, unit: 'ug/m3' },
|
|
4
|
+
A0: { type: 'number', role: 'value', read: true, write: false },
|
|
5
|
+
A1: { type: 'number', role: 'value', read: true, write: false },
|
|
6
|
+
A2: { type: 'number', role: 'value', read: true, write: false },
|
|
7
|
+
A3: { type: 'number', role: 'value', read: true, write: false },
|
|
8
|
+
Ap: { type: 'number', role: 'value', read: true, write: false },
|
|
9
|
+
APMac: { type: 'number', role: 'state', read: true, write: false },
|
|
10
|
+
Action: { type: 'string', role: 'value', read: true, write: true },
|
|
11
|
+
AirQuality: { type: 'number', role: 'value', read: true, write: false, unit: '%' },
|
|
12
|
+
ANALOG: { type: 'object', role: 'state', read: true, write: false },
|
|
13
|
+
Analog0: { type: 'number', role: 'value', read: true, write: false },
|
|
14
|
+
Analog1: { type: 'number', role: 'value', read: true, write: false },
|
|
15
|
+
Analog2: { type: 'number', role: 'value', read: true, write: false },
|
|
16
|
+
Analog3: { type: 'number', role: 'value', read: true, write: false },
|
|
17
|
+
ApparentPower: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'VA' },
|
|
18
|
+
Arm: { type: 'number', role: 'value', read: true, write: true },
|
|
19
|
+
BSSId: { type: 'string', role: 'state', read: true, write: false },
|
|
20
|
+
BatteryPercentage: { type: 'number', role: 'value', read: true, write: false, unit: '%' },
|
|
21
|
+
BatteryVoltage: { type: 'number', role: 'value.voltage', read: true, write: false, unit: 'V' },
|
|
22
|
+
Bits: { type: 'number', role: 'value', read: true, write: false },
|
|
23
|
+
Blue: { type: 'number', role: 'level.color.blue', read: true, write: true, min: 0, max: 100 },
|
|
24
|
+
Boiler: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
25
|
+
Burner: { type: 'number', role: 'value', read: true, write: false },
|
|
26
|
+
Button1: { type: 'boolean', role: 'button', read: true, write: false },
|
|
27
|
+
Button2: { type: 'boolean', role: 'button', read: true, write: false },
|
|
28
|
+
Button3: { type: 'boolean', role: 'button', read: true, write: false },
|
|
29
|
+
Button4: { type: 'boolean', role: 'button', read: true, write: false },
|
|
30
|
+
Button5: { type: 'boolean', role: 'button', read: true, write: false },
|
|
31
|
+
Button6: { type: 'boolean', role: 'button', read: true, write: false },
|
|
32
|
+
Button7: { type: 'boolean', role: 'button', read: true, write: false },
|
|
33
|
+
Button8: { type: 'boolean', role: 'button', read: true, write: false },
|
|
34
|
+
C1: { type: 'number', role: 'value', read: true, write: false },
|
|
35
|
+
C2: { type: 'number', role: 'value', read: true, write: false },
|
|
36
|
+
C3: { type: 'number', role: 'value', read: true, write: false },
|
|
37
|
+
C4: { type: 'number', role: 'value', read: true, write: false },
|
|
38
|
+
CT: { type: 'number', role: 'level.color.temp', read: true, write: true, min: 153, max: 500 },
|
|
39
|
+
CW: { type: 'number', role: 'level.color.coldwhite', read: true, write: true },
|
|
40
|
+
CW_POWER: { type: 'boolean', role: 'switch.light', read: true, write: true, storeMap: true },
|
|
41
|
+
CarbonDioxide: { type: 'number', role: 'value.CO2', read: true, write: false, unit: 'ppm' },
|
|
42
|
+
Channel: { type: 'number', role: 'level', read: true, write: true },
|
|
43
|
+
Collector: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
44
|
+
Color: { type: 'string', role: 'level.color.rgb', read: true, write: true },
|
|
45
|
+
Counter1: { type: 'number', role: 'value', read: true, write: false },
|
|
46
|
+
Counter2: { type: 'number', role: 'value', read: true, write: false },
|
|
47
|
+
Counter3: { type: 'number', role: 'value', read: true, write: false },
|
|
48
|
+
Counter4: { type: 'number', role: 'value', read: true, write: false },
|
|
49
|
+
Current: { type: 'number', role: 'value.current', read: true, write: false, unit: 'A' },
|
|
50
|
+
CurrentNeutral: { type: 'number', role: 'value.current', read: true, write: false, unit: 'A' },
|
|
51
|
+
Data: { type: 'string', role: 'state', read: true, write: true },
|
|
52
|
+
Days: { type: 'string', role: 'state', read: true, write: true },
|
|
53
|
+
DewPoint: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
54
|
+
Dimmer: { type: 'number', role: 'level.dimmer', read: true, write: true, min: 0, max: 100 },
|
|
55
|
+
Distance: { type: 'number', role: 'value', read: true, write: false, unit: 'cm' },
|
|
56
|
+
Downtime: { type: 'string', role: 'state', read: true, write: false },
|
|
57
|
+
Druck: { type: 'number', role: 'value.pressure', read: true, write: false, unit: 'hPa' },
|
|
58
|
+
ExportActive: { type: 'number', role: 'value.power.produced', read: true, write: false, unit: 'kWh' },
|
|
59
|
+
Factor: { type: 'number', role: 'value', read: true, write: false },
|
|
60
|
+
Fade: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
61
|
+
Faktor: { type: 'number', role: 'value', read: true, write: false },
|
|
62
|
+
Feuchtigkeit: { type: 'number', role: 'value.humidity', read: true, write: false, unit: '%' },
|
|
63
|
+
Frequenz: { type: 'number', role: 'value.frequency', read: true, write: false, unit: 'Hz' },
|
|
64
|
+
Frequency: { type: 'number', role: 'value.frequency', read: true, write: false, unit: 'Hz' },
|
|
65
|
+
Green: { type: 'number', role: 'level.color.green', read: true, write: true, min: 0, max: 100 },
|
|
66
|
+
HSBColor: { type: 'string', role: 'value.hsb', read: true, write: true },
|
|
67
|
+
Hostname: { type: 'string', role: 'state', read: true, write: false },
|
|
68
|
+
Hue: { type: 'number', role: 'level.color.hue', read: true, write: true, min: 0, max: 360 },
|
|
69
|
+
Humidity: { type: 'number', role: 'value.humidity', read: true, write: false, unit: '%' },
|
|
70
|
+
IPAddress: { type: 'string', role: 'state', read: true, write: false },
|
|
71
|
+
IPaddress: { type: 'string', role: 'state', read: true, write: false },
|
|
72
|
+
IRSend: { type: 'string', role: 'state', read: true, write: true },
|
|
73
|
+
Illuminance: { type: 'number', role: 'value.illuminance', read: true, write: false, unit: 'lx' },
|
|
74
|
+
IrReceived: { type: 'object', role: 'state', read: true, write: false },
|
|
75
|
+
LED_Mode: { type: 'number', role: 'value', read: true, write: true },
|
|
76
|
+
Latitude: { type: 'number', role: 'value.gps.latitude', read: true, write: false, unit: '°' },
|
|
77
|
+
Laufzeit: { type: 'number', role: 'value.duration', read: true, write: false, unit: 'hours' }, /// ?
|
|
78
|
+
LedBar: { type: 'number', role: 'value', read: true, write: true },
|
|
79
|
+
LedTable: { type: 'string', role: 'state', read: true, write: false },
|
|
80
|
+
Leistung: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'W' },
|
|
81
|
+
Light: { type: 'number', role: 'value', read: true, write: false, unit: 'lx' },
|
|
82
|
+
Longitude: { type: 'number', role: 'value.gps.longitude', read: true, write: false, unit: '°' },
|
|
83
|
+
Mode: { type: 'string', role: 'state', read: true, write: true },
|
|
84
|
+
Module: { type: 'string', role: 'state', read: true, write: false },
|
|
85
|
+
Noise: { type: 'number', role: 'value', read: true, write: false, unit: 'dB' },
|
|
86
|
+
Output: { type: 'number', role: 'value', read: true, write: true },
|
|
87
|
+
Outsidetemp: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
88
|
+
PM10: { type: 'number', role: 'value', read: true, write: false, unit: 'ug/m3' },
|
|
89
|
+
PWM1: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
90
|
+
PWM2: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
91
|
+
PWM3: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
92
|
+
PWM4: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
93
|
+
PWM5: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
94
|
+
PWM6: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
95
|
+
PWM7: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
96
|
+
PWM8: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
97
|
+
PWM9: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
98
|
+
PWM10: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
99
|
+
PWM11: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
100
|
+
PWM12: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
101
|
+
PWM13: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
102
|
+
PWM14: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
103
|
+
PWM15: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
104
|
+
PWM16: { type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023 },
|
|
105
|
+
POWER10: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
106
|
+
POWER11: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
107
|
+
POWER12: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
108
|
+
POWER13: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
109
|
+
POWER14: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
110
|
+
POWER15: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
111
|
+
POWER16: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
112
|
+
POWER17: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
113
|
+
POWER18: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
114
|
+
POWER19: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
115
|
+
POWER1: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
116
|
+
POWER20: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
117
|
+
POWER21: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
118
|
+
POWER22: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
119
|
+
POWER23: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
120
|
+
POWER24: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
121
|
+
POWER25: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
122
|
+
POWER26: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
123
|
+
POWER27: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
124
|
+
POWER28: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
125
|
+
POWER29: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
126
|
+
POWER2: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
127
|
+
POWER3: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
128
|
+
POWER4: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
129
|
+
POWER5: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
130
|
+
POWER6: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
131
|
+
POWER7: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
132
|
+
POWER8: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
133
|
+
POWER9: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
134
|
+
POWER: { type: 'boolean', role: 'switch', read: true, write: true, storeMap: true },
|
|
135
|
+
Power: { type: 'number', role: 'value.power', read: true, write: false, unit: 'W' },
|
|
136
|
+
Power_curr: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'W' },
|
|
137
|
+
// Zigbee device controls - special handling for ZbSend commands
|
|
138
|
+
ZbPower: { type: 'boolean', role: 'switch', read: true, write: true, zbDevice: true },
|
|
139
|
+
PowerDelta: { type: 'number', role: 'value', read: true, write: false, unit: 'W' },
|
|
140
|
+
PowerHigh: { type: 'number', role: 'value', read: true, write: false, unit: 'W' },
|
|
141
|
+
PowerLow: { type: 'number', role: 'value', read: true, write: false, unit: 'W' },
|
|
142
|
+
Pressure: { type: 'number', role: 'value.pressure', read: true, write: false, unit: 'hPa' },
|
|
143
|
+
PressureScaledValue: { type: 'number', role: 'value.pressure', read: true, write: false, unit: 'Pa' },
|
|
144
|
+
Protocol: { type: 'string', role: 'state', read: true, write: true },
|
|
145
|
+
Punkt: { type: 'number', role: 'value', read: true, write: false, unit: '?' }, /// ?
|
|
146
|
+
RGB_POWER: { type: 'boolean', role: 'switch.light', read: true, write: true, storeMap: true },
|
|
147
|
+
RSSI: { type: 'number', role: 'value.rssi', read: true, write: false },
|
|
148
|
+
ReactivePower: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'var' },
|
|
149
|
+
Period: { type: 'number', role: 'value', read: true, write: false },
|
|
150
|
+
Red: { type: 'number', role: 'level.color.red', read: true, write: true, min: 0, max: 100 },
|
|
151
|
+
Repeat: { type: 'number', role: 'value', read: true, write: true },
|
|
152
|
+
RestartReason: { type: 'string', role: 'state', read: true, write: false },
|
|
153
|
+
Returns: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
154
|
+
Roomtemp: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
155
|
+
SHUTTER1: { type: 'number', role: 'state', read: true, write: false },
|
|
156
|
+
SHUTTER2: { type: 'number', role: 'state', read: true, write: false },
|
|
157
|
+
SHUTTER3: { type: 'number', role: 'state', read: true, write: false },
|
|
158
|
+
SHUTTER4: { type: 'number', role: 'state', read: true, write: false },
|
|
159
|
+
SHUTTER5: { type: 'number', role: 'state', read: true, write: false },
|
|
160
|
+
SHUTTER6: { type: 'number', role: 'state', read: true, write: false },
|
|
161
|
+
SHUTTER7: { type: 'number', role: 'state', read: true, write: false },
|
|
162
|
+
SHUTTER8: { type: 'number', role: 'state', read: true, write: false },
|
|
163
|
+
SHUTTER9: { type: 'number', role: 'state', read: true, write: false },
|
|
164
|
+
SHUTTER10: { type: 'number', role: 'state', read: true, write: false },
|
|
165
|
+
SHUTTER11: { type: 'number', role: 'state', read: true, write: false },
|
|
166
|
+
SHUTTER12: { type: 'number', role: 'state', read: true, write: false },
|
|
167
|
+
SHUTTER13: { type: 'number', role: 'state', read: true, write: false },
|
|
168
|
+
SHUTTER14: { type: 'number', role: 'state', read: true, write: false },
|
|
169
|
+
SHUTTER15: { type: 'number', role: 'state', read: true, write: false },
|
|
170
|
+
SHUTTER16: { type: 'number', role: 'state', read: true, write: false },
|
|
171
|
+
SSId: { type: 'string', role: 'state', read: true, write: false },
|
|
172
|
+
Saturation: { type: 'number', role: 'level.color.saturation', read: true, write: true, min: 0, max: 255 },
|
|
173
|
+
Scheme: {
|
|
174
|
+
type: 'number',
|
|
175
|
+
role: 'value',
|
|
176
|
+
read: true,
|
|
177
|
+
write: true,
|
|
178
|
+
min: 0,
|
|
179
|
+
max: 4,
|
|
180
|
+
states: { 0: 'Single color', 1: 'Wakeup', 2: 'Cycle UP', 3: 'Cycle DOWN', 4: 'Random cycle' },
|
|
181
|
+
},
|
|
182
|
+
SeaPressure: { type: 'number', role: 'value.pressure', read: true, write: false, unit: 'hPa' },
|
|
183
|
+
SleepMode: { type: 'string', role: 'state', read: true, write: false },
|
|
184
|
+
Solarpump: { type: 'number', role: 'value', read: true, write: false },
|
|
185
|
+
Solarstorage: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
186
|
+
Spannung: { type: 'number', role: 'value.voltage', read: true, write: false, unit: 'V' },
|
|
187
|
+
Speed: { type: 'number', role: 'value', read: true, write: true },
|
|
188
|
+
Status: { type: 'number', role: 'value', read: true, write: false },
|
|
189
|
+
Strom: { type: 'number', role: 'value.current', read: true, write: false, unit: 'A' },
|
|
190
|
+
Switch1: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
191
|
+
Switch2: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
192
|
+
Switch3: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
193
|
+
Switch4: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
194
|
+
Switch5: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
195
|
+
Switch6: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
196
|
+
Switch7: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
197
|
+
Switch8: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
198
|
+
Switch9: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
199
|
+
Switch10: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
200
|
+
Switch11: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
201
|
+
Switch12: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
202
|
+
Switch13: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
203
|
+
Switch14: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
204
|
+
Switch15: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
205
|
+
Switch16: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
206
|
+
Switch17: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
207
|
+
Switch18: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
208
|
+
Switch19: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
209
|
+
Switch20: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
210
|
+
Switch21: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
211
|
+
Switch22: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
212
|
+
Switch23: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
213
|
+
Switch24: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
214
|
+
Switch25: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
215
|
+
Switch26: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
216
|
+
Switch27: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
217
|
+
Switch28: { type: 'boolean', role: 'switch', read: true, write: true },
|
|
218
|
+
TVOC: { type: 'number', role: 'value.tvoc', read: true, write: false, unit: 'ppb' },
|
|
219
|
+
Temperatur: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
220
|
+
Temperature: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
221
|
+
Time: { type: 'string', role: 'state', read: true, write: true },
|
|
222
|
+
Timer10: { type: 'object', role: 'state', read: true, write: true },
|
|
223
|
+
Timer11: { type: 'object', role: 'state', read: true, write: true },
|
|
224
|
+
Timer12: { type: 'object', role: 'state', read: true, write: true },
|
|
225
|
+
Timer13: { type: 'object', role: 'state', read: true, write: true },
|
|
226
|
+
Timer14: { type: 'object', role: 'state', read: true, write: true },
|
|
227
|
+
Timer15: { type: 'object', role: 'state', read: true, write: true },
|
|
228
|
+
Timer16: { type: 'object', role: 'state', read: true, write: true },
|
|
229
|
+
Timer1: { type: 'object', role: 'state', read: true, write: true },
|
|
230
|
+
Timer2: { type: 'object', role: 'state', read: true, write: true },
|
|
231
|
+
Timer3: { type: 'object', role: 'state', read: true, write: true },
|
|
232
|
+
Timer4: { type: 'object', role: 'state', read: true, write: true },
|
|
233
|
+
Timer5: { type: 'object', role: 'state', read: true, write: true },
|
|
234
|
+
Timer6: { type: 'object', role: 'state', read: true, write: true },
|
|
235
|
+
Timer7: { type: 'object', role: 'state', read: true, write: true },
|
|
236
|
+
Timer8: { type: 'object', role: 'state', read: true, write: true },
|
|
237
|
+
Timer9: { type: 'object', role: 'state', read: true, write: true },
|
|
238
|
+
Today: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
239
|
+
TodaySumExport: { type: 'number', role: 'value.power.produced', read: true, write: false, unit: 'kWh' },
|
|
240
|
+
TodaySumImport: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
241
|
+
Total: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
242
|
+
Total_in: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
243
|
+
Total_out: { type: 'number', role: 'value.power.produced', read: true, write: false, unit: 'kWh' },
|
|
244
|
+
TotalStartTime: { type: 'string', role: 'date', read: true, write: false },
|
|
245
|
+
Uptime: { type: 'mixed', role: 'state', read: true, write: false },
|
|
246
|
+
UvIndex: { type: 'number', role: 'value.uv', read: true, write: false },
|
|
247
|
+
UvIndexText: { type: 'string', role: 'state', read: true, write: false },
|
|
248
|
+
UvLevel: { type: 'number', role: 'value', read: true, write: false },
|
|
249
|
+
UvPower: { type: 'number', role: 'value', read: true, write: false, unit: 'W/m²' },
|
|
250
|
+
UvaIntensity: { type: 'number', role: 'value', read: true, write: false },
|
|
251
|
+
UvbIntensity: { type: 'number', role: 'value', read: true, write: false },
|
|
252
|
+
VCC: { type: 'number', role: 'value.voltage', read: true, write: false, unit: 'V' },
|
|
253
|
+
Vcc: { type: 'number', role: 'value.voltage', read: true, write: false, unit: 'V' },
|
|
254
|
+
Version: { type: 'string', role: 'state', read: true, write: false },
|
|
255
|
+
Voltage: { type: 'number', role: 'value.voltage', read: true, write: false, unit: 'V' },
|
|
256
|
+
WW: { type: 'number', role: 'level.color.white', read: true, write: true },
|
|
257
|
+
WW_POWER: { type: 'boolean', role: 'switch.light', read: true, write: true, storeMap: true },
|
|
258
|
+
Wakeup: { type: 'string', role: 'state', read: true, write: true },
|
|
259
|
+
Warmwater: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
260
|
+
Window: { type: 'number', role: 'value', read: true, write: true },
|
|
261
|
+
Yesterday: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
262
|
+
eCO2: { type: 'number', role: 'value.eco2', read: true, write: false, unit: 'ppm' },
|
|
263
|
+
gestern: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
264
|
+
heute: { type: 'number', role: 'value.power.consumption', read: true, write: false, unit: 'kWh' },
|
|
265
|
+
modeLedExor: {
|
|
266
|
+
type: 'boolean',
|
|
267
|
+
role: 'switch',
|
|
268
|
+
read: true,
|
|
269
|
+
write: true,
|
|
270
|
+
def: false,
|
|
271
|
+
desc: 'exor for white LEDs and color leds => if the white LEDs are switched on, color LEDs are switched off and vice versa',
|
|
272
|
+
},
|
|
273
|
+
modeReadColors: {
|
|
274
|
+
type: 'boolean',
|
|
275
|
+
role: 'switch',
|
|
276
|
+
read: true,
|
|
277
|
+
write: true,
|
|
278
|
+
def: true,
|
|
279
|
+
desc: 'allow for color read from MQTT',
|
|
280
|
+
},
|
|
281
|
+
VEML6075_UvIndex: { type: 'number', role: 'value.uv', read: true, write: false },
|
|
282
|
+
VEML6075_UvaIntensity: { type: 'number', role: 'value', read: true, write: false },
|
|
283
|
+
VEML6075_UvbIntensity: { type: 'number', role: 'value', read: true, write: false },
|
|
284
|
+
VEML6075_UvIndexText: { type: 'string', role: 'state', read: true, write: false },
|
|
285
|
+
VEML6075_UvLevel: { type: 'number', role: 'value', read: true, write: false },
|
|
286
|
+
VEML6075_UvPower: { type: 'number', role: 'value', read: true, write: false, unit: 'W/m²' },
|
|
287
|
+
// IRHVAC specific datapoints to avoid conflicts with general Tasmota fields
|
|
288
|
+
IrReceived_IRHVAC_Power: { type: 'string', role: 'state', read: true, write: false },
|
|
289
|
+
IrReceived_IRHVAC_Light: { type: 'string', role: 'state', read: true, write: false },
|
|
290
|
+
IrReceived_IRHVAC_Mode: { type: 'string', role: 'state', read: true, write: false },
|
|
291
|
+
IrReceived_IRHVAC_Vendor: { type: 'string', role: 'state', read: true, write: false },
|
|
292
|
+
IrReceived_IRHVAC_Model: { type: 'number', role: 'value', read: true, write: false },
|
|
293
|
+
IrReceived_IRHVAC_Temp: { type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C' },
|
|
294
|
+
IrReceived_IRHVAC_FanSpeed: { type: 'string', role: 'state', read: true, write: false },
|
|
295
|
+
IrReceived_IRHVAC_SwingV: { type: 'string', role: 'state', read: true, write: false },
|
|
296
|
+
IrReceived_IRHVAC_SwingH: { type: 'string', role: 'state', read: true, write: false },
|
|
297
|
+
IrReceived_IRHVAC_Quiet: { type: 'string', role: 'state', read: true, write: false },
|
|
298
|
+
IrReceived_IRHVAC_Turbo: { type: 'string', role: 'state', read: true, write: false },
|
|
299
|
+
IrReceived_IRHVAC_Econo: { type: 'string', role: 'state', read: true, write: false },
|
|
300
|
+
IrReceived_IRHVAC_Filter: { type: 'string', role: 'state', read: true, write: false },
|
|
301
|
+
IrReceived_IRHVAC_Clean: { type: 'string', role: 'state', read: true, write: false },
|
|
302
|
+
IrReceived_IRHVAC_Beep: { type: 'string', role: 'state', read: true, write: false },
|
|
303
|
+
IrReceived_IRHVAC_Sleep: { type: 'number', role: 'value', read: true, write: false },
|
|
304
|
+
IrReceived_IRHVAC_Celsius: { type: 'string', role: 'state', read: true, write: false },
|
|
305
|
+
// Shutter control datapoints (Position, Direction, Target, Tilt for shutters 1-16)
|
|
306
|
+
Shutter1_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
307
|
+
Shutter1_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
308
|
+
Shutter1_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
309
|
+
Shutter1_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
310
|
+
Shutter2_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
311
|
+
Shutter2_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
312
|
+
Shutter2_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
313
|
+
Shutter2_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
314
|
+
Shutter3_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
315
|
+
Shutter3_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
316
|
+
Shutter3_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
317
|
+
Shutter3_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
318
|
+
Shutter4_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
319
|
+
Shutter4_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
320
|
+
Shutter4_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
321
|
+
Shutter4_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
322
|
+
Shutter5_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
323
|
+
Shutter5_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
324
|
+
Shutter5_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
325
|
+
Shutter5_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
326
|
+
Shutter6_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
327
|
+
Shutter6_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
328
|
+
Shutter6_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
329
|
+
Shutter6_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
330
|
+
Shutter7_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
331
|
+
Shutter7_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
332
|
+
Shutter7_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
333
|
+
Shutter7_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
334
|
+
Shutter8_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
335
|
+
Shutter8_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
336
|
+
Shutter8_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
337
|
+
Shutter8_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
338
|
+
Shutter9_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
339
|
+
Shutter9_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
340
|
+
Shutter9_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
341
|
+
Shutter9_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
342
|
+
Shutter10_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
343
|
+
Shutter10_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
344
|
+
Shutter10_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
345
|
+
Shutter10_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
346
|
+
Shutter11_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
347
|
+
Shutter11_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
348
|
+
Shutter11_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
349
|
+
Shutter11_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
350
|
+
Shutter12_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
351
|
+
Shutter12_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
352
|
+
Shutter12_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
353
|
+
Shutter12_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
354
|
+
Shutter13_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
355
|
+
Shutter13_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
356
|
+
Shutter13_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
357
|
+
Shutter13_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
358
|
+
Shutter14_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
359
|
+
Shutter14_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
360
|
+
Shutter14_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
361
|
+
Shutter14_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
362
|
+
Shutter15_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
363
|
+
Shutter15_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
364
|
+
Shutter15_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
365
|
+
Shutter15_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
366
|
+
Shutter16_Position: { type: 'number', role: 'level.blind', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
367
|
+
Shutter16_Direction: { type: 'number', role: 'value', read: true, write: false },
|
|
368
|
+
Shutter16_Target: { type: 'number', role: 'value', read: true, write: false, min: 0, max: 100, unit: '%' },
|
|
369
|
+
Shutter16_Tilt: { type: 'number', role: 'level.tilt', read: true, write: true, min: 0, max: 100, unit: '%' },
|
|
209
370
|
};
|