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
package/admin/js/zuordnung.js
CHANGED
|
@@ -581,9 +581,36 @@ export function uebernehmeBestand(e) {
|
|
|
581
581
|
var kenntQuelle = {};
|
|
582
582
|
e.states.forEach(function (s) {
|
|
583
583
|
if (s.n) { kennt[s.n] = s; }
|
|
584
|
-
if (s.srcR) { kenntQuelle[s.srcR] = s; }
|
|
584
|
+
if (s.srcR) { (kenntQuelle[s.srcR] = kenntQuelle[s.srcR] || []).push(s); }
|
|
585
585
|
});
|
|
586
586
|
|
|
587
|
+
/* Welche Vorschlagszeile ist dieser Alias-Punkt?
|
|
588
|
+
|
|
589
|
+
Hier galt `kenntQuelle[s.srcR] = s` - bei mehreren Zeilen auf
|
|
590
|
+
derselben Quelle gewann die letzte. Die Vorlage
|
|
591
|
+
`hm-schaltaktor-lampe` hat zwei auf `1.STATE`: SET (schaltet) und
|
|
592
|
+
ON_ACTUAL (meldet nur). Der Alias-Punkt STATE an
|
|
593
|
+
`alias.0.Jonas_Schlafen.Licht` schaltet, bekam aber ON_ACTUAL - und
|
|
594
|
+
„Werte der Vorlage uebernehmen" machte daraus einen Melder ohne
|
|
595
|
+
Schreibziel: nach dem Aktualisieren war das Licht nicht mehr
|
|
596
|
+
schaltbar (Ricardo, 21.11.2026).
|
|
597
|
+
|
|
598
|
+
Jetzt zaehlt die Schreibrichtung: ein schreibender Alias-Punkt nimmt
|
|
599
|
+
die Zeile, die schreibt, ein lesender die, die nur liest. Passt
|
|
600
|
+
keine, bleibt es bei der letzten wie bisher. Zeilen, deren Name
|
|
601
|
+
schon im Alias steht oder die schon einen Punkt bekommen haben,
|
|
602
|
+
scheiden aus. */
|
|
603
|
+
function zeileZurQuelle(o) {
|
|
604
|
+
var q = aliasQuellen(o);
|
|
605
|
+
var frei = (kenntQuelle[q.read] || []).filter(function (s) {
|
|
606
|
+
return !S.objects[e.ziel + '.' + s.n];
|
|
607
|
+
});
|
|
608
|
+
if (!frei.length) { return null; }
|
|
609
|
+
var schreibt = !!zeileAusAlias(o, '').srcW;
|
|
610
|
+
var passend = frei.filter(function (s) { return !!s.srcW === schreibt; });
|
|
611
|
+
return (passend.length ? passend : frei)[(passend.length ? passend : frei).length - 1];
|
|
612
|
+
}
|
|
613
|
+
|
|
587
614
|
/* Was im Alias steht, gilt - nicht nur, wie er heisst.
|
|
588
615
|
|
|
589
616
|
Uebernommen wurde bisher allein der Name. Rolle, Typ, Einheit,
|
|
@@ -723,8 +750,8 @@ export function uebernehmeBestand(e) {
|
|
|
723
750
|
`Licht_Bar_STATE` anlegen — jedes Widget und jedes Skript, das auf
|
|
724
751
|
den alten Namen zeigt, liefe ins Leere. Was einmal steht, bleibt
|
|
725
752
|
stehen; neue Punkte bekommen den neuen Namen. */
|
|
726
|
-
|
|
727
|
-
|
|
753
|
+
var vorhanden = q.read ? zeileZurQuelle(o) : null;
|
|
754
|
+
if (vorhanden) {
|
|
728
755
|
/* Die Zeile bekommt den Namen aus dem Alias — und damit einen
|
|
729
756
|
anderen, als die Erkennung eben gesehen hat. `platzVon` kennt
|
|
730
757
|
noch den Vorlagennamen, die Zeile heisst jetzt anders, und die
|
|
@@ -847,12 +874,12 @@ export function unterschiede(e) {
|
|
|
847
874
|
Gemeldet wird er erst, wenn jemand ihn anhakt. */
|
|
848
875
|
if (s.ausAnsicht) { return false; }
|
|
849
876
|
if (!vorlage) { return true; } /* ohne Vorlage zaehlt jedes Abwaehlen */
|
|
850
|
-
var
|
|
851
|
-
(vorlage.
|
|
852
|
-
if (x.name === (s.ausVorlage || s.n)) {
|
|
877
|
+
var tplZeile = null;
|
|
878
|
+
(vorlage.points || []).forEach(function (x) {
|
|
879
|
+
if (x.name === (s.ausVorlage || s.n)) { tplZeile = x; }
|
|
853
880
|
});
|
|
854
|
-
if (!
|
|
855
|
-
return !
|
|
881
|
+
if (!tplZeile) { return true; }
|
|
882
|
+
return !tplZeile.offByDefault;
|
|
856
883
|
}
|
|
857
884
|
var zielBasis = e.ziel || e.kanal;
|
|
858
885
|
|
|
@@ -11,7 +11,7 @@ import { el, $ } from './basis.js';
|
|
|
11
11
|
import { tr, sprachtext } from './sprache.js';
|
|
12
12
|
import { erkenneEntwurf, musterVon, rolleVonPlatz, typKonflikte, plaetzeFuerRolle, typPasstZuPlatz, fehlendePflicht } from './erkennung.js';
|
|
13
13
|
import { kindZustaende, wertVon, fmt } from './werte.js';
|
|
14
|
-
import { steuerKanaele, vorlagenAbweichung, bestandsAbweichung, waehle, quelleHier, quellenVerteilung } from './entwurf.js';
|
|
14
|
+
import { steuerKanaele, vorlagenAbweichung, bestandsAbweichung, waehle, quelleHier, quellenVerteilung, knotenDa } from './entwurf.js';
|
|
15
15
|
import { musterName } from './musternamen.js';
|
|
16
16
|
import { detailZeile } from './detail.js';
|
|
17
17
|
import { rateAnzahl, rateZurueck, rateZurueckEine, rateBehalten } from './vorschlagen.js';
|
|
@@ -514,7 +514,29 @@ export function baueListe(host, e, pl, rateKnopf, musterBlock) {
|
|
|
514
514
|
if (zeilenHinweis) { titel.push(zeilenHinweis); }
|
|
515
515
|
if (titel.length) { n3.title = titel.join('\n\n'); }
|
|
516
516
|
if (s.manuell) { n3.appendChild(el('span', 'hand', tr('list.byHand'))); }
|
|
517
|
-
|
|
517
|
+
/* „geaendert" steht nicht mehr als Marke da (Ricardo, 21.11.2026).
|
|
518
|
+
Die Marken beantworten eine Frage: was passiert mit dem Punkt beim
|
|
519
|
+
Schreiben - kommt dazu, wird geaendert, wird entfernt. „geaendert"
|
|
520
|
+
sagte nur „hier wurde geklickt": unter einem bestehenden Alias stand
|
|
521
|
+
es doppelt neben „weicht vom gespeicherten Alias ab", bei einem
|
|
522
|
+
neuen Alias ist ohnehin alles neu, und nach dem Zurueckstellen blieb
|
|
523
|
+
es stehen, obwohl nichts mehr abwich. Die Fahne `s.geaendert` bleibt:
|
|
524
|
+
das Raten laesst Handentscheidungen damit in Ruhe (U15). */
|
|
525
|
+
/* Kommt die Zeile neu in den Alias, oder faellt sie heraus?
|
|
526
|
+
|
|
527
|
+
Bisher sah ein frisch angehakter Punkt genauso aus wie einer, der
|
|
528
|
+
schon immer im Alias steht; erst die Aenderungskarte beim
|
|
529
|
+
Aktualisieren sagte „neu". Nach „Auf Vorlage zuruecksetzen" an
|
|
530
|
+
`alias.0.Bastelzimmer.Schreibtischlampe` kam eine Zeile dazu, und
|
|
531
|
+
nichts zeigte welche (Ricardo, 21.11.2026). Dieselbe Regel wie
|
|
532
|
+
`verwaiste` und `neu` in schreiben.js: Ziel ist `e.ziel || e.kanal`,
|
|
533
|
+
der Punkt heisst `ziel.n`, und nur unter einem Alias, den es gibt. */
|
|
534
|
+
var bZiel = e.ziel || e.kanal;
|
|
535
|
+
if (s.n && bZiel && bZiel.indexOf('alias.') === 0 && knotenDa(bZiel)) {
|
|
536
|
+
var imAlias = !!S.objects[bZiel + '.' + s.n];
|
|
537
|
+
if (s.on && !imAlias) { n3.appendChild(el('span', 'geae kommt', tr('list.comesNew'))); }
|
|
538
|
+
if (!s.on && imAlias) { n3.appendChild(el('span', 'geae geht', tr('list.goesAway'))); }
|
|
539
|
+
}
|
|
518
540
|
/* Was die Vorlage anders will, steht an der Zeile - sonst sieht man
|
|
519
541
|
es erst im Trockenlauf (Ricardo, 25.08.2026).
|
|
520
542
|
|
|
@@ -560,7 +582,7 @@ export function baueListe(host, e, pl, rateKnopf, musterBlock) {
|
|
|
560
582
|
`e.ziel || e.kanal` eine). */
|
|
561
583
|
var bAbw = bestandsAbweichung(s, e.ziel || e.kanal);
|
|
562
584
|
if (bAbw.length) {
|
|
563
|
-
var bv = el('span', 'geae bstabw', tr('list.
|
|
585
|
+
var bv = el('span', 'geae bstabw', tr('list.willChange'));
|
|
564
586
|
bv.title = bAbw.map(function (x) {
|
|
565
587
|
return x.feld + ': ' + (x.bestand || '—') + ' → ' + (x.jetzt || '—');
|
|
566
588
|
}).join(String.fromCharCode(10));
|
|
@@ -831,7 +853,16 @@ export function baueListe(host, e, pl, rateKnopf, musterBlock) {
|
|
|
831
853
|
passendem Typ gefragt, fiel er stillschweigend heraus, und die
|
|
832
854
|
Legende nannte niemanden (Ricardo, 19.09.2026). Den Typ stellt
|
|
833
855
|
der Knopf gleich mit. Passende Typen zuerst. */
|
|
834
|
-
|
|
856
|
+
/* Nicht, was die Vorlage selbst abgehakt hat. Sie sagt damit „gehoert
|
|
857
|
+
standardmaessig nicht dazu" - so eine Zeile ist kein Ersatz fuer
|
|
858
|
+
einen Pflichtplatz. Am `hm-schaltaktor-lampe` stand „INHIBIT passt
|
|
859
|
+
auf SET … anhaken": die Schaltsperre hat die Rolle `switch` und
|
|
860
|
+
waere der Schalter der Steckdose geworden (Ricardo, 21.11.2026). */
|
|
861
|
+
var aus = e.states.filter(function (s) {
|
|
862
|
+
if (s.on || !s.n || !passtAuf(st, s, false)) { return false; }
|
|
863
|
+
if (!e.vorlage) { return true; }
|
|
864
|
+
return s.vorlagenWert ? s.vorlagenWert.on !== false : s.onVorgabe !== false;
|
|
865
|
+
});
|
|
835
866
|
aus.sort(function (a, b) { return (passtAuf(st, b, true) ? 1 : 0) - (passtAuf(st, a, true) ? 1 : 0); });
|
|
836
867
|
var soll = Array.isArray(st.type) ? st.type[0] : st.type;
|
|
837
868
|
fehlt.push({ platz: st.name, aus: aus, soll: soll,
|
package/admin/jsonConfig.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"lg": 12,
|
|
44
44
|
"xl": 12
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"iconRooms": {
|
|
47
47
|
"type": "checkbox",
|
|
48
48
|
"label": "Add missing icons to rooms",
|
|
49
49
|
"help": "Applies when a room has no icon at all and a template of the same name or ID exists.",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"lg": 6,
|
|
56
56
|
"xl": 6
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"iconFunctions": {
|
|
59
59
|
"type": "checkbox",
|
|
60
60
|
"label": "Add missing icons to functions",
|
|
61
61
|
"help": "Same for functions. Enumerations mirrored from a HomeMatic CCU never carry an icon.",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"lg": 6,
|
|
67
67
|
"xl": 6
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"iconReplace": {
|
|
70
70
|
"type": "checkbox",
|
|
71
71
|
"label": "Also replace unusable icon entries",
|
|
72
72
|
"help": "The Admin setup wizard leaves a bare name such as \"Playroom\" in the icon field, which no longer resolves to a picture and shows as a broken box. With this on, the workbench replaces it. It overwrites a field that is not empty — the dry run names it explicitly.",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"lg": 12,
|
|
90
90
|
"xl": 12
|
|
91
91
|
},
|
|
92
|
-
"
|
|
92
|
+
"templatesFromAdmin": {
|
|
93
93
|
"type": "checkbox",
|
|
94
94
|
"label": "Offer the Admin's room and function templates",
|
|
95
95
|
"help": "The workbench reads them at runtime from the Admin's own bundle instead of keeping a copy that would age with every update. If that fails, the selection lists simply show what already exists — no error, just fewer entries.",
|
|
@@ -100,6 +100,44 @@
|
|
|
100
100
|
"md": 12,
|
|
101
101
|
"lg": 12,
|
|
102
102
|
"xl": 12
|
|
103
|
+
},
|
|
104
|
+
"_mqttKopf": {
|
|
105
|
+
"type": "header",
|
|
106
|
+
"size": 3,
|
|
107
|
+
"text": "Tasmota devices via MQTT",
|
|
108
|
+
"newLine": true,
|
|
109
|
+
"xs": 12,
|
|
110
|
+
"sm": 12,
|
|
111
|
+
"md": 12,
|
|
112
|
+
"lg": 12,
|
|
113
|
+
"xl": 12
|
|
114
|
+
},
|
|
115
|
+
"_mqttText": {
|
|
116
|
+
"type": "staticText",
|
|
117
|
+
"text": "The Tasmota helpers need command points (cmnd.…) in the MQTT adapter's tree — to query a device, to switch on SetOption59, and as the send point of an alias. An adapter normally writes only into its own area, which is why this is off by default. With it off, the workbench still reads everything and builds aliases on points that already exist; it just creates and changes nothing in the MQTT adapter.",
|
|
118
|
+
"style": {
|
|
119
|
+
"marginBottom": 8,
|
|
120
|
+
"fontSize": 12,
|
|
121
|
+
"opacity": 0.7
|
|
122
|
+
},
|
|
123
|
+
"newLine": true,
|
|
124
|
+
"xs": 12,
|
|
125
|
+
"sm": 12,
|
|
126
|
+
"md": 12,
|
|
127
|
+
"lg": 12,
|
|
128
|
+
"xl": 12
|
|
129
|
+
},
|
|
130
|
+
"mqttObjects": {
|
|
131
|
+
"type": "checkbox",
|
|
132
|
+
"label": "Allow creating and changing data points in the MQTT adapter",
|
|
133
|
+
"help": "Creates cmnd points under mqtt-client.0.… and enables sending on existing ones. Takes effect immediately, without reloading the workbench.",
|
|
134
|
+
"default": false,
|
|
135
|
+
"newLine": true,
|
|
136
|
+
"xs": 12,
|
|
137
|
+
"sm": 12,
|
|
138
|
+
"md": 12,
|
|
139
|
+
"lg": 12,
|
|
140
|
+
"xl": 12
|
|
103
141
|
}
|
|
104
142
|
}
|
|
105
143
|
}
|
package/admin/tab.html
CHANGED
|
@@ -134,6 +134,24 @@
|
|
|
134
134
|
</div>
|
|
135
135
|
</dialog>
|
|
136
136
|
|
|
137
|
+
<dialog id="dlg-mqfrei" style="max-width:600px;">
|
|
138
|
+
<h3 id="mqfrei-titel">Creating MQTT data points is switched off</h3>
|
|
139
|
+
<div class="dbody" id="mqfrei-body"></div>
|
|
140
|
+
<div class="dfoot">
|
|
141
|
+
<button class="btn" data-close>Close</button>
|
|
142
|
+
<button class="btn primary" id="btn-mqfrei-go">Open settings</button>
|
|
143
|
+
</div>
|
|
144
|
+
</dialog>
|
|
145
|
+
|
|
146
|
+
<dialog id="dlg-migr" style="max-width:640px;">
|
|
147
|
+
<h3 id="migr-titel">Older names must be converted</h3>
|
|
148
|
+
<div class="dbody" id="migr-body"></div>
|
|
149
|
+
<div class="dfoot">
|
|
150
|
+
<button class="btn" id="migr-later">Not now</button>
|
|
151
|
+
<button class="btn primary" id="migr-go">Convert</button>
|
|
152
|
+
</div>
|
|
153
|
+
</dialog>
|
|
154
|
+
|
|
137
155
|
<dialog id="dlg-info" style="max-width:600px;">
|
|
138
156
|
<h3 id="info-titel">Not part of the pattern</h3>
|
|
139
157
|
<div class="dbody" id="info-body"></div>
|
|
@@ -1,137 +1,137 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "hm-dimmer",
|
|
3
3
|
"version": 2,
|
|
4
|
-
"
|
|
4
|
+
"priority": 40,
|
|
5
5
|
"name": {
|
|
6
6
|
"de": "Homematic Dimmer",
|
|
7
7
|
"en": "Homematic dimmer"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"deviceType": "dimmer",
|
|
10
|
+
"enumFunction": "light",
|
|
11
|
+
"note": {
|
|
12
12
|
"de": "HM-LC-Dim1TPBU-FM und Verwandte. Das Gerät zeigt drei gleich aussehende Kanäle: 1 ist der echte Ausgang, 2 und 3 sind virtuelle Kanäle für Verknüpfungen und Effekte. Die Vorlage nimmt fest Kanal 1 — deshalb steht hier kein %N%.",
|
|
13
13
|
"en": "HM-LC-Dim1TPBU-FM and relatives. Channel 1 is the real output; 2 and 3 are virtual channels for links and effects, so this template pins channel 1."
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"detection": {
|
|
16
|
+
"required": [
|
|
17
17
|
"1.LEVEL",
|
|
18
18
|
"1.LEVEL_REAL"
|
|
19
19
|
],
|
|
20
|
-
"
|
|
20
|
+
"note": {
|
|
21
21
|
"de": "1.LEVEL_REAL ist der Unterschied zum Rollladenaktor, der ebenfalls ein 1.LEVEL hat, aber keine Ruecklesung - und zur Zentrale HM-RCV-50, die fuenfzig blanke LEVEL-Kanaele fuehrt.",
|
|
22
22
|
"en": "1.LEVEL_REAL is what sets this apart from the roller-shutter actuator, which also has a 1.LEVEL but no position feedback — and from the HM-RCV-50 central unit, which carries fifty bare LEVEL channels."
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"points": [
|
|
26
26
|
{
|
|
27
27
|
"name": "SET",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
28
|
+
"role": "level.dimmer",
|
|
29
|
+
"type": "number",
|
|
30
|
+
"unit": "%",
|
|
31
|
+
"read": "1.LEVEL",
|
|
32
|
+
"write": "1.LEVEL",
|
|
33
|
+
"note": {
|
|
34
34
|
"de": "Die Quelle steht schon auf 0 bis 100, also keine Umrechnung noetig.",
|
|
35
35
|
"en": "The source is already on a 0 to 100 scale, so no conversion is needed."
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "ACTUAL",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
40
|
+
"role": "value.dimmer",
|
|
41
|
+
"type": "number",
|
|
42
|
+
"unit": "%",
|
|
43
|
+
"read": "1.LEVEL_REAL",
|
|
44
44
|
"optional": true,
|
|
45
|
-
"
|
|
45
|
+
"note": {
|
|
46
46
|
"de": "Der tatsaechlich erreichte Wert. Waehrend einer Rampe laeuft er dem Sollwert hinterher.",
|
|
47
47
|
"en": "The value actually reached. During a ramp it lags behind the setpoint."
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "WORKING",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
52
|
+
"role": "indicator.working",
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"read": "1.WORKING",
|
|
55
55
|
"optional": true,
|
|
56
|
-
"
|
|
56
|
+
"note": {
|
|
57
57
|
"de": "true, solange die Rampe laeuft.",
|
|
58
58
|
"en": "true while the ramp is running."
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "DIRECTION",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
63
|
+
"role": "indicator.direction",
|
|
64
|
+
"type": "number",
|
|
65
|
+
"read": "1.DIRECTION",
|
|
66
66
|
"optional": true,
|
|
67
|
-
"
|
|
68
|
-
"
|
|
67
|
+
"offByDefault": true,
|
|
68
|
+
"note": {
|
|
69
69
|
"de": "0 steht, 1 heller, 2 dunkler, 3 unbekannt.",
|
|
70
70
|
"en": "0 is idle, 1 brighter, 2 darker, 3 unknown."
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"name": "RAMP_TIME",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
75
|
+
"role": "level.timer",
|
|
76
|
+
"type": "number",
|
|
77
|
+
"unit": "s",
|
|
78
|
+
"read": "1.RAMP_TIME",
|
|
79
|
+
"write": "1.RAMP_TIME",
|
|
80
80
|
"optional": true,
|
|
81
|
-
"
|
|
82
|
-
"
|
|
81
|
+
"offByDefault": true,
|
|
82
|
+
"note": {
|
|
83
83
|
"de": "Wie lange der naechste Uebergang dauern soll. Vor dem Setzen von LEVEL schreiben.",
|
|
84
84
|
"en": "How long the next transition should take. Write this before setting LEVEL."
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"name": "ON_TIME",
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
89
|
+
"role": "level.timer.off",
|
|
90
|
+
"type": "number",
|
|
91
|
+
"unit": "s",
|
|
92
|
+
"read": "1.ON_TIME",
|
|
93
|
+
"write": "1.ON_TIME",
|
|
94
94
|
"optional": true,
|
|
95
|
-
"
|
|
95
|
+
"offByDefault": true
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"name": "INHIBIT",
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
99
|
+
"role": "switch",
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"read": "1.INHIBIT",
|
|
102
|
+
"write": "1.INHIBIT",
|
|
103
103
|
"optional": true,
|
|
104
|
-
"
|
|
105
|
-
"
|
|
104
|
+
"offByDefault": true,
|
|
105
|
+
"note": {
|
|
106
106
|
"de": "Sperrt den Aktor. Solange true, nimmt er keine Befehle an - auch nicht vom Taster.",
|
|
107
107
|
"en": "Locks the actuator. While true it accepts no commands — not even from the wall switch."
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"name": "UNREACH",
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
112
|
+
"role": "indicator.maintenance.unreach",
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"read": "0.UNREACH",
|
|
115
115
|
"optional": true
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"name": "RSSI",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
119
|
+
"role": "value.rssi",
|
|
120
|
+
"type": "number",
|
|
121
|
+
"unit": "dBm",
|
|
122
|
+
"read": "0.RSSI_DEVICE",
|
|
123
123
|
"optional": true,
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
124
|
+
"offByDefault": true,
|
|
125
|
+
"readFallback": {
|
|
126
|
+
"point": "0.RSSI_PEER"
|
|
127
127
|
},
|
|
128
|
-
"
|
|
128
|
+
"note": {
|
|
129
129
|
"de": "RSSI_DEVICE steht zuerst: es ist der Pegel, den die Zentrale vom Geraet empfaengt. RSSI_PEER ist bei Batteriegeraeten oft unbelegt und traegt dann Grenzwerte wie -2147483648.",
|
|
130
130
|
"en": "RSSI_DEVICE comes first: it is the level the central unit receives from the device. RSSI_PEER is often empty on battery devices and then carries sentinel values such as -2147483648."
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
],
|
|
134
|
-
"
|
|
134
|
+
"extraPoints": {
|
|
135
135
|
"*.ACTIVE_PROFILE": "level.mode",
|
|
136
136
|
"*.ACTUAL_TEMPERATURE": "value.temperature",
|
|
137
137
|
"*.ACTUAL_TEMPERATURE_STATUS": "value",
|
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "hm-fensterkontakt-hm",
|
|
3
3
|
"version": 2,
|
|
4
|
-
"
|
|
4
|
+
"priority": 40,
|
|
5
5
|
"name": {
|
|
6
6
|
"de": "Homematic Fensterkontakt (ältere Reihe)",
|
|
7
7
|
"en": "Homematic window contact (classic)"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"deviceType": "window",
|
|
10
|
+
"enumFunction": "window",
|
|
11
|
+
"note": {
|
|
12
12
|
"de": "HM-Sec-SCo und Verwandte aus der Reihe vor HmIP. Anders als der HmIP-Kontakt meldet dieser schon einen Wahrheitswert — es braucht keine Umrechnung.",
|
|
13
13
|
"en": "HM-Sec-SCo and relatives from the generation before HmIP. Unlike the HmIP contact this one already reports a boolean, so no conversion is needed."
|
|
14
14
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"detection": {
|
|
16
|
+
"required": [
|
|
17
17
|
"1.STATE",
|
|
18
18
|
"1.ERROR"
|
|
19
19
|
],
|
|
20
|
-
"
|
|
20
|
+
"forbidden": [
|
|
21
21
|
"1.WORKING"
|
|
22
22
|
],
|
|
23
|
-
"
|
|
23
|
+
"note": {
|
|
24
24
|
"de": "1.ERROR gibt es beim HmIP-Kontakt nicht - daran trennen sich die beiden Fassungen. 1.WORKING bleibt verboten, damit kein Schaltaktor hier hereinrutscht.",
|
|
25
25
|
"en": "1.ERROR does not exist on the HmIP contact — that is what separates the two variants. 1.WORKING stays forbidden so no switch actuator slips in here."
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"
|
|
28
|
+
"points": [
|
|
29
29
|
{
|
|
30
30
|
"name": "ACTUAL",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
31
|
+
"role": "sensor.window",
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"read": "1.STATE"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "ERROR",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
37
|
+
"role": "indicator.error",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"read": "1.ERROR",
|
|
40
40
|
"optional": true,
|
|
41
|
-
"
|
|
42
|
-
"
|
|
41
|
+
"offByDefault": true,
|
|
42
|
+
"note": {
|
|
43
43
|
"de": "0 heisst in Ordnung, 7 Sabotage. Das window-Muster hat keinen Platz dafuer - angehakt landet der Punkt im info-Geraet.",
|
|
44
44
|
"en": "0 means OK, 7 sabotage. The window pattern has no slot for it — ticked, the point lands in the info device."
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "LOWBAT",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
49
|
+
"role": "indicator.lowbat",
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"read": "0.LOWBAT",
|
|
52
|
+
"readFallback": {
|
|
53
|
+
"point": "1.LOWBAT"
|
|
54
54
|
},
|
|
55
55
|
"optional": true,
|
|
56
|
-
"
|
|
56
|
+
"note": {
|
|
57
57
|
"de": "Dieses Geraet fuehrt LOWBAT zweimal, an Kanal 0 und an Kanal 1. Kanal 0 ist der Wartungskanal und die richtige Adresse.",
|
|
58
58
|
"en": "This device carries LOWBAT twice, on channel 0 and on channel 1. Channel 0 is the maintenance channel and the right address."
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "UNREACH",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
63
|
+
"role": "indicator.maintenance.unreach",
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"read": "0.UNREACH",
|
|
66
66
|
"optional": true
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "STICKY_UNREACH",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
70
|
+
"role": "indicator.maintenance.unreach",
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"read": "0.STICKY_UNREACH",
|
|
73
73
|
"optional": true,
|
|
74
|
-
"
|
|
75
|
-
"
|
|
74
|
+
"offByDefault": true,
|
|
75
|
+
"note": {
|
|
76
76
|
"de": "Bleibt stehen, bis jemand sie zuruecksetzt - zeigt also auch einen Ausfall an, der schon wieder vorbei ist.",
|
|
77
77
|
"en": "Stays set until someone clears it — so it also shows a failure that has already passed."
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "RSSI",
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
82
|
+
"role": "value.rssi",
|
|
83
|
+
"type": "number",
|
|
84
|
+
"unit": "dBm",
|
|
85
|
+
"read": "0.RSSI_DEVICE",
|
|
86
|
+
"readFallback": {
|
|
87
|
+
"point": "0.RSSI_PEER"
|
|
88
88
|
},
|
|
89
89
|
"optional": true,
|
|
90
|
-
"
|
|
91
|
-
"
|
|
90
|
+
"offByDefault": true,
|
|
91
|
+
"note": {
|
|
92
92
|
"de": "RSSI_DEVICE steht zuerst: es ist der Pegel, den die Zentrale vom Geraet empfaengt. RSSI_PEER ist bei Batteriegeraeten oft unbelegt und traegt dann Grenzwerte wie -2147483648.",
|
|
93
93
|
"en": "RSSI_DEVICE comes first: it is the level the central unit receives from the device. RSSI_PEER is often empty on battery devices and then carries sentinel values such as -2147483648."
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
|
-
"
|
|
97
|
+
"extraPoints": {
|
|
98
98
|
"*.ACTIVE_PROFILE": "level.mode",
|
|
99
99
|
"*.ACTUAL_TEMPERATURE": "value.temperature",
|
|
100
100
|
"*.ACTUAL_TEMPERATURE_STATUS": "value",
|