- ioBroker Community Home
- Deutsch
- Tester
- Test Adapter lovelace v1.2.x
NEWS
Test Adapter lovelace v1.2.x
-
@gmon said in Test Adapter lovelace v1.2.x:
Wenn ich mit Lovelace von Eltako FSR14-Schaltaktoren per Schalter schalten will, dann krieg ich das nicht zugeordnet, denn der Aktor hat 3 Zustaende, 1. ON, 2. OFF 3. Teach-in
Das ist ein klassischer Fall für einen Alias. Das hätte man dir im anderen Thread auch sagen können... einen Schalter mit drei Zuständen (und der dritte hört sich so an, als ob man den nur in spezialfällen braucht) ist schon speziell... da sollte man im enocean Adapter auch mal überlegen, ob man das nicht besser löst... aber naja.
Ist das ei
Zu Alias anlegen:
- In iobroker -> Geräte Tab öffnen.
- Da außerhalb von "Native Geräte" eine Ordnerstruktur überlegen (wirst du brauchen, besser jetzt als später
, z.B. Ordner für Gewerke, i.e. Licht, Schalter, ...). - den passenden Ordner anwählen, oben links auf das +
- Als "Gerätetyp" "Taste" auswählen (falls nur geschaltet werden kann, i.e. der status nirgendwo sichtbar ist... sonst vielleicht "Licht" oder "Steckdose" nehmen). Den Rest so setzen, wie du es brauchst (Name, Raum & Funktion)
- Dann bei "set" die ID einfügen (bei dem Stift kommt der ID selektor)
- Dann auf das Epsilon drücken, dann kannst du eine Funktion für Schreiben definieren, die wäre bei dir:
val ? 1 : 2(i.e. schreibe für true 0 = On sonst 1 = off -> guck mal ob die Werte so stimmen. Die Zahlen zeigt admin in Klammern hinter den Werten an. Strings sind eigentlich nicht erlaubt, aber wenn es strings sind, dann die für 1/2 einsetzen, aber auf Anführungszeichen achten)
Danach sollte dann schon ein entity
switch.Gerätenamein lovelace auftauchen, den du steuern kannst (bzw.light.Gerätenamenfalls du Licht genommen hast).@garfonso sagte in Test Adapter lovelace v1.2.x:
Dann auf das Epsilon drücken, dann kannst du eine Funktion für Schreiben definieren, die wäre bei dir: val ? 1 : 2 (i.e. schreibe für true 0 = On sonst 1 = off -> guck mal ob die Werte so stimmen. Die Zahlen zeigt admin in Klammern hinter den Werten an. Strings sind eigentlich nicht erlaubt, aber wenn es strings sind, dann die für 1/2 einsetzen, aber auf Anführungszeichen achten)
Wenn ich als Werte fuer Rollaeden 0, 1 und 2 habe, wie muss dann die val-Zeile aussehen?
-
@garfonso sagte in Test Adapter lovelace v1.2.x:
Dann auf das Epsilon drücken, dann kannst du eine Funktion für Schreiben definieren, die wäre bei dir: val ? 1 : 2 (i.e. schreibe für true 0 = On sonst 1 = off -> guck mal ob die Werte so stimmen. Die Zahlen zeigt admin in Klammern hinter den Werten an. Strings sind eigentlich nicht erlaubt, aber wenn es strings sind, dann die für 1/2 einsetzen, aber auf Anführungszeichen achten)
Wenn ich als Werte fuer Rollaeden 0, 1 und 2 habe, wie muss dann die val-Zeile aussehen?
was machen denn da 0 / 1 und 2? Das ist nicht % offen / zu, sondern rauf / runter / stop richtig?

Vermutlich wirst du da das Gerät "Jalousien über Knöpfe gesteurt" nehmen müssen (ähm.. der bei mir gerade völlig kaputt ist? Urgs...
). Der hat 3 states open / close und stop und dann jeweils die gleiche ID eintragen und als val dann jeweils einfach 0 / 1 oder 2.//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt. Workaround: erstmal anlegen, dann in der Objektansicht die Rollen reparieren in
button.open.blindfüropenusw. (also immer rumdrehen, dass "blind" hinten steht) und dann kann man den auch in der Geräte-Ansicht konfigurieren.Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation
Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung
-
was machen denn da 0 / 1 und 2? Das ist nicht % offen / zu, sondern rauf / runter / stop richtig?

Vermutlich wirst du da das Gerät "Jalousien über Knöpfe gesteurt" nehmen müssen (ähm.. der bei mir gerade völlig kaputt ist? Urgs...
). Der hat 3 states open / close und stop und dann jeweils die gleiche ID eintragen und als val dann jeweils einfach 0 / 1 oder 2.//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt. Workaround: erstmal anlegen, dann in der Objektansicht die Rollen reparieren in
button.open.blindfüropenusw. (also immer rumdrehen, dass "blind" hinten steht) und dann kann man den auch in der Geräte-Ansicht konfigurieren.@garfonso Alter!

Ich versuch's mal, danke.@garfonso sagte in Test Adapter lovelace v1.2.x:
//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt.
Deshalb hab ich das wohl auch nicht gerissen bekommen, mache seit gestern damit rum.
-
was machen denn da 0 / 1 und 2? Das ist nicht % offen / zu, sondern rauf / runter / stop richtig?

Vermutlich wirst du da das Gerät "Jalousien über Knöpfe gesteurt" nehmen müssen (ähm.. der bei mir gerade völlig kaputt ist? Urgs...
). Der hat 3 states open / close und stop und dann jeweils die gleiche ID eintragen und als val dann jeweils einfach 0 / 1 oder 2.//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt. Workaround: erstmal anlegen, dann in der Objektansicht die Rollen reparieren in
button.open.blindfüropenusw. (also immer rumdrehen, dass "blind" hinten steht) und dann kann man den auch in der Geräte-Ansicht konfigurieren.@garfonso sagte in Test Adapter lovelace v1.2.x:
//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt. Workaround: erstmal anlegen, dann in der Objektansicht die Rollen reparieren in button.open.blind für open usw. (also immer rumdrehen, dass "blind" hinten steht) und dann kann man den auch in der Geräte-Ansicht konfigurieren.
Klappt nicht, ich vermag auch nicht genau zu sagen, wieso - alles Neuland fuer mich, ich kaempf mich da mal durch. Problem ist, dass ich nicht weiss, wann ich an meine Wissengrenze komme bzw. ob da ein Fehler in Lovelace schlummert, dem ich hilflos ausgeliefert bin.
Bist Du einer der Entwickler von Lovelace? Wo liegt hier der Fehler? Ist der bekannt bzw. wird er gefixt?Hab noch ein Problem, im EnOcean-Objekt ist die teach-in-Funktion verschwunden, hab ich das durch die Aliase versemmelt? Fragen ueber Fragen

-
@garfonso sagte in Test Adapter lovelace v1.2.x:
//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt. Workaround: erstmal anlegen, dann in der Objektansicht die Rollen reparieren in button.open.blind für open usw. (also immer rumdrehen, dass "blind" hinten steht) und dann kann man den auch in der Geräte-Ansicht konfigurieren.
Klappt nicht, ich vermag auch nicht genau zu sagen, wieso - alles Neuland fuer mich, ich kaempf mich da mal durch. Problem ist, dass ich nicht weiss, wann ich an meine Wissengrenze komme bzw. ob da ein Fehler in Lovelace schlummert, dem ich hilflos ausgeliefert bin.
Bist Du einer der Entwickler von Lovelace? Wo liegt hier der Fehler? Ist der bekannt bzw. wird er gefixt?Hab noch ein Problem, im EnOcean-Objekt ist die teach-in-Funktion verschwunden, hab ich das durch die Aliase versemmelt? Fragen ueber Fragen

-
@garfonso sagte in Test Adapter lovelace v1.2.x:
//Edit: ok, habe das Problem gefunden... Jalousien über Knöpfe gesteuert ist aktuell etwas kaputt. Workaround: erstmal anlegen, dann in der Objektansicht die Rollen reparieren in button.open.blind für open usw. (also immer rumdrehen, dass "blind" hinten steht) und dann kann man den auch in der Geräte-Ansicht konfigurieren.
Klappt nicht, ich vermag auch nicht genau zu sagen, wieso - alles Neuland fuer mich, ich kaempf mich da mal durch. Problem ist, dass ich nicht weiss, wann ich an meine Wissengrenze komme bzw. ob da ein Fehler in Lovelace schlummert, dem ich hilflos ausgeliefert bin.
Bist Du einer der Entwickler von Lovelace? Wo liegt hier der Fehler? Ist der bekannt bzw. wird er gefixt?Hab noch ein Problem, im EnOcean-Objekt ist die teach-in-Funktion verschwunden, hab ich das durch die Aliase versemmelt? Fragen ueber Fragen

@gmon said in Test Adapter lovelace v1.2.x:
Klappt nicht
Was klappt nicht?
@gmon said in Test Adapter lovelace v1.2.x:
Bist Du einer der Entwickler von Lovelace? Wo liegt hier der Fehler? Ist der bekannt bzw. wird er gefixt?
Ich bin aktuell der hauptsächliche Entwickler vom lovelace Adapter (der das UI von HomeAssistant nutzt, das machen andere
). Der Fehler liegt hier im type-detector, das ist eine Library, die mehrere Adapter nutzen, unter anderem Lovelace und Geräte (devices).
Ich habe einen Pullrequest gemacht, mal gucken, wann der gefixt wird.Was ist an dem Workaround nicht verständlich?

@gmon said in Test Adapter lovelace v1.2.x:
Speichern ist ja auch grau hinterlegt, ich muss im Fenster vorne dran was aendern, im "Summenfeld" hab ich schon was geaendert, erst dann kann ich speichern.
Bug oder feature?https://github.com/ioBroker/ioBroker.devices/issues/120 <- scheint ein Bug zu sein, wenn ich dich richtig verstanden habe.
Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation
Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung
-
@david-g
Ja, dann geht es nicht ohne vorherigen upload... cards hätte ich auch vorgeschlagen.
Du kannst alternativ nochmal gucken, wo vis oder so ihre Dateien liegen haben und das mal probieren mit /adaper/vis davor. Aber ich vermute, dass es dann auch nicht geht.
Bzw. auch mal einen neustart des Adapters versuchen, ob er das braucht um die Dateien zu finden... aber es kann gut sein, dass es nicht geht.
@david-g said in Test Adapter lovelace v1.2.x:
Markdown Karte heraus auch Aktionen ausführen kann
Vermutlich kann man das mit fire-dom-event, was das brower_mod macht, schon irgendwie hinkriegen.. hm.
Zum ha-alert: äh... ja.. äh.. schulterzuck also das gibt es wohl irgendwie, aber meine Arbeitsvermutung ist, dass unser Frontend das nicht braucht und daher die ha-alert-Komponente beim Buildprozess herausgeworfen wird (z.B. ha-icon geht
). Da hab ich gerade keine Idee, wie ich das ändern kann. kopfkratz
//Edit: Ok.. ne, das ha-alert gibt es. Aber der markdown-Renderer lässt nur ha-icon und ha-svg-icon zu, zumindest in unserer Version. -> da muss ich wohl nochmal das UI aktualisieren (steht eh auf der Liste). Geht also demnächst (tm).
@garfonso sagte in Test Adapter lovelace v1.2.x:
@david-g said in Test Adapter lovelace v1.2.x:
Markdown Karte heraus auch Aktionen ausführen kann
Vermutlich kann man das mit fire-dom-event, was das brower_mod macht, schon irgendwie hinkriegen.. hm.
Hast du eine Idee wie das funktioniert?
Hab das mit dem Fire-Dom mal gelesen, aber nicht wirklich verstanden.... -
@garfonso sagte in Test Adapter lovelace v1.2.x:
@david-g said in Test Adapter lovelace v1.2.x:
Markdown Karte heraus auch Aktionen ausführen kann
Vermutlich kann man das mit fire-dom-event, was das brower_mod macht, schon irgendwie hinkriegen.. hm.
Hast du eine Idee wie das funktioniert?
Hab das mit dem Fire-Dom mal gelesen, aber nicht wirklich verstanden....@david-g
anscheinend geht es nicht, weil das aus der markdown card rausgefilter wird... Beispiele hab ich nicht wirklich gefunden.Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation
Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung
-
Habe ja neulich eine Tabelle zur Adapterübersicht gepostet.
Ist jetzt nochmal stark überarbeitet.
Neuerungen:
- Jetzt bekommen ALLE Adapter automatisch Bilder
- Alphabetische sortierung der Adapter
- Übersichts- oder Detailtabelle (im oberen Bericht des Skripts einstellbar)
- Optionale Anzeige der Instanz- und Adapteranzahl und Updates (im oberen Bericht des Skripts einstellbar)
Bei einigen Sachen habe ich Unterstützung im Forum gefunden, vielen Dank an alle.
Blockly:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</variable> <variable id="]2L1gR1@-95:zaBLPmW5">path</variable> <variable id="!Uup8-K^66M}0:H{sN7x">id</variable> <variable id="-N3?0S]/WI0Ne=*O@5x|">dp_memHeapUsed</variable> <variable id="V18}*Iqc7(L:vJRV.b-5">dp_cpu</variable> <variable id="qMWT(3z*qlEl6SeWknip">liste_instanzen</variable> <variable id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</variable> <variable id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</variable> <variable id="=o;jPH(ci8Q`VwD#SXx2">tabelle</variable> <variable id=",uQ[TnUTK#qN${7ViwL[">durchgang</variable> <variable id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</variable> <variable id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</variable> <variable id="EP;3C8NM6Z/Hi-?L2#2v">i</variable> <variable id="+UFs6;9C-2SnfFZ$t.$?">adapter</variable> <variable id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</variable> <variable id="v5ZsSe|`N[cy1djQ[V|h">updates</variable> <variable id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</variable> <variable id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</variable> <variable id="3uO4DZtfq9#9S=#NOXTP">alive</variable> <variable id="/gom2ZY(1/e51S#JO|Hh">cpu</variable> <variable id="9j@nYu()q(i2SXPci{2g">mem</variable> </variables> <block type="variables_set" id="]NgrO+*[#{#~{Qyhme=n" x="488" y="213"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> <value name="VALUE"> <block type="logic_boolean" id="O{f3Qtwf*bDA7xcS!0)d"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="CF#Tdyn;XH/]7lJuDDp!"> <field name="VAR" id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</field> <value name="VALUE"> <block type="logic_boolean" id="!ejAJ!rCWp_{!%W}6m{V"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> <block type="procedures_defcustomreturn" id="%snCTg}hwe=QB;y},G!," x="488" y="313"> <mutation statements="false"> <arg name="path" varid="]2L1gR1@-95:zaBLPmW5"></arg> </mutation> <field name="NAME">json_lesen</field> <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCdmcycpOwpyZXR1cm4gZnMucmVhZEZpbGVTeW5jKHBhdGgsICd1dGY4Jyk=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="JnVZxT|PFDb|j9i$H8CG" x="488" y="363"> <mutation statements="false"> <arg name="id" varid="!Uup8-K^66M}0:H{sN7x"></arg> </mutation> <field name="NAME">alive_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="]H5.J+54b(#Z)Rl3TvWD" x="488" y="413"> <mutation statements="false"> <arg name="dp_memHeapUsed" varid="-N3?0S]/WI0Ne=*O@5x|"></arg> </mutation> <field name="NAME">mem_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfbWVtSGVhcFVzZWQpKSByZXR1cm4gZ2V0U3RhdGUoZHBfbWVtSGVhcFVzZWQpLnZhbDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="r,x=q+6,XktcbdV?oi~H" x="488" y="463"> <mutation statements="false"> <arg name="dp_cpu" varid="V18}*Iqc7(L:vJRV.b-5"></arg> </mutation> <field name="NAME">cpu_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfY3B1KSkgcmV0dXJuIGdldFN0YXRlKGRwX2NwdSkudmFsOw==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="variables_set" id="QGo/tuHM7aHq$o!|J{*l" x="488" y="513"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="text" id="1k[oQ~@vngXgE~KTWAjO"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="?OA)*SIW=N$]4Zc?x+oj"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="text" id="0K]-iIybH$ZjMFnn#]Kf"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="`i`ME.!W?D6fI/y4G^,u"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="selector" id="qINF[fqu.d!L5a,j$28_"> <field name="TEXT">system.adapter.*.alive</field> </block> </value> <next> <block type="variables_set" id="8oQKWbQ5(^:V~2iiZ7`="> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="selector" id="J~0;L2x(4WDHBAVdTXSs"> <field name="TEXT">system.adapter.*.0.alive</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="HBjdupLz8~9%bcEazz#z" x="-213" y="587"> <field name="COMMENT"></field> </block> <block type="on_ext" id="o5=5CS@u|B`0vZtT|6#A" x="488" y="663"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="STZ]1il(B%25Nq$d=,5h"> <field name="oid">default</field> </shadow> <block type="variables_get" id="cq.!hDYT^cQk]3_TcS7z"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="xW9,xKs8?O|7?.xB^Fna"> <mutation name="tabelle_generieren"></mutation> </block> </statement> </block> <block type="on_ext" id="`~1fl8}*1Bx7]ShCT69d" x="488" y="813"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="3|tdYK(L9dGQ[^-b)2Oi"> <field name="oid">default</field> </shadow> <block type="field_oid" id="S%/Y(q]gVaApat`8L`XD"> <field name="oid">admin.0.info.updatesNumber</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="p(x`}0,SYQSw/?CUZ~*Y"> <mutation name="tabelle_generieren"></mutation> </block> </statement> </block> <block type="schedule" id="Vx%S31O%VEtg,/zw/`tA" x="488" y="963"> <field name="SCHEDULE">*/5 * * * *</field> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="Fc?0f.!U](3ZDMX59q=O"> <mutation name="tabelle_generieren"></mutation> <next> <block type="control" id="%S@^q_%vk4zIaKG:Q*2*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="V=^^D2Au/1F1I|.1DT+b"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="[ma(92iS/lRlS3?RVmHE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="13:bE@.,|xTv.vYB;o^B"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> <block type="procedures_defnoreturn" id="m^s(x3-9|A7{e{`!sBve" x="488" y="1163"> <field name="NAME">tabelle_generieren</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="@2bj_2[=B|{9E~AMJ|Kd"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text" id="Vzr0N:eCiY1YCrG#d7?a"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="$pUijj;JAzB,6nB$|sl8"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="VALUE"> <block type="math_number" id="F?X_Sq:A!2pw=fyG19fo"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="]]QZb_)c(,Em=JoIz3Og"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="lists_sort" id="4Z-n$%)QNi],dp-G6b|9"> <field name="TYPE">TEXT</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="O{De.tPe3{~yIU6u32^*"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="oRHsW|ouJFK7~P9w3YYc"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> <value name="VALUE"> <block type="lists_length" id="Yft^+0wK^Metalc[@wa@"> <value name="VALUE"> <block type="variables_get" id="-5Tc.dy%/0~y%Zx[S.YB"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Kq.L*}nxqbm:ojZThlH+"> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> <value name="VALUE"> <block type="lists_length" id="2l9imw=)UkIE=K~?]|r_"> <value name="VALUE"> <block type="variables_get" id="Tbj.Jj$?acWhL/x|=IV]"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> </block> </value> </block> </value> <next> <block type="controls_forEach" id="gECBKCr~FK=]B+4QO2m%"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> <value name="LIST"> <block type="variables_get" id="S*}x{G|n%JU7@-()f;Mw"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="DO"> <block type="math_change" id="i(VJv3$9AH/d)_$GV=A$"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="DELTA"> <shadow type="math_number" id="JEVhq=8BD3t[j%A7~_MA"> <field name="NUM">1</field> </shadow> </value> <next> <block type="variables_set" id="H97Ac7mTcBV;nutC;]n;"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> <value name="VALUE"> <block type="text_getSubstring" id="!r|K]3:dyK@^*;!6N`WI"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="`Ty9f|av,5dP_R_pr+Lc"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="PAo:{]2{z3hJx6W)DkPz"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="*27KZZlMyvZ`u}nrf-Pi"> <field name="NUM">9</field> </block> </value> </block> </value> <next> <block type="variables_set" id="9Q7.RmMK=^S^=9-U2Sdf"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> <value name="VALUE"> <block type="text_getSubstring" id="OF8U=dqlV-Jw]{iQ$97W"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="N3`Z(*lZ*qnpv49dFwJL"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="$/YwJl$3fqwT(H:cXre7"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="+{y=]N2F|GIAR@a3R#,t"> <field name="NUM">7</field> </block> </value> </block> </value> <next> <block type="variables_set" id="M??],k5B.?auUn/:aT.k"> <field name="VAR" id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</field> <value name="VALUE"> <block type="get_attr" id="t,jwV@G(2j9ry)Dy~K{3"> <value name="PATH"> <shadow type="text" id="nOV=@/0yiWr^!Rat3$(P"> <field name="TEXT">common.icon</field> </shadow> </value> <value name="OBJECT"> <block type="procedures_callcustomreturn" id=",k|~:}itQRo0nrb}Mp-V"> <mutation name="json_lesen"> <arg name="path"></arg> </mutation> <value name="ARG0"> <block type="text_join" id="nyvd_?.,%%c6?^=]^O.~"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="{GqI|?gu*Q;|/4%x|_H~"> <field name="TEXT">/opt/iobroker/node_modules/iobroker.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="$P.AgN;@-L#e3-1|0CsZ"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="tF)na~@*;W^+@%[PD6|]"> <field name="TEXT">/io-package.json</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="c=FHF`]#z6mg7rv$5tuL"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> <value name="VALUE"> <block type="text_join" id="gWnwLjgAv%9atEysRn7p"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="gQp|F#JB:([hA{R`z}I/"> <field name="TEXT"><img src="/adapter/</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="F1+|In[Zk5^,X.4=b/-W"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="2!V+%^uc@M/:{2H_wro("> <field name="TEXT">/</field> </block> </value> <value name="ADD3"> <block type="variables_get" id=".i?s.~Q]pnB9kA`KZ^ey"> <field name="VAR" id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</field> </block> </value> <value name="ADD4"> <block type="text" id="usU=LhY[V*Yj]M3u3Kp%"> <field name="TEXT">" width="35" align="middle"></field> </block> </value> </block> </value> <next> <block type="controls_if" id="jPbVh[Wm^Lw0GTYXMK3Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="1T36)CXg41w6#53qWkOS" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="y`::U-UbCNTsNqK1fn4;"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="wRVfdd.f[f;:=my;X+7`"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=")vf+HEMp9zW#,r4+n/W6"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="p4cU}TxiNAoy:rF2:1m1"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=";O:G{(!;zDjH`tKeP-j4"> <field name="TEXT"><img src="/cards/spacer_red.png" width="300" height="3"/></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="{p;4m?[.C-0@xeb(VJ;b"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="%eT(`:(BR$6[2?~JRgov" inline="true"> <mutation name="cpu_vorhanden"> <arg name="dp_cpu"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="*/R,h3/)B(iCEt$%VP`)"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="f^ds)#o7{`CH,5dmbse@"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text_join" id="Q1sL#wBjC(DTfP[}PZG5"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="?|Q3WLmov28369UjP^*z"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="Jo$1-mLKPR#)v)*:b*DX"> <field name="TEXT"></field> </shadow> <block type="text_join" id="J4F2]Q3Jy5A@t37)RQJ9"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="kSWx4D/CqYS6yU9?F4wk"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5petrwy_d*F5~5UbW4Fh"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id=",%ENiciPL@^Ul+t(}(@."> <field name="TEXT">.cpu</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="N!e(!Eo#B6XfU2nyANWY"> <field name="TEXT"> %</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="_Krx:{q]ec|^d!ejK=P$"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text" id="Fs?xUhS=?$aU-N:e2!u6"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="S=?7JEy(3D+_*:N0@SIV"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="+cJ7_OISwW.d)|!|xOxD" inline="true"> <mutation name="mem_vorhanden"> <arg name="dp_memHeapUsed"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="H,1kz!_7F5U~psa3=:_O"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":Hc7O`g,:5*bjj7;XyL|"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> <value name="VALUE"> <block type="text_join" id="+e:MjTH?Ah+gxHeZJiGr"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="@r(ZR%B^l~xAU1sNHXu5"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text_join" id="T8Q~10nNJ-g{j{IUqg]%"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="Z$.3dr?61=)r,Pe3!raK"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="(Q9D+{g:o0-!cC;b!Wa="> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id="tN8XT6troR}MVdK(MJ,="> <field name="TEXT">.memHeapUsed</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="Iu}gqq|X2Zp[[10Yn9a;"> <field name="TEXT"> MB</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="+YM!sUOSrDubQluiS%GF"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> <value name="VALUE"> <block type="text" id="RMzf]AZKEHvkF^`2P,:/"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="4RULouYB0,1;8H*al1yU"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="PV`Iu!%fmiZe};hN{u#P"> <field name="VAR" id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="Gzg;l=IePfZG5G(5}B5,"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="(-C%qe+ul4ZGX?Zb#E9j"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="Xz$c-=gBs55gZ1$)_JNt"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="yh.g?e{*:DR4qG!o0@f$"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="Gt`(%4_t]+2CW_%]6[;1"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="sWB%slqQ$BOI_qAYC_/}"> <field name="TEXT"><br><b></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="D:ERe[5p.7ZWtEL@(;w,"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="-TrL2gV6MlHGC*;[qQ]T"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="text_join" id="Sm*.wOn#Jvy]14iugcD7"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="*cc?a:GDHRbD(O.aa7Un"> <field name="TEXT"><table width=90%><tr><td width="40%"><b><font size="1px"><I>CPU:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD1"> <block type="variables_get" id="eD/W`@FHFZ.~^pM2uEz7"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> </block> </value> <value name="ADD2"> <block type="text" id="xN3Qj{%!,~Hc9[I29.kq"> <field name="TEXT"></td></tr><tr><td><b><font size="1px"><I>MEM:</td><td align=right><font size="1px"><b><I></field> </block> </value> <value name="ADD3"> <block type="variables_get" id="H7cj$T9:G0oLMQ1Grllq"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> </block> </value> <value name="ADD4"> <block type="text" id="[NML3L-clU.4}V#mPcvn"> <field name="TEXT"> </td></tr><tr><td><b><font size="1px"><I>Status:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD5"> <block type="variables_get" id="p$biX|4~N{K3Mj*aYYTL"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD6"> <block type="text" id=")(^ILat@KhzO*r3tEf)1"> <field name="TEXT"></td></tr></table></field> </block> </value> </block> </value> <value name="ADD7"> <block type="text" id="-HjRA4mc[GRHdDJAj`pB"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e-e4abIM,VqAs^zKLh08"> <value name="IF"> <block type="math_number_property" id="B6`=H,ZC$cG*]{)|a_Dy"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id="VfUu3@AF3ycBE]}N,^b0"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="hrZ(*FGCC56YlOeGmk]9"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="|VGyHB5tJLgkgVv0_.$5"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="R2bTv;GK;_]eKl,@9Fi-"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="@=^LTjhJ|Uj{i{pP3Z_6"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="LwkIHb9$ynp/+s.:d%6o"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="fGwYi22*KT]@+i`z+MqC"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="kkkBx#5ONX01WvDfOv#c"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="wIw/F.T)UQC|I?/7Rv5h"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="Lz1ngwcEI=;!h(;?[Pgo"> <field name="TEXT"><br></field> </block> </value> <value name="ADD4"> <block type="variables_get" id=",hEK`P18:9UgP:Fv$w5A"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="1}@K]L^|NlZ+%6Yy)w]q"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="variables_get" id="[6QgN=c{8{I6l~%C^5h9"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD7"> <block type="text" id=":CqAQ{]69UAF/)T_0R7P"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e7tzdkrwxxV)V}+C(4qv"> <value name="IF"> <block type="math_number_property" id="b^.jT.5^!^2^q~#o!DR|"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id=",r+2:d0Jg*zQ9Jq+gg28"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="f@LQ6G.ISYNt}cc6JH{H"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="}ERMHkuGFK+0U@0s!GH}"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="0I!3q`xjlTYSNNrNLg5p"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="timeouts_wait" id="6M6oko52#}p`qc[M(P3Q"> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <next> <block type="controls_if" id="ky{_GQ;$W991,49_j/@b"> <value name="IF0"> <block type="variables_get" id="Qd]OV`Rnek-3^Qik@%Vf"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="#!b[g{|`p#:oo?.AlK.]"> <field name="VAR" id="v5ZsSe|`N[cy1djQ[V|h">updates</field> <value name="VALUE"> <block type="text_join" id="8v*)?r-:r@]PfP{cWh+W"> <mutation items="8"></mutation> <value name="ADD0"> <block type="text" id="}t?oJt]6W;;IvsD`ch,/"> <field name="TEXT">Installierte Adapter: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5(ktsl|T;#KsYfSE7%A["> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> </block> </value> <value name="ADD2"> <block type="text" id="eT+iMLcmr+}8%oKG$X(:"> <field name="TEXT"><br>Verfügbare Adapterupdates: </field> </block> </value> <value name="ADD3"> <block type="get_value" id="3{57:fq.Ig(7w^}evbT~"> <field name="ATTR">val</field> <field name="OID">admin.0.info.updatesNumber</field> </block> </value> <value name="ADD4"> <block type="text" id="gDlJNgma#XjIA#{M.F*."> <field name="TEXT"><br></field> </block> </value> <value name="ADD5"> <block type="text" id="|LMn_so*Nu,sAhJNz?Pd"> <field name="TEXT">Installierte Instanzen: </field> </block> </value> <value name="ADD6"> <block type="variables_get" id="Iu!P7^on@x26J+~;:Ni8"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> </block> </value> </block> </value> </block> </statement> <next> <block type="update" id="Gf?CuRIWj$@Zn7KndF1L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.VIS.Tabellen.Status_Adapter_gruen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="l]@o|@UFR]MKf~.4$q_0"> <mutation items="4"></mutation> <value name="ADD0"> <block type="variables_get" id="}p7_Qa{G/I:LVP,ywzwQ"> <field name="VAR" id="v5ZsSe|`N[cy1djQ[V|h">updates</field> </block> </value> <value name="ADD1"> <block type="text" id="_y/nF*7#3LKK#Ivd}3Km"> <field name="TEXT"><table width="100%"> <tr></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="%H:8sInt33:%c)XH`Z;M"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD3"> <block type="text" id="f-jcG$CydVybV^g0^^kI"> <field name="TEXT"></table></field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>Dieser Bereich lässt sich oben im Skript über eine Variable true/false deaktivieren.

Diese beiden Ansichten lassen sich oben im Skript über eine Variable true/false wechseln.


Zusätzlich müssen noch 2 Bilder für die farbigen Balken in den Custom Cards Ordner geladen werden (Achtung, beide nur 1x1 Pixel groß, genau hinschauen).

Im Skript muss nur ganz unten der Datenpunkt aktualisiert werden, in den die Tabelle geschrieben werden soll
EDIT:
Hab grad ein paar Rechtschreibfehler im Code gesehen. Entschuldigt mich
, ist komplett am Smartphone entstanden
..... -
Ist es irgendwie möglich, in Lovelace werte umzurechnen? z.b. von Minuten in Tage Stunden, Minuten? ohne über einen Alias gehen zu müssen? Lovelace in Has macht das ja über sogenannte Attribute, in denen man dann mittels Blade Engine (so sieht es für mich jedenfalls aus) alles an Ausgabe manipulieren kann.
Wago 750-881 - mit über 200 Ein- und Ausgängen, DMX512 Art-Net für Beleuchtung, 1-Wire für Umweltsensoren Aussen und Innen, ioBroker als Visualisierung
-
Ist es irgendwie möglich, in Lovelace werte umzurechnen? z.b. von Minuten in Tage Stunden, Minuten? ohne über einen Alias gehen zu müssen? Lovelace in Has macht das ja über sogenannte Attribute, in denen man dann mittels Blade Engine (so sieht es für mich jedenfalls aus) alles an Ausgabe manipulieren kann.
Wenn du es in der Markdownr Karte darstellen möchtest/kannst, kann man das über ein Binding machen.
Ich zB Rechne einmal von Stunden in Tage um:

In der oberen Zeile die Stunden, in der unteren die Tage.
Im Beispiel wird auch noch gerundet.https://github.com/ioBroker/ioBroker.vis#bindings-of-objects
https://www.machs-smart.de/iobroker-bindings-farben-berechnungen-abfragen/
-
@All
Fänd es cool, wenn sich noch ein paar Leute überzeugen lassen würden, ihre Visualisierung in dem Link meiner Signatur zu präsentieren.
https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung
Mir ist aufgefallen, dass wenn im Forum nach Vorschlägen für eine Visualisierung fast nie Lovelace erwähnt wird. Beispiele gibt's auch kaum.
Evtl. kann man so den Einstieg für manche User was leichter machen und zeigen was doch alles (einfach) geht.@david-g
Fühle mich da schon etwas angesprochen

Sobald ich Zeit finde - und die ist momentan oder besser gesagt, seit dem es "kein Corona mehr gibt" sehr schmal für bestimmte Dinge...
Freue mich aber wieder etwas mehr Zeit für diese Themen zu haben.
Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2
-
@david-g Danke für den Hinweis auf die Karte. Da ich das markdown innerhalb einer picture-elements Karte brauche, und die markdown nicht unterstützt, bin ich zu custom:hui-markdown-card übergegangen. Funktioniert auch soweit. Leider ist das vom Styling nun allerdings eine Karte in der Karte und ich bekomme mit dem Style Attribute leider Rahmen und Aussenabstände nicht entfernt, da diese auf ein Kindelement angewandt werden. Hat da vielleicht jemand ne Idee? Habe auch bereits ein wenig was probiert...

Wago 750-881 - mit über 200 Ein- und Ausgängen, DMX512 Art-Net für Beleuchtung, 1-Wire für Umweltsensoren Aussen und Innen, ioBroker als Visualisierung
-
@david-g Danke für den Hinweis auf die Karte. Da ich das markdown innerhalb einer picture-elements Karte brauche, und die markdown nicht unterstützt, bin ich zu custom:hui-markdown-card übergegangen. Funktioniert auch soweit. Leider ist das vom Styling nun allerdings eine Karte in der Karte und ich bekomme mit dem Style Attribute leider Rahmen und Aussenabstände nicht entfernt, da diese auf ein Kindelement angewandt werden. Hat da vielleicht jemand ne Idee? Habe auch bereits ein wenig was probiert...

@nightwatcher sagte in Test Adapter lovelace v1.2.x:
custom:hui-markdown-card
Da kann ich dir jetzt auch nicht helfen.
Ggf die anderen Werte auch so darstellen, damit es einheitlich wirkt
Finde die custom:hui-markdown-card nirgens. Hast du mal einen Link?
-
Habe ja neulich eine Tabelle zur Adapterübersicht gepostet.
Ist jetzt nochmal stark überarbeitet.
Neuerungen:
- Jetzt bekommen ALLE Adapter automatisch Bilder
- Alphabetische sortierung der Adapter
- Übersichts- oder Detailtabelle (im oberen Bericht des Skripts einstellbar)
- Optionale Anzeige der Instanz- und Adapteranzahl und Updates (im oberen Bericht des Skripts einstellbar)
Bei einigen Sachen habe ich Unterstützung im Forum gefunden, vielen Dank an alle.
Blockly:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</variable> <variable id="]2L1gR1@-95:zaBLPmW5">path</variable> <variable id="!Uup8-K^66M}0:H{sN7x">id</variable> <variable id="-N3?0S]/WI0Ne=*O@5x|">dp_memHeapUsed</variable> <variable id="V18}*Iqc7(L:vJRV.b-5">dp_cpu</variable> <variable id="qMWT(3z*qlEl6SeWknip">liste_instanzen</variable> <variable id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</variable> <variable id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</variable> <variable id="=o;jPH(ci8Q`VwD#SXx2">tabelle</variable> <variable id=",uQ[TnUTK#qN${7ViwL[">durchgang</variable> <variable id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</variable> <variable id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</variable> <variable id="EP;3C8NM6Z/Hi-?L2#2v">i</variable> <variable id="+UFs6;9C-2SnfFZ$t.$?">adapter</variable> <variable id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</variable> <variable id="v5ZsSe|`N[cy1djQ[V|h">updates</variable> <variable id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</variable> <variable id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</variable> <variable id="3uO4DZtfq9#9S=#NOXTP">alive</variable> <variable id="/gom2ZY(1/e51S#JO|Hh">cpu</variable> <variable id="9j@nYu()q(i2SXPci{2g">mem</variable> </variables> <block type="variables_set" id="]NgrO+*[#{#~{Qyhme=n" x="488" y="213"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> <value name="VALUE"> <block type="logic_boolean" id="O{f3Qtwf*bDA7xcS!0)d"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="CF#Tdyn;XH/]7lJuDDp!"> <field name="VAR" id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</field> <value name="VALUE"> <block type="logic_boolean" id="!ejAJ!rCWp_{!%W}6m{V"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> <block type="procedures_defcustomreturn" id="%snCTg}hwe=QB;y},G!," x="488" y="313"> <mutation statements="false"> <arg name="path" varid="]2L1gR1@-95:zaBLPmW5"></arg> </mutation> <field name="NAME">json_lesen</field> <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCdmcycpOwpyZXR1cm4gZnMucmVhZEZpbGVTeW5jKHBhdGgsICd1dGY4Jyk=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="JnVZxT|PFDb|j9i$H8CG" x="488" y="363"> <mutation statements="false"> <arg name="id" varid="!Uup8-K^66M}0:H{sN7x"></arg> </mutation> <field name="NAME">alive_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="]H5.J+54b(#Z)Rl3TvWD" x="488" y="413"> <mutation statements="false"> <arg name="dp_memHeapUsed" varid="-N3?0S]/WI0Ne=*O@5x|"></arg> </mutation> <field name="NAME">mem_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfbWVtSGVhcFVzZWQpKSByZXR1cm4gZ2V0U3RhdGUoZHBfbWVtSGVhcFVzZWQpLnZhbDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="r,x=q+6,XktcbdV?oi~H" x="488" y="463"> <mutation statements="false"> <arg name="dp_cpu" varid="V18}*Iqc7(L:vJRV.b-5"></arg> </mutation> <field name="NAME">cpu_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfY3B1KSkgcmV0dXJuIGdldFN0YXRlKGRwX2NwdSkudmFsOw==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="variables_set" id="QGo/tuHM7aHq$o!|J{*l" x="488" y="513"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="text" id="1k[oQ~@vngXgE~KTWAjO"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="?OA)*SIW=N$]4Zc?x+oj"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="text" id="0K]-iIybH$ZjMFnn#]Kf"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="`i`ME.!W?D6fI/y4G^,u"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="selector" id="qINF[fqu.d!L5a,j$28_"> <field name="TEXT">system.adapter.*.alive</field> </block> </value> <next> <block type="variables_set" id="8oQKWbQ5(^:V~2iiZ7`="> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="selector" id="J~0;L2x(4WDHBAVdTXSs"> <field name="TEXT">system.adapter.*.0.alive</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="HBjdupLz8~9%bcEazz#z" x="-213" y="587"> <field name="COMMENT"></field> </block> <block type="on_ext" id="o5=5CS@u|B`0vZtT|6#A" x="488" y="663"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="STZ]1il(B%25Nq$d=,5h"> <field name="oid">default</field> </shadow> <block type="variables_get" id="cq.!hDYT^cQk]3_TcS7z"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="xW9,xKs8?O|7?.xB^Fna"> <mutation name="tabelle_generieren"></mutation> </block> </statement> </block> <block type="on_ext" id="`~1fl8}*1Bx7]ShCT69d" x="488" y="813"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="3|tdYK(L9dGQ[^-b)2Oi"> <field name="oid">default</field> </shadow> <block type="field_oid" id="S%/Y(q]gVaApat`8L`XD"> <field name="oid">admin.0.info.updatesNumber</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="p(x`}0,SYQSw/?CUZ~*Y"> <mutation name="tabelle_generieren"></mutation> </block> </statement> </block> <block type="schedule" id="Vx%S31O%VEtg,/zw/`tA" x="488" y="963"> <field name="SCHEDULE">*/5 * * * *</field> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="Fc?0f.!U](3ZDMX59q=O"> <mutation name="tabelle_generieren"></mutation> <next> <block type="control" id="%S@^q_%vk4zIaKG:Q*2*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="V=^^D2Au/1F1I|.1DT+b"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="[ma(92iS/lRlS3?RVmHE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="13:bE@.,|xTv.vYB;o^B"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> <block type="procedures_defnoreturn" id="m^s(x3-9|A7{e{`!sBve" x="488" y="1163"> <field name="NAME">tabelle_generieren</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="@2bj_2[=B|{9E~AMJ|Kd"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text" id="Vzr0N:eCiY1YCrG#d7?a"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="$pUijj;JAzB,6nB$|sl8"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="VALUE"> <block type="math_number" id="F?X_Sq:A!2pw=fyG19fo"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="]]QZb_)c(,Em=JoIz3Og"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="lists_sort" id="4Z-n$%)QNi],dp-G6b|9"> <field name="TYPE">TEXT</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="O{De.tPe3{~yIU6u32^*"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="oRHsW|ouJFK7~P9w3YYc"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> <value name="VALUE"> <block type="lists_length" id="Yft^+0wK^Metalc[@wa@"> <value name="VALUE"> <block type="variables_get" id="-5Tc.dy%/0~y%Zx[S.YB"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Kq.L*}nxqbm:ojZThlH+"> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> <value name="VALUE"> <block type="lists_length" id="2l9imw=)UkIE=K~?]|r_"> <value name="VALUE"> <block type="variables_get" id="Tbj.Jj$?acWhL/x|=IV]"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> </block> </value> </block> </value> <next> <block type="controls_forEach" id="gECBKCr~FK=]B+4QO2m%"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> <value name="LIST"> <block type="variables_get" id="S*}x{G|n%JU7@-()f;Mw"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="DO"> <block type="math_change" id="i(VJv3$9AH/d)_$GV=A$"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="DELTA"> <shadow type="math_number" id="JEVhq=8BD3t[j%A7~_MA"> <field name="NUM">1</field> </shadow> </value> <next> <block type="variables_set" id="H97Ac7mTcBV;nutC;]n;"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> <value name="VALUE"> <block type="text_getSubstring" id="!r|K]3:dyK@^*;!6N`WI"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="`Ty9f|av,5dP_R_pr+Lc"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="PAo:{]2{z3hJx6W)DkPz"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="*27KZZlMyvZ`u}nrf-Pi"> <field name="NUM">9</field> </block> </value> </block> </value> <next> <block type="variables_set" id="9Q7.RmMK=^S^=9-U2Sdf"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> <value name="VALUE"> <block type="text_getSubstring" id="OF8U=dqlV-Jw]{iQ$97W"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="N3`Z(*lZ*qnpv49dFwJL"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="$/YwJl$3fqwT(H:cXre7"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="+{y=]N2F|GIAR@a3R#,t"> <field name="NUM">7</field> </block> </value> </block> </value> <next> <block type="variables_set" id="M??],k5B.?auUn/:aT.k"> <field name="VAR" id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</field> <value name="VALUE"> <block type="get_attr" id="t,jwV@G(2j9ry)Dy~K{3"> <value name="PATH"> <shadow type="text" id="nOV=@/0yiWr^!Rat3$(P"> <field name="TEXT">common.icon</field> </shadow> </value> <value name="OBJECT"> <block type="procedures_callcustomreturn" id=",k|~:}itQRo0nrb}Mp-V"> <mutation name="json_lesen"> <arg name="path"></arg> </mutation> <value name="ARG0"> <block type="text_join" id="nyvd_?.,%%c6?^=]^O.~"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="{GqI|?gu*Q;|/4%x|_H~"> <field name="TEXT">/opt/iobroker/node_modules/iobroker.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="$P.AgN;@-L#e3-1|0CsZ"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="tF)na~@*;W^+@%[PD6|]"> <field name="TEXT">/io-package.json</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="c=FHF`]#z6mg7rv$5tuL"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> <value name="VALUE"> <block type="text_join" id="gWnwLjgAv%9atEysRn7p"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="gQp|F#JB:([hA{R`z}I/"> <field name="TEXT"><img src="/adapter/</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="F1+|In[Zk5^,X.4=b/-W"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="2!V+%^uc@M/:{2H_wro("> <field name="TEXT">/</field> </block> </value> <value name="ADD3"> <block type="variables_get" id=".i?s.~Q]pnB9kA`KZ^ey"> <field name="VAR" id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</field> </block> </value> <value name="ADD4"> <block type="text" id="usU=LhY[V*Yj]M3u3Kp%"> <field name="TEXT">" width="35" align="middle"></field> </block> </value> </block> </value> <next> <block type="controls_if" id="jPbVh[Wm^Lw0GTYXMK3Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="1T36)CXg41w6#53qWkOS" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="y`::U-UbCNTsNqK1fn4;"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="wRVfdd.f[f;:=my;X+7`"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=")vf+HEMp9zW#,r4+n/W6"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="p4cU}TxiNAoy:rF2:1m1"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=";O:G{(!;zDjH`tKeP-j4"> <field name="TEXT"><img src="/cards/spacer_red.png" width="300" height="3"/></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="{p;4m?[.C-0@xeb(VJ;b"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="%eT(`:(BR$6[2?~JRgov" inline="true"> <mutation name="cpu_vorhanden"> <arg name="dp_cpu"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="*/R,h3/)B(iCEt$%VP`)"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="f^ds)#o7{`CH,5dmbse@"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text_join" id="Q1sL#wBjC(DTfP[}PZG5"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="?|Q3WLmov28369UjP^*z"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="Jo$1-mLKPR#)v)*:b*DX"> <field name="TEXT"></field> </shadow> <block type="text_join" id="J4F2]Q3Jy5A@t37)RQJ9"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="kSWx4D/CqYS6yU9?F4wk"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5petrwy_d*F5~5UbW4Fh"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id=",%ENiciPL@^Ul+t(}(@."> <field name="TEXT">.cpu</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="N!e(!Eo#B6XfU2nyANWY"> <field name="TEXT"> %</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="_Krx:{q]ec|^d!ejK=P$"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text" id="Fs?xUhS=?$aU-N:e2!u6"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="S=?7JEy(3D+_*:N0@SIV"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="+cJ7_OISwW.d)|!|xOxD" inline="true"> <mutation name="mem_vorhanden"> <arg name="dp_memHeapUsed"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="H,1kz!_7F5U~psa3=:_O"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":Hc7O`g,:5*bjj7;XyL|"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> <value name="VALUE"> <block type="text_join" id="+e:MjTH?Ah+gxHeZJiGr"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="@r(ZR%B^l~xAU1sNHXu5"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text_join" id="T8Q~10nNJ-g{j{IUqg]%"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="Z$.3dr?61=)r,Pe3!raK"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="(Q9D+{g:o0-!cC;b!Wa="> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id="tN8XT6troR}MVdK(MJ,="> <field name="TEXT">.memHeapUsed</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="Iu}gqq|X2Zp[[10Yn9a;"> <field name="TEXT"> MB</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="+YM!sUOSrDubQluiS%GF"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> <value name="VALUE"> <block type="text" id="RMzf]AZKEHvkF^`2P,:/"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="4RULouYB0,1;8H*al1yU"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="PV`Iu!%fmiZe};hN{u#P"> <field name="VAR" id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="Gzg;l=IePfZG5G(5}B5,"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="(-C%qe+ul4ZGX?Zb#E9j"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="Xz$c-=gBs55gZ1$)_JNt"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="yh.g?e{*:DR4qG!o0@f$"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="Gt`(%4_t]+2CW_%]6[;1"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="sWB%slqQ$BOI_qAYC_/}"> <field name="TEXT"><br><b></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="D:ERe[5p.7ZWtEL@(;w,"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="-TrL2gV6MlHGC*;[qQ]T"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="text_join" id="Sm*.wOn#Jvy]14iugcD7"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="*cc?a:GDHRbD(O.aa7Un"> <field name="TEXT"><table width=90%><tr><td width="40%"><b><font size="1px"><I>CPU:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD1"> <block type="variables_get" id="eD/W`@FHFZ.~^pM2uEz7"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> </block> </value> <value name="ADD2"> <block type="text" id="xN3Qj{%!,~Hc9[I29.kq"> <field name="TEXT"></td></tr><tr><td><b><font size="1px"><I>MEM:</td><td align=right><font size="1px"><b><I></field> </block> </value> <value name="ADD3"> <block type="variables_get" id="H7cj$T9:G0oLMQ1Grllq"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> </block> </value> <value name="ADD4"> <block type="text" id="[NML3L-clU.4}V#mPcvn"> <field name="TEXT"> </td></tr><tr><td><b><font size="1px"><I>Status:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD5"> <block type="variables_get" id="p$biX|4~N{K3Mj*aYYTL"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD6"> <block type="text" id=")(^ILat@KhzO*r3tEf)1"> <field name="TEXT"></td></tr></table></field> </block> </value> </block> </value> <value name="ADD7"> <block type="text" id="-HjRA4mc[GRHdDJAj`pB"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e-e4abIM,VqAs^zKLh08"> <value name="IF"> <block type="math_number_property" id="B6`=H,ZC$cG*]{)|a_Dy"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id="VfUu3@AF3ycBE]}N,^b0"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="hrZ(*FGCC56YlOeGmk]9"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="|VGyHB5tJLgkgVv0_.$5"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="R2bTv;GK;_]eKl,@9Fi-"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="@=^LTjhJ|Uj{i{pP3Z_6"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="LwkIHb9$ynp/+s.:d%6o"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="fGwYi22*KT]@+i`z+MqC"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="kkkBx#5ONX01WvDfOv#c"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="wIw/F.T)UQC|I?/7Rv5h"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="Lz1ngwcEI=;!h(;?[Pgo"> <field name="TEXT"><br></field> </block> </value> <value name="ADD4"> <block type="variables_get" id=",hEK`P18:9UgP:Fv$w5A"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="1}@K]L^|NlZ+%6Yy)w]q"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="variables_get" id="[6QgN=c{8{I6l~%C^5h9"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD7"> <block type="text" id=":CqAQ{]69UAF/)T_0R7P"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e7tzdkrwxxV)V}+C(4qv"> <value name="IF"> <block type="math_number_property" id="b^.jT.5^!^2^q~#o!DR|"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id=",r+2:d0Jg*zQ9Jq+gg28"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="f@LQ6G.ISYNt}cc6JH{H"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="}ERMHkuGFK+0U@0s!GH}"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="0I!3q`xjlTYSNNrNLg5p"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="timeouts_wait" id="6M6oko52#}p`qc[M(P3Q"> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <next> <block type="controls_if" id="ky{_GQ;$W991,49_j/@b"> <value name="IF0"> <block type="variables_get" id="Qd]OV`Rnek-3^Qik@%Vf"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="#!b[g{|`p#:oo?.AlK.]"> <field name="VAR" id="v5ZsSe|`N[cy1djQ[V|h">updates</field> <value name="VALUE"> <block type="text_join" id="8v*)?r-:r@]PfP{cWh+W"> <mutation items="8"></mutation> <value name="ADD0"> <block type="text" id="}t?oJt]6W;;IvsD`ch,/"> <field name="TEXT">Installierte Adapter: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5(ktsl|T;#KsYfSE7%A["> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> </block> </value> <value name="ADD2"> <block type="text" id="eT+iMLcmr+}8%oKG$X(:"> <field name="TEXT"><br>Verfügbare Adapterupdates: </field> </block> </value> <value name="ADD3"> <block type="get_value" id="3{57:fq.Ig(7w^}evbT~"> <field name="ATTR">val</field> <field name="OID">admin.0.info.updatesNumber</field> </block> </value> <value name="ADD4"> <block type="text" id="gDlJNgma#XjIA#{M.F*."> <field name="TEXT"><br></field> </block> </value> <value name="ADD5"> <block type="text" id="|LMn_so*Nu,sAhJNz?Pd"> <field name="TEXT">Installierte Instanzen: </field> </block> </value> <value name="ADD6"> <block type="variables_get" id="Iu!P7^on@x26J+~;:Ni8"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> </block> </value> </block> </value> </block> </statement> <next> <block type="update" id="Gf?CuRIWj$@Zn7KndF1L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.VIS.Tabellen.Status_Adapter_gruen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="l]@o|@UFR]MKf~.4$q_0"> <mutation items="4"></mutation> <value name="ADD0"> <block type="variables_get" id="}p7_Qa{G/I:LVP,ywzwQ"> <field name="VAR" id="v5ZsSe|`N[cy1djQ[V|h">updates</field> </block> </value> <value name="ADD1"> <block type="text" id="_y/nF*7#3LKK#Ivd}3Km"> <field name="TEXT"><table width="100%"> <tr></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="%H:8sInt33:%c)XH`Z;M"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD3"> <block type="text" id="f-jcG$CydVybV^g0^^kI"> <field name="TEXT"></table></field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>Dieser Bereich lässt sich oben im Skript über eine Variable true/false deaktivieren.

Diese beiden Ansichten lassen sich oben im Skript über eine Variable true/false wechseln.


Zusätzlich müssen noch 2 Bilder für die farbigen Balken in den Custom Cards Ordner geladen werden (Achtung, beide nur 1x1 Pixel groß, genau hinschauen).

Im Skript muss nur ganz unten der Datenpunkt aktualisiert werden, in den die Tabelle geschrieben werden soll
EDIT:
Hab grad ein paar Rechtschreibfehler im Code gesehen. Entschuldigt mich
, ist komplett am Smartphone entstanden
..... -
Habe ja neulich eine Tabelle zur Adapterübersicht gepostet.
Ist jetzt nochmal stark überarbeitet.
Neuerungen:
- Jetzt bekommen ALLE Adapter automatisch Bilder
- Alphabetische sortierung der Adapter
- Übersichts- oder Detailtabelle (im oberen Bericht des Skripts einstellbar)
- Optionale Anzeige der Instanz- und Adapteranzahl und Updates (im oberen Bericht des Skripts einstellbar)
Bei einigen Sachen habe ich Unterstützung im Forum gefunden, vielen Dank an alle.
Blockly:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</variable> <variable id="]2L1gR1@-95:zaBLPmW5">path</variable> <variable id="!Uup8-K^66M}0:H{sN7x">id</variable> <variable id="-N3?0S]/WI0Ne=*O@5x|">dp_memHeapUsed</variable> <variable id="V18}*Iqc7(L:vJRV.b-5">dp_cpu</variable> <variable id="qMWT(3z*qlEl6SeWknip">liste_instanzen</variable> <variable id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</variable> <variable id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</variable> <variable id="=o;jPH(ci8Q`VwD#SXx2">tabelle</variable> <variable id=",uQ[TnUTK#qN${7ViwL[">durchgang</variable> <variable id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</variable> <variable id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</variable> <variable id="EP;3C8NM6Z/Hi-?L2#2v">i</variable> <variable id="+UFs6;9C-2SnfFZ$t.$?">adapter</variable> <variable id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</variable> <variable id="v5ZsSe|`N[cy1djQ[V|h">updates</variable> <variable id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</variable> <variable id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</variable> <variable id="3uO4DZtfq9#9S=#NOXTP">alive</variable> <variable id="/gom2ZY(1/e51S#JO|Hh">cpu</variable> <variable id="9j@nYu()q(i2SXPci{2g">mem</variable> </variables> <block type="variables_set" id="]NgrO+*[#{#~{Qyhme=n" x="488" y="213"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> <value name="VALUE"> <block type="logic_boolean" id="O{f3Qtwf*bDA7xcS!0)d"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="CF#Tdyn;XH/]7lJuDDp!"> <field name="VAR" id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</field> <value name="VALUE"> <block type="logic_boolean" id="!ejAJ!rCWp_{!%W}6m{V"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> <block type="procedures_defcustomreturn" id="%snCTg}hwe=QB;y},G!," x="488" y="313"> <mutation statements="false"> <arg name="path" varid="]2L1gR1@-95:zaBLPmW5"></arg> </mutation> <field name="NAME">json_lesen</field> <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCdmcycpOwpyZXR1cm4gZnMucmVhZEZpbGVTeW5jKHBhdGgsICd1dGY4Jyk=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="JnVZxT|PFDb|j9i$H8CG" x="488" y="363"> <mutation statements="false"> <arg name="id" varid="!Uup8-K^66M}0:H{sN7x"></arg> </mutation> <field name="NAME">alive_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="]H5.J+54b(#Z)Rl3TvWD" x="488" y="413"> <mutation statements="false"> <arg name="dp_memHeapUsed" varid="-N3?0S]/WI0Ne=*O@5x|"></arg> </mutation> <field name="NAME">mem_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfbWVtSGVhcFVzZWQpKSByZXR1cm4gZ2V0U3RhdGUoZHBfbWVtSGVhcFVzZWQpLnZhbDs=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_defcustomreturn" id="r,x=q+6,XktcbdV?oi~H" x="488" y="463"> <mutation statements="false"> <arg name="dp_cpu" varid="V18}*Iqc7(L:vJRV.b-5"></arg> </mutation> <field name="NAME">cpu_vorhanden</field> <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfY3B1KSkgcmV0dXJuIGdldFN0YXRlKGRwX2NwdSkudmFsOw==</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="variables_set" id="QGo/tuHM7aHq$o!|J{*l" x="488" y="513"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="text" id="1k[oQ~@vngXgE~KTWAjO"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="?OA)*SIW=N$]4Zc?x+oj"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="text" id="0K]-iIybH$ZjMFnn#]Kf"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="`i`ME.!W?D6fI/y4G^,u"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="selector" id="qINF[fqu.d!L5a,j$28_"> <field name="TEXT">system.adapter.*.alive</field> </block> </value> <next> <block type="variables_set" id="8oQKWbQ5(^:V~2iiZ7`="> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="selector" id="J~0;L2x(4WDHBAVdTXSs"> <field name="TEXT">system.adapter.*.0.alive</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="HBjdupLz8~9%bcEazz#z" x="-213" y="587"> <field name="COMMENT"></field> </block> <block type="on_ext" id="o5=5CS@u|B`0vZtT|6#A" x="488" y="663"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="STZ]1il(B%25Nq$d=,5h"> <field name="oid">default</field> </shadow> <block type="variables_get" id="cq.!hDYT^cQk]3_TcS7z"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="xW9,xKs8?O|7?.xB^Fna"> <mutation name="tabelle_generieren"></mutation> </block> </statement> </block> <block type="on_ext" id="`~1fl8}*1Bx7]ShCT69d" x="488" y="813"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="3|tdYK(L9dGQ[^-b)2Oi"> <field name="oid">default</field> </shadow> <block type="field_oid" id="S%/Y(q]gVaApat`8L`XD"> <field name="oid">admin.0.info.updatesNumber</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="p(x`}0,SYQSw/?CUZ~*Y"> <mutation name="tabelle_generieren"></mutation> </block> </statement> </block> <block type="schedule" id="Vx%S31O%VEtg,/zw/`tA" x="488" y="963"> <field name="SCHEDULE">*/5 * * * *</field> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="Fc?0f.!U](3ZDMX59q=O"> <mutation name="tabelle_generieren"></mutation> <next> <block type="control" id="%S@^q_%vk4zIaKG:Q*2*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="V=^^D2Au/1F1I|.1DT+b"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="[ma(92iS/lRlS3?RVmHE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="13:bE@.,|xTv.vYB;o^B"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> <block type="procedures_defnoreturn" id="m^s(x3-9|A7{e{`!sBve" x="488" y="1163"> <field name="NAME">tabelle_generieren</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="@2bj_2[=B|{9E~AMJ|Kd"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text" id="Vzr0N:eCiY1YCrG#d7?a"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="$pUijj;JAzB,6nB$|sl8"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="VALUE"> <block type="math_number" id="F?X_Sq:A!2pw=fyG19fo"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="]]QZb_)c(,Em=JoIz3Og"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="lists_sort" id="4Z-n$%)QNi],dp-G6b|9"> <field name="TYPE">TEXT</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="O{De.tPe3{~yIU6u32^*"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="oRHsW|ouJFK7~P9w3YYc"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> <value name="VALUE"> <block type="lists_length" id="Yft^+0wK^Metalc[@wa@"> <value name="VALUE"> <block type="variables_get" id="-5Tc.dy%/0~y%Zx[S.YB"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Kq.L*}nxqbm:ojZThlH+"> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> <value name="VALUE"> <block type="lists_length" id="2l9imw=)UkIE=K~?]|r_"> <value name="VALUE"> <block type="variables_get" id="Tbj.Jj$?acWhL/x|=IV]"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> </block> </value> </block> </value> <next> <block type="controls_forEach" id="gECBKCr~FK=]B+4QO2m%"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> <value name="LIST"> <block type="variables_get" id="S*}x{G|n%JU7@-()f;Mw"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="DO"> <block type="math_change" id="i(VJv3$9AH/d)_$GV=A$"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="DELTA"> <shadow type="math_number" id="JEVhq=8BD3t[j%A7~_MA"> <field name="NUM">1</field> </shadow> </value> <next> <block type="variables_set" id="H97Ac7mTcBV;nutC;]n;"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> <value name="VALUE"> <block type="text_getSubstring" id="!r|K]3:dyK@^*;!6N`WI"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="`Ty9f|av,5dP_R_pr+Lc"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="PAo:{]2{z3hJx6W)DkPz"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="*27KZZlMyvZ`u}nrf-Pi"> <field name="NUM">9</field> </block> </value> </block> </value> <next> <block type="variables_set" id="9Q7.RmMK=^S^=9-U2Sdf"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> <value name="VALUE"> <block type="text_getSubstring" id="OF8U=dqlV-Jw]{iQ$97W"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="N3`Z(*lZ*qnpv49dFwJL"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="$/YwJl$3fqwT(H:cXre7"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="+{y=]N2F|GIAR@a3R#,t"> <field name="NUM">7</field> </block> </value> </block> </value> <next> <block type="variables_set" id="M??],k5B.?auUn/:aT.k"> <field name="VAR" id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</field> <value name="VALUE"> <block type="get_attr" id="t,jwV@G(2j9ry)Dy~K{3"> <value name="PATH"> <shadow type="text" id="nOV=@/0yiWr^!Rat3$(P"> <field name="TEXT">common.icon</field> </shadow> </value> <value name="OBJECT"> <block type="procedures_callcustomreturn" id=",k|~:}itQRo0nrb}Mp-V"> <mutation name="json_lesen"> <arg name="path"></arg> </mutation> <value name="ARG0"> <block type="text_join" id="nyvd_?.,%%c6?^=]^O.~"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="{GqI|?gu*Q;|/4%x|_H~"> <field name="TEXT">/opt/iobroker/node_modules/iobroker.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="$P.AgN;@-L#e3-1|0CsZ"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="tF)na~@*;W^+@%[PD6|]"> <field name="TEXT">/io-package.json</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="c=FHF`]#z6mg7rv$5tuL"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> <value name="VALUE"> <block type="text_join" id="gWnwLjgAv%9atEysRn7p"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="gQp|F#JB:([hA{R`z}I/"> <field name="TEXT"><img src="/adapter/</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="F1+|In[Zk5^,X.4=b/-W"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="2!V+%^uc@M/:{2H_wro("> <field name="TEXT">/</field> </block> </value> <value name="ADD3"> <block type="variables_get" id=".i?s.~Q]pnB9kA`KZ^ey"> <field name="VAR" id=":$3Q}2`~)+7cE{@bh3{l">adapter_bild</field> </block> </value> <value name="ADD4"> <block type="text" id="usU=LhY[V*Yj]M3u3Kp%"> <field name="TEXT">" width="35" align="middle"></field> </block> </value> </block> </value> <next> <block type="controls_if" id="jPbVh[Wm^Lw0GTYXMK3Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="1T36)CXg41w6#53qWkOS" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="y`::U-UbCNTsNqK1fn4;"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="wRVfdd.f[f;:=my;X+7`"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=")vf+HEMp9zW#,r4+n/W6"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="p4cU}TxiNAoy:rF2:1m1"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=";O:G{(!;zDjH`tKeP-j4"> <field name="TEXT"><img src="/cards/spacer_red.png" width="300" height="3"/></field> </block> </value> </block> </statement> <next> <block type="controls_if" id="{p;4m?[.C-0@xeb(VJ;b"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="%eT(`:(BR$6[2?~JRgov" inline="true"> <mutation name="cpu_vorhanden"> <arg name="dp_cpu"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="*/R,h3/)B(iCEt$%VP`)"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="f^ds)#o7{`CH,5dmbse@"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text_join" id="Q1sL#wBjC(DTfP[}PZG5"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="?|Q3WLmov28369UjP^*z"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="Jo$1-mLKPR#)v)*:b*DX"> <field name="TEXT"></field> </shadow> <block type="text_join" id="J4F2]Q3Jy5A@t37)RQJ9"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="kSWx4D/CqYS6yU9?F4wk"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5petrwy_d*F5~5UbW4Fh"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id=",%ENiciPL@^Ul+t(}(@."> <field name="TEXT">.cpu</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="N!e(!Eo#B6XfU2nyANWY"> <field name="TEXT"> %</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="_Krx:{q]ec|^d!ejK=P$"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text" id="Fs?xUhS=?$aU-N:e2!u6"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="S=?7JEy(3D+_*:N0@SIV"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="+cJ7_OISwW.d)|!|xOxD" inline="true"> <mutation name="mem_vorhanden"> <arg name="dp_memHeapUsed"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="H,1kz!_7F5U~psa3=:_O"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":Hc7O`g,:5*bjj7;XyL|"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> <value name="VALUE"> <block type="text_join" id="+e:MjTH?Ah+gxHeZJiGr"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="@r(ZR%B^l~xAU1sNHXu5"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text_join" id="T8Q~10nNJ-g{j{IUqg]%"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="Z$.3dr?61=)r,Pe3!raK"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="(Q9D+{g:o0-!cC;b!Wa="> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id="tN8XT6troR}MVdK(MJ,="> <field name="TEXT">.memHeapUsed</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="Iu}gqq|X2Zp[[10Yn9a;"> <field name="TEXT"> MB</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="+YM!sUOSrDubQluiS%GF"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> <value name="VALUE"> <block type="text" id="RMzf]AZKEHvkF^`2P,:/"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="4RULouYB0,1;8H*al1yU"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="PV`Iu!%fmiZe};hN{u#P"> <field name="VAR" id="|84Ec07om*g33RwJ/`l]">Tabelle_mit_Details</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="Gzg;l=IePfZG5G(5}B5,"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="(-C%qe+ul4ZGX?Zb#E9j"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="Xz$c-=gBs55gZ1$)_JNt"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="yh.g?e{*:DR4qG!o0@f$"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="Gt`(%4_t]+2CW_%]6[;1"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="sWB%slqQ$BOI_qAYC_/}"> <field name="TEXT"><br><b></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="D:ERe[5p.7ZWtEL@(;w,"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="-TrL2gV6MlHGC*;[qQ]T"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="text_join" id="Sm*.wOn#Jvy]14iugcD7"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="*cc?a:GDHRbD(O.aa7Un"> <field name="TEXT"><table width=90%><tr><td width="40%"><b><font size="1px"><I>CPU:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD1"> <block type="variables_get" id="eD/W`@FHFZ.~^pM2uEz7"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> </block> </value> <value name="ADD2"> <block type="text" id="xN3Qj{%!,~Hc9[I29.kq"> <field name="TEXT"></td></tr><tr><td><b><font size="1px"><I>MEM:</td><td align=right><font size="1px"><b><I></field> </block> </value> <value name="ADD3"> <block type="variables_get" id="H7cj$T9:G0oLMQ1Grllq"> <field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field> </block> </value> <value name="ADD4"> <block type="text" id="[NML3L-clU.4}V#mPcvn"> <field name="TEXT"> </td></tr><tr><td><b><font size="1px"><I>Status:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD5"> <block type="variables_get" id="p$biX|4~N{K3Mj*aYYTL"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD6"> <block type="text" id=")(^ILat@KhzO*r3tEf)1"> <field name="TEXT"></td></tr></table></field> </block> </value> </block> </value> <value name="ADD7"> <block type="text" id="-HjRA4mc[GRHdDJAj`pB"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e-e4abIM,VqAs^zKLh08"> <value name="IF"> <block type="math_number_property" id="B6`=H,ZC$cG*]{)|a_Dy"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id="VfUu3@AF3ycBE]}N,^b0"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="hrZ(*FGCC56YlOeGmk]9"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="|VGyHB5tJLgkgVv0_.$5"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="R2bTv;GK;_]eKl,@9Fi-"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="@=^LTjhJ|Uj{i{pP3Z_6"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="LwkIHb9$ynp/+s.:d%6o"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="fGwYi22*KT]@+i`z+MqC"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="kkkBx#5ONX01WvDfOv#c"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="wIw/F.T)UQC|I?/7Rv5h"> <field name="VAR" id=".3pp)`Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="Lz1ngwcEI=;!h(;?[Pgo"> <field name="TEXT"><br></field> </block> </value> <value name="ADD4"> <block type="variables_get" id=",hEK`P18:9UgP:Fv$w5A"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="1}@K]L^|NlZ+%6Yy)w]q"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="variables_get" id="[6QgN=c{8{I6l~%C^5h9"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD7"> <block type="text" id=":CqAQ{]69UAF/)T_0R7P"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e7tzdkrwxxV)V}+C(4qv"> <value name="IF"> <block type="math_number_property" id="b^.jT.5^!^2^q~#o!DR|"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id=",r+2:d0Jg*zQ9Jq+gg28"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="f@LQ6G.ISYNt}cc6JH{H"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="}ERMHkuGFK+0U@0s!GH}"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="0I!3q`xjlTYSNNrNLg5p"> <field name="TEXT"></field> </block> </value> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="timeouts_wait" id="6M6oko52#}p`qc[M(P3Q"> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <next> <block type="controls_if" id="ky{_GQ;$W991,49_j/@b"> <value name="IF0"> <block type="variables_get" id="Qd]OV`Rnek-3^Qik@%Vf"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="#!b[g{|`p#:oo?.AlK.]"> <field name="VAR" id="v5ZsSe|`N[cy1djQ[V|h">updates</field> <value name="VALUE"> <block type="text_join" id="8v*)?r-:r@]PfP{cWh+W"> <mutation items="8"></mutation> <value name="ADD0"> <block type="text" id="}t?oJt]6W;;IvsD`ch,/"> <field name="TEXT">Installierte Adapter: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5(ktsl|T;#KsYfSE7%A["> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> </block> </value> <value name="ADD2"> <block type="text" id="eT+iMLcmr+}8%oKG$X(:"> <field name="TEXT"><br>Verfügbare Adapterupdates: </field> </block> </value> <value name="ADD3"> <block type="get_value" id="3{57:fq.Ig(7w^}evbT~"> <field name="ATTR">val</field> <field name="OID">admin.0.info.updatesNumber</field> </block> </value> <value name="ADD4"> <block type="text" id="gDlJNgma#XjIA#{M.F*."> <field name="TEXT"><br></field> </block> </value> <value name="ADD5"> <block type="text" id="|LMn_so*Nu,sAhJNz?Pd"> <field name="TEXT">Installierte Instanzen: </field> </block> </value> <value name="ADD6"> <block type="variables_get" id="Iu!P7^on@x26J+~;:Ni8"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> </block> </value> </block> </value> </block> </statement> <next> <block type="update" id="Gf?CuRIWj$@Zn7KndF1L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.VIS.Tabellen.Status_Adapter_gruen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="l]@o|@UFR]MKf~.4$q_0"> <mutation items="4"></mutation> <value name="ADD0"> <block type="variables_get" id="}p7_Qa{G/I:LVP,ywzwQ"> <field name="VAR" id="v5ZsSe|`N[cy1djQ[V|h">updates</field> </block> </value> <value name="ADD1"> <block type="text" id="_y/nF*7#3LKK#Ivd}3Km"> <field name="TEXT"><table width="100%"> <tr></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="%H:8sInt33:%c)XH`Z;M"> <field name="VAR" id="=o;jPH(ci8Q`VwD#SXx2">tabelle</field> </block> </value> <value name="ADD3"> <block type="text" id="f-jcG$CydVybV^g0^^kI"> <field name="TEXT"></table></field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>Dieser Bereich lässt sich oben im Skript über eine Variable true/false deaktivieren.

Diese beiden Ansichten lassen sich oben im Skript über eine Variable true/false wechseln.


Zusätzlich müssen noch 2 Bilder für die farbigen Balken in den Custom Cards Ordner geladen werden (Achtung, beide nur 1x1 Pixel groß, genau hinschauen).

Im Skript muss nur ganz unten der Datenpunkt aktualisiert werden, in den die Tabelle geschrieben werden soll
EDIT:
Hab grad ein paar Rechtschreibfehler im Code gesehen. Entschuldigt mich
, ist komplett am Smartphone entstanden
.....Hi @david-g ,
ist es möglich die zeitgesteuerten Adapter anders kenntlich zu gestalten bzw. gibt es einen anderen Status dafür?
Es sieht nämlich so aus, als ob der Adapter/die Instanz deaktiviert ist - was er nun nicht ist

Greets
Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2
-
Hi @david-g ,
ist es möglich die zeitgesteuerten Adapter anders kenntlich zu gestalten bzw. gibt es einen anderen Status dafür?
Es sieht nämlich so aus, als ob der Adapter/die Instanz deaktiviert ist - was er nun nicht ist

Greets
Das stört mich auch was an der Tabelle.
Hatte hier im Forum auch nach einer Lösung gesucht.Irgendwie wusste keine wirklich was ich meine

Die dann entwickelte Lösung habe ich aber wieder verworfen. Fand ich doch nicht so cool....EDIT:
Hab aber gtad im Moment eine Idee bekommen. Evtl steht die Info ja in der json die ich für das icon Auslese. Schaue ich morgen mal.EDIT2
Die Info steht tatsächlich drinnen ob es ein shedule oder deamon ist. Hätte ich die json mal früher gekannt ^^°
Finde aber keine Info, ob der Adapter aktiviert ist oder nicht.Könnte mir vorstellen, dass man beim shedule wenn er nicht aktiv ist anstatt rot eine orangene Linie zeigt.
-
@nightwatcher sagte in Test Adapter lovelace v1.2.x:
custom:hui-markdown-card
Da kann ich dir jetzt auch nicht helfen.
Ggf die anderen Werte auch so darstellen, damit es einheitlich wirkt
Finde die custom:hui-markdown-card nirgens. Hast du mal einen Link?
@david-g die ist nicht wirklich eine custom card. Die markdown card gehört zum core von lovelace. Durch den custom Befehl kann es halt in dem image card verwendet werden.
Wago 750-881 - mit über 200 Ein- und Ausgängen, DMX512 Art-Net für Beleuchtung, 1-Wire für Umweltsensoren Aussen und Innen, ioBroker als Visualisierung
-
@david-g die ist nicht wirklich eine custom card. Die markdown card gehört zum core von lovelace. Durch den custom Befehl kann es halt in dem image card verwendet werden.
@nightwatcher
Ah, das wusste ich nicht. Interessant.@nukleuz
Hab es grad auf die schnelle mal so gemacht.
Shedules sind orange. Wenn grad aktiv grün. Ob die Instanz einen Fehler hat um sie dann rot zu machen kann man glaube nicht auslesen.
Dann gibt's noch andere Adapter die auch in der Adapterübersicht kein Symbol haben (bei mir der Alias Manager und der proxy Adapter, haben als Typ in der json "none" und "extension". Normale Adapter haben "daemon" und die Schedules "shedule"). Diese habe ich grau gemacht.
Ist jetzt irgendwie alles was bunt.....?
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</variable>
<variable id="]2L1gR1@-95:zaBLPmW5">path</variable>
<variable id="!Uup8-K^66M}0:H{sN7x">id</variable>
<variable id="-N3?0S]/WI0Ne=O@5x|">dp_memHeapUsed</variable>
<variable id="V18}Iqc7(L:vJRV.b-5">dp_cpu</variable>
<variable id="qMWT(3zqlEl6SeWknip">liste_instanzen</variable>
<variable id="|84Ec07omg33RwJ/l]">Tabelle_mit_Details</variable> <variable id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</variable> <variable id="=o;jPH(ci8QVwD#SXx2">tabelle</variable>
<variable id=",uQ[TnUTK#qN${7ViwL[">durchgang</variable>
<variable id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</variable>
<variable id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</variable>
<variable id="EP;3C8NM6Z/Hi-?L2#2v">i</variable>
<variable id="+UFs6;9C-2SnfFZ$t.$?">adapter</variable>
<variable id="vvnYy2LY:G^:A4/^0i(">adapter_mit_instanz</variable>
<variable id="v5ZsSe|N[cy1djQ[V|h">updates</variable> <variable id=":$3Q}2~)+7cE{@bh3{l">adapter_bild</variable>
<variable id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</variable>
<variable id=".3pp)Wk+Q-pH~vW!4VS">bild_url</variable> <variable id="3uO4DZtfq9#9S=#NOXTP">alive</variable> <variable id="/gom2ZY(1/e51S#JO|Hh">cpu</variable> <variable id="9j@nYu()q(i2SXPci{2g">mem</variable> </variables> <block type="variables_set" id="]NgrO+*[#{#~{Qyhme=n" x="488" y="213"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> <value name="VALUE"> <block type="logic_boolean" id="O{f3Qtwf*bDA7xcS!0)d"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="CF#Tdyn;XH/]7lJuDDp!"> <field name="VAR" id="|84Ec07om*g33RwJ/l]">Tabelle_mit_Details</field>
<value name="VALUE">
<block type="logic_boolean" id="!ejAJ!rCWp_{!%W}6m{V">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
<block type="procedures_defcustomreturn" id="%snCTg}hwe=QB;y},G!," x="488" y="313">
<mutation statements="false">
<arg name="path" varid="]2L1gR1@-95:zaBLPmW5"></arg>
</mutation>
<field name="NAME">json_lesen</field>
<field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCdmcycpOwpyZXR1cm4gZnMucmVhZEZpbGVTeW5jKHBhdGgsICd1dGY4Jyk=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="JnVZxT|PFDb|j9i$H8CG" x="488" y="363">
<mutation statements="false">
<arg name="id" varid="!Uup8-K^66M}0:H{sN7x"></arg>
</mutation>
<field name="NAME">alive_vorhanden</field>
<field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="]H5.J+54b(#Z)Rl3TvWD" x="488" y="413">
<mutation statements="false">
<arg name="dp_memHeapUsed" varid="-N3?0S]/WI0Ne=O@5x|"></arg>
</mutation>
<field name="NAME">mem_vorhanden</field>
<field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfbWVtSGVhcFVzZWQpKSByZXR1cm4gZ2V0U3RhdGUoZHBfbWVtSGVhcFVzZWQpLnZhbDs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="r,x=q+6,XktcbdV?oi~H" x="488" y="463">
<mutation statements="false">
<arg name="dp_cpu" varid="V18}Iqc7(L:vJRV.b-5"></arg>
</mutation>
<field name="NAME">cpu_vorhanden</field>
<field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfY3B1KSkgcmV0dXJuIGdldFN0YXRlKGRwX2NwdSkudmFsOw==</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="variables_set" id="QGo/tuHM7aHq$o!|J{l" x="488" y="513">
<field name="VAR" id="qMWT(3zqlEl6SeWknip">liste_instanzen</field>
<value name="VALUE">
<block type="text" id="1k[oQ~@vngXgE~KTWAjO">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="?OA)SIW=N$]4Zc?x+oj">
<field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field>
<value name="VALUE">
<block type="text" id="0K]-iIybH$ZjMFnn#]Kf">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="iME.!W?D6fI/y4G^,u">
<field name="VAR" id="qMWT(3zqlEl6SeWknip">liste_instanzen</field>
<value name="VALUE">
<block type="selector" id="qINF[fqu.d!L5a,j$28_">
<field name="TEXT">system.adapter..alive</field>
</block>
</value>
<next>
<block type="variables_set" id="8oQKWbQ5(^:V~2iiZ7="> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="selector" id="J~0;L2x(4WDHBAVdTXSs"> <field name="TEXT">system.adapter.*.0.alive</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="HBjdupLz8~9%bcEazz#z" x="-213" y="587"> <field name="COMMENT"></field> </block> <block type="on_ext" id="o5=5CS@u|B0vZtT|6#A" x="488" y="663">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="STZ]1il(B%25Nq$d=,5h">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="cq.!hDYT^cQk]3_TcS7z">
<field name="VAR" id="qMWT(3zqlEl6SeWknip">liste_instanzen</field>
</block>
</value>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="xW9,xKs8?O|7?.xB^Fna">
<mutation name="tabelle_generieren"></mutation>
</block>
</statement>
</block>
<block type="on_ext" id="~1fl8}*1Bx7]ShCT69d" x="488" y="813"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="3|tdYK(L9dGQ[^-b)2Oi"> <field name="oid">default</field> </shadow> <block type="field_oid" id="S%/Y(q]gVaApat8LXD"> <field name="oid">admin.0.info.updatesNumber</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="p(x}0,SYQSw/?CUZ~Y">
<mutation name="tabelle_generieren"></mutation>
</block>
</statement>
</block>
<block type="schedule" id="Vx%S31O%VEtg,/zw/tA" x="488" y="963"> <field name="SCHEDULE">*/5 * * * *</field> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="Fc?0f.!U](3ZDMX59q=O"> <mutation name="tabelle_generieren"></mutation> <next> <block type="control" id="%S@^q_%vk4zIaKG:Q*2*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="V=^^D2Au/1F1I|.1DT+b"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="[ma(92iS/lRlS3?RVmHE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="13:bE@.,|xTv.vYB;o^B"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> <block type="procedures_defnoreturn" id="m^s(x3-9|A7{e{!sBve" x="488" y="1163">
<field name="NAME">tabelle_generieren</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="variables_set" id="@2bj_2[=B|{9E~AMJ|Kd">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text" id="Vzr0N:eCiY1YCrG#d7?a"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="$pUijj;JAzB,6nB$|sl8"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="VALUE"> <block type="math_number" id="F?X_Sq:A!2pw=fyG19fo"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="]]QZb_)c(,Em=JoIz3Og"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="lists_sort" id="4Z-n$%)QNi],dp-G6b|9"> <field name="TYPE">TEXT</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="O{De.tPe3{~yIU6u32^*"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="oRHsW|ouJFK7~P9w3YYc"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> <value name="VALUE"> <block type="lists_length" id="Yft^+0wK^Metalc[@wa@"> <value name="VALUE"> <block type="variables_get" id="-5Tc.dy%/0~y%Zx[S.YB"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Kq.L*}nxqbm:ojZThlH+"> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> <value name="VALUE"> <block type="lists_length" id="2l9imw=)UkIE=K~?]|r_"> <value name="VALUE"> <block type="variables_get" id="Tbj.Jj$?acWhL/x|=IV]"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> </block> </value> </block> </value> <next> <block type="controls_forEach" id="gECBKCr~FK=]B+4QO2m%"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> <value name="LIST"> <block type="variables_get" id="S*}x{G|n%JU7@-()f;Mw"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="DO"> <block type="math_change" id="i(VJv3$9AH/d)_$GV=A$"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="DELTA"> <shadow type="math_number" id="JEVhq=8BD3t[j%A7~_MA"> <field name="NUM">1</field> </shadow> </value> <next> <block type="variables_set" id="H97Ac7mTcBV;nutC;]n;"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> <value name="VALUE"> <block type="text_getSubstring" id="!r|K]3:dyK@^*;!6NWI">
<mutation at1="true" at2="true"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">FROM_END</field>
<value name="STRING">
<block type="variables_get" id="Ty9f|av,5dP_R_pr+Lc"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="PAo:{]2{z3hJx6W)DkPz"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="*27KZZlMyvZu}nrf-Pi">
<field name="NUM">9</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="9Q7.RmMK=^S^=9-U2Sdf">
<field name="VAR" id="vvnYy2LY:G^:A4/^0i(">adapter_mit_instanz</field>
<value name="VALUE">
<block type="text_getSubstring" id="OF8U=dqlV-Jw]{iQ$97W">
<mutation at1="true" at2="true"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">FROM_END</field>
<value name="STRING">
<block type="variables_get" id="N3Z(*lZ*qnpv49dFwJL"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="$/YwJl$3fqwT(H:cXre7"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="+{y=]N2F|GIAR@a3R#,t"> <field name="NUM">7</field> </block> </value> </block> </value> <next> <block type="variables_set" id="M??],k5B.?auUn/:aT.k"> <field name="VAR" id=":$3Q}2~)+7cE{@bh3{l">adapter_bild</field>
<value name="VALUE">
<block type="get_attr" id="t,jwV@G(2j9ry)Dy~K{3">
<value name="PATH">
<shadow type="text" id="nOV=@/0yiWr^!Rat3$(P">
<field name="TEXT">common.icon</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id=",k|~:}itQRo0nrb}Mp-V">
<mutation name="json_lesen">
<arg name="path"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="nyvd_?.,%%c6?^=]^O.~">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="{GqI|?guQ;|/4%x|H~">
<field name="TEXT">/opt/iobroker/node_modules/iobroker.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="$P.AgN;@-L#e3-1|0CsZ">
<field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="tF)na~@*;W^+@%[PD6|]">
<field name="TEXT">/io-package.json</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="%d~G,#z%zm:,9s=3,rHE">
<field name="VAR" id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</field>
<value name="VALUE">
<block type="get_attr" id="QJlVT[)^}!mG-zZ0[5lD">
<value name="PATH">
<shadow type="text" id="Ig_4]__np%6lG-c_iQh5">
<field name="TEXT">common.mode</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="o+VZ.#q])%QsT[LAx!2~">
<mutation name="json_lesen">
<arg name="path"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="x5;~=,e^c{J{D~FfL1W^">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="UgkGv+4,^+W[0w_gTHkQ">
<field name="TEXT">/opt/iobroker/node_modules/iobroker.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="lg+|@TITX4|6#OpGk(">
<field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="b,LgCY4|]f1K(dy=xz@H">
<field name="TEXT">/io-package.json</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="c=FHF]#z6mg7rv$5tuL"> <field name="VAR" id=".3pp)Wk+Q-pH~vW!4VS">bild_url</field>
<value name="VALUE">
<block type="text_join" id="gWnwLjgAv%9atEysRn7p">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="gQp|F#JB:([hA{Rz}I/"> <field name="TEXT"><img src="/adapter/</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="F1+|In[Zk5^,X.4=b/-W"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="2!V+%^uc@M/:{2H_wro("> <field name="TEXT">/</field> </block> </value> <value name="ADD3"> <block type="variables_get" id=".i?s.~Q]pnB9kAKZ^ey">
<field name="VAR" id=":$3Q}2~)+7cE{@bh3{l">adapter_bild</field> </block> </value> <value name="ADD4"> <block type="text" id="usU=LhY[V*Yj]M3u3Kp%"> <field name="TEXT">" width="35" align="middle"></field> </block> </value> </block> </value> <next> <block type="controls_if" id="C+o#=+4Die6kHI~~gy)Y"> <mutation elseif="1" else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="#XgX7g3F2_gw8J#QbR-$"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="*6]c)57s989.(Tm:8D]]"> <field name="VAR" id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</field> </block> </value> <value name="B"> <block type="text" id=",l1_y9O5F}[BVPV:B8()"> <field name="TEXT">daemon</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="jPbVh[Wm^Lw0GTYXMK3Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="1T36)CXg41w6#53qWkOS" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="y::U-UbCNTsNqK1fn4;">
<field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="wRVfdd.f[f;:=my;X+7"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=")vf+HEMp9zW#,r4+n/W6"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="p4cU}TxiNAoy:rF2:1m1"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=";O:G{(!;zDjHtKeP-j4">
<field name="TEXT"><img src="/cards/spacer_red.png" width="300" height="3"/></field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="@JrK;F2,[y236O!:l-}e">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="-hQ-K5Wd@+5B)2uJZ4#P">
<field name="VAR" id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</field>
</block>
</value>
<value name="B">
<block type="text" id="k3$n:z0n@6XYGHX7bO%"> <field name="TEXT">schedule</field> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="1Rho)w:AERBQ}l;PJqc}"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="(G},#R96/4qW3R4OD0C-" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="k%xF-p]n6wSyd#j.,#(-"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="s@Z+y:8T#h4.^/U7,Jap"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=",si]sOwa4I16rujzaUa;"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="F;$paP@Io6%mF=)Z"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id="WB7+hOt|Ch.o3mHA$l]7"> <field name="TEXT"><img src="/cards/spacer_orange.png" width="300" height="3"/></field> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="4I~.E$M5V8!QDM/r5HF">
<field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field>
<value name="VALUE">
<block type="text" id=":Q_P5z3@iQ-~^.+!4|ep">
<field name="TEXT"><img src="/cards/spacer_grey.png" width="300" height="3"/></field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="{p;4m?[.C-0@xeb(VJ;b">
<mutation else="1"></mutation>
<value name="IF0">
<block type="procedures_callcustomreturn" id="%eT(:(BR$6[2?~JRgov" inline="true"> <mutation name="cpu_vorhanden"> <arg name="dp_cpu"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="*/R,h3/)B(iCEt$%VP)">
<field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="f^ds)#o7{CH,5dmbse@"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text_join" id="Q1sL#wBjC(DTfP[}PZG5"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="?|Q3WLmov28369UjP^*z"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="Jo$1-mLKPR#)v)*:b*DX"> <field name="TEXT"></field> </shadow> <block type="text_join" id="J4F2]Q3Jy5A@t37)RQJ9"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="kSWx4D/CqYS6yU9?F4wk"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5petrwy_d*F5~5UbW4Fh"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id=",%ENiciPL@^Ul+t(}(@."> <field name="TEXT">.cpu</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="N!e(!Eo#B6XfU2nyANWY"> <field name="TEXT"> %</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="_Krx:{q]ec|^d!ejK=P$"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text" id="Fs?xUhS=?$aU-N:e2!u6"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="S=?7JEy(3D+_*:N0@SIV"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="+cJ7_OISwW.d)|!|xOxD" inline="true"> <mutation name="mem_vorhanden"> <arg name="dp_memHeapUsed"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="H,1kz!_7F5U~psa3=:_O"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":Hc7Og,:5bjj7;XyL|">
<field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field>
<value name="VALUE">
<block type="text_join" id="+e:MjTH?Ah+gxHeZJiGr">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="get_value_var" id="@r(ZR%B^l~xAU1sNHXu5">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="T8Q~10nNJ-g{j{IUqg]%">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="Z$.3dr?61=)r,Pe3!raK">
<field name="TEXT">system.adapter.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="(Q9D+{g:o0-!cC;b!Wa=">
<field name="VAR" id="vvnYy2LY:G^:A4/^0i(">adapter_mit_instanz</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="tN8XT6troR}MVdK(MJ,=">
<field name="TEXT">.memHeapUsed</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="Iu}gqq|X2Zp[[10Yn9a;">
<field name="TEXT"> MB</field>
</block>
</value>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="+YM!sUOSrDubQluiS%GF">
<field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field>
<value name="VALUE">
<block type="text" id="RMzf]AZKEHvkF^2P,:/"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="4RULouYB0,1;8H*al1yU"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="PVIu!%fmiZe};hN{u#P">
<field name="VAR" id="|84Ec07omg33RwJ/l]">Tabelle_mit_Details</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="Gzg;l=IePfZG5G(5}B5,"> <field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field>
<value name="VALUE">
<block type="text_join" id="(-C%qe+ul4ZGX?Zb#E9j">
<mutation items="9"></mutation>
<value name="ADD0">
<block type="variables_get" id="Xz$c-=gBs55gZ1$)JNt">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="yh.g?e{*:DR4qG!o0@f$"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="Gt(%4_t]+2CW%]6[;1">
<field name="VAR" id=".3pp)Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="sWB%slqQ$BOI_qAYC_/}"> <field name="TEXT"><br><b></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="D:ERe[5p.7ZWtEL@(;w,"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="-TrL2gV6MlHGC*;[qQ]T"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="text_join" id="Sm*.wOn#Jvy]14iugcD7"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="*cc?a:GDHRbD(O.aa7Un"> <field name="TEXT"><table width=90%><tr><td width="40%"><b><font size="1px"><I>CPU:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD1"> <block type="variables_get" id="eD/W@FHFZ.~^pM2uEz7">
<field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="xN3Qj{%!,~Hc9[I29.kq">
<field name="TEXT"></td></tr><tr><td><b><font size="1px"><I>MEM:</td><td align=right><font size="1px"><b><I></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="H7cj$T9:G0oLMQ1Grllq">
<field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="[NML3L-clU.4}V#mPcvn">
<field name="TEXT"> </td></tr><tr><td><b><font size="1px"><I>Status:</td><td align=right><b><font size="1px"><I></field>
</block>
</value>
<value name="ADD5">
<block type="variables_get" id="p$biX|4~N{K3MjaYYTL">
<field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field>
</block>
</value>
<value name="ADD6">
<block type="text" id=")(^ILat@KhzOr3tEf)1">
<field name="TEXT"></td></tr></table></field>
</block>
</value>
</block>
</value>
<value name="ADD7">
<block type="text" id="-HjRA4mc[GRHdDJAjpB"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e-e4abIM,VqAs^zKLh08"> <value name="IF"> <block type="math_number_property" id="B6=H,ZC$cG*]{)|a_Dy">
<mutation divisor_input="true"></mutation>
<field name="PROPERTY">DIVISIBLE_BY</field>
<value name="NUMBER_TO_CHECK">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
<block type="variables_get" id="VfUu3@AF3ycBE]}N,^b0">
<field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field>
</block>
</value>
<value name="DIVISOR">
<block type="math_number" id="hrZ(FGCC56YlOeGmk]9">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
<value name="THEN">
<block type="text" id="|VGyHB5tJLgkgVv0_.$5">
<field name="TEXT"></tr> <tr></field>
</block>
</value>
<value name="ELSE">
<block type="text" id="R2bTv;GK;_]eKl,@9Fi-">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="@=^LTjhJ|Uj{i{pP3Z_6">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="LwkIHb9$ynp/+s.:d%6o"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="fGwYi22*KT]@+iz+MqC">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="kkkBx#5ONX01WvDfOv#c"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="wIw/F.T)UQC|I?/7Rv5h"> <field name="VAR" id=".3pp)Wk+Q-pH~vW!4VS">bild_url</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="Lz1ngwcEI=;!h(;?[Pgo">
<field name="TEXT"><br></field>
</block>
</value>
<value name="ADD4">
<block type="variables_get" id=",hEKP18:9UgP:Fv$w5A"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="1}@K]L^|NlZ+%6Yy)w]q"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="variables_get" id="[6QgN=c{8{I6l~%C^5h9"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD7"> <block type="text" id=":CqAQ{]69UAF/)T_0R7P"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e7tzdkrwxxV)V}+C(4qv"> <value name="IF"> <block type="math_number_property" id="b^.jT.5^!^2^q~#o!DR|"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id=",r+2:d0Jg*zQ9Jq+gg28"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="f@LQ6G.ISYNt}cc6JH{H"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="}ERMHkuGFK+0U@0s!GH}"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="0I!3qxjlTYSNNrNLg5p">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="timeouts_wait" id="6M6oko52#}pqc[M(P3Q"> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <next> <block type="controls_if" id="ky{_GQ;$W991,49_j/@b"> <value name="IF0"> <block type="variables_get" id="Qd]OVRnek-3^Qik@%Vf">
<field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="#!b[g{|p#:oo?.AlK.]"> <field name="VAR" id="v5ZsSe|N[cy1djQ[V|h">updates</field>
<value name="VALUE">
<block type="text_join" id="8v)?r-:r@]PfP{cWh+W">
<mutation items="8"></mutation>
<value name="ADD0">
<block type="text" id="}t?oJt]6W;;IvsDch,/"> <field name="TEXT">Installierte Adapter: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5(ktsl|T;#KsYfSE7%A["> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> </block> </value> <value name="ADD2"> <block type="text" id="eT+iMLcmr+}8%oKG$X(:"> <field name="TEXT"><br>Verfügbare Adapterupdates: </field> </block> </value> <value name="ADD3"> <block type="get_value" id="3{57:fq.Ig(7w^}evbT~"> <field name="ATTR">val</field> <field name="OID">admin.0.info.updatesNumber</field> </block> </value> <value name="ADD4"> <block type="text" id="gDlJNgma#XjIA#{M.F*."> <field name="TEXT"><br></field> </block> </value> <value name="ADD5"> <block type="text" id="|LMn_so*Nu,sAhJNz?Pd"> <field name="TEXT">Installierte Instanzen: </field> </block> </value> <value name="ADD6"> <block type="variables_get" id="Iu!P7^on@x26J+~;:Ni8"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> </block> </value> </block> </value> </block> </statement> <next> <block type="update" id="Gf?CuRIWj$@Zn7KndF1L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.VIS.Tabellen.Status_Adapter_gruen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="l]@o|@UFR]MKf~.4$q_0"> <mutation items="4"></mutation> <value name="ADD0"> <block type="variables_get" id="}p7_Qa{G/I:LVP,ywzwQ"> <field name="VAR" id="v5ZsSe|N[cy1djQ[V|h">updates</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="_y/nF*7#3LKK#Ivd}3Km">
<field name="TEXT"><table width="100%"> <tr></field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="%H:8sInt33:%c)XHZ;M"> <field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="f-jcG$CydVybV^g0^^kI">
<field name="TEXT"></table></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>[/s] Und die 2 anderen Punkte:   Mache ich ich mir übrigens immer hier, falls jmd die Farbe anpassen möchte und kein Grafikprogramm hat: [https://png-pixel.com/](https://png-pixel.com/) -
@nightwatcher
Ah, das wusste ich nicht. Interessant.@nukleuz
Hab es grad auf die schnelle mal so gemacht.
Shedules sind orange. Wenn grad aktiv grün. Ob die Instanz einen Fehler hat um sie dann rot zu machen kann man glaube nicht auslesen.
Dann gibt's noch andere Adapter die auch in der Adapterübersicht kein Symbol haben (bei mir der Alias Manager und der proxy Adapter, haben als Typ in der json "none" und "extension". Normale Adapter haben "daemon" und die Schedules "shedule"). Diese habe ich grau gemacht.
Ist jetzt irgendwie alles was bunt.....?
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</variable>
<variable id="]2L1gR1@-95:zaBLPmW5">path</variable>
<variable id="!Uup8-K^66M}0:H{sN7x">id</variable>
<variable id="-N3?0S]/WI0Ne=O@5x|">dp_memHeapUsed</variable>
<variable id="V18}Iqc7(L:vJRV.b-5">dp_cpu</variable>
<variable id="qMWT(3zqlEl6SeWknip">liste_instanzen</variable>
<variable id="|84Ec07omg33RwJ/l]">Tabelle_mit_Details</variable> <variable id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</variable> <variable id="=o;jPH(ci8QVwD#SXx2">tabelle</variable>
<variable id=",uQ[TnUTK#qN${7ViwL[">durchgang</variable>
<variable id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</variable>
<variable id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</variable>
<variable id="EP;3C8NM6Z/Hi-?L2#2v">i</variable>
<variable id="+UFs6;9C-2SnfFZ$t.$?">adapter</variable>
<variable id="vvnYy2LY:G^:A4/^0i(">adapter_mit_instanz</variable>
<variable id="v5ZsSe|N[cy1djQ[V|h">updates</variable> <variable id=":$3Q}2~)+7cE{@bh3{l">adapter_bild</variable>
<variable id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</variable>
<variable id=".3pp)Wk+Q-pH~vW!4VS">bild_url</variable> <variable id="3uO4DZtfq9#9S=#NOXTP">alive</variable> <variable id="/gom2ZY(1/e51S#JO|Hh">cpu</variable> <variable id="9j@nYu()q(i2SXPci{2g">mem</variable> </variables> <block type="variables_set" id="]NgrO+*[#{#~{Qyhme=n" x="488" y="213"> <field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field> <value name="VALUE"> <block type="logic_boolean" id="O{f3Qtwf*bDA7xcS!0)d"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="CF#Tdyn;XH/]7lJuDDp!"> <field name="VAR" id="|84Ec07om*g33RwJ/l]">Tabelle_mit_Details</field>
<value name="VALUE">
<block type="logic_boolean" id="!ejAJ!rCWp_{!%W}6m{V">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
<block type="procedures_defcustomreturn" id="%snCTg}hwe=QB;y},G!," x="488" y="313">
<mutation statements="false">
<arg name="path" varid="]2L1gR1@-95:zaBLPmW5"></arg>
</mutation>
<field name="NAME">json_lesen</field>
<field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCdmcycpOwpyZXR1cm4gZnMucmVhZEZpbGVTeW5jKHBhdGgsICd1dGY4Jyk=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="JnVZxT|PFDb|j9i$H8CG" x="488" y="363">
<mutation statements="false">
<arg name="id" varid="!Uup8-K^66M}0:H{sN7x"></arg>
</mutation>
<field name="NAME">alive_vorhanden</field>
<field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="]H5.J+54b(#Z)Rl3TvWD" x="488" y="413">
<mutation statements="false">
<arg name="dp_memHeapUsed" varid="-N3?0S]/WI0Ne=O@5x|"></arg>
</mutation>
<field name="NAME">mem_vorhanden</field>
<field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfbWVtSGVhcFVzZWQpKSByZXR1cm4gZ2V0U3RhdGUoZHBfbWVtSGVhcFVzZWQpLnZhbDs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="r,x=q+6,XktcbdV?oi~H" x="488" y="463">
<mutation statements="false">
<arg name="dp_cpu" varid="V18}Iqc7(L:vJRV.b-5"></arg>
</mutation>
<field name="NAME">cpu_vorhanden</field>
<field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoZHBfY3B1KSkgcmV0dXJuIGdldFN0YXRlKGRwX2NwdSkudmFsOw==</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="variables_set" id="QGo/tuHM7aHq$o!|J{l" x="488" y="513">
<field name="VAR" id="qMWT(3zqlEl6SeWknip">liste_instanzen</field>
<value name="VALUE">
<block type="text" id="1k[oQ~@vngXgE~KTWAjO">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="?OA)SIW=N$]4Zc?x+oj">
<field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field>
<value name="VALUE">
<block type="text" id="0K]-iIybH$ZjMFnn#]Kf">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="iME.!W?D6fI/y4G^,u">
<field name="VAR" id="qMWT(3zqlEl6SeWknip">liste_instanzen</field>
<value name="VALUE">
<block type="selector" id="qINF[fqu.d!L5a,j$28_">
<field name="TEXT">system.adapter..alive</field>
</block>
</value>
<next>
<block type="variables_set" id="8oQKWbQ5(^:V~2iiZ7="> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> <value name="VALUE"> <block type="selector" id="J~0;L2x(4WDHBAVdTXSs"> <field name="TEXT">system.adapter.*.0.alive</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="HBjdupLz8~9%bcEazz#z" x="-213" y="587"> <field name="COMMENT"></field> </block> <block type="on_ext" id="o5=5CS@u|B0vZtT|6#A" x="488" y="663">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="STZ]1il(B%25Nq$d=,5h">
<field name="oid">default</field>
</shadow>
<block type="variables_get" id="cq.!hDYT^cQk]3_TcS7z">
<field name="VAR" id="qMWT(3zqlEl6SeWknip">liste_instanzen</field>
</block>
</value>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="xW9,xKs8?O|7?.xB^Fna">
<mutation name="tabelle_generieren"></mutation>
</block>
</statement>
</block>
<block type="on_ext" id="~1fl8}*1Bx7]ShCT69d" x="488" y="813"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="3|tdYK(L9dGQ[^-b)2Oi"> <field name="oid">default</field> </shadow> <block type="field_oid" id="S%/Y(q]gVaApat8LXD"> <field name="oid">admin.0.info.updatesNumber</field> </block> </value> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="p(x}0,SYQSw/?CUZ~Y">
<mutation name="tabelle_generieren"></mutation>
</block>
</statement>
</block>
<block type="schedule" id="Vx%S31O%VEtg,/zw/tA" x="488" y="963"> <field name="SCHEDULE">*/5 * * * *</field> <statement name="STATEMENT"> <block type="procedures_callnoreturn" id="Fc?0f.!U](3ZDMX59q=O"> <mutation name="tabelle_generieren"></mutation> <next> <block type="control" id="%S@^q_%vk4zIaKG:Q*2*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="V=^^D2Au/1F1I|.1DT+b"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="[ma(92iS/lRlS3?RVmHE"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.Eigene_Scripte.VIS.Tabelle_Adapter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="13:bE@.,|xTv.vYB;o^B"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> <block type="procedures_defnoreturn" id="m^s(x3-9|A7{e{!sBve" x="488" y="1163">
<field name="NAME">tabelle_generieren</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="variables_set" id="@2bj_2[=B|{9E~AMJ|Kd">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text" id="Vzr0N:eCiY1YCrG#d7?a"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="$pUijj;JAzB,6nB$|sl8"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="VALUE"> <block type="math_number" id="F?X_Sq:A!2pw=fyG19fo"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="]]QZb_)c(,Em=JoIz3Og"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> <value name="VALUE"> <block type="lists_sort" id="4Z-n$%)QNi],dp-G6b|9"> <field name="TYPE">TEXT</field> <field name="DIRECTION">1</field> <value name="LIST"> <block type="variables_get" id="O{De.tPe3{~yIU6u32^*"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="oRHsW|ouJFK7~P9w3YYc"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> <value name="VALUE"> <block type="lists_length" id="Yft^+0wK^Metalc[@wa@"> <value name="VALUE"> <block type="variables_get" id="-5Tc.dy%/0~y%Zx[S.YB"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> </block> </value> <next> <block type="variables_set" id="Kq.L*}nxqbm:ojZThlH+"> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> <value name="VALUE"> <block type="lists_length" id="2l9imw=)UkIE=K~?]|r_"> <value name="VALUE"> <block type="variables_get" id="Tbj.Jj$?acWhL/x|=IV]"> <field name="VAR" id="T;4ToXjiEg-7T=9ZEQvB">Liste_adapter</field> </block> </value> </block> </value> <next> <block type="controls_forEach" id="gECBKCr~FK=]B+4QO2m%"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> <value name="LIST"> <block type="variables_get" id="S*}x{G|n%JU7@-()f;Mw"> <field name="VAR" id="qMWT(3z*qlEl6SeWknip">liste_instanzen</field> </block> </value> <statement name="DO"> <block type="math_change" id="i(VJv3$9AH/d)_$GV=A$"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> <value name="DELTA"> <shadow type="math_number" id="JEVhq=8BD3t[j%A7~_MA"> <field name="NUM">1</field> </shadow> </value> <next> <block type="variables_set" id="H97Ac7mTcBV;nutC;]n;"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> <value name="VALUE"> <block type="text_getSubstring" id="!r|K]3:dyK@^*;!6NWI">
<mutation at1="true" at2="true"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">FROM_END</field>
<value name="STRING">
<block type="variables_get" id="Ty9f|av,5dP_R_pr+Lc"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="PAo:{]2{z3hJx6W)DkPz"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="*27KZZlMyvZu}nrf-Pi">
<field name="NUM">9</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="9Q7.RmMK=^S^=9-U2Sdf">
<field name="VAR" id="vvnYy2LY:G^:A4/^0i(">adapter_mit_instanz</field>
<value name="VALUE">
<block type="text_getSubstring" id="OF8U=dqlV-Jw]{iQ$97W">
<mutation at1="true" at2="true"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">FROM_END</field>
<value name="STRING">
<block type="variables_get" id="N3Z(*lZ*qnpv49dFwJL"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> <value name="AT1"> <block type="math_number" id="$/YwJl$3fqwT(H:cXre7"> <field name="NUM">16</field> </block> </value> <value name="AT2"> <block type="math_number" id="+{y=]N2F|GIAR@a3R#,t"> <field name="NUM">7</field> </block> </value> </block> </value> <next> <block type="variables_set" id="M??],k5B.?auUn/:aT.k"> <field name="VAR" id=":$3Q}2~)+7cE{@bh3{l">adapter_bild</field>
<value name="VALUE">
<block type="get_attr" id="t,jwV@G(2j9ry)Dy~K{3">
<value name="PATH">
<shadow type="text" id="nOV=@/0yiWr^!Rat3$(P">
<field name="TEXT">common.icon</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id=",k|~:}itQRo0nrb}Mp-V">
<mutation name="json_lesen">
<arg name="path"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="nyvd_?.,%%c6?^=]^O.~">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="{GqI|?guQ;|/4%x|H~">
<field name="TEXT">/opt/iobroker/node_modules/iobroker.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="$P.AgN;@-L#e3-1|0CsZ">
<field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="tF)na~@*;W^+@%[PD6|]">
<field name="TEXT">/io-package.json</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="%d~G,#z%zm:,9s=3,rHE">
<field name="VAR" id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</field>
<value name="VALUE">
<block type="get_attr" id="QJlVT[)^}!mG-zZ0[5lD">
<value name="PATH">
<shadow type="text" id="Ig_4]__np%6lG-c_iQh5">
<field name="TEXT">common.mode</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="o+VZ.#q])%QsT[LAx!2~">
<mutation name="json_lesen">
<arg name="path"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="x5;~=,e^c{J{D~FfL1W^">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="UgkGv+4,^+W[0w_gTHkQ">
<field name="TEXT">/opt/iobroker/node_modules/iobroker.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="lg+|@TITX4|6#OpGk(">
<field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="b,LgCY4|]f1K(dy=xz@H">
<field name="TEXT">/io-package.json</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="c=FHF]#z6mg7rv$5tuL"> <field name="VAR" id=".3pp)Wk+Q-pH~vW!4VS">bild_url</field>
<value name="VALUE">
<block type="text_join" id="gWnwLjgAv%9atEysRn7p">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="gQp|F#JB:([hA{Rz}I/"> <field name="TEXT"><img src="/adapter/</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="F1+|In[Zk5^,X.4=b/-W"> <field name="VAR" id="+UFs6;9C-2SnfFZ$t.$?">adapter</field> </block> </value> <value name="ADD2"> <block type="text" id="2!V+%^uc@M/:{2H_wro("> <field name="TEXT">/</field> </block> </value> <value name="ADD3"> <block type="variables_get" id=".i?s.~Q]pnB9kAKZ^ey">
<field name="VAR" id=":$3Q}2~)+7cE{@bh3{l">adapter_bild</field> </block> </value> <value name="ADD4"> <block type="text" id="usU=LhY[V*Yj]M3u3Kp%"> <field name="TEXT">" width="35" align="middle"></field> </block> </value> </block> </value> <next> <block type="controls_if" id="C+o#=+4Die6kHI~~gy)Y"> <mutation elseif="1" else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="#XgX7g3F2_gw8J#QbR-$"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="*6]c)57s989.(Tm:8D]]"> <field name="VAR" id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</field> </block> </value> <value name="B"> <block type="text" id=",l1_y9O5F}[BVPV:B8()"> <field name="TEXT">daemon</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="jPbVh[Wm^Lw0GTYXMK3Y"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="1T36)CXg41w6#53qWkOS" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="y::U-UbCNTsNqK1fn4;">
<field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="wRVfdd.f[f;:=my;X+7"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=")vf+HEMp9zW#,r4+n/W6"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="p4cU}TxiNAoy:rF2:1m1"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=";O:G{(!;zDjHtKeP-j4">
<field name="TEXT"><img src="/cards/spacer_red.png" width="300" height="3"/></field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="@JrK;F2,[y236O!:l-}e">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="-hQ-K5Wd@+5B)2uJZ4#P">
<field name="VAR" id="U;l9_Nn9K8m#EAe,=C^n">adapter_mode</field>
</block>
</value>
<value name="B">
<block type="text" id="k3$n:z0n@6XYGHX7bO%"> <field name="TEXT">schedule</field> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="1Rho)w:AERBQ}l;PJqc}"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="(G},#R96/4qW3R4OD0C-" inline="true"> <mutation name="alive_vorhanden"> <arg name="id"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="k%xF-p]n6wSyd#j.,#(-"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="s@Z+y:8T#h4.^/U7,Jap"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id=",si]sOwa4I16rujzaUa;"> <field name="TEXT"><img src="/cards/spacer_green.png" width="300" height="3"/></field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="F;$paP@Io6%mF=)Z"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> <value name="VALUE"> <block type="text" id="WB7+hOt|Ch.o3mHA$l]7"> <field name="TEXT"><img src="/cards/spacer_orange.png" width="300" height="3"/></field> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="4I~.E$M5V8!QDM/r5HF">
<field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field>
<value name="VALUE">
<block type="text" id=":Q_P5z3@iQ-~^.+!4|ep">
<field name="TEXT"><img src="/cards/spacer_grey.png" width="300" height="3"/></field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="{p;4m?[.C-0@xeb(VJ;b">
<mutation else="1"></mutation>
<value name="IF0">
<block type="procedures_callcustomreturn" id="%eT(:(BR$6[2?~JRgov" inline="true"> <mutation name="cpu_vorhanden"> <arg name="dp_cpu"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="*/R,h3/)B(iCEt$%VP)">
<field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="f^ds)#o7{CH,5dmbse@"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text_join" id="Q1sL#wBjC(DTfP[}PZG5"> <mutation items="2"></mutation> <value name="ADD0"> <block type="get_value_var" id="?|Q3WLmov28369UjP^*z"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="Jo$1-mLKPR#)v)*:b*DX"> <field name="TEXT"></field> </shadow> <block type="text_join" id="J4F2]Q3Jy5A@t37)RQJ9"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="kSWx4D/CqYS6yU9?F4wk"> <field name="TEXT">system.adapter.</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5petrwy_d*F5~5UbW4Fh"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD2"> <block type="text" id=",%ENiciPL@^Ul+t(}(@."> <field name="TEXT">.cpu</field> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="text" id="N!e(!Eo#B6XfU2nyANWY"> <field name="TEXT"> %</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="_Krx:{q]ec|^d!ejK=P$"> <field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field> <value name="VALUE"> <block type="text" id="Fs?xUhS=?$aU-N:e2!u6"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="S=?7JEy(3D+_*:N0@SIV"> <mutation else="1"></mutation> <value name="IF0"> <block type="procedures_callcustomreturn" id="+cJ7_OISwW.d)|!|xOxD" inline="true"> <mutation name="mem_vorhanden"> <arg name="dp_memHeapUsed"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="H,1kz!_7F5U~psa3=:_O"> <field name="VAR" id="EP;3C8NM6Z/Hi-?L2#2v">i</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=":Hc7Og,:5bjj7;XyL|">
<field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field>
<value name="VALUE">
<block type="text_join" id="+e:MjTH?Ah+gxHeZJiGr">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="get_value_var" id="@r(ZR%B^l~xAU1sNHXu5">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="T8Q~10nNJ-g{j{IUqg]%">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="Z$.3dr?61=)r,Pe3!raK">
<field name="TEXT">system.adapter.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="(Q9D+{g:o0-!cC;b!Wa=">
<field name="VAR" id="vvnYy2LY:G^:A4/^0i(">adapter_mit_instanz</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="tN8XT6troR}MVdK(MJ,=">
<field name="TEXT">.memHeapUsed</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="Iu}gqq|X2Zp[[10Yn9a;">
<field name="TEXT"> MB</field>
</block>
</value>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="+YM!sUOSrDubQluiS%GF">
<field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field>
<value name="VALUE">
<block type="text" id="RMzf]AZKEHvkF^2P,:/"> <field name="TEXT">N/A</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="4RULouYB0,1;8H*al1yU"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="PVIu!%fmiZe};hN{u#P">
<field name="VAR" id="|84Ec07omg33RwJ/l]">Tabelle_mit_Details</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="Gzg;l=IePfZG5G(5}B5,"> <field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field>
<value name="VALUE">
<block type="text_join" id="(-C%qe+ul4ZGX?Zb#E9j">
<mutation items="9"></mutation>
<value name="ADD0">
<block type="variables_get" id="Xz$c-=gBs55gZ1$)JNt">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="yh.g?e{*:DR4qG!o0@f$"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="Gt(%4_t]+2CW%]6[;1">
<field name="VAR" id=".3pp)Wk+Q-pH~vW!4VS">bild_url</field> </block> </value> <value name="ADD3"> <block type="text" id="sWB%slqQ$BOI_qAYC_/}"> <field name="TEXT"><br><b></field> </block> </value> <value name="ADD4"> <block type="variables_get" id="D:ERe[5p.7ZWtEL@(;w,"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="-TrL2gV6MlHGC*;[qQ]T"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="text_join" id="Sm*.wOn#Jvy]14iugcD7"> <mutation items="7"></mutation> <value name="ADD0"> <block type="text" id="*cc?a:GDHRbD(O.aa7Un"> <field name="TEXT"><table width=90%><tr><td width="40%"><b><font size="1px"><I>CPU:</td><td align=right><b><font size="1px"><I></field> </block> </value> <value name="ADD1"> <block type="variables_get" id="eD/W@FHFZ.~^pM2uEz7">
<field name="VAR" id="/gom2ZY(1/e51S#JO|Hh">cpu</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="xN3Qj{%!,~Hc9[I29.kq">
<field name="TEXT"></td></tr><tr><td><b><font size="1px"><I>MEM:</td><td align=right><font size="1px"><b><I></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="H7cj$T9:G0oLMQ1Grllq">
<field name="VAR" id="9j@nYu()q(i2SXPci{2g">mem</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="[NML3L-clU.4}V#mPcvn">
<field name="TEXT"> </td></tr><tr><td><b><font size="1px"><I>Status:</td><td align=right><b><font size="1px"><I></field>
</block>
</value>
<value name="ADD5">
<block type="variables_get" id="p$biX|4~N{K3MjaYYTL">
<field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field>
</block>
</value>
<value name="ADD6">
<block type="text" id=")(^ILat@KhzOr3tEf)1">
<field name="TEXT"></td></tr></table></field>
</block>
</value>
</block>
</value>
<value name="ADD7">
<block type="text" id="-HjRA4mc[GRHdDJAjpB"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e-e4abIM,VqAs^zKLh08"> <value name="IF"> <block type="math_number_property" id="B6=H,ZC$cG*]{)|a_Dy">
<mutation divisor_input="true"></mutation>
<field name="PROPERTY">DIVISIBLE_BY</field>
<value name="NUMBER_TO_CHECK">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
<block type="variables_get" id="VfUu3@AF3ycBE]}N,^b0">
<field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field>
</block>
</value>
<value name="DIVISOR">
<block type="math_number" id="hrZ(FGCC56YlOeGmk]9">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
<value name="THEN">
<block type="text" id="|VGyHB5tJLgkgVv0_.$5">
<field name="TEXT"></tr> <tr></field>
</block>
</value>
<value name="ELSE">
<block type="text" id="R2bTv;GK;_]eKl,@9Fi-">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="@=^LTjhJ|Uj{i{pP3Z_6">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> <value name="VALUE"> <block type="text_join" id="LwkIHb9$ynp/+s.:d%6o"> <mutation items="9"></mutation> <value name="ADD0"> <block type="variables_get" id="fGwYi22*KT]@+iz+MqC">
<field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field> </block> </value> <value name="ADD1"> <block type="text" id="kkkBx#5ONX01WvDfOv#c"> <field name="TEXT"><td valign="bottom" width="33%"><center></field> </block> </value> <value name="ADD2"> <block type="variables_get" id="wIw/F.T)UQC|I?/7Rv5h"> <field name="VAR" id=".3pp)Wk+Q-pH~vW!4VS">bild_url</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="Lz1ngwcEI=;!h(;?[Pgo">
<field name="TEXT"><br></field>
</block>
</value>
<value name="ADD4">
<block type="variables_get" id=",hEKP18:9UgP:Fv$w5A"> <field name="VAR" id="vvnYy*2LY:G^:A4/^0i(">adapter_mit_instanz</field> </block> </value> <value name="ADD5"> <block type="text" id="1}@K]L^|NlZ+%6Yy)w]q"> <field name="TEXT"><br></field> </block> </value> <value name="ADD6"> <block type="variables_get" id="[6QgN=c{8{I6l~%C^5h9"> <field name="VAR" id="3uO4DZtfq9#9S=#NOXTP">alive</field> </block> </value> <value name="ADD7"> <block type="text" id=":CqAQ{]69UAF/)T_0R7P"> <field name="TEXT"><p></td></field> </block> </value> <value name="ADD8"> <block type="logic_ternary" id="e7tzdkrwxxV)V}+C(4qv"> <value name="IF"> <block type="math_number_property" id="b^.jT.5^!^2^q~#o!DR|"> <mutation divisor_input="true"></mutation> <field name="PROPERTY">DIVISIBLE_BY</field> <value name="NUMBER_TO_CHECK"> <shadow type="math_number"> <field name="NUM">0</field> </shadow> <block type="variables_get" id=",r+2:d0Jg*zQ9Jq+gg28"> <field name="VAR" id=",uQ[TnUTK#qN${7ViwL[">durchgang</field> </block> </value> <value name="DIVISOR"> <block type="math_number" id="f@LQ6G.ISYNt}cc6JH{H"> <field name="NUM">3</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="}ERMHkuGFK+0U@0s!GH}"> <field name="TEXT"></tr> <tr></field> </block> </value> <value name="ELSE"> <block type="text" id="0I!3qxjlTYSNNrNLg5p">
<field name="TEXT"></field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="timeouts_wait" id="6M6oko52#}pqc[M(P3Q"> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <next> <block type="controls_if" id="ky{_GQ;$W991,49_j/@b"> <value name="IF0"> <block type="variables_get" id="Qd]OVRnek-3^Qik@%Vf">
<field name="VAR" id="9pYG#yK]?PqMKX!?6)~Y">Infos_Adapteranzahl</field>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="#!b[g{|p#:oo?.AlK.]"> <field name="VAR" id="v5ZsSe|N[cy1djQ[V|h">updates</field>
<value name="VALUE">
<block type="text_join" id="8v)?r-:r@]PfP{cWh+W">
<mutation items="8"></mutation>
<value name="ADD0">
<block type="text" id="}t?oJt]6W;;IvsDch,/"> <field name="TEXT">Installierte Adapter: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="5(ktsl|T;#KsYfSE7%A["> <field name="VAR" id="k5,DNH:WxW_@~89~(J#c">Adapteranzahl</field> </block> </value> <value name="ADD2"> <block type="text" id="eT+iMLcmr+}8%oKG$X(:"> <field name="TEXT"><br>Verfügbare Adapterupdates: </field> </block> </value> <value name="ADD3"> <block type="get_value" id="3{57:fq.Ig(7w^}evbT~"> <field name="ATTR">val</field> <field name="OID">admin.0.info.updatesNumber</field> </block> </value> <value name="ADD4"> <block type="text" id="gDlJNgma#XjIA#{M.F*."> <field name="TEXT"><br></field> </block> </value> <value name="ADD5"> <block type="text" id="|LMn_so*Nu,sAhJNz?Pd"> <field name="TEXT">Installierte Instanzen: </field> </block> </value> <value name="ADD6"> <block type="variables_get" id="Iu!P7^on@x26J+~;:Ni8"> <field name="VAR" id="5d,(4K,ZlU#NE8s!5(X^">Instanzanzahl</field> </block> </value> </block> </value> </block> </statement> <next> <block type="update" id="Gf?CuRIWj$@Zn7KndF1L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.VIS.Tabellen.Status_Adapter_gruen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="l]@o|@UFR]MKf~.4$q_0"> <mutation items="4"></mutation> <value name="ADD0"> <block type="variables_get" id="}p7_Qa{G/I:LVP,ywzwQ"> <field name="VAR" id="v5ZsSe|N[cy1djQ[V|h">updates</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="_y/nF*7#3LKK#Ivd}3Km">
<field name="TEXT"><table width="100%"> <tr></field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="%H:8sInt33:%c)XHZ;M"> <field name="VAR" id="=o;jPH(ci8QVwD#SXx2">tabelle</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="f-jcG$CydVybV^g0^^kI">
<field name="TEXT"></table></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>[/s] Und die 2 anderen Punkte:   Mache ich ich mir übrigens immer hier, falls jmd die Farbe anpassen möchte und kein Grafikprogramm hat: [https://png-pixel.com/](https://png-pixel.com/)@david-g
Das funzt 1A!
Damit andere deinen Blockly-Code importieren können, musst du noch unbedingt das öffnende Tag in die erste Zeile einfügen:<xml>Ich finde es super und werde es weiter testen...
Intel NUC -> ProxMox -> Debian -> ioBroker (Master)| RPI3B+ -> rtl_433 (Slave) | CCU2
