Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Visualisierung
  4. [Vorstellung] Meine zweite Visualisierung

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

[Vorstellung] Meine zweite Visualisierung

Geplant Angeheftet Gesperrt Verschoben Visualisierung
vistemplate
1.3k Beiträge 148 Kommentatoren 548.1k Aufrufe 157 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • K Kuddel

    @DennisMenger ich habe direkt eine Frage: Wieso verwendest du zwei Blöcke, also zwei Trigger für die selbe Aufgabe ?

    Ich würde nur den unteren Triggger nehmen und damit testen:

    f8d24bd0-a76e-4e57-acf7-899041e4903f-grafik.png

    D Online
    D Online
    DennisMenger
    schrieb am zuletzt editiert von
    #1012

    @Kuddel das Blockly ist aus deiner Vis. Habe nur die Geräte ausgetauscht, daher dachte ich dass es sonst so bleiben kann. Ich teste das dann mal nur mit einem Trigger.

    K 1 Antwort Letzte Antwort
    0
    • K Kuddel

      @bug77 wenn du es z.b. per Blockly hinbekomsmt den Pfad zum Icon in einen Datenpunkt zu schreiben, sollte das gehen.

      Pfad könnte zb sein: /vis.0/VIS/Meine_Icons/Kalender/Tag_1.jpg
      Datenobjekt = javascript.0.navi.kalender_icon_pfad

      In der VIS muss dann den Pfad zum Icon wie folget hinterlegen: {javascript.0.navi.kalender_icon_pfad}

      Entscheidend sind die geschweiften Klammern

      O Offline
      O Offline
      Oli
      schrieb am zuletzt editiert von Oli
      #1013

      @Kuddel

      hier mal mein Lösungsansatz zum Adapter schalten:

      Diese bitte in die Zeile 5 des Scriptes kopieren

      createState('Adapter.Adapter', 0, { name: 'Adapter zum schalten', desc: 'Adapter zum schalten', type: 'number', unit: '', min: '0', max: '255', role: '',read: true, write: true });
      

      Das hier bitte in die Zeile 49

      devicename="Adapter.Adapter"+counter.toString()+".KompletterNameAdapter";
              createState(devicename, 'empty', { name: 'Kompletter Name des Adapters', desc: '', type: 'string', role: '',read: true, write: true }); 
              setStateDelayed(devicename, devicenameName, 800);
      

      und das gier ganz unten nach den letzten Klammern "});" in eine neue Zeile

      on({id:"javascript.0.Adapter.Adapter", change: 'any'}, function (dpobj) {
          if (getState("javascript.0.Adapter.Adapter").val != 0) {        
              const instanz = "javascript." + instance;
              var adapterName = getState(instanz + ".Adapter.Adapter").val;
              var adapter = getState(instanz + ".Adapter.Adapter" + adapterName + ".KompletterNameAdapter").val; // Name und Instanz des Adapters 
              var idAdapter = "system.adapter." + adapter;
              
              var obj = getObject(idAdapter);
              if (dpobj.state.val == false) {
                  obj.common.enabled = true;  // Adapter einschalten
              } else if (dpobj.state.val == true) {
                  obj.common.enabled = false;  // Adapter ausschalten
              }
              setObject(idAdapter, obj);
              setStateDelayed('javascript.0.Adapter.Adapter', 0, 800);        
          }
      });   
      

      der Button dazu:

      [{"tpl":"tplHqButton","data":{"oid":"javascript.0.Adapter.Adapter","min":"3","max":"3","timeAsInterval":"true","infoLeftFontSize":"12","infoFontRightSize":"12","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":"0","signals-icon-0":"{javascript.0.Adapter.Adapter3.Bild}","signals-icon-size-0":"40","signals-blink-0":true,"signals-horz-0":"10","signals-vert-0":"10","signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":"1","signals-icon-1":"{javascript.0.Adapter.Adapter3.Bild}","signals-icon-size-1":"40","signals-blink-1":false,"signals-horz-1":"10","signals-vert-1":"10","signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":"2","signals-icon-2":"{javascript.0.Adapter.Adapter3.Bild}","signals-icon-size-2":"40","signals-blink-2":true,"signals-horz-2":"10","signals-vert-2":"10","signals-hide-edit-2":false,"pushButton":false,"usejQueryStyle":false,"g_visibility":false,"styleActive":"hq-button-no-background","name":"Bild","infoLeftPaddingLeft":"15","infoLeftPaddingRight":"50","infoRightPaddingRight":"15","gestures-swipeLeft-limit":"-1","gestures-rotateLeft-limit":"2","styleNormal":"hq-button-no-background","testActive":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,"descriptionLeft":"Side brush lifetime reset","descriptionLeftDisabled":true,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-oid-0":"javascript.0.Adapter.Adapter3.Connected","signals-oid-1":"javascript.0.Adapter.Adapter3.Connected","g_center":true,"iconName":"","btIconWidth":"56","offsetAuto":"true","leftOffset":"15","topOffset":"55","signals-oid-2":"javascript.0.Adapter.Adapter3.Connected"},"style":{"left":"1400px","top":"152px","width":"50px","height":"50px","border-width":"","border-style":"","border-color":"","border-radius":"10px","z-index":"20","text-align":"center","font-size":"small","box-shadow":"","background":"#212121","background-color":"#212121"},"widgetSet":"hqwidgets"}]
      

      hoffe es funktioniert.

      Gruß
      Oliver

      K 1 Antwort Letzte Antwort
      0
      • D DennisMenger

        @Kuddel das Blockly ist aus deiner Vis. Habe nur die Geräte ausgetauscht, daher dachte ich dass es sonst so bleiben kann. Ich teste das dann mal nur mit einem Trigger.

        K Online
        K Online
        Kuddel
        schrieb am zuletzt editiert von
        #1014

        @DennisMenger oh stimmt. nur ist bei mir der erste block mittlerweile deaktiviert

        D 1 Antwort Letzte Antwort
        0
        • B bug77

          Vielen Dank, die Klammern waren der entscheidende Tip , danke 👍

          Komisch ist nur, wenn ich icons in /vis.0/main/Meine_Icons/Kalender/ lege, sind sie über ftp vorhanden mit 777 Rechten, aber im Vis Editor ist der Ordner leer und man kann sie auf nicht direkt aufrufen 🧐

          EDIT:
          wie gesagt über Ftp/ssh sind die Dateien drauf, aber im Vis nicht vorhanden.
          Wenn ich die Icons direkt im Vis Editor hochlade, geht es. naja komisch

          Z Offline
          Z Offline
          Zipkart
          schrieb am zuletzt editiert von
          #1015

          @bug77 hallo. Das liegt am letzten Update des Systems. Eigene Icons muss man nun über den integrierten Dateimanager hochladen. Als Ziel muss es ein Ordner unterhalb von vis.0 liegen. Ich musste auch alle verschieben. Danach ging es dann.

          Produktiv Proxmox / NUC / IOBroker / RFLInk / Mysensor / Raspimatic / Keymatic / HUE / MiHome / Tradfri / Shelly / SOnOff / Alexa / Sonos / Wandtablet / iPad

          Testsystem…
          immer mal wieder unterschiedlich

          1 Antwort Letzte Antwort
          0
          • Firewalker99F Offline
            Firewalker99F Offline
            Firewalker99
            schrieb am zuletzt editiert von Firewalker99
            #1016

            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

            Bass-TB 1 Antwort Letzte Antwort
            0
            • K Kuddel

              @DennisMenger oh stimmt. nur ist bei mir der erste block mittlerweile deaktiviert

              D Online
              D Online
              DennisMenger
              schrieb am zuletzt editiert von
              #1017

              @Kuddel

              blockly2.png

              Das Blockly funktioniert leider nur zum Teil. Datenpunkt wird geändert in false, wenn ich ein Fenster öffne. Schließe ich das aber wieder, wird der Datenpunkt aber nicht wieder auf true gesetzt. Ich habe keine Ahnung warum.

              K 1 Antwort Letzte Antwort
              0
              • D DennisMenger

                @Kuddel

                blockly2.png

                Das Blockly funktioniert leider nur zum Teil. Datenpunkt wird geändert in false, wenn ich ein Fenster öffne. Schließe ich das aber wieder, wird der Datenpunkt aber nicht wieder auf true gesetzt. Ich habe keine Ahnung warum.

                K Online
                K Online
                Kuddel
                schrieb am zuletzt editiert von
                #1018

                @DennisMenger probiere mal statt "sonst" den Befehl "sonst falls" und prüfe ob alle fenster geschlossen sind und setze dann den DP auf true

                D 1 Antwort Letzte Antwort
                1
                • O Oli

                  @Kuddel

                  hier mal mein Lösungsansatz zum Adapter schalten:

                  Diese bitte in die Zeile 5 des Scriptes kopieren

                  createState('Adapter.Adapter', 0, { name: 'Adapter zum schalten', desc: 'Adapter zum schalten', type: 'number', unit: '', min: '0', max: '255', role: '',read: true, write: true });
                  

                  Das hier bitte in die Zeile 49

                  devicename="Adapter.Adapter"+counter.toString()+".KompletterNameAdapter";
                          createState(devicename, 'empty', { name: 'Kompletter Name des Adapters', desc: '', type: 'string', role: '',read: true, write: true }); 
                          setStateDelayed(devicename, devicenameName, 800);
                  

                  und das gier ganz unten nach den letzten Klammern "});" in eine neue Zeile

                  on({id:"javascript.0.Adapter.Adapter", change: 'any'}, function (dpobj) {
                      if (getState("javascript.0.Adapter.Adapter").val != 0) {        
                          const instanz = "javascript." + instance;
                          var adapterName = getState(instanz + ".Adapter.Adapter").val;
                          var adapter = getState(instanz + ".Adapter.Adapter" + adapterName + ".KompletterNameAdapter").val; // Name und Instanz des Adapters 
                          var idAdapter = "system.adapter." + adapter;
                          
                          var obj = getObject(idAdapter);
                          if (dpobj.state.val == false) {
                              obj.common.enabled = true;  // Adapter einschalten
                          } else if (dpobj.state.val == true) {
                              obj.common.enabled = false;  // Adapter ausschalten
                          }
                          setObject(idAdapter, obj);
                          setStateDelayed('javascript.0.Adapter.Adapter', 0, 800);        
                      }
                  });   
                  

                  der Button dazu:

                  [{"tpl":"tplHqButton","data":{"oid":"javascript.0.Adapter.Adapter","min":"3","max":"3","timeAsInterval":"true","infoLeftFontSize":"12","infoFontRightSize":"12","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":"0","signals-icon-0":"{javascript.0.Adapter.Adapter3.Bild}","signals-icon-size-0":"40","signals-blink-0":true,"signals-horz-0":"10","signals-vert-0":"10","signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":"1","signals-icon-1":"{javascript.0.Adapter.Adapter3.Bild}","signals-icon-size-1":"40","signals-blink-1":false,"signals-horz-1":"10","signals-vert-1":"10","signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":"2","signals-icon-2":"{javascript.0.Adapter.Adapter3.Bild}","signals-icon-size-2":"40","signals-blink-2":true,"signals-horz-2":"10","signals-vert-2":"10","signals-hide-edit-2":false,"pushButton":false,"usejQueryStyle":false,"g_visibility":false,"styleActive":"hq-button-no-background","name":"Bild","infoLeftPaddingLeft":"15","infoLeftPaddingRight":"50","infoRightPaddingRight":"15","gestures-swipeLeft-limit":"-1","gestures-rotateLeft-limit":"2","styleNormal":"hq-button-no-background","testActive":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,"descriptionLeft":"Side brush lifetime reset","descriptionLeftDisabled":true,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-oid-0":"javascript.0.Adapter.Adapter3.Connected","signals-oid-1":"javascript.0.Adapter.Adapter3.Connected","g_center":true,"iconName":"","btIconWidth":"56","offsetAuto":"true","leftOffset":"15","topOffset":"55","signals-oid-2":"javascript.0.Adapter.Adapter3.Connected"},"style":{"left":"1400px","top":"152px","width":"50px","height":"50px","border-width":"","border-style":"","border-color":"","border-radius":"10px","z-index":"20","text-align":"center","font-size":"small","box-shadow":"","background":"#212121","background-color":"#212121"},"widgetSet":"hqwidgets"}]
                  

                  hoffe es funktioniert.

                  K Online
                  K Online
                  Kuddel
                  schrieb am zuletzt editiert von
                  #1019

                  @Oli wo kommt der DP javascript.0.Adapter.Name her ? Den habe ich nicht und was genau macht der DP "Adapter zum schalten"?

                  O 1 Antwort Letzte Antwort
                  0
                  • K Kuddel

                    @Oli wo kommt der DP javascript.0.Adapter.Name her ? Den habe ich nicht und was genau macht der DP "Adapter zum schalten"?

                    O Offline
                    O Offline
                    Oli
                    schrieb am zuletzt editiert von
                    #1020

                    @Kuddel

                    sorry hatte die Bezeichnung des Datenpunktes nochmal geändert, Script und Widget im oberen Poste neu eingefügt, du musst im Widget bei min und max die jeweilige Adapternummer anpassen

                    Also für den Adapter "javascript.0.Adapter.Adapter1" die 1 eingeben usw.

                    Gruß
                    Oliver

                    1 Antwort Letzte Antwort
                    0
                    • K Kuddel

                      @DennisMenger probiere mal statt "sonst" den Befehl "sonst falls" und prüfe ob alle fenster geschlossen sind und setze dann den DP auf true

                      D Online
                      D Online
                      DennisMenger
                      schrieb am zuletzt editiert von
                      #1021

                      @Kuddel und was trage ich bei sonst falls ein? Nochmal die drei ODER-Abfragen?

                      blockly3.png

                      K D 2 Antworten Letzte Antwort
                      0
                      • D DennisMenger

                        @Kuddel und was trage ich bei sonst falls ein? Nochmal die drei ODER-Abfragen?

                        blockly3.png

                        K Online
                        K Online
                        Kuddel
                        schrieb am zuletzt editiert von
                        #1022

                        @DennisMenger ja die drei Werte von oben nur nicht mit ODER sondern mit UND dem Wert für geschlossen. ich denke "false"

                        1 Antwort Letzte Antwort
                        1
                        • K Kuddel

                          Nachdem ich mit der ersten Version meiner VIS nicht mehr zufreiden war, hab ich mich daran gemacht, alles einmal komplett neu zu machem.

                          Die Seiten sind alle fpr mein Galaxy Tab A erstellt worden.

                          Vielen Dank an @Annuit20 , der ebenfalls seine komplette VIS zur Verfügung gestellt hat. An dieser konnte ich mich orientieren und mir einige Ideen abgucken.

                          Ich denke so richtig fertig ist man ja nie, aber ein Bisschen habe ich schon geschafft….

                          1_Startseite.PNG

                          2_Erdgeschoss_Seite_1.PNG

                          2_Erdgeschoss_Seite_1.1.PNG

                          2_Erdgeschoss_Seite_1.2.PNG

                          2_Erdgeschoss_Seite_2.PNG

                          3_Obergeschoss.PNG

                          4_Wetter.PNG

                          4_Wetter_regenradar.PNG

                          5_System.PNG

                          5_System_1_ioBroker.PNG

                          5_System_2_ioBroker.PNG

                          5_System_3_CCU.PNG

                          5_System_4_Bewaesserung.PNG

                          5_System_5_VU.PNG

                          5_System_6_ESX-NUC.PNG

                          5_System_7_NUT-Server.PNG

                          5_System_8_USV.PNG

                          5_System_9_Daniel.PNG

                          5_System_10_Win10.PNG

                          5_System_11_Unifi.PNG

                          5_System_12_OMV.PNG

                          5_System_13_WinNAS.PNG

                          6_Logs.PNG

                          7_ioBroker.PNG

                          8_CCU.PNG

                          9_Netzwerk.PNG

                          10_Staubsauger.PNG

                          11_Spritpreise.PNG

                          12_1_Echo_Geräte.PNG

                          12_2_Echo_Gruppen.PNG

                          12_VMware.PNG

                          13_TV.PNG

                          14_Kodi+.PNG

                          Damit alles korrekt dargestellt wird, müssen folgende Widgets installiert sein:
                          widgtes.PNG

                          Für die Icons wird des Weiteren der Adapter "icons-mfd-png" benötigt.

                          Skripte

                          Alle Objekte, mit denen ich in meinen Skripten arbeite, können mit einem Javascript erstellt werden:
                          objekte.txt

                          Hier sind alle meine Skirpte als komplett Export aus der Scriptengine

                          2020-03-17-scripts.zip

                          Danke an @Kaiman55 für den Test-Import.

                          Anleitung Skript Import:

                          1. Download der Datei "2020-03-17-scripts.zip"
                          2. Eigene Skripte in Zip Datei exportieren
                          3. Beide Archive entpacken und dann die Skripte / Gruppen in einem gemeinsamen Archiv zusamfenühren
                          4. Import des neu erstellten Archis

                          VIS-Export 06.11.19:

                          2019-11-06-VIS.zip

                          Hier meine Icons
                          Meine_Icons.zip

                          Workaround für das Hochladen der kompletten VIS

                          1. Meine_Icons.zip entpacken
                          2. 2019-11-06-VIS.zip entpacken
                          3. Die beiden VIS-Datein und die den Icons Ordner zu einem neuen Zip Archiv zusammefügen
                          4. Das neue Zip archiv importieren
                          tr1plxT Offline
                          tr1plxT Offline
                          tr1plx
                          schrieb am zuletzt editiert von tr1plx
                          #1023

                          @Kuddel Vielen Dank für die tolle Vorlage. Ich lerne dadurch sehr viel über VIS und ioBroker im Allgemeinen. Ich arbeite gerade am Batteriestatus meiner HM-Geräte - in der Vorschau des VIS wird der Batteriestatus grün angezeigt (vgl. Flur - Alarmsirene)
                          dae9fa2d-7bcd-4df5-b4b3-7beaaa23d616-image.png

                          Im Browser nacher ist es aber nicht mehr grün - was mache ich falsch ?
                          e13ab455-df7b-4212-82d9-0a0442739d09-image.png

                          EDIT/UPDATE:
                          Hab es rausbekommen. Da gibt es noch ein Background-Widget... das hab ich übersehen

                          1 Antwort Letzte Antwort
                          0
                          • D DennisMenger

                            @Kuddel und was trage ich bei sonst falls ein? Nochmal die drei ODER-Abfragen?

                            blockly3.png

                            D Online
                            D Online
                            DennisMenger
                            schrieb am zuletzt editiert von DennisMenger
                            #1024

                            @Kuddel Wert bleibt beim schließen der Fenster leider auf false. Alle Fenster geschlossen, Wert auf true gesetzt und dann probiert.

                            blockly4.png

                            K 1 Antwort Letzte Antwort
                            0
                            • D DennisMenger

                              @Kuddel Wert bleibt beim schließen der Fenster leider auf false. Alle Fenster geschlossen, Wert auf true gesetzt und dann probiert.

                              blockly4.png

                              K Online
                              K Online
                              Kuddel
                              schrieb am zuletzt editiert von
                              #1025

                              @DennisMenger in deinem ersten check ist der dritte wert "falsch" und nicht wie bei den ersten beiden "wahr".

                              Ändere das mal bitte

                              D 1 Antwort Letzte Antwort
                              1
                              • K Kuddel

                                @DennisMenger in deinem ersten check ist der dritte wert "falsch" und nicht wie bei den ersten beiden "wahr".

                                Ändere das mal bitte

                                D Online
                                D Online
                                DennisMenger
                                schrieb am zuletzt editiert von
                                #1026

                                @Kuddel oh jaaa ... wer lesen kann ist klar im Vorteil. Danke dir für den Hinweis :+1:

                                1 Antwort Letzte Antwort
                                0
                                • Firewalker99F Firewalker99

                                  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

                                  Bass-TB Offline
                                  Bass-TB Offline
                                  Bass-T
                                  schrieb am zuletzt editiert von Bass-T
                                  #1027

                                  @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

                                  Proxmox Cluster

                                  • NUC7i5 ioBroker Server (Proxmox)
                                  • HP Elitedesk 800 G4 SSF (Proxmox)
                                  • HP Elitedesk 800 G2 DM (Proxmox)
                                    mein Proxmox-Updater für euch

                                  KNX / Broadlink / Tasmota ESPs / Zigbee
                                  Vis: 15" Touchmonitor mit Raspi4 / 10" Tablet (Dauerstrom umbau) / Sonoff NSPanel (alle)

                                  Bass-TB 1 Antwort Letzte Antwort
                                  0
                                  • L Offline
                                    L Offline
                                    luelle76
                                    schrieb am zuletzt editiert von
                                    #1028

                                    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!

                                    K 1 Antwort Letzte Antwort
                                    0
                                    • L luelle76

                                      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!

                                      K Online
                                      K Online
                                      Kuddel
                                      schrieb am zuletzt editiert von
                                      #1029

                                      @luelle76

                                      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.

                                      L 1 Antwort Letzte Antwort
                                      0
                                      • K Kuddel

                                        @luelle76

                                        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.

                                        L Offline
                                        L Offline
                                        luelle76
                                        schrieb am zuletzt editiert von
                                        #1030

                                        @Kuddel könntest du die bereitstellen? die pihole wäre zusätzlich interessant.

                                        K 1 Antwort Letzte Antwort
                                        0
                                        • L luelle76

                                          @Kuddel könntest du die bereitstellen? die pihole wäre zusätzlich interessant.

                                          K Online
                                          K Online
                                          Kuddel
                                          schrieb am zuletzt editiert von Kuddel
                                          #1031

                                          @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 &lt; 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 &lt; 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
                                          }
                                          

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          810

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe