- ioBroker Community Home
- Deutsch
- Visualisierung
- [Vorstellung] Meine zweite Visualisierung
NEWS
[Vorstellung] Meine zweite Visualisierung
-
-
-
Ich habe jetzt auch mal mit der neusten Version vom Javascript-Adapter getestet, selbes Ergebnis.
Anbei mal mein Script, vielleicht habe ich beim abändern was falsch gemacht.
-
@djsirius was mir als erstes auffält, sind die namen aller datenobjekte.
bei mir werden immer nur die namen angezeigt, bei dir der ganze pfad.
die anzeige des ganzen pfades kenne ich nur, wenn die variable bzw. das datenobjekt nicht gefunden wurde.
IST: zeiten.rolladen_oeffnen_timer_restart
SOLL: rolladen_oeffnen_timer_restart -
@djsirius was mir als erstes auffält, sind die namen aller datenobjekte.
bei mir werden immer nur die namen angezeigt, bei dir der ganze pfad.
die anzeige des ganzen pfades kenne ich nur, wenn die variable bzw. das datenobjekt nicht gefunden wurde.
IST: zeiten.rolladen_oeffnen_timer_restart
SOLL: rolladen_oeffnen_timer_restart -
@djsirius was mir als erstes auffält, sind die namen aller datenobjekte.
bei mir werden immer nur die namen angezeigt, bei dir der ganze pfad.
die anzeige des ganzen pfades kenne ich nur, wenn die variable bzw. das datenobjekt nicht gefunden wurde.
IST: zeiten.rolladen_oeffnen_timer_restart
SOLL: rolladen_oeffnen_timer_restart -
@Uli977 es gibt kein Script mit dem von dir genannten Namen.
Das ist ein Datenobjekt, in den ein Skript reinschreibt.
Es müsste das Skript "ressourcen_berechnugen" sein.
Achtung, die Skripr-Suche ist case-sensitive (Groß- / Kleinschreibung).
-
@Uli977 es gibt kein Script mit dem von dir genannten Namen.
Das ist ein Datenobjekt, in den ein Skript reinschreibt.
Es müsste das Skript "ressourcen_berechnugen" sein.
Achtung, die Skripr-Suche ist case-sensitive (Groß- / Kleinschreibung).
-
@Uli977 kanns ein, dass ich das erst später erstellt habe:
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="7pyA@#Kp~LlnIk[brWNK">zw</variable> <variable type="" id="Yb(zzMUPu+@2Gnle5%]L">iobroker_freespace</variable> <variable type="" id="bxnJJ:D-nj?Z}D:%mTp.">zw-pi</variable> <variable type="" id="-yMFj@EBQ([H~#o80yM-">zw-pi1</variable> </variables> <block type="comment" id="?B=ttbjkwQuxKt39J3FR" x="-987" y="-636"> <field name="COMMENT">Iobroker RAM Nutzung</field> <next> <block type="on_ext" id="D){=B{N1D:@hKDX8IEE)" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="!F8cVi!af9@O4ndgQ2Dy"> <field name="oid">info.0.sysinfo.memory.info.free</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="DqE?8a)v}]p](dvT5LJE"> <field name="VAR" id="7pyA@#Kp~LlnIk[brWNK" variabletype="">zw</field> <value name="VALUE"> <block type="math_arithmetic" id="dGE8$h_)T%@95z=EgK$|" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="@rLNGf@%a[-Nb5%qo]VI"> <field name="NUM">1</field> </shadow> <block type="get_value" id="C(3z1dbYlP}7.~^.rT2,"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.memory.info.used</field> </block> </value> <value name="B"> <shadow type="math_number" id="bmfleZldj$g`/dmoU6me"> <field name="NUM">100</field> </shadow> </value> </block> </value> <next> <block type="control" id="ZX{{|N%!gBv!Vh2vF5E@"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.iobroker.iobroker_ram_usage</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <shadow type="math_number" id="Y!LhzTI{ny3*.byQn,18"> <field name="NUM">3.1</field> </shadow> <block type="math_rndfixed" id="`}{AFf!^wt${=h|kAzK5"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="Hi)r+/M*^)My:bh7M*Sj"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="AQJ4n/w2=ZvtV9@=Euq`" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{/I8hgR.7Fr#|)LV$=UO"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Gq5BnVV9Ks;+HFLcUTV4"> <field name="VAR" id="7pyA@#Kp~LlnIk[brWNK" variabletype="">zw</field> </block> </value> <value name="B"> <shadow type="math_number" id="BU]bCf}]akDoWSjljb;H"> <field name="NUM">1970000000</field> </shadow> <block type="get_value" id="J|w6(C[3b:2Sb%JX9.(m"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.memory.info.total</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="Us+(I(#Pns2_c#ubT?KK"> <field name="COMMENT">ioBroker Disk Freespace</field> <next> <block type="on_ext" id="Ov{iB:phvc+WW?q3OHRf" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="v5R/S%guQ]kZGgO7pafZ"> <field name="oid">info.0.sysinfo.disks.fsSize.fs0.used</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="Vm*ZjlDR+9}D4(StKaP~"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> <value name="VALUE"> <block type="math_arithmetic" id="nyoCk3mgca@|FXwBi8o7" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="f5aThT3HD0OppmLgeV0;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="Y!)oTZyr4vEYqWUkV9og"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.disks.fsSize.fs0.size</field> </block> </value> <value name="B"> <shadow type="math_number" id="(|N_oIQT]l~%a#`lS02I"> <field name="NUM">1</field> </shadow> <block type="get_value" id="C*~tHBOMxR#%/k6-S$a7"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.disks.fsSize.fs0.used</field> </block> </value> </block> </value> <next> <block type="variables_set" id="K?PZ0Yz`PeRZn@;WI6o+"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> <value name="VALUE"> <block type="math_arithmetic" id="]*A(OPk5`#6oZAB8+NDy" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="JOJCKg|.gcwI5m32vd$_"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="f*[vgficcP|H%{O-T=JR"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> </block> </value> <value name="B"> <shadow type="math_number" id=",w.Ji!8n$5|?RKq?e|7T"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="ny``;-w3#)bIq[]9pIvw" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=":S{9~t^S)8z[d2EIWkU;"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="nD%5e3vDkTQ.G%~hu-rO" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="OXwOp9}XhM3/Jp?N)!w1"> <field name="NUM">1024</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="kyhQ#LW)Zfa.;C_4vN9g"> <field name="NUM">1024</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="XH/#QvSp%{K4DFP]V5nI"> <field name="NUM">1024</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="control" id="nlIG}TaqYY6D]#|d:RA}"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.iobroker.iobroker_disk_free</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id=")E_pd2I:!5ZF%lR2n8Jg"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="=QL|4j3zSacZ?odqfi_I"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="Ra23sAxI`g;mrxe=_}gN"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="/$2-;1KV|MjPfddC[)V)"> <field name="COMMENT">ioBroker-PI RAM Nutzung</field> <next> <block type="on_ext" id="%n{PX]BWP+/x1Egl3uOa" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="pH;(,9w-wg3=yL+|t=C4"> <field name="oid">javascript.0.iobroker_pi.ram_usage</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="5;CuS_YCP$W5jy0{dBv-"> <field name="VAR" id="bxnJJ:D-nj?Z}D:%mTp." variabletype="">zw-pi</field> <value name="VALUE"> <block type="math_arithmetic" id="7)0qm74=.srmBX)vpXOV" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="C4Ngs-`1WC/FcrMBoUz!"> <field name="NUM">927</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="f)m2,KX|BHrcJmmO|{Ob"> <field name="NUM">1</field> </shadow> <block type="get_value" id="KY:^^[M1ua]UQj0DDuFt"> <field name="ATTR">val</field> <field name="OID">javascript.0.iobroker_pi.ram_usage</field> </block> </value> </block> </value> <next> <block type="variables_set" id="+#NZb95DUxH.rT?,o/QM"> <field name="VAR" id="-yMFj@EBQ([H~#o80yM-" variabletype="">zw-pi1</field> <value name="VALUE"> <block type="math_arithmetic" id="u?FwM,LfeM4Gs.i~)?$i" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="@rLNGf@%a[-Nb5%qo]VI"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="c{XdiR?~kimPu#MY`jU0"> <field name="VAR" id="bxnJJ:D-nj?Z}D:%mTp." variabletype="">zw-pi</field> </block> </value> <value name="B"> <shadow type="math_number" id="vVDTx0T_]TdIhdl`ss+?"> <field name="NUM">100</field> </shadow> </value> </block> </value> <next> <block type="control" id=",`~:u*[%T?5=IBvuaCd`"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.iobroker-pi.iobroker-pi_ram_usage</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <shadow type="math_number" id="Y!LhzTI{ny3*.byQn,18"> <field name="NUM">3.1</field> </shadow> <block type="math_rndfixed" id="BuLZ?MATu$t{rP^1Q!s7"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="Hi)r+/M*^)My:bh7M*Sj"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="#bcX7?-CcXK%A;O|t,^v" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{/I8hgR.7Fr#|)LV$=UO"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="/dta9)e5l141^l_+*2b!"> <field name="VAR" id="-yMFj@EBQ([H~#o80yM-" variabletype="">zw-pi1</field> </block> </value> <value name="B"> <shadow type="math_number" id="@.;_X{tRp,^BjO$1}%87"> <field name="NUM">927</field> </shadow> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="0@t1bTY%y[OVy5kGfZd@"> <field name="COMMENT">Synology Free Diskspace</field> <next> <block type="on_ext" id="t$}I7=FGay7gN[1(S@#2" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="4#r$#_w+d+1X%r[-#b9r"> <field name="oid">synology.0.DiskStationManager.vol_info.volume_1.used_size</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="u3q]{NKP!;iBTI^.;`ej"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.synology.synology_datastore_freespace</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="]EqV=n`lUi:O24#YnMSS" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="AWikZ,~Ly1RfV[wNG=Dy"> <field name="NUM">1</field> </shadow> <block type="get_value" id="bhV9z6b/VT@VJ@Ay-6#a"> <field name="ATTR">val</field> <field name="OID">synology.0.DiskStationManager.vol_info.volume_1.total_size</field> </block> </value> <value name="B"> <shadow type="math_number" id="sxJr./kw]:x3BgH1ghYS"> <field name="NUM">1</field> </shadow> <block type="get_value" id="rC99#!X_r_SO%DK([}9B"> <field name="ATTR">val</field> <field name="OID">synology.0.DiskStationManager.vol_info.volume_1.used_size</field> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="Pt%j4wbDJFzD(Oh?TT63"> <field name="COMMENT">VU WZ PoweredOn</field> <next> <block type="on_ext" id=")l$o^wlVL~79|p*0l}J=" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="7cN)%Fj9[t8N1:S5!9GY"> <field name="oid">enigma2.0.enigma2.STANDBY</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=":uNp6B;Yf?eIDkpVpUB("> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="Udv{^V+B7q/8mmYei;n/"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="gmI:S-!Af~enFWccE!M?"> <field name="ATTR">val</field> <field name="OID">enigma2.0.enigma2.STANDBY</field> </block> </value> <value name="B"> <block type="logic_boolean" id="3QEm0SClEznsm5L~Lfqm"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="a*E9eSyP4IQz7#6_nq7V"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.vu_wz.poweredon</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id=";+E5v5Z:WRWlBPtUpT6_"> <field name="TEXT">0</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="4B;@47F64hgxBsHH3aio"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.vu_wz.poweredon</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id=",5Sw:WTts6K={c;tp|L%"> <field name="TEXT">1</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml> -
@Uli977 kanns ein, dass ich das erst später erstellt habe:
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="7pyA@#Kp~LlnIk[brWNK">zw</variable> <variable type="" id="Yb(zzMUPu+@2Gnle5%]L">iobroker_freespace</variable> <variable type="" id="bxnJJ:D-nj?Z}D:%mTp.">zw-pi</variable> <variable type="" id="-yMFj@EBQ([H~#o80yM-">zw-pi1</variable> </variables> <block type="comment" id="?B=ttbjkwQuxKt39J3FR" x="-987" y="-636"> <field name="COMMENT">Iobroker RAM Nutzung</field> <next> <block type="on_ext" id="D){=B{N1D:@hKDX8IEE)" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="!F8cVi!af9@O4ndgQ2Dy"> <field name="oid">info.0.sysinfo.memory.info.free</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="DqE?8a)v}]p](dvT5LJE"> <field name="VAR" id="7pyA@#Kp~LlnIk[brWNK" variabletype="">zw</field> <value name="VALUE"> <block type="math_arithmetic" id="dGE8$h_)T%@95z=EgK$|" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="@rLNGf@%a[-Nb5%qo]VI"> <field name="NUM">1</field> </shadow> <block type="get_value" id="C(3z1dbYlP}7.~^.rT2,"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.memory.info.used</field> </block> </value> <value name="B"> <shadow type="math_number" id="bmfleZldj$g`/dmoU6me"> <field name="NUM">100</field> </shadow> </value> </block> </value> <next> <block type="control" id="ZX{{|N%!gBv!Vh2vF5E@"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.iobroker.iobroker_ram_usage</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <shadow type="math_number" id="Y!LhzTI{ny3*.byQn,18"> <field name="NUM">3.1</field> </shadow> <block type="math_rndfixed" id="`}{AFf!^wt${=h|kAzK5"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="Hi)r+/M*^)My:bh7M*Sj"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="AQJ4n/w2=ZvtV9@=Euq`" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{/I8hgR.7Fr#|)LV$=UO"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Gq5BnVV9Ks;+HFLcUTV4"> <field name="VAR" id="7pyA@#Kp~LlnIk[brWNK" variabletype="">zw</field> </block> </value> <value name="B"> <shadow type="math_number" id="BU]bCf}]akDoWSjljb;H"> <field name="NUM">1970000000</field> </shadow> <block type="get_value" id="J|w6(C[3b:2Sb%JX9.(m"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.memory.info.total</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="Us+(I(#Pns2_c#ubT?KK"> <field name="COMMENT">ioBroker Disk Freespace</field> <next> <block type="on_ext" id="Ov{iB:phvc+WW?q3OHRf" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="v5R/S%guQ]kZGgO7pafZ"> <field name="oid">info.0.sysinfo.disks.fsSize.fs0.used</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="Vm*ZjlDR+9}D4(StKaP~"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> <value name="VALUE"> <block type="math_arithmetic" id="nyoCk3mgca@|FXwBi8o7" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="f5aThT3HD0OppmLgeV0;"> <field name="NUM">1</field> </shadow> <block type="get_value" id="Y!)oTZyr4vEYqWUkV9og"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.disks.fsSize.fs0.size</field> </block> </value> <value name="B"> <shadow type="math_number" id="(|N_oIQT]l~%a#`lS02I"> <field name="NUM">1</field> </shadow> <block type="get_value" id="C*~tHBOMxR#%/k6-S$a7"> <field name="ATTR">val</field> <field name="OID">info.0.sysinfo.disks.fsSize.fs0.used</field> </block> </value> </block> </value> <next> <block type="variables_set" id="K?PZ0Yz`PeRZn@;WI6o+"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> <value name="VALUE"> <block type="math_arithmetic" id="]*A(OPk5`#6oZAB8+NDy" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="JOJCKg|.gcwI5m32vd$_"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="f*[vgficcP|H%{O-T=JR"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> </block> </value> <value name="B"> <shadow type="math_number" id=",w.Ji!8n$5|?RKq?e|7T"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="ny``;-w3#)bIq[]9pIvw" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=":S{9~t^S)8z[d2EIWkU;"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="nD%5e3vDkTQ.G%~hu-rO" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="OXwOp9}XhM3/Jp?N)!w1"> <field name="NUM">1024</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="kyhQ#LW)Zfa.;C_4vN9g"> <field name="NUM">1024</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="XH/#QvSp%{K4DFP]V5nI"> <field name="NUM">1024</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="control" id="nlIG}TaqYY6D]#|d:RA}"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.iobroker.iobroker_disk_free</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id=")E_pd2I:!5ZF%lR2n8Jg"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="=QL|4j3zSacZ?odqfi_I"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="Ra23sAxI`g;mrxe=_}gN"> <field name="VAR" id="Yb(zzMUPu+@2Gnle5%]L" variabletype="">iobroker_freespace</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="/$2-;1KV|MjPfddC[)V)"> <field name="COMMENT">ioBroker-PI RAM Nutzung</field> <next> <block type="on_ext" id="%n{PX]BWP+/x1Egl3uOa" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="pH;(,9w-wg3=yL+|t=C4"> <field name="oid">javascript.0.iobroker_pi.ram_usage</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="5;CuS_YCP$W5jy0{dBv-"> <field name="VAR" id="bxnJJ:D-nj?Z}D:%mTp." variabletype="">zw-pi</field> <value name="VALUE"> <block type="math_arithmetic" id="7)0qm74=.srmBX)vpXOV" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="C4Ngs-`1WC/FcrMBoUz!"> <field name="NUM">927</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="f)m2,KX|BHrcJmmO|{Ob"> <field name="NUM">1</field> </shadow> <block type="get_value" id="KY:^^[M1ua]UQj0DDuFt"> <field name="ATTR">val</field> <field name="OID">javascript.0.iobroker_pi.ram_usage</field> </block> </value> </block> </value> <next> <block type="variables_set" id="+#NZb95DUxH.rT?,o/QM"> <field name="VAR" id="-yMFj@EBQ([H~#o80yM-" variabletype="">zw-pi1</field> <value name="VALUE"> <block type="math_arithmetic" id="u?FwM,LfeM4Gs.i~)?$i" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="@rLNGf@%a[-Nb5%qo]VI"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="c{XdiR?~kimPu#MY`jU0"> <field name="VAR" id="bxnJJ:D-nj?Z}D:%mTp." variabletype="">zw-pi</field> </block> </value> <value name="B"> <shadow type="math_number" id="vVDTx0T_]TdIhdl`ss+?"> <field name="NUM">100</field> </shadow> </value> </block> </value> <next> <block type="control" id=",`~:u*[%T?5=IBvuaCd`"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.iobroker-pi.iobroker-pi_ram_usage</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <shadow type="math_number" id="Y!LhzTI{ny3*.byQn,18"> <field name="NUM">3.1</field> </shadow> <block type="math_rndfixed" id="BuLZ?MATu$t{rP^1Q!s7"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="Hi)r+/M*^)My:bh7M*Sj"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="#bcX7?-CcXK%A;O|t,^v" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{/I8hgR.7Fr#|)LV$=UO"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="/dta9)e5l141^l_+*2b!"> <field name="VAR" id="-yMFj@EBQ([H~#o80yM-" variabletype="">zw-pi1</field> </block> </value> <value name="B"> <shadow type="math_number" id="@.;_X{tRp,^BjO$1}%87"> <field name="NUM">927</field> </shadow> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="0@t1bTY%y[OVy5kGfZd@"> <field name="COMMENT">Synology Free Diskspace</field> <next> <block type="on_ext" id="t$}I7=FGay7gN[1(S@#2" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="4#r$#_w+d+1X%r[-#b9r"> <field name="oid">synology.0.DiskStationManager.vol_info.volume_1.used_size</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="u3q]{NKP!;iBTI^.;`ej"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.synology.synology_datastore_freespace</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="]EqV=n`lUi:O24#YnMSS" inline="false"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="AWikZ,~Ly1RfV[wNG=Dy"> <field name="NUM">1</field> </shadow> <block type="get_value" id="bhV9z6b/VT@VJ@Ay-6#a"> <field name="ATTR">val</field> <field name="OID">synology.0.DiskStationManager.vol_info.volume_1.total_size</field> </block> </value> <value name="B"> <shadow type="math_number" id="sxJr./kw]:x3BgH1ghYS"> <field name="NUM">1</field> </shadow> <block type="get_value" id="rC99#!X_r_SO%DK([}9B"> <field name="ATTR">val</field> <field name="OID">synology.0.DiskStationManager.vol_info.volume_1.used_size</field> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="Pt%j4wbDJFzD(Oh?TT63"> <field name="COMMENT">VU WZ PoweredOn</field> <next> <block type="on_ext" id=")l$o^wlVL~79|p*0l}J=" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="7cN)%Fj9[t8N1:S5!9GY"> <field name="oid">enigma2.0.enigma2.STANDBY</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=":uNp6B;Yf?eIDkpVpUB("> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="Udv{^V+B7q/8mmYei;n/"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="gmI:S-!Af~enFWccE!M?"> <field name="ATTR">val</field> <field name="OID">enigma2.0.enigma2.STANDBY</field> </block> </value> <value name="B"> <block type="logic_boolean" id="3QEm0SClEznsm5L~Lfqm"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="a*E9eSyP4IQz7#6_nq7V"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.vu_wz.poweredon</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id=";+E5v5Z:WRWlBPtUpT6_"> <field name="TEXT">0</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="4B;@47F64hgxBsHH3aio"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.ressourcen.vu_wz.poweredon</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id=",5Sw:WTts6K={c;tp|L%"> <field name="TEXT">1</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml> -
- neues Skript (Typ java)
- einfügen:
createState('javascript.0.ressourcen.iobroker.iobroker_ram_usage', false, {type: 'number',name: 'iobroker_ram_usage'});- speichern
- starten
- stoppen
-
- neues Skript (Typ java)
- einfügen:
createState('javascript.0.ressourcen.iobroker.iobroker_ram_usage', false, {type: 'number',name: 'iobroker_ram_usage'});- speichern
- starten
- stoppen







