iobroker.alias-workbench 0.13.0 → 0.14.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/README.md +55 -40
- package/admin/css/werkbank.css +13 -2
- package/admin/i18n/de.json +41 -14
- package/admin/i18n/en.json +41 -14
- package/admin/i18n/es.json +41 -14
- package/admin/i18n/fr.json +41 -14
- package/admin/i18n/it.json +41 -14
- package/admin/i18n/nl.json +41 -14
- package/admin/i18n/pl.json +41 -14
- package/admin/i18n/pt.json +41 -14
- package/admin/i18n/ru.json +41 -14
- package/admin/i18n/uk.json +41 -14
- package/admin/i18n/zh-cn.json +41 -14
- package/admin/js/attrappe.js +55 -47
- package/admin/js/aufzaehlungen.js +3 -3
- package/admin/js/detail.js +23 -10
- package/admin/js/einstellungen.js +44 -4
- package/admin/js/entwurf.js +90 -24
- package/admin/js/ergebnis.js +12 -4
- package/admin/js/katalog.js +3 -3
- package/admin/js/migration.js +478 -0
- package/admin/js/mqtt.js +142 -37
- package/admin/js/musterwahl.js +14 -0
- package/admin/js/quellentausch.js +25 -25
- package/admin/js/schreiben.js +20 -14
- package/admin/js/sprache.js +5 -0
- package/admin/js/start.js +2 -0
- package/admin/js/vorlagen.js +133 -100
- package/admin/js/vorlagenblatt.js +483 -471
- package/admin/js/zuordnung.js +35 -8
- package/admin/js/zustandsliste.js +35 -4
- package/admin/jsonConfig.json +42 -4
- package/admin/tab.html +18 -0
- package/admin/vorlagen/hm-dimmer.json +59 -59
- package/admin/vorlagen/hm-fensterkontakt-hm.json +40 -40
- package/admin/vorlagen/hm-fensterkontakt-hmip.json +48 -48
- package/admin/vorlagen/hm-heizgruppe.json +60 -60
- package/admin/vorlagen/hm-heizkoerper.json +72 -72
- package/admin/vorlagen/hm-rollladen.json +50 -50
- package/admin/vorlagen/hm-schaltaktor-lampe.json +53 -53
- package/admin/vorlagen/hm-schaltaktor-mehrfach.json +57 -57
- package/admin/vorlagen/hm-schaltaktor-steckdose.json +53 -53
- package/admin/vorlagen/hm-temperatur-feuchte.json +34 -34
- package/admin/vorlagen/hm-wandthermostat.json +68 -68
- package/admin/vorlagen/index.json +2 -2
- package/admin/vorlagen/messpunkt.json +122 -122
- package/admin/vorlagen/tasmota-lampe.json +148 -148
- package/admin/vorlagen/tasmota-mehrfach.json +112 -112
- package/admin/vorlagen/tasmota-rgb.json +130 -130
- package/admin/vorlagen/tasmota-steckdose.json +150 -150
- package/io-package.json +19 -18
- package/package.json +1 -1
|
@@ -1,228 +1,228 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "tasmota-mehrfach",
|
|
3
3
|
"version": 7,
|
|
4
|
-
"
|
|
4
|
+
"priority": 30,
|
|
5
5
|
"name": {
|
|
6
6
|
"de": "Tasmota mit mehreren Ausgängen",
|
|
7
7
|
"en": "Tasmota with multiple outputs"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"deviceType": "socket",
|
|
10
|
+
"enumFunction": "socket",
|
|
11
|
+
"note": {
|
|
12
12
|
"de": "Steckdosenleiste, Ventilinsel, Relaisplatine. Je Ausgang entsteht ein eigenes Gerät, weil ein socket genau ein SET hat. %N% steht für die Ausgangsnummer und wird aus dem Bestand gelesen — Lücken sind erlaubt.",
|
|
13
13
|
"en": "Power strip, valve manifold, relay board. Each output becomes its own device because a socket has exactly one SET. %N% stands for the output number and is read from what exists — gaps are allowed."
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"multiple": {
|
|
16
|
+
"placeholder": "%N%"
|
|
17
17
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
18
|
+
"channelName": "POWER%N%",
|
|
19
|
+
"detection": {
|
|
20
|
+
"required": [
|
|
21
21
|
"cmnd.POWER%N%"
|
|
22
22
|
],
|
|
23
|
-
"
|
|
23
|
+
"content": {
|
|
24
24
|
"tele.STATE": "POWER%N%"
|
|
25
25
|
},
|
|
26
|
-
"
|
|
26
|
+
"note": {
|
|
27
27
|
"de": "stat.POWER steht bewusst nicht in der Pflichtliste: den Punkt legt der mqtt-Adapter erst an, wenn das Geraet zum ersten Mal geschaltet hat. Vorher haette die Vorlage nie gegriffen, obwohl der Schaltzustand die ganze Zeit in tele.STATE steht - von dort liest sie ersatzweise. cmnd.POWER bleibt dagegen Pflicht: es ist der Beleg dafuer, dass hier ueberhaupt etwas zu schalten ist. Ohne ihn wuerde jeder blosse Messpunkt mit Relaismeldung als Steckdose durchgehen. Die Nummern der Ausgaenge liest die Vorlage aus den Feldern POWER1, POWER2 ... in tele.STATE, nicht aus vorhandenen Objekten.",
|
|
28
28
|
"en": "stat.POWER is deliberately not in the required list: the mqtt adapter only creates the point once the device has been switched for the first time. Before that the template would never have matched, even though the switch state has been in tele.STATE the whole time — that is where it reads from instead. cmnd.POWER stays required: it is the evidence that there is anything to switch here at all. Without it every bare measuring point with a relay report would pass as a socket. The template reads the output numbers from the fields POWER1, POWER2 ... in tele.STATE, not from objects that already exist."
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"
|
|
31
|
+
"points": [
|
|
32
32
|
{
|
|
33
33
|
"name": "SET",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
34
|
+
"role": "switch",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"read": "stat.POWER%N%",
|
|
37
|
+
"write": "cmnd.POWER%N%",
|
|
38
|
+
"writeFormula": "val ? \"ON\" : \"OFF\"",
|
|
39
|
+
"readFallback": {
|
|
40
|
+
"point": "tele.STATE",
|
|
41
|
+
"readFormula": "JSON.parse(val)?.POWER%N% === 'ON'"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "ACTUAL",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
46
|
+
"role": "sensor.switch",
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"read": "stat.POWER%N%",
|
|
49
|
+
"readFallback": {
|
|
50
|
+
"point": "tele.STATE",
|
|
51
|
+
"readFormula": "JSON.parse(val)?.POWER%N% === 'ON'"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"name": "ELECTRIC_POWER",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
56
|
+
"role": "value.power",
|
|
57
|
+
"type": "number",
|
|
58
|
+
"unit": "W",
|
|
59
|
+
"read": "tele.SENSOR",
|
|
60
|
+
"jsonField": "ENERGY.Power",
|
|
61
61
|
"optional": true,
|
|
62
|
-
"
|
|
62
|
+
"note": {
|
|
63
63
|
"de": "Die meisten Mehrfachsteckdosen messen nur gesamt. Angehakt bekaeme jeder Ausgang denselben Wert, und die Summe erschiene vierfach. Nur anhaken, wenn dieses Modell je Ausgang misst.",
|
|
64
64
|
"en": "Most multi-output sockets measure only the total. Ticked, every output would get the same value, and the total would appear four times. Tick it only if this model measures per output."
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"offByDefault": true
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "CONSUMPTION",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
70
|
+
"role": "value.energy.consumed",
|
|
71
|
+
"_role": "value.energy.consumed is the current role for a consumed amount of energy: the unit is Wh, which is energy and not power, so it belongs under value.energy.* rather than under value.power.* (that one holds W and kW). The ioBroker state roles list strikes value.power.consumption through for exactly that reason. @iobroker/type-detector accepts both roles at the CONSUMPTION place since 6.0.3 (typePatterns.js, pattern 'consumption', issue 334, PR 339) and has value.energy.consumed as its defaultRole. Note for anyone reading such an alias with a detector older than 6.0.3: there the place accepts the struck-through role only, so the point drops out of the detected device - update the reading adapter.",
|
|
72
|
+
"type": "number",
|
|
73
|
+
"unit": "kWh",
|
|
74
|
+
"read": "tele.SENSOR",
|
|
75
|
+
"jsonField": "ENERGY.Total",
|
|
76
76
|
"optional": true,
|
|
77
|
-
"
|
|
78
|
-
"
|
|
77
|
+
"offByDefault": true,
|
|
78
|
+
"note": {
|
|
79
79
|
"de": "Die meisten Mehrfachsteckdosen messen nur gesamt. Angehakt bekaeme jeder Ausgang denselben Wert, und die Summe erschiene vierfach. Nur anhaken, wenn dieses Modell je Ausgang misst.",
|
|
80
80
|
"en": "Most multi-output sockets measure only the total. Ticked, every output would get the same value, and the total would appear four times. Tick it only if this model measures per output."
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"name": "UNREACH",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
85
|
+
"role": "indicator.maintenance.unreach",
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"read": "tele.LWT",
|
|
88
|
+
"readFormula": "val !== \"Online\"",
|
|
89
89
|
"optional": true
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"name": "RSSI",
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
93
|
+
"role": "value.rssi",
|
|
94
|
+
"type": "number",
|
|
95
|
+
"unit": "dBm",
|
|
96
|
+
"read": "tele.STATE",
|
|
97
|
+
"jsonField": "Wifi.Signal",
|
|
98
98
|
"optional": true,
|
|
99
|
-
"
|
|
99
|
+
"offByDefault": true
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"name": "UPTIME",
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
103
|
+
"role": "value",
|
|
104
|
+
"type": "number",
|
|
105
|
+
"unit": "s",
|
|
106
|
+
"read": "tele.STATE",
|
|
107
|
+
"jsonField": "UptimeSec",
|
|
108
108
|
"optional": true,
|
|
109
|
-
"
|
|
110
|
-
"
|
|
109
|
+
"offByDefault": true,
|
|
110
|
+
"note": {
|
|
111
111
|
"de": "Sekunden seit dem letzten Start. Faellt der Wert staendig zurueck, startet das Geraet neu.",
|
|
112
112
|
"en": "Seconds since the last start. If the value keeps falling back, the device is restarting."
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"name": "LAST_REPORT",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
117
|
+
"role": "text",
|
|
118
|
+
"type": "string",
|
|
119
|
+
"read": "tele.STATE",
|
|
120
|
+
"jsonField": "Time",
|
|
121
121
|
"optional": true,
|
|
122
|
-
"
|
|
123
|
-
"
|
|
122
|
+
"offByDefault": true,
|
|
123
|
+
"note": {
|
|
124
124
|
"de": "Zeitstempel der letzten Telemetrie des Geraets, nicht der von ioBroker.",
|
|
125
125
|
"en": "Timestamp of the device's last telemetry, not ioBroker's."
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"name": "HEAP",
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
130
|
+
"role": "value",
|
|
131
|
+
"type": "number",
|
|
132
|
+
"unit": "kB",
|
|
133
|
+
"read": "tele.STATE",
|
|
134
|
+
"jsonField": "Heap",
|
|
135
135
|
"optional": true,
|
|
136
|
-
"
|
|
137
|
-
"
|
|
136
|
+
"offByDefault": true,
|
|
137
|
+
"note": {
|
|
138
138
|
"de": "Freier Speicher. Wird er klein, wird das Geraet unzuverlaessig.",
|
|
139
139
|
"en": "Free memory. If it gets small, the device becomes unreliable."
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"name": "WIFI_QUALITY",
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
144
|
+
"role": "value",
|
|
145
|
+
"type": "number",
|
|
146
|
+
"unit": "%",
|
|
147
|
+
"read": "tele.STATE",
|
|
148
|
+
"jsonField": "Wifi.RSSI",
|
|
149
149
|
"optional": true,
|
|
150
|
-
"
|
|
151
|
-
"
|
|
150
|
+
"offByDefault": true,
|
|
151
|
+
"note": {
|
|
152
152
|
"de": "Guete 0 bis 100. RSSI in dBm steht getrennt daneben.",
|
|
153
153
|
"en": "Quality 0 to 100. RSSI in dBm is listed separately beside it."
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"name": "WIFI_SSID",
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
158
|
+
"role": "text",
|
|
159
|
+
"type": "string",
|
|
160
|
+
"read": "tele.STATE",
|
|
161
|
+
"jsonField": "Wifi.SSId",
|
|
162
162
|
"optional": true,
|
|
163
|
-
"
|
|
163
|
+
"offByDefault": true
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"name": "WIFI_LINKCOUNT",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
167
|
+
"role": "value",
|
|
168
|
+
"type": "number",
|
|
169
|
+
"read": "tele.STATE",
|
|
170
|
+
"jsonField": "Wifi.LinkCount",
|
|
171
171
|
"optional": true,
|
|
172
|
-
"
|
|
173
|
-
"
|
|
172
|
+
"offByDefault": true,
|
|
173
|
+
"note": {
|
|
174
174
|
"de": "Wie oft die WLAN-Verbindung seit dem Start neu aufgebaut wurde.",
|
|
175
175
|
"en": "How often the Wi-Fi connection has been re-established since start."
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"name": "WIFI_DOWNTIME",
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
180
|
+
"role": "text",
|
|
181
|
+
"type": "string",
|
|
182
|
+
"read": "tele.STATE",
|
|
183
|
+
"jsonField": "Wifi.Downtime",
|
|
184
184
|
"optional": true,
|
|
185
|
-
"
|
|
186
|
-
"
|
|
185
|
+
"offByDefault": true,
|
|
186
|
+
"note": {
|
|
187
187
|
"de": "Summe der Ausfallzeit seit dem Start.",
|
|
188
188
|
"en": "Total downtime since start."
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
"name": "IP",
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
193
|
+
"role": "text",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"read": "tele.STATE",
|
|
196
|
+
"jsonField": "IPAddress",
|
|
197
197
|
"optional": true,
|
|
198
|
-
"
|
|
199
|
-
"
|
|
198
|
+
"offByDefault": true,
|
|
199
|
+
"note": {
|
|
200
200
|
"de": "Drei Wege, weil keiner allein reicht. tele.STATE steht zuerst, weil es alle paar Minuten frisch kommt und einem Adresswechsel folgt - allerdings fuehrt es die IP erst ab neuerer Firmware mit (gemessen: 12.5.0 nein, 15.5.0 ja). tele.INFO2 schickt eine Tasmota beim Start und laesst es retained stehen; das steht auch bei alter Firmware da, ist aber ein Standbild vom letzten Boot. stat.STATUS5 entsteht, wenn jemand den Status abfragt. Aeltere Firmware schreibt die Felder in tele.INFO2 ohne die Huelle Info2 - deshalb derselbe Punkt zweimal, einmal mit und einmal ohne (gemessen 20.09.2026 am Badlicht: {WebServerMode, Hostname, IPAddress}).",
|
|
201
201
|
"en": "Three paths, because none of them is enough on its own. tele.STATE comes first, because it arrives fresh every few minutes and follows an address change — though it only carries the IP from newer firmware on (measured: 12.5.0 no, 15.5.0 yes). tele.INFO2 is sent by a Tasmota at start and left retained; it is there on old firmware too, but it is a snapshot from the last boot. stat.STATUS5 appears when someone queries the status. Older firmware writes the fields into tele.INFO2 without the Info2 wrapper — hence the same point twice, once with and once without (measured 20.09.2026 on Badlicht: {WebServerMode, Hostname, IPAddress})."
|
|
202
202
|
},
|
|
203
|
-
"
|
|
203
|
+
"readFallback": [
|
|
204
204
|
{
|
|
205
|
-
"
|
|
206
|
-
"
|
|
205
|
+
"point": "tele.INFO2",
|
|
206
|
+
"jsonField": "Info2.IPAddress"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
"
|
|
210
|
-
"
|
|
209
|
+
"point": "tele.INFO2",
|
|
210
|
+
"jsonField": "IPAddress"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
|
-
"
|
|
214
|
-
"
|
|
213
|
+
"point": "stat.STATUS5",
|
|
214
|
+
"jsonField": "StatusNET.IPAddress"
|
|
215
215
|
}
|
|
216
216
|
]
|
|
217
217
|
}
|
|
218
218
|
],
|
|
219
|
-
"
|
|
219
|
+
"sideEffects": [
|
|
220
220
|
{
|
|
221
|
-
"
|
|
222
|
-
"
|
|
221
|
+
"kind": "mqtt-publish",
|
|
222
|
+
"point": "cmnd.POWER%N%"
|
|
223
223
|
}
|
|
224
224
|
],
|
|
225
|
-
"
|
|
225
|
+
"extraPoints": {
|
|
226
226
|
"tele.LWT": "text",
|
|
227
227
|
"tele.STATE": "json",
|
|
228
228
|
"tele.SENSOR": "json",
|