- Home
- Deutsch
- Visualisierung
- [Vorstellung] Meine zweite Visualisierung
[Vorstellung] Meine zweite Visualisierung
-
@DennisMenger in deinem ersten check ist der dritte wert "falsch" und nicht wie bei den ersten beiden "wahr".
Ändere das mal bitte
-
@Kuddel oh jaaa ... wer lesen kann ist klar im Vorteil. Danke dir für den Hinweis
-
@Kuddel, als erstes mal ein fettes DANKE für das Teilen und Supporten deines Views!!!
Mit deiner Vorlage klären sich mir immer mehr Fragen, die beim erstellen meines ersten views aufkommen.
Leider scheitere ich jetzt auch an der Einbindung der Scripte. Genauer eigentlich am export meiner eigenen. Ich bekomme selben fehler wie @Firewalker99
@Firewalker99 said in [Vorstellung] Meine zweite Visualisierung:
Hallo Zusammen und schöne Feiertage,
habe leichte Probleme beim Import der Java Script ZIP.- Will ich alle Scripte exportieren erscheint: File 2019-12-25-scripts.zip.zip not found.
- Importiere ich die Zip 2019-11-06-scripts.zip ohne vorherigen Export bekomme ich beim in jedem Script Syntax Error und außer den Gruppen wird nicht angelegt.
Ich vermute irgendwelche fehlenden Rechtevergaben weiß jedoch nicht wo ich hier ansetzen soll?
BlocklyJavascriptTypeScript
Fehler
Cannot parse "script.js.java.shutdown.reboot_qnap-b": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.shutdown.shutdown_qnap-archiv_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.shutdown.shutdown_synology_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.abfall_tage": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.hm_meldungen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.kodi_fanart": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.onlinezeit": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.regenradar": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.speedtest": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.upnp_update": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_daniel": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_esxp01": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_esxp02": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_qnap_archiv": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_synology": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_winnas": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_xmg": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.wohnzimmer_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.temperaturen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.haushalt.geschirrspueler_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.iobroker-pi_api_sync": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.shutdown_synology_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.ankleide_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.kueche_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.schlafzimmer_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.aussenbeleuchtung": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.kueche_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.schlafzimmer_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.weckzeit_jenny": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.weihnachten": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.leinwand_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.lueftung_rolladen_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.alexa_ansagen.außentemperatur": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.kamera_auf_TV": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.tuerklingel": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.weckradio": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.buero_monitore_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.haushalt.trockner_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.haushalt.waschmaschine_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.kodi_steckdose_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.ps4_lueftung_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.schlafzimmer_tv_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.vu_receiver": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.backup_erstellen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.reboot_skript": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.ressourcen_berechnungen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker_instanz": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker_pi": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker_pi_instanz": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.qnap_archiv": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.qnap_b": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.sonoff_bewaesserung": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.synology": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_ap_eg": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_ap_og": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_ap_pavillon": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_switch_rack": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_switch_wohnzimmer": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.win10": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.winnas": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.wlan_failover": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.logs_vis": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.start_stop_esxp": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.kodi_licht_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.schriftleuchte_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.weckzeit_daniel": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.kamera": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.kamera_überwachung": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.system_ctr_vis": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.esx_nuc": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.wake_on_lan_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.rolladen_beamer_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.rolladen_verdunkelung_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.briefkasten_tuerklingel_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.anwesenheit": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.echo_stati": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.ccu": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.nut-server": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.omv": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.pihole": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.sophos": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_controller": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.vu_wohnzimmer": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.shutdown_WinNAS_v01": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.lichterkette_flur_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.lichtkugeln_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.usv_shutdown": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.harmony_schaltung_v0_4": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.tablet": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.vis_status": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.alexa_benachrichtigungen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.zeiten_v01": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.rolladen_tag_nacht": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.adapter_starten_stoppen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.benachrichtigungen_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.staubsauger_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.bewaesserung": SyntaxError: Unexpected token / in JSON at position 0
Beim ersten versuch war Java Adapter auf 4.1.12, jetzt bin ich auf 4.3.4. Beide selber Export Fehler.
Nach einem Downgrade auf 3.6.4 hat zumindest der export funktioniert, aber es sind unterschiedliche formatierungen, ...
Nachdem ich etwas rumgebastelt habe, ist jetzt immerhin die Baumstruktur der "neuen" Scripte vorhanden, aber die eigentliche scripte sind nicht da, ...Wer weis weiter?
Grüße -
Re: [Vorstellung] Meine zweite Visualisierung
@Kuddel :Erstmal vielen Dank für diese tolle vis. Bin gerade dabei sie für meine infrastruktur umzubauen.
da kommt ne frage hoch....
wo bekommst du denn die werte unter:
javascript.0.uptime.raw.* her?
Danke!
-
die Werte unter "javascript.0.uptime.raw" ("javascript.0.uptime.raw.windows10_raw" und "javascript.0.uptime.raw.winnas_raw") werder per Powershell über die API-Schnittstelle übergeben und dann weiterverarbeitet.
Die Skripte laufen auf meiner Windows10 VM.
-
@Kuddel könntest du die bereitstellen? die pihole wäre zusätzlich interessant.
-
@luelle76 pihole habe ich mittlerweile nicht mehr in Betrieb. Das würde ich mittlerweile auch per SSH aus Blockly abfragen.
Hier ein Beispiel, wie ich es für meinen NUT Server mache (Voraussetzung: der SSH Key vom ioBroker muss auf dem Zielsystem hinterlegt sein, sonst kommt eine PW Abfrage):
<block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="3|z9G^N6.4tJqdrPeCvT" x="-637" y="-87"> <field name="SCHEDULE">* * * * *</field> <statement name="STATEMENT"> <block type="exec" id="$9#3RthKi8biu%J4a01u"> <mutation with_statement="true"></mutation> <field name="WITH_STATEMENT">TRUE</field> <field name="LOG"></field> <value name="COMMAND"> <shadow type="text" id="D7x(9dET/-#:Vms)i:nc"> <field name="TEXT">ssh root@192.168.4.39 uptime | awk '{print $3_$4_$5}'</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="e`@QX}n-~J*w55w*Njrd"> <field name="COMMENT">Impor der RAW-Daten</field> <next> <block type="variables_set" id="InRE;D))7IjO~@[u9o-2"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> <value name="VALUE"> <block type="variables_get" id="/iZo}jpD^^,L[fNe8/qw"> <field name="VAR" id="TbS95G8U?U*=V+q,^-tT" variabletype="">result</field> </block> </value> <next> <block type="comment" id="aenR|!64[;M/5pwS*e2{"> <field name="COMMENT">Stellen in Variable</field> <next> <block type="variables_set" id="O.WlhmF(p~kCu]MfSc|9"> <field name="VAR" id="`}L_Lzn|vt?3/!cZ_t7s" variabletype="">stelle_tage</field> <value name="VALUE"> <block type="text_indexOf" id=")+n_2r}A=}1nHA|3$t7U"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="/w_?2!Io?Pr_Y}Zj~`@["> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="FIND"> <shadow type="text" id="sRBC.qA4R_]Pf@@bf*HP"> <field name="TEXT">day</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="OK+U-dp*,wRUxQF=}hB8"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> <value name="VALUE"> <block type="text_indexOf" id="Qr(RyE_9QWPzwZO19`Er"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="a+qh%P63+ux8*NU@Q4Rx"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="FIND"> <shadow type="text" id="nk50l7paDSbxsH{jRF^+"> <field name="TEXT">:</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="ShFN@RY1iRSN9w9km4`,"> <field name="VAR" id="c1et;Qzgy.J^m$Y7XD(}" variabletype="">stelle_komma</field> <value name="VALUE"> <block type="text_indexOf" id="C;(Rd_];.nae4WA}a}KB"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="cUCv.oh29ln|I@1t`M:S"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="FIND"> <shadow type="text" id="uNfKR$(kp@-Vc^@m+_Az"> <field name="TEXT">,</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="7VB$FrJqq?,;]dG+CCGi"> <field name="VAR" id="pg,790%C~4/;_rPA62F6" variabletype="">stelle_komma2</field> <value name="VALUE"> <block type="text_indexOf" id=")-js#nY/(!e]Uqe/Os!Q"> <field name="END">LAST</field> <value name="VALUE"> <block type="variables_get" id="~/UkbC;7~LUuEA2}#nB7"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="FIND"> <shadow type="text" id="5T0NCYIwT$$,*L{DU_GB"> <field name="TEXT">,</field> </shadow> </value> </block> </value> <next> <block type="variables_set" id="X{YN3tf7qz]+Lu(`_O,."> <field name="VAR" id="h$?S,?!0%|B-+x54)DPA" variabletype="">stelle_min</field> <value name="VALUE"> <block type="text_indexOf" id="euW+z!_V{MJ.]`UNFdz]"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="pNm.t17Kc6^CM(8@emrJ"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="FIND"> <shadow type="text" id="_@rX51i|3q5{?ydDBE!%"> <field name="TEXT">min</field> </shadow> </value> </block> </value> <next> <block type="comment" id="{qxgDqA8s;]nW=DSaLV3"> <field name="COMMENT">Herausfiltern des Tages</field> <next> <block type="controls_if" id="y+lQ+n+N4Ym8VJ4pa[W?"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="%R{2rkCyfF#6A}xdjq]U"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="C?E.y6;%UiNF4,ylc-Ob"> <field name="VAR" id="`}L_Lzn|vt?3/!cZ_t7s" variabletype="">stelle_tage</field> </block> </value> <value name="B"> <block type="math_number" id="35@A;B|SeX^kkTMK]yJ]"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="=`~z}BBHWN8?!a^DPFq@"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> <value name="VALUE"> <block type="text_getSubstring" id="yd;0z.Lg]{CKF(+-uR*o"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="},+8Ap:kd19X0h6$s6Px"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT1"> <block type="math_number" id="A!jJdPz9Z~;:*uslJ$Iu"> <field name="NUM">1</field> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="`v#U2{Vop)19-2IRzb0`"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Di+z,.G~gfWJhNSx_T5I"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Sr_lETrDQ~?u4;%(R!/4"> <field name="VAR" id="`}L_Lzn|vt?3/!cZ_t7s" variabletype="">stelle_tage</field> </block> </value> <value name="B"> <shadow type="math_number" id="iFO14pOVbK=*d#/4$;.p"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="v2r8la@?]TP(PuUgSg]N"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> <value name="VALUE"> <block type="math_number" id="IaI+u`taEV33D];(YQ,:"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="comment" id="$4NqG;IfUHWztc^lLtf-"> <field name="COMMENT">Herausfiltern der Stunde</field> <next> <block type="controls_if" id="e;]15X*b)eLpc:!c_%pb"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="$8,t]9]/%^tD?|#,7cE$"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="n;a,R?FD*iak!/n*,+}d"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <block type="math_number" id="QZ!uKr7.GA(_XD#?+ADe"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id=",I7?Oox[96,-0hfdgJ[4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="rd02-;@y=MK)HRZ|]`FP"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="s|(^$(-(j@Pd}S_?!;;k"> <field name="VAR" id="`}L_Lzn|vt?3/!cZ_t7s" variabletype="">stelle_tage</field> </block> </value> <value name="B"> <block type="math_number" id="nAs=%4Ti#f!azzh/hQ5m"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="@~DE]P?Nk,TUYyW:gMz:"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> <value name="VALUE"> <block type="text_getSubstring" id="XLDrJ5.LU}/djC7+W3ZY"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="yNf`9`Y[U5#:#9Q.z%Si"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="hvgJo,4H-H_HO7j]/8+t"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="]jKiX[w!KbV0E.`nRgg,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id=")Q_UAg/a0RCJ,%pv9lTy"> <field name="VAR" id="c1et;Qzgy.J^m$Y7XD(}" variabletype="">stelle_komma</field> </block> </value> <value name="B"> <shadow type="math_number" id="I(Vw2rIJ?e2HR[h(bOU="> <field name="NUM">1</field> </shadow> </value> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="ODs^g%lU}Oen%GOoAI)z"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Di+z,.G~gfWJhNSx_T5I"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="r%7m_ho9V6V!d2{-9pLg"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <shadow type="math_number" id=";WY%Jgm2z9Y.bGG)kq{y"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="RYMIeMDUOoP@)Wv6Sq)i"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> <value name="VALUE"> <block type="text_getSubstring" id=")F#YeOhkJN6`$=Mq9R@="> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="4|1a9!DRz6]*5Y.9T8t9"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="4$6#/-d#j3@uZRU:fJFh"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="]jKiX[w!KbV0E.`nRgg,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="vCcw]jmbSPI+A{,7,Pdw"> <field name="VAR" id="`}L_Lzn|vt?3/!cZ_t7s" variabletype="">stelle_tage</field> </block> </value> <value name="B"> <shadow type="math_number" id="k`+{4kXy)@7DEcCs,ykz"> <field name="NUM">1</field> </shadow> </value> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="QGJs)+i;!t%lIlA$tKKg"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Di+z,.G~gfWJhNSx_T5I"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Sl1;!B/,MwjUy/nMm`c^"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <shadow type="math_number" id="XxSo9B|;A]9Y](oTy`f~"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="qZ9J)#hq5je/ep-r+PUD"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> <value name="VALUE"> <block type="text" id="@:^pB9GCU;6I6|lZ%9T#"> <field name="TEXT">0</field> </block> </value> </block> </statement> <next> <block type="comment" id="Zrvt]^6znCt9~HW}b-d0"> <field name="COMMENT">0 hinzufügen wenn Stunden < 10</field> <next> <block type="controls_if" id="9NrEpjYS|Zqf|7?:IEAc"> <value name="IF0"> <block type="logic_compare" id="[5;Yo-v+#yFx#3RDce81"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="[Tm2G:`=@[vb2%s;[jWm"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> </block> </value> <value name="B"> <block type="math_number" id="SUY5i%D8%$O/FBT3,Vsi"> <field name="NUM">10</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="uN~%%nZ2Z2i2}u.E]{(J"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> <value name="VALUE"> <block type="text_join" id="%Pi6UMXvQ:n`%G+_K#9S"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="Ld@]3(:G=X[#U_hrZH~9"> <field name="TEXT">0</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="DpObVyFw`Hs`F~}n+I(="> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="*vbiZc;LSnStohLBW+eM"> <field name="COMMENT">Herausfiltern der Minuten</field> <next> <block type="controls_if" id="rHK(CD85;td/]/4Z`ciX"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="idfiI4B79KJf.[v1UeZe"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="E}F{?(CC{1Q:0wE=I{jw"> <field name="VAR" id="pg,790%C~4/;_rPA62F6" variabletype="">stelle_komma2</field> </block> </value> <value name="B"> <block type="math_number" id="HX6O~jKbv^.5pa*g$rbF"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="E6w,`x4U]NP?+;JZT%+}"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="vdp8}.C8koE5Ak#.*w|j"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="Jh.A_~*Q_bxdI.GFY8ko"> <field name="VAR" id="`}L_Lzn|vt?3/!cZ_t7s" variabletype="">stelle_tage</field> </block> </value> <value name="B"> <block type="math_number" id="wXD6xF9QM|eF-%I..6x|"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="8Ip/%l~s5NW)G4hYWDKZ"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text_getSubstring" id="53eB7q[k`;%roydR}gb?"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="+z5[*V~ls(6/|Zg;IoQx"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="YJ;iG+J!c+aN74rg?;8|"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="]jKiX[w!KbV0E.`nRgg,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="T{p?pUH5O+jo`5Y/Hl^e"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <shadow type="math_number" id="C#|4mQDH2[dtm={D~)8?"> <field name="NUM">1</field> </shadow> </value> </block> </value> <value name="AT2"> <block type="math_arithmetic" id=";j*[u!Jrp8|y$*{`+W8R"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Di+z,.G~gfWJhNSx_T5I"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="?n$|K/vBCODtyvDx2O}a"> <field name="VAR" id="pg,790%C~4/;_rPA62F6" variabletype="">stelle_komma2</field> </block> </value> <value name="B"> <shadow type="math_number" id="}YRtnl/9W=El,[%QS[cI"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="_?[w.VXc{xrAORAS0qsa"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text_getSubstring" id="USYd$MPqj3Xk)fR+s_.w"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="A,q.{ukNM{9C3/QT;Z3S"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="xlQLWP75{}BiDhwY@a|^"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="]jKiX[w!KbV0E.`nRgg,"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="0YZr~G@_D4j~*.BOGfs|"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <shadow type="math_number" id="]$tx[~yzW16-c-A3o(iD"> <field name="NUM">1</field> </shadow> </value> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="If7.?.0^5A2n*32KivS5"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Di+z,.G~gfWJhNSx_T5I"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="y4f._)MJi8:;NnVq1`5]"> <field name="VAR" id="c1et;Qzgy.J^m$Y7XD(}" variabletype="">stelle_komma</field> </block> </value> <value name="B"> <shadow type="math_number" id="hwQ;pi?~z18Nbl^wJ9Hm"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="lf?IYZiqd)u.9fi=[Ynb"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text" id="W(uLknRJg7G7[C=(3QiQ"> <field name="TEXT">00</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="n@!qp`;kdQ2`=?Pni.(;"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="~wmB_h90+c4.%P@s~3-8" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="SPFD]u(Ao[suW?Z%e3si"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="Y[kceV$$8!a1IacavII0"> <field name="VAR" id="c1et;Qzgy.J^m$Y7XD(}" variabletype="">stelle_komma</field> </block> </value> <value name="B"> <block type="math_number" id="jMRct@)k]8b_d0=HNHtu"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="v7NxPW14oIL=NDcRDeN:"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="AKeX|yO}RdtlK26s/EY2"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <block type="math_number" id="0(PG~|@M#x#.(+@u.+SW"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="U7^Zn=RZr77K+J?$ckH@"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text_getSubstring" id="J,FF?/Y#{=oIaS.;UEy!"> <mutation at1="false" at2="true"></mutation> <field name="WHERE1">FIRST</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="Wv1*waDBKz+pGsz?Wk+m"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="q+JrL#9w[vx_6(iaN7e#"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="Ah/:WZ~P=Mk{?gyN*XQ;"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="8[F`BR|:Aj+p@d}=2c%4"> <field name="VAR" id="h$?S,?!0%|B-+x54)DPA" variabletype="">stelle_min</field> </block> </value> <value name="B"> <shadow type="math_number" id="8.QEvI2#SVot3=/W9AcO"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="^m$|It__o8zElLr-mJ0Z" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="=!3OUIru||8nid1J7P)1"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="]3Y!iAvD8wazSJgaam_;"> <field name="VAR" id="c1et;Qzgy.J^m$Y7XD(}" variabletype="">stelle_komma</field> </block> </value> <value name="B"> <block type="math_number" id="o!}.{qC1#ql+f$D,@T;k"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id=":OmF*MQ(aY7V/(U7IAh1"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="XsYYX2gG|7;TAaOw+(1l"> <field name="VAR" id="pDC.c)qS~5!qlBgX]:))" variabletype="">stelle_doppelpunkt</field> </block> </value> <value name="B"> <block type="math_number" id="gS:mGKNR[e2-puo+,QP3"> <field name="NUM">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="G(SE?Oq7]ufr%h:uS.5H"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text_getSubstring" id="E=htz)H8gviyt`l?Zc-k"> <mutation at1="true" at2="false"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">LAST</field> <value name="STRING"> <block type="variables_get" id="D+DTOmx0gJAWccp6OtaI"> <field name="VAR" id="v$!LyS/GX8DB4?ZU!y(c" variabletype="">raw</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="`YWLBhnxO/.4In+.f9oI"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Ah/:WZ~P=Mk{?gyN*XQ;"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="tFP+}-Zgn`~Mb`{|B/`;"> <field name="VAR" id="c1et;Qzgy.J^m$Y7XD(}" variabletype="">stelle_komma</field> </block> </value> <value name="B"> <shadow type="math_number" id="v})Bl^ZU61A9tx_oW~`="> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="variables_set" id="bE9[UPY8#q1@L!LZ[*fM"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="convert_tonumber" id="@cT1[lg(IlghOD#0a4oo"> <value name="VALUE"> <block type="variables_get" id=":sbStjd3C;#:$z++1K+B"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> </block> </value> </block> </value> <next> <block type="comment" id="u`!^^e/:_n}]_%@B??/G"> <field name="COMMENT">0 hinzufügen wenn Minuten < 10</field> <next> <block type="controls_if" id="bRx|^^=9wj7d7h{BIV@M"> <value name="IF0"> <block type="logic_compare" id=".Fc/u.e=rPo8Y|0y]ehT"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="9qUZaLy=!Pcmq_Da:u8;"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> </block> </value> <value name="B"> <block type="math_number" id="jXtyuXh[%Tjj:7=,i,Fk"> <field name="NUM">10</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Q4?V/8|]L/2=89`#7ufG"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text_join" id="q-u(6Ye-97I|a^9$[n%$"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="tj!c.W5DmAH_E!LVFvvV"> <field name="TEXT">0</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="yMarDZ?b?7D~You(TjPe"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="}%%=SQ(aFr1w_n-:6:yZ"> <field name="COMMENT">Laufzeit in Objekt schreiben</field> <next> <block type="comment" id="):-U?%/oWDq`@l+U~h~M"> <field name="COMMENT">Tage</field> <next> <block type="controls_if" id="F/M8{rV.rCGwX[CnL=vx"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="M25wfZcLGFb4GJg)a)MG"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="J_pdrRGNb6yo1OC(.R4z"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="!@%0:k.AXFP?l2Mb6X:~"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> </block> </value> <value name="B"> <block type="math_number" id="dK!@s)PXi!~:C6]:;o,6"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="~m%XZI?j^=2S)hs/US6t"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="+-K51lRY=Z`U?5q%is+M"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> </block> </value> <value name="B"> <block type="math_number" id="=M3y0jXD}=d32cj!f#~J"> <field name="NUM">1</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="*7vtw(1@ei#;V1ST:/;P"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> <value name="VALUE"> <block type="text_join" id="bG@dj4MU`?[@i{{9`hbA"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="{B2tTLXru]=F.s0keEZ0"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> </block> </value> <value name="ADD1"> <block type="text" id="zBtE08]C($B|P6c{A|SP"> <field name="TEXT"> Tage, </field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="T5ZhNz%T5w]NtKSEpAW="> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> <value name="VALUE"> <block type="text_join" id="0j,drO`$d?F{4{Jl{?9K"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="bk:]FR@|!xB:AGJt^cET"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> </block> </value> <value name="ADD1"> <block type="text" id="KdzmndZ^B5OtsGDP~DM]"> <field name="TEXT"> Tag, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="KoTE`D^uscfc|miPAMbX"> <field name="COMMENT">Stunden</field> <next> <block type="variables_set" id=".p[^4YkDvI5SU5zK)^8{"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> <value name="VALUE"> <block type="text_join" id="f=iL!In2ccd(;QaPZHPv"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="yZojJwenZcz3[{5nj?ns"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> </block> </value> <value name="ADD1"> <block type="text" id="#fo[S~5I}^2zWq74)?@i"> <field name="TEXT"> Std, </field> </block> </value> </block> </value> <next> <block type="comment" id="DZ3)bNceInk(8|fPC2qs"> <field name="COMMENT">Minuten</field> <next> <block type="variables_set" id="%Gt9FZ]ndKF2;h+v{hx-"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> <value name="VALUE"> <block type="text_join" id="E?P.o?ZDJ2?iX,Z}uJYI"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="^e/:??IsKLf-iJl|xnuM"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> </block> </value> <value name="ADD1"> <block type="text" id="?{a~GlML45b#e3-!)Vri"> <field name="TEXT"> Min</field> </block> </value> </block> </value> <next> <block type="control" id="qM=Pf[UGSE}.MH{OP+V]"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.uptime.nut_server</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="#@(=V`T9`,60hJI.HNKH"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text_join" id="Y;aC``m})PM;@ACEthGa"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="E^`3c!JpZT}s}a.ptFuI"> <field name="VAR" id="CES/yGu==C)k`@r*?INd" variabletype="">tage</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="!zj_8xPgS3IS:nl}o/:S"> <field name="VAR" id="IU`:e7ibMCJ2mQ@5scC!" variabletype="">stunden</field> </block> </value> </block> </value> <value name="ADD1"> <block type="variables_get" id="?0I}_P,)TBA%vCqvOT|W"> <field name="VAR" id="VsSZA^_:X[8cAWG4-[LJ" variabletype="">minuten</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block>
Hier das Skirpt zur ABfrage der Laufzeit meiner Windows10 VM (Das Skript läuft auf der Maschine und wird alle 60 Sekunden ausgeführt):
#Uptime Windows 10 $wmio = Get-WmiObject win32_operatingsystem -ComputerName '127.0.0.1' $LocalTime = [management.managementDateTimeConverter]::ToDateTime($wmio.localdatetime) $LastBootUptime = [management.managementDateTimeConverter]::ToDateTime($wmio.lastbootuptime) $timespan = $localTime - $lastBootUptime $sekunden = $timespan.TotalSeconds Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.uptime.raw.windows10_raw?value=$sekunden | Out-Null
Hier das Skript zur Remote Abfrage der Uptime von meinem Windows NAS:
if(Test-Connection 192.168.4.10 -Quiet) { #Uptime $secpasswd = ConvertTo-SecureString "DEINPASSWORT" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ("DEINUSER", $secpasswd) $wmio = Get-WmiObject win32_operatingsystem -ComputerName '192.168.4.10' -Credential $mycreds $LocalTime = [management.managementDateTimeConverter]::ToDateTime($wmio.localdatetime) $LastBootUptime = [management.managementDateTimeConverter]::ToDateTime($wmio.lastbootuptime) $timespan = $localTime - $lastBootUptime $sekunden = $timespan.TotalSeconds Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.uptime.raw.winnas_raw?value=$sekunden | Out-Null }
-
@Kuddel Du hast geschrieben das zu das VIS auf einem Samsung TAB A laufen hast.
Welches den? Thema Auflösung und Größe....
Aktuell nutze ich ein TrekStor PrimeTab 13 - das läuft aber nur suboptimal...
-
@luelle76 ich verwende das Galaxy TAB SM-T555 und stelle die VIS per FullyKioskBrowser dar.
-
@luelle76 sagte in [Vorstellung] Meine zweite Visualisierung:
Thema Auflösung und Größe....
https://forum.iobroker.net/topic/16786/liste-mit-geräten-und-deren-auflösung-für-vis
-
@Bass-T said in [Vorstellung] Meine zweite Visualisierung:
@Kuddel, als erstes mal ein fettes DANKE für das Teilen und Supporten deines Views!!!
Mit deiner Vorlage klären sich mir immer mehr Fragen, die beim erstellen meines ersten views aufkommen.
Leider scheitere ich jetzt auch an der Einbindung der Scripte. Genauer eigentlich am export meiner eigenen. Ich bekomme selben fehler wie @Firewalker99
@Firewalker99 said in [Vorstellung] Meine zweite Visualisierung:
Hallo Zusammen und schöne Feiertage,
habe leichte Probleme beim Import der Java Script ZIP.- Will ich alle Scripte exportieren erscheint: File 2019-12-25-scripts.zip.zip not found.
- Importiere ich die Zip 2019-11-06-scripts.zip ohne vorherigen Export bekomme ich beim in jedem Script Syntax Error und außer den Gruppen wird nicht angelegt.
Ich vermute irgendwelche fehlenden Rechtevergaben weiß jedoch nicht wo ich hier ansetzen soll?
BlocklyJavascriptTypeScript
Fehler
Cannot parse "script.js.java.shutdown.reboot_qnap-b": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.shutdown.shutdown_qnap-archiv_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.shutdown.shutdown_synology_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.abfall_tage": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.hm_meldungen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.kodi_fanart": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.onlinezeit": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.regenradar": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.speedtest": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.upnp_update": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_daniel": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_esxp01": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_esxp02": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_qnap_archiv": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_synology": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_winnas": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.wol.wol_xmg": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.wohnzimmer_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.temperaturen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.haushalt.geschirrspueler_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.iobroker-pi_api_sync": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.shutdown_synology_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.ankleide_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.kueche_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.heizung.schlafzimmer_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.aussenbeleuchtung": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.kueche_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.schlafzimmer_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.weckzeit_jenny": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.weihnachten": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.leinwand_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.lueftung_rolladen_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.alexa_ansagen.außentemperatur": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.kamera_auf_TV": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.tuerklingel": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.weckradio": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.buero_monitore_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.haushalt.trockner_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.haushalt.waschmaschine_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.kodi_steckdose_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.ps4_lueftung_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.schlafzimmer_tv_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.vu_receiver": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.backup_erstellen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.reboot_skript": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.ressourcen_berechnungen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker_instanz": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker_pi": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.iobroker_pi_instanz": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.qnap_archiv": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.qnap_b": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.sonoff_bewaesserung": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.synology": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_ap_eg": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_ap_og": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_ap_pavillon": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_switch_rack": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_switch_wohnzimmer": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.win10": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.winnas": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.wlan_failover": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.java.sonstige.logs_vis": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.start_stop_esxp": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.kodi_licht_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.schriftleuchte_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.weckzeit_daniel": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.kamera": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.kamera_überwachung": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.system_ctr_vis": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.esx_nuc": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.wake_on_lan_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.rolladen_beamer_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.rolladen_verdunkelung_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.briefkasten_tuerklingel_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.anwesenheit": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.echo_stati": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.ccu": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.nut-server": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.omv": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.pihole": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.sophos": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.unifi_controller": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.uptime.vu_wohnzimmer": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.NAS_und_VMware.shutdown_WinNAS_v01": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.lichterkette_flur_v0_3": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.licht.lichtkugeln_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.usv_shutdown": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.steckdosen.harmony_schaltung_v0_4": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.tablet": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.vis_status": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.alexa_benachrichtigungen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.zeiten_v01": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.rolladen.rolladen_tag_nacht": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.system.adapter_starten_stoppen": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.benachrichtigungen_v0_1": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.staubsauger_v0_2": SyntaxError: Unexpected token / in JSON at position 0, Cannot parse "script.js.smarthome.sontiges.bewaesserung": SyntaxError: Unexpected token / in JSON at position 0
Beim ersten versuch war Java Adapter auf 4.1.12, jetzt bin ich auf 4.3.4. Beide selber Export Fehler.
Nach einem Downgrade auf 3.6.4 hat zumindest der export funktioniert, aber es sind unterschiedliche formatierungen, ...
Nachdem ich etwas rumgebastelt habe, ist jetzt immerhin die Baumstruktur der "neuen" Scripte vorhanden, aber die eigentliche scripte sind nicht da, ...Wer weis weiter?
GrüßeProblem Gelöst:
Quelle: https://github.com/ioBroker/ioBroker.javascript/issues/434Kurzform: Multihost scheint das Problem zu verursachen.
Lösung: Client Stop - dann Backup und wiedereinspielen. Dann Client wieder starten (admin und javascript müssen auf dem selben Host laufen)Ilovegym66 created this issue in ioBroker/ioBroker.javascriptclosed script export error 404 not found #434
-
@Bass-T Vielen Dank, das spart mir eine gefühlte Ewigkeit. Hatte die letzten Tage schon begonnen alles mit der Hand einzukloppen, mit mehr oder weniger mäßigen Erfolg.
-
@Kuddel zum Fullybrowser im Galaxy-Tab: Das klappt bei mir auch ganz gut. Allerdings bekomme ich das Open-WebIf meiner VU Solo 4K nicht in einem IFrame im Fully angezeigt.
Bei Dir scheint es aber zu funktionieren. Es scheint etwas mit Zertifikaten zu tun zu haben, denn eine https:// -Einbindung funktioniert gar nicht (Fehlermeldung im Fully) und bei http:// bleibt das Frame schwarz. Wie hast Du das WebIf eingebunden? -
@Meister-Mopper ganz normal per iframe mit der Adresse vom Receiver (http://192.168.4.24:8080/#)
Export Widget
[{"tpl":"tplIFrame","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"0","seamless":"true","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"name":"WebIf","src":"http://192.168.4.24:8080/#","noSandbox":true,"refreshOnWakeUp":true,"refreshOnViewChange":true,"refreshWithNoQuery":true,"scrollX":true,"scrollY":true},"style":{"left":"5px","top":"45px","width":"1230px","height":"690px"},"widgetSet":"basic"}]
-
@Kuddel da fehlt mir jetzt wahrscheinlich der Grundverstand. Wo stelle ich denn den Port des WebUI von standardmäßigem 80 auf 8080?
-
@Meister-Mopper du kannst auch Port 80 verwenden. das macht keinen unterschied
-
@Kuddel Alles klar, habe es zum Laufen bekommen. Danke dafür!!!
-
Welche View meinst du?
-
@sigi234 der untere View wäre interssant für mich
-
@Kuddel sagte in [Vorstellung] Meine zweite Visualisierung:
@sigi234 der untere View wäre interssant für mich