Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  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.1k

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

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

[Vorstellung] Meine zweite Visualisierung

Scheduled Pinned Locked Moved Visualisierung
vistemplate
1.3k Posts 148 Posters 547.7k Views 157 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Uli977U Uli977

    @Kuddel Bei mir bleiben die Logeinträge leer... woran kann es liegen

    81a3fe25-cd44-4410-9c0a-da1ddfce1e5a-image.png

    152ef028-7532-4add-b6cf-6ccdfc85c3cc-image.png

    c79d38a5-7678-4431-aede-cd7490f83ead-image.png

    Danke für deinen Tipp!

    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    wrote on last edited by
    #736

    @Uli977

    ändere den Schedule auf

    const L_SCHEDULE  = "*/2 * * * * "; // alle 2 Minuten
    

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    Uli977U 2 Replies Last reply
    0
    • GlasfaserG Glasfaser

      @Uli977

      ändere den Schedule auf

      const L_SCHEDULE  = "*/2 * * * * "; // alle 2 Minuten
      
      Uli977U Offline
      Uli977U Offline
      Uli977
      wrote on last edited by
      #737

      @Glasfaser aktuell steht er auf 10. Was genau soll dies für einen Unterschied machen wenn ich ihne auf 2 setze?

      05304a86-9e11-4e5f-bc90-bf2bb79915c0-image.png

      1 Reply Last reply
      0
      • GlasfaserG Glasfaser

        @Uli977

        ändere den Schedule auf

        const L_SCHEDULE  = "*/2 * * * * "; // alle 2 Minuten
        
        Uli977U Offline
        Uli977U Offline
        Uli977
        wrote on last edited by
        #738

        @Glasfaser habe ich gemacht (ich glaube ich hatte einen Stern zu viel - aber es tut sich nix

        GlasfaserG K 2 Replies Last reply
        0
        • Uli977U Uli977

          @Glasfaser habe ich gemacht (ich glaube ich hatte einen Stern zu viel - aber es tut sich nix

          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          wrote on last edited by Glasfaser
          #739

          @Uli977

          Ich kenne deine Einstellungen nicht vom Skript !!!
          Du musst das Skript natürlich auf dein System anpassen !

          Teste mal , nimm das Wort Error und +++ raus.

          111.JPG

          Bei der Haupteinstellung kommt natürlich nur eine Ausgabe wenn beim Log ein +++ vorhanden ist

          jeweils welche Meldung du haben willst , musst du // entfernen

          1.JPG

          Lese bitte hier weitere , damit du erkennst wie das Skript überhaupt funktioniert.Link Text

          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

          1 Reply Last reply
          0
          • Uli977U Uli977

            @Glasfaser habe ich gemacht (ich glaube ich hatte einen Stern zu viel - aber es tut sich nix

            K Offline
            K Offline
            Kuddel
            wrote on last edited by
            #740

            @Uli977 du musst dein Skript anpassen.

            Aktuell sind die Filter auf mein System angepasst.

              {
                id:          'javascript',
                filter_all:  ['+++'],
                filter_any:  [''],
                blacklist:   ['Error'],
                //clean:       [''],
                clean:       ['system.','steckdosen.','sontiges.','licht.','script.js.java.wol.','script.js.java.shutdown.','script.js.smarthome.','rolladen.','javascript.0','info','+++ ',' +++','NAS_und_VMware.shutdown_WinNAS_v01:','adapter_starten_stoppen:','rolladen_tag_nacht:','script.js.java.wol.wol_winnas:','backup_erstellen:','briefkasten_v0_1: ','stufenbeleuchtung_v01: ','weihnachten: ','echo_stati: ','NAS_und_VMware.shutdown_synology_v0_1:','shutdown_synology_v0_1: ','weckradio: ','kueche_v0_2: ','schlafzimmer_v0_3: ','schlafzimmer_tv_v0_1: ','licht.weckzeit_v0_2: ','NAS_und_VMware.start_stop_esxp: ','wol_synology: ','steckdosen.ps4_lueftung_v0_2:','wol_daniel: ','NAS_und_VMware.wake_on_lan_v0_2: ','alexa_benachrichtigungen: ','anwesenheit: ','system_ctr_vis: ','reboot__skript: ','weckzeit_v0_2:','wol_winnas: ','wol_qnap_archiv: ','lichterkette_flur_v0_3: ','reboot_skript: ','briefkasten_tuerklingel_v0_1: ','shutdown_qnap-archiv_v0_1: ','rolladen_verdunkelung_v0_1: ','tablet: ','usv_shutdown: ','script.js.java.sonstige.speedtest: ','kodi_steckdose_v0_3: ','bewaesserung: ','weckzeit_daniel: ','weckzeit_jenny: ','harmony_schaltung_v0_4: ','benachrichtigungen_v0_1:'],
                columns:     ['date','msg'],
              },  
            

            Versuche es mal mit diesen Einstellungen:

              {
                id:          'javascript',
                filter_all:  [''],
                filter_any:  [''],
                blacklist:   ['Error'],
                //clean:       [''],
                clean:       [''],
                columns:     ['date','msg'],
              },  
            

            und passe die Filter dann nach und nach an.

            @Glasfaser hat schin richtig gesagt, dass meine Einträge alle +++ enthalten.

            Schaue dir einfach mal das Thema an, was er mitgepostet hat.

            1 Reply Last reply
            0
            • Uli977U Uli977

              @Kuddel warum steht hier überall null?

              50ab98c0-0708-4d69-ac05-6dd8138192e0-image.png

              K Offline
              K Offline
              Kuddel
              wrote on last edited by
              #741

              @Uli977 da steht überall null, weil die Objekte noch nicht mit Werten gefüllt worden sind.

              Für jedes Gerät habe ich ein eigenes Skript bzgl. der Uptime.

              1 Reply Last reply
              0
              • Uli977U Offline
                Uli977U Offline
                Uli977
                wrote on last edited by
                #742

                Das hat doch schon einmal funktioniert! Jetzt noch für Alexa....

                K 1 Reply Last reply
                0
                • Uli977U Uli977

                  Das hat doch schon einmal funktioniert! Jetzt noch für Alexa....

                  K Offline
                  K Offline
                  Kuddel
                  wrote on last edited by
                  #743

                  @Uli977 für Alexa benötgist du den Histora Adapter.

                  Dann musst du das Logging für folgenden Wert aktivieren:

                  alexa2.0.History.summary

                  0a57495e-23d2-4ec2-bf06-11e018f98ca5-grafik.png

                  Uli977U 1 Reply Last reply
                  0
                  • K Kuddel

                    @Uli977 für Alexa benötgist du den Histora Adapter.

                    Dann musst du das Logging für folgenden Wert aktivieren:

                    alexa2.0.History.summary

                    0a57495e-23d2-4ec2-bf06-11e018f98ca5-grafik.png

                    Uli977U Offline
                    Uli977U Offline
                    Uli977
                    wrote on last edited by
                    #744

                    @Kuddel das hat auch geklappt, danke!

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nautilusweb
                      wrote on last edited by
                      #745

                      Hallo !
                      Kann mir bitte mal jemand erklären wie das Astroscript funktioniert?
                      Ich habe den View importiert und bin gerade dabei die scripte anzupassen.
                      Jetzt bin ich beim Astroview und habe die drei Scripte für die Zeiten am laufen,
                      aber dort wird am Anfang ein Wert genommen, der mit dem Tooltip Telegram beschrieben wird. Wie ist denn das zu verstehen?
                      Also ich bin absoluter Neuling in dem Gebiet.....
                      @Kuddel vielen Dank für deine Arbeit. Echt super VIEW.

                      K 1 Reply Last reply
                      0
                      • Uli977U Offline
                        Uli977U Offline
                        Uli977
                        wrote on last edited by Uli977
                        #746

                        @Kuddel

                        Kannst du mir helfen?

                        Wieso habe ich hier denn keine Werte drin stehen? uptime/iobroker

                        0139c6a6-6639-49d9-9017-5959f46eee5a-image.png

                        aab9b8c9-e63a-4238-b712-390cf554aa2a-image.png

                        K 1 Reply Last reply
                        0
                        • N nautilusweb

                          Hallo !
                          Kann mir bitte mal jemand erklären wie das Astroscript funktioniert?
                          Ich habe den View importiert und bin gerade dabei die scripte anzupassen.
                          Jetzt bin ich beim Astroview und habe die drei Scripte für die Zeiten am laufen,
                          aber dort wird am Anfang ein Wert genommen, der mit dem Tooltip Telegram beschrieben wird. Wie ist denn das zu verstehen?
                          Also ich bin absoluter Neuling in dem Gebiet.....
                          @Kuddel vielen Dank für deine Arbeit. Echt super VIEW.

                          K Offline
                          K Offline
                          Kuddel
                          wrote on last edited by
                          #747

                          @nautilusweb "Tooltip Telegram" ? Was genau meinst du?

                          Kannst du bitte einen Screenshot posten

                          N 1 Reply Last reply
                          0
                          • Uli977U Uli977

                            @Kuddel

                            Kannst du mir helfen?

                            Wieso habe ich hier denn keine Werte drin stehen? uptime/iobroker

                            0139c6a6-6639-49d9-9017-5959f46eee5a-image.png

                            aab9b8c9-e63a-4238-b712-390cf554aa2a-image.png

                            K Offline
                            K Offline
                            Kuddel
                            wrote on last edited by
                            #748

                            @Uli977 derAnfang ist falsch.

                            Ich nutze zur Auswertung den RPI2-Adapter.

                            e8f39539-6c09-44fc-a1fe-240ffd2eb3e0-grafik.png

                            Uli977U 1 Reply Last reply
                            0
                            • K Kuddel

                              @Uli977 derAnfang ist falsch.

                              Ich nutze zur Auswertung den RPI2-Adapter.

                              e8f39539-6c09-44fc-a1fe-240ffd2eb3e0-grafik.png

                              Uli977U Offline
                              Uli977U Offline
                              Uli977
                              wrote on last edited by
                              #749

                              @Kuddel kannst du mir dein Scipt uptime mal schicken?

                              K 1 Reply Last reply
                              0
                              • Uli977U Uli977

                                @Kuddel kannst du mir dein Scipt uptime mal schicken?

                                K Offline
                                K Offline
                                Kuddel
                                wrote on last edited by
                                #750

                                @Uli977 mittlerwiele habe ich für jedes Gerät ein einzelnes Skript. Es wurde zu unübersichtlich ^^

                                Hier das Skript für den ioBroker (Blockly Export):

                                <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="S},%B!W7FjU|w+;Bi3u/" x="-662" y="-336">
                                 <field name="SCHEDULE">*/1 * * * *</field>
                                 <statement name="STATEMENT">
                                   <block type="variables_set" id="c;vRX]+MD3w~Fa4u0_oA">
                                     <field name="VAR" id="xR[!J/DBv`U}Y:9[0lI`" variabletype="">raw</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="#=Ud:?8|Bc0R?oq(}{Vz">
                                         <field name="ATTR">val</field>
                                         <field name="OID">rpi2.0.uptime.uptime</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id=":+s25++7%;E1ZPSp_bNH">
                                         <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                         <value name="VALUE">
                                           <block type="math_round" id="V_n,Z?87Yzo#1@Gk)B_|">
                                             <field name="OP">ROUNDDOWN</field>
                                             <value name="NUM">
                                               <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                 <field name="NUM">3.1</field>
                                               </shadow>
                                               <block type="math_arithmetic" id="#vPh0eWHzHbmc0{P(xGl">
                                                 <field name="OP">DIVIDE</field>
                                                 <value name="A">
                                                   <shadow type="math_number" id="bahI:FVxEi%`f[PVR#?r">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="get_value" id="[]}_AgMQs2tS-b3SOG6:">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">rpi2.0.uptime.uptime</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="cBfkqtHp/(na=hF*Xs;{">
                                                     <field name="NUM">86400</field>
                                                   </shadow>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="xf#[c;spkxV;?_=;2t4]">
                                             <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                             <value name="VALUE">
                                               <block type="math_arithmetic" id="g85j0([NmkejbN]_LFQ;">
                                                 <field name="OP">MINUS</field>
                                                 <value name="A">
                                                   <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="variables_get" id="-VqLq_~+I^S2}L3!#xzI">
                                                     <field name="VAR" id="xR[!J/DBv`U}Y:9[0lI`" variabletype="">raw</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="P5_|Dw(]!C*d/0LDlJX[">
                                                     <field name="NUM">86400</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="8KQWiO_0+1E7KPBL`BnK">
                                                     <field name="OP">MULTIPLY</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id=",I@|[8va{Mw(V#ASt9{M">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="variables_get" id="HYJ?9+`q-3)^O0iZJD-[">
                                                         <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="@(,y`FuDg+P*5o[794U6">
                                                         <field name="NUM">86400</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="eAJhBVv3}N8LUFKRAWGZ">
                                                 <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                 <value name="VALUE">
                                                   <block type="math_round" id="/RbEc%QP!6/M9EimZe]N">
                                                     <field name="OP">ROUNDDOWN</field>
                                                     <value name="NUM">
                                                       <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                         <field name="NUM">0</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="BFHl3E~ysn|,xUa5Vb8#">
                                                         <field name="OP">DIVIDE</field>
                                                         <value name="A">
                                                           <shadow type="math_number" id="bahI:FVxEi%`f[PVR#?r">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="7=o8aPA{`ENu)Ede_%B@">
                                                             <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id="6k]Nz4u+nuL.OON8Z+?j">
                                                             <field name="NUM">3600</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="variables_set" id=".+IdB1+tIgC(cXj^#9gr">
                                                     <field name="VAR" id="ThAY6m1`ng2#i#jP3dUp" variabletype="">zw2</field>
                                                     <value name="VALUE">
                                                       <block type="math_arithmetic" id="Tb1}ci*dwi]?N(+VZS0*">
                                                         <field name="OP">MINUS</field>
                                                         <value name="A">
                                                           <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="pl@KE2~vpoFkF~SSzk%%">
                                                             <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id="P5_|Dw(]!C*d/0LDlJX[">
                                                             <field name="NUM">0</field>
                                                           </shadow>
                                                           <block type="math_arithmetic" id="pIkaJRUH0EN9i5BFh|Ou">
                                                             <field name="OP">MULTIPLY</field>
                                                             <value name="A">
                                                               <shadow type="math_number" id=",I@|[8va{Mw(V#ASt9{M">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="variables_get" id="^B.o=TuQbG!2~GNM/e-d">
                                                                 <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="jHJ,OA,V7xyG1^Be^jW.">
                                                                 <field name="NUM">3600</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id="6GHul#I2g`ZkYC1e~C{1">
                                                         <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                         <value name="VALUE">
                                                           <block type="math_round" id="I%[WOX~v6)8yc}K1_|nS">
                                                             <field name="OP">ROUNDDOWN</field>
                                                             <value name="NUM">
                                                               <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                                 <field name="NUM">3.1</field>
                                                               </shadow>
                                                               <block type="math_arithmetic" id="kqIicz=;J=5v)|+`2Vs)">
                                                                 <field name="OP">DIVIDE</field>
                                                                 <value name="A">
                                                                   <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="/E]PwFOERrG;mY.@U?fN">
                                                                     <field name="VAR" id="ThAY6m1`ng2#i#jP3dUp" variabletype="">zw2</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <shadow type="math_number" id=":5Jjoq2?fnn.3?nX.qu5">
                                                                     <field name="NUM">60</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="comment" id="}62au5%|-uoD0^;/S~ro">
                                                             <field name="COMMENT">0 bei Std hinzufügen</field>
                                                             <next>
                                                               <block type="controls_if" id="?TXM*.u^oR?=mu!C7#Gu">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="[p}YkaS];xdRMD*ap48G">
                                                                     <field name="OP">LT</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id="J{uV_w/y/+ZCV.l3D|i:">
                                                                         <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="math_number" id="gI1:JylA#77yV(JkpK-B">
                                                                         <field name="NUM">10</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="variables_set" id="ys[j:Xn^gP:?Hv[zAW6#">
                                                                     <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                     <value name="VALUE">
                                                                       <block type="text_join" id="d.!cr#8mc8)?UUgV:OX7">
                                                                         <mutation items="2"></mutation>
                                                                         <value name="ADD0">
                                                                           <block type="text" id="OJ@x,#Ao.]qv/F1*WGrw">
                                                                             <field name="TEXT">0</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="ADD1">
                                                                           <block type="variables_get" id="zZIf^PD**]GNm8rfZgWV">
                                                                             <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                                 <next>
                                                                   <block type="comment" id="}Dx+SO@qP}PgQPnCiPe~">
                                                                     <field name="COMMENT">0 bei Min hinzufügen</field>
                                                                     <next>
                                                                       <block type="controls_if" id="w9ZUSJJysyrxjo%O}*AF">
                                                                         <value name="IF0">
                                                                           <block type="logic_compare" id="wJ}HmbQ.3A%3lP*+{9:B">
                                                                             <field name="OP">LT</field>
                                                                             <value name="A">
                                                                               <block type="variables_get" id="S(W}:D+!I,z}N@-!qlLJ">
                                                                                 <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <block type="math_number" id="Pbic4r3a3N.-[@ukd.l3">
                                                                                 <field name="NUM">10</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="DO0">
                                                                           <block type="variables_set" id="%^^k8,?cY?eR!Zo]qZIX">
                                                                             <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                             <value name="VALUE">
                                                                               <block type="text_join" id="emQn)QW2nx4diB92R^vk">
                                                                                 <mutation items="2"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="USkT*`Qj|%3NxDYYt}Bu">
                                                                                     <field name="TEXT">0</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="variables_get" id="6p0+r[)u0Krqi;d4:,ZD">
                                                                                     <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                         <next>
                                                                           <block type="controls_if" id="v@B2k(R?[gCoK1a~I9`F">
                                                                             <mutation else="1"></mutation>
                                                                             <value name="IF0">
                                                                               <block type="logic_compare" id="1dfxjx[N`Epx2~*6W~7;">
                                                                                 <field name="OP">EQ</field>
                                                                                 <value name="A">
                                                                                   <block type="variables_get" id="l^{OAh,GFMX(@#9-warp">
                                                                                     <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <block type="math_number" id="!V0n5d2Z-i!(iBk895]x">
                                                                                     <field name="NUM">1</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <statement name="DO0">
                                                                               <block type="update" id="}dygd@NM}^+sSCG`^@Xn">
                                                                                 <mutation delay_input="false"></mutation>
                                                                                 <field name="OID">javascript.0.uptime.iobroker</field>
                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="text_join" id="]#nx!b5z}YAPXTsmNLQ|">
                                                                                     <mutation items="6"></mutation>
                                                                                     <value name="ADD0">
                                                                                       <block type="variables_get" id="+aVEIO9S5O-.3_#gOO/x">
                                                                                         <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD1">
                                                                                       <block type="text" id="]erCl}B}Ea`ac^[!:!*)">
                                                                                         <field name="TEXT"> Tag, </field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD2">
                                                                                       <block type="variables_get" id="a%[T3/e/(_l9BPIVM(-)">
                                                                                         <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD3">
                                                                                       <block type="text" id="qF9D;Tv`WFo,)3,+[|Ve">
                                                                                         <field name="TEXT"> Std, </field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD4">
                                                                                       <block type="variables_get" id="j`B:8.qUHr*`vdar-A}K">
                                                                                         <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD5">
                                                                                       <block type="text" id="bV2z[/bBEhy_BqMy.UHC">
                                                                                         <field name="TEXT"> Min</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </statement>
                                                                             <statement name="ELSE">
                                                                               <block type="update" id="(g+SDiV]@I6UoHl8jE.i">
                                                                                 <mutation delay_input="false"></mutation>
                                                                                 <field name="OID">javascript.0.uptime.iobroker</field>
                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="text_join" id="|gSv+WZHIMcsYv;iY}y5">
                                                                                     <mutation items="6"></mutation>
                                                                                     <value name="ADD0">
                                                                                       <block type="variables_get" id=";lH~jePSwnZZ`B9Uf9#8">
                                                                                         <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD1">
                                                                                       <block type="text" id="_N5MntuQ3.OAGrQ,UEnV">
                                                                                         <field name="TEXT"> Tage, </field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD2">
                                                                                       <block type="variables_get" id=".4sH_?4VFhqf^8u!M7F9">
                                                                                         <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD3">
                                                                                       <block type="text" id="V0sqG%|UzZe:%=_GTSO%">
                                                                                         <field name="TEXT"> Std, </field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD4">
                                                                                       <block type="variables_get" id="~~tdGbeXHF,RXc4-gV[i">
                                                                                         <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD5">
                                                                                       <block type="text" id="1oy#IR@#^HupeI(++C48">
                                                                                         <field name="TEXT"> Min</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </statement>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                </block>
                                

                                Uli977U 2 Replies Last reply
                                0
                                • K Kuddel

                                  @Uli977 mittlerwiele habe ich für jedes Gerät ein einzelnes Skript. Es wurde zu unübersichtlich ^^

                                  Hier das Skript für den ioBroker (Blockly Export):

                                  <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="S},%B!W7FjU|w+;Bi3u/" x="-662" y="-336">
                                   <field name="SCHEDULE">*/1 * * * *</field>
                                   <statement name="STATEMENT">
                                     <block type="variables_set" id="c;vRX]+MD3w~Fa4u0_oA">
                                       <field name="VAR" id="xR[!J/DBv`U}Y:9[0lI`" variabletype="">raw</field>
                                       <value name="VALUE">
                                         <block type="get_value" id="#=Ud:?8|Bc0R?oq(}{Vz">
                                           <field name="ATTR">val</field>
                                           <field name="OID">rpi2.0.uptime.uptime</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id=":+s25++7%;E1ZPSp_bNH">
                                           <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                           <value name="VALUE">
                                             <block type="math_round" id="V_n,Z?87Yzo#1@Gk)B_|">
                                               <field name="OP">ROUNDDOWN</field>
                                               <value name="NUM">
                                                 <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                   <field name="NUM">3.1</field>
                                                 </shadow>
                                                 <block type="math_arithmetic" id="#vPh0eWHzHbmc0{P(xGl">
                                                   <field name="OP">DIVIDE</field>
                                                   <value name="A">
                                                     <shadow type="math_number" id="bahI:FVxEi%`f[PVR#?r">
                                                       <field name="NUM">1</field>
                                                     </shadow>
                                                     <block type="get_value" id="[]}_AgMQs2tS-b3SOG6:">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">rpi2.0.uptime.uptime</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <shadow type="math_number" id="cBfkqtHp/(na=hF*Xs;{">
                                                       <field name="NUM">86400</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="xf#[c;spkxV;?_=;2t4]">
                                               <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                               <value name="VALUE">
                                                 <block type="math_arithmetic" id="g85j0([NmkejbN]_LFQ;">
                                                   <field name="OP">MINUS</field>
                                                   <value name="A">
                                                     <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                       <field name="NUM">1</field>
                                                     </shadow>
                                                     <block type="variables_get" id="-VqLq_~+I^S2}L3!#xzI">
                                                       <field name="VAR" id="xR[!J/DBv`U}Y:9[0lI`" variabletype="">raw</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <shadow type="math_number" id="P5_|Dw(]!C*d/0LDlJX[">
                                                       <field name="NUM">86400</field>
                                                     </shadow>
                                                     <block type="math_arithmetic" id="8KQWiO_0+1E7KPBL`BnK">
                                                       <field name="OP">MULTIPLY</field>
                                                       <value name="A">
                                                         <shadow type="math_number" id=",I@|[8va{Mw(V#ASt9{M">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                         <block type="variables_get" id="HYJ?9+`q-3)^O0iZJD-[">
                                                           <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <shadow type="math_number" id="@(,y`FuDg+P*5o[794U6">
                                                           <field name="NUM">86400</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="eAJhBVv3}N8LUFKRAWGZ">
                                                   <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                   <value name="VALUE">
                                                     <block type="math_round" id="/RbEc%QP!6/M9EimZe]N">
                                                       <field name="OP">ROUNDDOWN</field>
                                                       <value name="NUM">
                                                         <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                           <field name="NUM">0</field>
                                                         </shadow>
                                                         <block type="math_arithmetic" id="BFHl3E~ysn|,xUa5Vb8#">
                                                           <field name="OP">DIVIDE</field>
                                                           <value name="A">
                                                             <shadow type="math_number" id="bahI:FVxEi%`f[PVR#?r">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id="7=o8aPA{`ENu)Ede_%B@">
                                                               <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number" id="6k]Nz4u+nuL.OON8Z+?j">
                                                               <field name="NUM">3600</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id=".+IdB1+tIgC(cXj^#9gr">
                                                       <field name="VAR" id="ThAY6m1`ng2#i#jP3dUp" variabletype="">zw2</field>
                                                       <value name="VALUE">
                                                         <block type="math_arithmetic" id="Tb1}ci*dwi]?N(+VZS0*">
                                                           <field name="OP">MINUS</field>
                                                           <value name="A">
                                                             <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                             <block type="variables_get" id="pl@KE2~vpoFkF~SSzk%%">
                                                               <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <shadow type="math_number" id="P5_|Dw(]!C*d/0LDlJX[">
                                                               <field name="NUM">0</field>
                                                             </shadow>
                                                             <block type="math_arithmetic" id="pIkaJRUH0EN9i5BFh|Ou">
                                                               <field name="OP">MULTIPLY</field>
                                                               <value name="A">
                                                                 <shadow type="math_number" id=",I@|[8va{Mw(V#ASt9{M">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="^B.o=TuQbG!2~GNM/e-d">
                                                                   <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <shadow type="math_number" id="jHJ,OA,V7xyG1^Be^jW.">
                                                                   <field name="NUM">3600</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="6GHul#I2g`ZkYC1e~C{1">
                                                           <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                           <value name="VALUE">
                                                             <block type="math_round" id="I%[WOX~v6)8yc}K1_|nS">
                                                               <field name="OP">ROUNDDOWN</field>
                                                               <value name="NUM">
                                                                 <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                                   <field name="NUM">3.1</field>
                                                                 </shadow>
                                                                 <block type="math_arithmetic" id="kqIicz=;J=5v)|+`2Vs)">
                                                                   <field name="OP">DIVIDE</field>
                                                                   <value name="A">
                                                                     <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                                       <field name="NUM">1</field>
                                                                     </shadow>
                                                                     <block type="variables_get" id="/E]PwFOERrG;mY.@U?fN">
                                                                       <field name="VAR" id="ThAY6m1`ng2#i#jP3dUp" variabletype="">zw2</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <shadow type="math_number" id=":5Jjoq2?fnn.3?nX.qu5">
                                                                       <field name="NUM">60</field>
                                                                     </shadow>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="comment" id="}62au5%|-uoD0^;/S~ro">
                                                               <field name="COMMENT">0 bei Std hinzufügen</field>
                                                               <next>
                                                                 <block type="controls_if" id="?TXM*.u^oR?=mu!C7#Gu">
                                                                   <value name="IF0">
                                                                     <block type="logic_compare" id="[p}YkaS];xdRMD*ap48G">
                                                                       <field name="OP">LT</field>
                                                                       <value name="A">
                                                                         <block type="variables_get" id="J{uV_w/y/+ZCV.l3D|i:">
                                                                           <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="gI1:JylA#77yV(JkpK-B">
                                                                           <field name="NUM">10</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="DO0">
                                                                     <block type="variables_set" id="ys[j:Xn^gP:?Hv[zAW6#">
                                                                       <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                       <value name="VALUE">
                                                                         <block type="text_join" id="d.!cr#8mc8)?UUgV:OX7">
                                                                           <mutation items="2"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="text" id="OJ@x,#Ao.]qv/F1*WGrw">
                                                                               <field name="TEXT">0</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="variables_get" id="zZIf^PD**]GNm8rfZgWV">
                                                                               <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </statement>
                                                                   <next>
                                                                     <block type="comment" id="}Dx+SO@qP}PgQPnCiPe~">
                                                                       <field name="COMMENT">0 bei Min hinzufügen</field>
                                                                       <next>
                                                                         <block type="controls_if" id="w9ZUSJJysyrxjo%O}*AF">
                                                                           <value name="IF0">
                                                                             <block type="logic_compare" id="wJ}HmbQ.3A%3lP*+{9:B">
                                                                               <field name="OP">LT</field>
                                                                               <value name="A">
                                                                                 <block type="variables_get" id="S(W}:D+!I,z}N@-!qlLJ">
                                                                                   <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <block type="math_number" id="Pbic4r3a3N.-[@ukd.l3">
                                                                                   <field name="NUM">10</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO0">
                                                                             <block type="variables_set" id="%^^k8,?cY?eR!Zo]qZIX">
                                                                               <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text_join" id="emQn)QW2nx4diB92R^vk">
                                                                                   <mutation items="2"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="USkT*`Qj|%3NxDYYt}Bu">
                                                                                       <field name="TEXT">0</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="variables_get" id="6p0+r[)u0Krqi;d4:,ZD">
                                                                                       <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </statement>
                                                                           <next>
                                                                             <block type="controls_if" id="v@B2k(R?[gCoK1a~I9`F">
                                                                               <mutation else="1"></mutation>
                                                                               <value name="IF0">
                                                                                 <block type="logic_compare" id="1dfxjx[N`Epx2~*6W~7;">
                                                                                   <field name="OP">EQ</field>
                                                                                   <value name="A">
                                                                                     <block type="variables_get" id="l^{OAh,GFMX(@#9-warp">
                                                                                       <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <block type="math_number" id="!V0n5d2Z-i!(iBk895]x">
                                                                                       <field name="NUM">1</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <statement name="DO0">
                                                                                 <block type="update" id="}dygd@NM}^+sSCG`^@Xn">
                                                                                   <mutation delay_input="false"></mutation>
                                                                                   <field name="OID">javascript.0.uptime.iobroker</field>
                                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="text_join" id="]#nx!b5z}YAPXTsmNLQ|">
                                                                                       <mutation items="6"></mutation>
                                                                                       <value name="ADD0">
                                                                                         <block type="variables_get" id="+aVEIO9S5O-.3_#gOO/x">
                                                                                           <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD1">
                                                                                         <block type="text" id="]erCl}B}Ea`ac^[!:!*)">
                                                                                           <field name="TEXT"> Tag, </field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD2">
                                                                                         <block type="variables_get" id="a%[T3/e/(_l9BPIVM(-)">
                                                                                           <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD3">
                                                                                         <block type="text" id="qF9D;Tv`WFo,)3,+[|Ve">
                                                                                           <field name="TEXT"> Std, </field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD4">
                                                                                         <block type="variables_get" id="j`B:8.qUHr*`vdar-A}K">
                                                                                           <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD5">
                                                                                         <block type="text" id="bV2z[/bBEhy_BqMy.UHC">
                                                                                           <field name="TEXT"> Min</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </statement>
                                                                               <statement name="ELSE">
                                                                                 <block type="update" id="(g+SDiV]@I6UoHl8jE.i">
                                                                                   <mutation delay_input="false"></mutation>
                                                                                   <field name="OID">javascript.0.uptime.iobroker</field>
                                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="text_join" id="|gSv+WZHIMcsYv;iY}y5">
                                                                                       <mutation items="6"></mutation>
                                                                                       <value name="ADD0">
                                                                                         <block type="variables_get" id=";lH~jePSwnZZ`B9Uf9#8">
                                                                                           <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD1">
                                                                                         <block type="text" id="_N5MntuQ3.OAGrQ,UEnV">
                                                                                           <field name="TEXT"> Tage, </field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD2">
                                                                                         <block type="variables_get" id=".4sH_?4VFhqf^8u!M7F9">
                                                                                           <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD3">
                                                                                         <block type="text" id="V0sqG%|UzZe:%=_GTSO%">
                                                                                           <field name="TEXT"> Std, </field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD4">
                                                                                         <block type="variables_get" id="~~tdGbeXHF,RXc4-gV[i">
                                                                                           <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD5">
                                                                                         <block type="text" id="1oy#IR@#^HupeI(++C48">
                                                                                           <field name="TEXT"> Min</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </statement>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                  </block>
                                  

                                  Uli977U Offline
                                  Uli977U Offline
                                  Uli977
                                  wrote on last edited by
                                  #751

                                  @Kuddel Danke! Probiere ich mal aus.

                                  1 Reply Last reply
                                  0
                                  • K Kuddel

                                    @Uli977 mittlerwiele habe ich für jedes Gerät ein einzelnes Skript. Es wurde zu unübersichtlich ^^

                                    Hier das Skript für den ioBroker (Blockly Export):

                                    <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="S},%B!W7FjU|w+;Bi3u/" x="-662" y="-336">
                                     <field name="SCHEDULE">*/1 * * * *</field>
                                     <statement name="STATEMENT">
                                       <block type="variables_set" id="c;vRX]+MD3w~Fa4u0_oA">
                                         <field name="VAR" id="xR[!J/DBv`U}Y:9[0lI`" variabletype="">raw</field>
                                         <value name="VALUE">
                                           <block type="get_value" id="#=Ud:?8|Bc0R?oq(}{Vz">
                                             <field name="ATTR">val</field>
                                             <field name="OID">rpi2.0.uptime.uptime</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id=":+s25++7%;E1ZPSp_bNH">
                                             <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                             <value name="VALUE">
                                               <block type="math_round" id="V_n,Z?87Yzo#1@Gk)B_|">
                                                 <field name="OP">ROUNDDOWN</field>
                                                 <value name="NUM">
                                                   <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                     <field name="NUM">3.1</field>
                                                   </shadow>
                                                   <block type="math_arithmetic" id="#vPh0eWHzHbmc0{P(xGl">
                                                     <field name="OP">DIVIDE</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="bahI:FVxEi%`f[PVR#?r">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="get_value" id="[]}_AgMQs2tS-b3SOG6:">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">rpi2.0.uptime.uptime</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="cBfkqtHp/(na=hF*Xs;{">
                                                         <field name="NUM">86400</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="xf#[c;spkxV;?_=;2t4]">
                                                 <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                 <value name="VALUE">
                                                   <block type="math_arithmetic" id="g85j0([NmkejbN]_LFQ;">
                                                     <field name="OP">MINUS</field>
                                                     <value name="A">
                                                       <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                       <block type="variables_get" id="-VqLq_~+I^S2}L3!#xzI">
                                                         <field name="VAR" id="xR[!J/DBv`U}Y:9[0lI`" variabletype="">raw</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <shadow type="math_number" id="P5_|Dw(]!C*d/0LDlJX[">
                                                         <field name="NUM">86400</field>
                                                       </shadow>
                                                       <block type="math_arithmetic" id="8KQWiO_0+1E7KPBL`BnK">
                                                         <field name="OP">MULTIPLY</field>
                                                         <value name="A">
                                                           <shadow type="math_number" id=",I@|[8va{Mw(V#ASt9{M">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="variables_get" id="HYJ?9+`q-3)^O0iZJD-[">
                                                             <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id="@(,y`FuDg+P*5o[794U6">
                                                             <field name="NUM">86400</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="variables_set" id="eAJhBVv3}N8LUFKRAWGZ">
                                                     <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                     <value name="VALUE">
                                                       <block type="math_round" id="/RbEc%QP!6/M9EimZe]N">
                                                         <field name="OP">ROUNDDOWN</field>
                                                         <value name="NUM">
                                                           <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                             <field name="NUM">0</field>
                                                           </shadow>
                                                           <block type="math_arithmetic" id="BFHl3E~ysn|,xUa5Vb8#">
                                                             <field name="OP">DIVIDE</field>
                                                             <value name="A">
                                                               <shadow type="math_number" id="bahI:FVxEi%`f[PVR#?r">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="variables_get" id="7=o8aPA{`ENu)Ede_%B@">
                                                                 <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="6k]Nz4u+nuL.OON8Z+?j">
                                                                 <field name="NUM">3600</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id=".+IdB1+tIgC(cXj^#9gr">
                                                         <field name="VAR" id="ThAY6m1`ng2#i#jP3dUp" variabletype="">zw2</field>
                                                         <value name="VALUE">
                                                           <block type="math_arithmetic" id="Tb1}ci*dwi]?N(+VZS0*">
                                                             <field name="OP">MINUS</field>
                                                             <value name="A">
                                                               <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="variables_get" id="pl@KE2~vpoFkF~SSzk%%">
                                                                 <field name="VAR" id="@Xe/hH@K?lg~ckA0s$1v" variabletype="">zw</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="P5_|Dw(]!C*d/0LDlJX[">
                                                                 <field name="NUM">0</field>
                                                               </shadow>
                                                               <block type="math_arithmetic" id="pIkaJRUH0EN9i5BFh|Ou">
                                                                 <field name="OP">MULTIPLY</field>
                                                                 <value name="A">
                                                                   <shadow type="math_number" id=",I@|[8va{Mw(V#ASt9{M">
                                                                     <field name="NUM">1</field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="^B.o=TuQbG!2~GNM/e-d">
                                                                     <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <shadow type="math_number" id="jHJ,OA,V7xyG1^Be^jW.">
                                                                     <field name="NUM">3600</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="variables_set" id="6GHul#I2g`ZkYC1e~C{1">
                                                             <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                             <value name="VALUE">
                                                               <block type="math_round" id="I%[WOX~v6)8yc}K1_|nS">
                                                                 <field name="OP">ROUNDDOWN</field>
                                                                 <value name="NUM">
                                                                   <shadow type="math_number" id="w)m[6-o#SFO|})aX;^Sn">
                                                                     <field name="NUM">3.1</field>
                                                                   </shadow>
                                                                   <block type="math_arithmetic" id="kqIicz=;J=5v)|+`2Vs)">
                                                                     <field name="OP">DIVIDE</field>
                                                                     <value name="A">
                                                                       <shadow type="math_number" id="}H73ztKqU,dkWZ,F,i*R">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="variables_get" id="/E]PwFOERrG;mY.@U?fN">
                                                                         <field name="VAR" id="ThAY6m1`ng2#i#jP3dUp" variabletype="">zw2</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <shadow type="math_number" id=":5Jjoq2?fnn.3?nX.qu5">
                                                                         <field name="NUM">60</field>
                                                                       </shadow>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="comment" id="}62au5%|-uoD0^;/S~ro">
                                                                 <field name="COMMENT">0 bei Std hinzufügen</field>
                                                                 <next>
                                                                   <block type="controls_if" id="?TXM*.u^oR?=mu!C7#Gu">
                                                                     <value name="IF0">
                                                                       <block type="logic_compare" id="[p}YkaS];xdRMD*ap48G">
                                                                         <field name="OP">LT</field>
                                                                         <value name="A">
                                                                           <block type="variables_get" id="J{uV_w/y/+ZCV.l3D|i:">
                                                                             <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="math_number" id="gI1:JylA#77yV(JkpK-B">
                                                                             <field name="NUM">10</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <statement name="DO0">
                                                                       <block type="variables_set" id="ys[j:Xn^gP:?Hv[zAW6#">
                                                                         <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                         <value name="VALUE">
                                                                           <block type="text_join" id="d.!cr#8mc8)?UUgV:OX7">
                                                                             <mutation items="2"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="OJ@x,#Ao.]qv/F1*WGrw">
                                                                                 <field name="TEXT">0</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="variables_get" id="zZIf^PD**]GNm8rfZgWV">
                                                                                 <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </statement>
                                                                     <next>
                                                                       <block type="comment" id="}Dx+SO@qP}PgQPnCiPe~">
                                                                         <field name="COMMENT">0 bei Min hinzufügen</field>
                                                                         <next>
                                                                           <block type="controls_if" id="w9ZUSJJysyrxjo%O}*AF">
                                                                             <value name="IF0">
                                                                               <block type="logic_compare" id="wJ}HmbQ.3A%3lP*+{9:B">
                                                                                 <field name="OP">LT</field>
                                                                                 <value name="A">
                                                                                   <block type="variables_get" id="S(W}:D+!I,z}N@-!qlLJ">
                                                                                     <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <block type="math_number" id="Pbic4r3a3N.-[@ukd.l3">
                                                                                     <field name="NUM">10</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <statement name="DO0">
                                                                               <block type="variables_set" id="%^^k8,?cY?eR!Zo]qZIX">
                                                                                 <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="text_join" id="emQn)QW2nx4diB92R^vk">
                                                                                     <mutation items="2"></mutation>
                                                                                     <value name="ADD0">
                                                                                       <block type="text" id="USkT*`Qj|%3NxDYYt}Bu">
                                                                                         <field name="TEXT">0</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD1">
                                                                                       <block type="variables_get" id="6p0+r[)u0Krqi;d4:,ZD">
                                                                                         <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </statement>
                                                                             <next>
                                                                               <block type="controls_if" id="v@B2k(R?[gCoK1a~I9`F">
                                                                                 <mutation else="1"></mutation>
                                                                                 <value name="IF0">
                                                                                   <block type="logic_compare" id="1dfxjx[N`Epx2~*6W~7;">
                                                                                     <field name="OP">EQ</field>
                                                                                     <value name="A">
                                                                                       <block type="variables_get" id="l^{OAh,GFMX(@#9-warp">
                                                                                         <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <block type="math_number" id="!V0n5d2Z-i!(iBk895]x">
                                                                                         <field name="NUM">1</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <statement name="DO0">
                                                                                   <block type="update" id="}dygd@NM}^+sSCG`^@Xn">
                                                                                     <mutation delay_input="false"></mutation>
                                                                                     <field name="OID">javascript.0.uptime.iobroker</field>
                                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="text_join" id="]#nx!b5z}YAPXTsmNLQ|">
                                                                                         <mutation items="6"></mutation>
                                                                                         <value name="ADD0">
                                                                                           <block type="variables_get" id="+aVEIO9S5O-.3_#gOO/x">
                                                                                             <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD1">
                                                                                           <block type="text" id="]erCl}B}Ea`ac^[!:!*)">
                                                                                             <field name="TEXT"> Tag, </field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD2">
                                                                                           <block type="variables_get" id="a%[T3/e/(_l9BPIVM(-)">
                                                                                             <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD3">
                                                                                           <block type="text" id="qF9D;Tv`WFo,)3,+[|Ve">
                                                                                             <field name="TEXT"> Std, </field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD4">
                                                                                           <block type="variables_get" id="j`B:8.qUHr*`vdar-A}K">
                                                                                             <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD5">
                                                                                           <block type="text" id="bV2z[/bBEhy_BqMy.UHC">
                                                                                             <field name="TEXT"> Min</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </statement>
                                                                                 <statement name="ELSE">
                                                                                   <block type="update" id="(g+SDiV]@I6UoHl8jE.i">
                                                                                     <mutation delay_input="false"></mutation>
                                                                                     <field name="OID">javascript.0.uptime.iobroker</field>
                                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="text_join" id="|gSv+WZHIMcsYv;iY}y5">
                                                                                         <mutation items="6"></mutation>
                                                                                         <value name="ADD0">
                                                                                           <block type="variables_get" id=";lH~jePSwnZZ`B9Uf9#8">
                                                                                             <field name="VAR" id="t?tbMWd@B^!Lwtws97h(" variabletype="">tage</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD1">
                                                                                           <block type="text" id="_N5MntuQ3.OAGrQ,UEnV">
                                                                                             <field name="TEXT"> Tage, </field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD2">
                                                                                           <block type="variables_get" id=".4sH_?4VFhqf^8u!M7F9">
                                                                                             <field name="VAR" id="sFV`GY=PcXe}ZLrky{bK" variabletype="">std</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD3">
                                                                                           <block type="text" id="V0sqG%|UzZe:%=_GTSO%">
                                                                                             <field name="TEXT"> Std, </field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD4">
                                                                                           <block type="variables_get" id="~~tdGbeXHF,RXc4-gV[i">
                                                                                             <field name="VAR" id="pf9`Yy1b?]wA]a6U/B*@" variabletype="">min</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD5">
                                                                                           <block type="text" id="1oy#IR@#^HupeI(++C48">
                                                                                             <field name="TEXT"> Min</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </statement>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                    </block>
                                    

                                    Uli977U Offline
                                    Uli977U Offline
                                    Uli977
                                    wrote on last edited by Uli977
                                    #752

                                    @Kuddel Komisch, laut Meldung wird der rpi2 erfolgreich installiert, aber ich finde ihn nicht in den Instanzen... hä?

                                    42b55b0f-8c81-4bcc-a20a-e91679db57a2-image.png

                                    crunchipC 1 Reply Last reply
                                    0
                                    • Uli977U Uli977

                                      @Kuddel Komisch, laut Meldung wird der rpi2 erfolgreich installiert, aber ich finde ihn nicht in den Instanzen... hä?

                                      42b55b0f-8c81-4bcc-a20a-e91679db57a2-image.png

                                      crunchipC Away
                                      crunchipC Away
                                      crunchip
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #753

                                      @Uli977

                                      • wenn du von git installierst, musst du die Instanz manuell hinzufügen.
                                      • für was brauchst du diesen Adapter denn? Läuft dein System auf einen PI?
                                      • Uptime findest du doch unter system.host.ioBroker

                                      umgestiegen von Proxmox auf Unraid

                                      Uli977U 1 Reply Last reply
                                      0
                                      • crunchipC crunchip

                                        @Uli977

                                        • wenn du von git installierst, musst du die Instanz manuell hinzufügen.
                                        • für was brauchst du diesen Adapter denn? Läuft dein System auf einen PI?
                                        • Uptime findest du doch unter system.host.ioBroker
                                        Uli977U Offline
                                        Uli977U Offline
                                        Uli977
                                        wrote on last edited by
                                        #754

                                        @crunchip
                                        Ich nutze einen RockPi 4B.
                                        Wahrscheinlich hast du recht, für diesen einen Fall kann ich system.host.ioBroker nehmen.

                                        1 Reply Last reply
                                        0
                                        • K Kuddel

                                          @nautilusweb "Tooltip Telegram" ? Was genau meinst du?

                                          Kannst du bitte einen Screenshot posten

                                          N Offline
                                          N Offline
                                          nautilusweb
                                          wrote on last edited by
                                          #755

                                          Hi,
                                          hier mal ein Screenshot von dem Tooltip.
                                          d556bb20-eb48-4895-9aa9-10a1316e5d46-image.png
                                          Mir fehlen halt ein paar Zeiten und ich verstehe nicht wo die herkommen sollen....
                                          5cadd024-41d7-4659-bcec-a7c893df62e6-image.png

                                          K 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          248

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe