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

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

Community Forum

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

NEWS

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

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

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

[Vorstellung] Meine zweite Visualisierung

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

    @BBTown

    Bei falls hast du Wert stehen. Wie bekomme ich den, denn bei mir steht nichts mit Wert

    BBTownB Offline
    BBTownB Offline
    BBTown
    schrieb am zuletzt editiert von BBTown
    #857

    @Pat1968 sagte in [Vorstellung] Meine zweite Visualisierung:

    Bei falls hast du Wert stehen. Wie bekomme ich den, denn bei mir steht nichts mit Wert

    Das ist der Baustein "ObjectID" unter der Rubrik "Trigger"
    Beim Klick auf "ObjectID" kann "Wert" ausgewählt werden

    ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.0.7 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

    Pat1968P 1 Antwort Letzte Antwort
    0
    • BBTownB BBTown

      @Pat1968 sagte in [Vorstellung] Meine zweite Visualisierung:

      Bei falls hast du Wert stehen. Wie bekomme ich den, denn bei mir steht nichts mit Wert

      Das ist der Baustein "ObjectID" unter der Rubrik "Trigger"
      Beim Klick auf "ObjectID" kann "Wert" ausgewählt werden

      Pat1968P Offline
      Pat1968P Offline
      Pat1968
      schrieb am zuletzt editiert von
      #858

      @BBTown

      Hab es gefunden .Danke. Das einschalten funktioniert aber das ausschalten geht nicht. Einmal eingeschaltet bleibt der Rahmen immer grün

      BBTownB 1 Antwort Letzte Antwort
      0
      • Pat1968P Pat1968

        @BBTown

        Hab es gefunden .Danke. Das einschalten funktioniert aber das ausschalten geht nicht. Einmal eingeschaltet bleibt der Rahmen immer grün

        BBTownB Offline
        BBTownB Offline
        BBTown
        schrieb am zuletzt editiert von
        #859

        @Pat1968
        hmmm .... habe ich mir das zu einfach gemacht?
        dann versuche es so
        4b02b074-e277-4fbc-898a-098f0818a5c5-image.png

        ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.0.7 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

        Pat1968P 1 Antwort Letzte Antwort
        0
        • BBTownB BBTown

          @Pat1968
          hmmm .... habe ich mir das zu einfach gemacht?
          dann versuche es so
          4b02b074-e277-4fbc-898a-098f0818a5c5-image.png

          Pat1968P Offline
          Pat1968P Offline
          Pat1968
          schrieb am zuletzt editiert von
          #860

          @BBTown

          Das wars. Top Danke Dir

          1 Antwort Letzte Antwort
          0
          • O Online
            O Online
            Oli
            schrieb am zuletzt editiert von
            #861

            @Kuddel ,

            kannst du mir bitte sagen, wo ich das Script finde, um die JS-Controllerversion auszulesen.

            Danke!!

            Gruß
            Oliver

            1 Antwort Letzte Antwort
            0
            • K Kuddel

              @Saschag

              In der Debian VM läuft ein Shell-Skript, welches ich per Crontab laufen lasse.


              Versionen abfragen:

              #ioBroker Version
              iobroker=$(iobroker version)
              iobroker state set javascript.0.Versionen.JS-Controller $iobroker
              
              #Node Version
              node=$(node -v)
              iobroker state set javascript.0.Versionen.Node $node
              
              #NPM Version
              npm=$(npm -v)
              iobroker state set javascript.0.Versionen.NPM $npm
              

              Crontab Eintrag

              #Abfrage der Versionen von ioBroker, Node und NPM
              * * * * * sudo /opt/iobroker/skripts/iobroker_versionen.sh
              

              GlasfaserG Online
              GlasfaserG Online
              Glasfaser
              schrieb am zuletzt editiert von
              #862

              @Oli

              Er nimmt ein Shell Skript :

              @Kuddel sagte in [Vorstellung] Meine zweite Visualisierung:

              @Saschag

              In der Debian VM läuft ein Shell-Skript, welches ich per Crontab laufen lasse.


              Versionen abfragen:

              #ioBroker Version
              iobroker=$(iobroker version)
              iobroker state set javascript.0.Versionen.JS-Controller $iobroker
              
              #Node Version
              node=$(node -v)
              iobroker state set javascript.0.Versionen.Node $node
              
              #NPM Version
              npm=$(npm -v)
              iobroker state set javascript.0.Versionen.NPM $npm
              

              Crontab Eintrag

              #Abfrage der Versionen von ioBroker, Node und NPM
              * * * * * sudo /opt/iobroker/skripts/iobroker_versionen.sh
              

              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 ..

              O 1 Antwort Letzte Antwort
              0
              • GlasfaserG Glasfaser

                @Oli

                Er nimmt ein Shell Skript :

                @Kuddel sagte in [Vorstellung] Meine zweite Visualisierung:

                @Saschag

                In der Debian VM läuft ein Shell-Skript, welches ich per Crontab laufen lasse.


                Versionen abfragen:

                #ioBroker Version
                iobroker=$(iobroker version)
                iobroker state set javascript.0.Versionen.JS-Controller $iobroker
                
                #Node Version
                node=$(node -v)
                iobroker state set javascript.0.Versionen.Node $node
                
                #NPM Version
                npm=$(npm -v)
                iobroker state set javascript.0.Versionen.NPM $npm
                

                Crontab Eintrag

                #Abfrage der Versionen von ioBroker, Node und NPM
                * * * * * sudo /opt/iobroker/skripts/iobroker_versionen.sh
                

                O Online
                O Online
                Oli
                schrieb am zuletzt editiert von
                #863

                @Glasfaser

                alles klar, danke, gibt es keine andere Möglichkeit, Shell-Skripte und ich, sind keine Freunde :-) ?

                Gruß
                Oliver

                GlasfaserG 1 Antwort Letzte Antwort
                0
                • O Oli

                  @Glasfaser

                  alles klar, danke, gibt es keine andere Möglichkeit, Shell-Skripte und ich, sind keine Freunde :-) ?

                  GlasfaserG Online
                  GlasfaserG Online
                  Glasfaser
                  schrieb am zuletzt editiert von Glasfaser
                  #864

                  @Oli
                  Cron einstellen und den Datenpunkt !

                  1.JPG

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                   <variables>
                     <variable type="" id="EE|8^;,}a,GYPGgn26|)">result</variable>
                   </variables>
                   <block type="schedule" id="M[#,#R:FmG:eOdafWIr." x="212" y="13">
                     <field name="SCHEDULE">* * * * *</field>
                     <statement name="STATEMENT">
                       <block type="exec" id="ol{Jh*]]dr6sxi,eh|SB">
                         <mutation with_statement="true"></mutation>
                         <field name="WITH_STATEMENT">TRUE</field>
                         <field name="LOG"></field>
                         <value name="COMMAND">
                           <shadow type="text" id="L,~P%61NDv)f_nrg+Afs">
                             <field name="TEXT">iobroker version</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="update" id="1{}L6QIWBOXXy91YSQ*t">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="variables_get" id="?(d[K|PLj8%AWdxf5N4Y">
                                 <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                               </block>
                             </value>
                             <next>
                               <block type="debug" id="Vd+yOIBcsZzv2L)]4hj#">
                                 <field name="Severity">log</field>
                                 <value name="TEXT">
                                   <shadow type="text" id="(eGJn]m(|hG3f$bZEf%J">
                                     <field name="TEXT"></field>
                                   </shadow>
                                   <block type="variables_get" id="Z7v0JT`(YZ/?Iy+q.1SL">
                                     <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                  </xml>
                  

                  Oder den Adapter SystemInfo installieren

                  2.JPG

                  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 ..

                  O K 2 Antworten Letzte Antwort
                  0
                  • GlasfaserG Glasfaser

                    @Oli
                    Cron einstellen und den Datenpunkt !

                    1.JPG

                    <xml xmlns="http://www.w3.org/1999/xhtml">
                     <variables>
                       <variable type="" id="EE|8^;,}a,GYPGgn26|)">result</variable>
                     </variables>
                     <block type="schedule" id="M[#,#R:FmG:eOdafWIr." x="212" y="13">
                       <field name="SCHEDULE">* * * * *</field>
                       <statement name="STATEMENT">
                         <block type="exec" id="ol{Jh*]]dr6sxi,eh|SB">
                           <mutation with_statement="true"></mutation>
                           <field name="WITH_STATEMENT">TRUE</field>
                           <field name="LOG"></field>
                           <value name="COMMAND">
                             <shadow type="text" id="L,~P%61NDv)f_nrg+Afs">
                               <field name="TEXT">iobroker version</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="update" id="1{}L6QIWBOXXy91YSQ*t">
                               <mutation delay_input="false"></mutation>
                               <field name="OID">Object ID</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="?(d[K|PLj8%AWdxf5N4Y">
                                   <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="debug" id="Vd+yOIBcsZzv2L)]4hj#">
                                   <field name="Severity">log</field>
                                   <value name="TEXT">
                                     <shadow type="text" id="(eGJn]m(|hG3f$bZEf%J">
                                       <field name="TEXT"></field>
                                     </shadow>
                                     <block type="variables_get" id="Z7v0JT`(YZ/?Iy+q.1SL">
                                       <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                    </xml>
                    

                    Oder den Adapter SystemInfo installieren

                    2.JPG

                    O Online
                    O Online
                    Oli
                    schrieb am zuletzt editiert von
                    #865

                    @Glasfaser

                    danke, hat funktioniert.

                    Gruß
                    Oliver

                    1 Antwort Letzte Antwort
                    0
                    • GlasfaserG Glasfaser

                      @Oli
                      Cron einstellen und den Datenpunkt !

                      1.JPG

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="" id="EE|8^;,}a,GYPGgn26|)">result</variable>
                       </variables>
                       <block type="schedule" id="M[#,#R:FmG:eOdafWIr." x="212" y="13">
                         <field name="SCHEDULE">* * * * *</field>
                         <statement name="STATEMENT">
                           <block type="exec" id="ol{Jh*]]dr6sxi,eh|SB">
                             <mutation with_statement="true"></mutation>
                             <field name="WITH_STATEMENT">TRUE</field>
                             <field name="LOG"></field>
                             <value name="COMMAND">
                               <shadow type="text" id="L,~P%61NDv)f_nrg+Afs">
                                 <field name="TEXT">iobroker version</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="update" id="1{}L6QIWBOXXy91YSQ*t">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">Object ID</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="variables_get" id="?(d[K|PLj8%AWdxf5N4Y">
                                     <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="debug" id="Vd+yOIBcsZzv2L)]4hj#">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="(eGJn]m(|hG3f$bZEf%J">
                                         <field name="TEXT"></field>
                                       </shadow>
                                       <block type="variables_get" id="Z7v0JT`(YZ/?Iy+q.1SL">
                                         <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      Oder den Adapter SystemInfo installieren

                      2.JPG

                      K Offline
                      K Offline
                      Kuddel
                      schrieb am zuletzt editiert von Kuddel
                      #866

                      @Glasfaser sagte in [Vorstellung] Meine zweite Visualisierung:

                      @Oli
                      Cron einstellen und den Datenpunkt !

                      1.JPG

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="" id="EE|8^;,}a,GYPGgn26|)">result</variable>
                       </variables>
                       <block type="schedule" id="M[#,#R:FmG:eOdafWIr." x="212" y="13">
                         <field name="SCHEDULE">* * * * *</field>
                         <statement name="STATEMENT">
                           <block type="exec" id="ol{Jh*]]dr6sxi,eh|SB">
                             <mutation with_statement="true"></mutation>
                             <field name="WITH_STATEMENT">TRUE</field>
                             <field name="LOG"></field>
                             <value name="COMMAND">
                               <shadow type="text" id="L,~P%61NDv)f_nrg+Afs">
                                 <field name="TEXT">iobroker version</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="update" id="1{}L6QIWBOXXy91YSQ*t">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">Object ID</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="variables_get" id="?(d[K|PLj8%AWdxf5N4Y">
                                     <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="debug" id="Vd+yOIBcsZzv2L)]4hj#">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="(eGJn]m(|hG3f$bZEf%J">
                                         <field name="TEXT"></field>
                                       </shadow>
                                       <block type="variables_get" id="Z7v0JT`(YZ/?Iy+q.1SL">
                                         <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      Oder den Adapter SystemInfo installieren

                      2.JPG

                      Ich bin gerade dabei meinen ioBroker von einer Debian VM auf eine neue Ubuntu VM umzuziehen.

                      Die Javascript-Adapter Version ist auf beiden Systemen gleich (4.1.12).

                      Auf Debian funktioniert die Abfrage der Uptime meiner CCU, auf Ubuntu nicht.

                      ssh root@192.168.4.5 uptime | awk '{print $3_$4_$5}'
                      

                      1da9506a-0257-4e8d-af25-8e15b3f88ede-grafik.png

                      Damit wollte ich mein Shell-Skript ablösen und alles einheitlich in Blockly abbilden

                      Wenn ich den Befehl in der Kosole eingebe, bekomme ich die gewünschte Ausgabe:

                      root@ioBroker-MASTER:~# ssh root@192.168.4.5 uptime | awk '{print $3_$4_$5}'
                      120days,1:36,
                      root@ioBroker-MASTER:~#
                      
                      
                      GlasfaserG 1 Antwort Letzte Antwort
                      0
                      • K Kuddel

                        @Glasfaser sagte in [Vorstellung] Meine zweite Visualisierung:

                        @Oli
                        Cron einstellen und den Datenpunkt !

                        1.JPG

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <variables>
                           <variable type="" id="EE|8^;,}a,GYPGgn26|)">result</variable>
                         </variables>
                         <block type="schedule" id="M[#,#R:FmG:eOdafWIr." x="212" y="13">
                           <field name="SCHEDULE">* * * * *</field>
                           <statement name="STATEMENT">
                             <block type="exec" id="ol{Jh*]]dr6sxi,eh|SB">
                               <mutation with_statement="true"></mutation>
                               <field name="WITH_STATEMENT">TRUE</field>
                               <field name="LOG"></field>
                               <value name="COMMAND">
                                 <shadow type="text" id="L,~P%61NDv)f_nrg+Afs">
                                   <field name="TEXT">iobroker version</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="update" id="1{}L6QIWBOXXy91YSQ*t">
                                   <mutation delay_input="false"></mutation>
                                   <field name="OID">Object ID</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="variables_get" id="?(d[K|PLj8%AWdxf5N4Y">
                                       <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="debug" id="Vd+yOIBcsZzv2L)]4hj#">
                                       <field name="Severity">log</field>
                                       <value name="TEXT">
                                         <shadow type="text" id="(eGJn]m(|hG3f$bZEf%J">
                                           <field name="TEXT"></field>
                                         </shadow>
                                         <block type="variables_get" id="Z7v0JT`(YZ/?Iy+q.1SL">
                                           <field name="VAR" id="EE|8^;,}a,GYPGgn26|)" variabletype="">result</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                        </xml>
                        

                        Oder den Adapter SystemInfo installieren

                        2.JPG

                        Ich bin gerade dabei meinen ioBroker von einer Debian VM auf eine neue Ubuntu VM umzuziehen.

                        Die Javascript-Adapter Version ist auf beiden Systemen gleich (4.1.12).

                        Auf Debian funktioniert die Abfrage der Uptime meiner CCU, auf Ubuntu nicht.

                        ssh root@192.168.4.5 uptime | awk '{print $3_$4_$5}'
                        

                        1da9506a-0257-4e8d-af25-8e15b3f88ede-grafik.png

                        Damit wollte ich mein Shell-Skript ablösen und alles einheitlich in Blockly abbilden

                        Wenn ich den Befehl in der Kosole eingebe, bekomme ich die gewünschte Ausgabe:

                        root@ioBroker-MASTER:~# ssh root@192.168.4.5 uptime | awk '{print $3_$4_$5}'
                        120days,1:36,
                        root@ioBroker-MASTER:~#
                        
                        
                        GlasfaserG Online
                        GlasfaserG Online
                        Glasfaser
                        schrieb am zuletzt editiert von Glasfaser
                        #867

                        @Kuddel

                        Kommt dann nur eine leere Ausgabe ohne Wert :?

                        CCU Uptime: 
                        

                        Nachtrag: sehe gerade du hast ein Thread eröffnet . 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 ..

                        K 1 Antwort Letzte Antwort
                        0
                        • GlasfaserG Glasfaser

                          @Kuddel

                          Kommt dann nur eine leere Ausgabe ohne Wert :?

                          CCU Uptime: 
                          

                          Nachtrag: sehe gerade du hast ein Thread eröffnet . Link Text

                          K Offline
                          K Offline
                          Kuddel
                          schrieb am zuletzt editiert von
                          #868

                          @Glasfaser ja eine leere Ausgabe.

                          habe parallel ein neues Thema dazu eröffnet:

                          Probleme mit Exec

                          1 Antwort Letzte Antwort
                          0
                          • Uli977U Offline
                            Uli977U Offline
                            Uli977
                            schrieb am zuletzt editiert von
                            #869

                            Hallo @Kuddel

                            Ich würde gerne diese Grafik vom NUC etwas mit leben füllen.

                            81a9181a-fae8-4f7b-a371-c34db0de3639-image.png

                            Hast du das Skipt noch.

                            javascript.0.ressourcen.esx.esx-nuc_datastore_freespace

                            VG

                            K crunchipC 2 Antworten Letzte Antwort
                            1
                            • Uli977U Uli977

                              Hallo @Kuddel

                              Ich würde gerne diese Grafik vom NUC etwas mit leben füllen.

                              81a9181a-fae8-4f7b-a371-c34db0de3639-image.png

                              Hast du das Skipt noch.

                              javascript.0.ressourcen.esx.esx-nuc_datastore_freespace

                              VG

                              K Offline
                              K Offline
                              Kuddel
                              schrieb am zuletzt editiert von
                              #870

                              @Uli977 hier das Powershell Skript.

                              Geht sicherlich auch per Blockly und Exec, aber das habe ich noch nicht umgesetzt.

                              Import-Module VMware.PowerCLI
                              cls
                              
                              Connect-VIServer 192.168.4.45 -user root -Password ******************
                              cls
                              
                              #ESX-NUC Infos Abfragen
                              $esx_nuc_infos = get-vmhost
                              #Freier RAM ESX-NUC
                              $esx_nuc_ram = $esx_nuc_infos.MemoryUsageMB
                              Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage?value=$esx_nuc_ram | Out-Null
                              $esx_nuc_ram_usage_percent = $esx_nuc_infos.MemoryUsageMB / $esx_nuc_infos.MemoryTotalMB
                              $esx_nuc_ram_usage_percent = $esx_nuc_ram_usage_percent * 100
                              $esx_nuc_ram_usage_percent = [math]::Round($esx_nuc_ram_usage_percent,0)
                              Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage_percent?value=$esx_nuc_ram_usage_percent | Out-Null
                                     
                              #CPU Auslastung
                              $esx_nuc_cpu_usage = [INT]$esx_nuc_infos.CpuUsageMhz
                              Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage?value=$esx_nuc_cpu_usage | Out-Null
                              $esx_nuc_cpu_usage_percent = $esx_nuc_infos.CpuUsageMhz / $esx_nuc_infos.CpuTotalMhz
                              $esx_nuc_cpu_usage_percent = $esx_nuc_cpu_usage_percent * 100
                              $esx_nuc_cpu_usage_percent = [math]::Round($esx_nuc_cpu_usage_percent,0)
                              Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage_percent?value=$esx_nuc_cpu_usage_percent | Out-Null
                                     
                              
                              #Speicherauslastung SSD
                              $datastore = Get-Datastore SSD
                              $datastore_usage_percent = $datastore.CapacityGB - $datastore.FreeSpaceGB
                              $datastore_usage_percent = $datastore_usage_percent / $datastore.CapacityGB
                              $datastore_usage_percent = $datastore_usage_percent * 100
                              $datastore_usage_percent = [math]::Round($datastore_usage_percent,2)
                              Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_usage_percent?value=$datastore_usage_percent | Out-Null
                              #Freier Speicher in GB
                              Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_freespace?value=$($datastore.FreeSpaceGB) | Out-Null
                              

                              Uli977U K 4 Antworten Letzte Antwort
                              0
                              • K Kuddel

                                @Uli977 hier das Powershell Skript.

                                Geht sicherlich auch per Blockly und Exec, aber das habe ich noch nicht umgesetzt.

                                Import-Module VMware.PowerCLI
                                cls
                                
                                Connect-VIServer 192.168.4.45 -user root -Password ******************
                                cls
                                
                                #ESX-NUC Infos Abfragen
                                $esx_nuc_infos = get-vmhost
                                #Freier RAM ESX-NUC
                                $esx_nuc_ram = $esx_nuc_infos.MemoryUsageMB
                                Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage?value=$esx_nuc_ram | Out-Null
                                $esx_nuc_ram_usage_percent = $esx_nuc_infos.MemoryUsageMB / $esx_nuc_infos.MemoryTotalMB
                                $esx_nuc_ram_usage_percent = $esx_nuc_ram_usage_percent * 100
                                $esx_nuc_ram_usage_percent = [math]::Round($esx_nuc_ram_usage_percent,0)
                                Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage_percent?value=$esx_nuc_ram_usage_percent | Out-Null
                                       
                                #CPU Auslastung
                                $esx_nuc_cpu_usage = [INT]$esx_nuc_infos.CpuUsageMhz
                                Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage?value=$esx_nuc_cpu_usage | Out-Null
                                $esx_nuc_cpu_usage_percent = $esx_nuc_infos.CpuUsageMhz / $esx_nuc_infos.CpuTotalMhz
                                $esx_nuc_cpu_usage_percent = $esx_nuc_cpu_usage_percent * 100
                                $esx_nuc_cpu_usage_percent = [math]::Round($esx_nuc_cpu_usage_percent,0)
                                Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage_percent?value=$esx_nuc_cpu_usage_percent | Out-Null
                                       
                                
                                #Speicherauslastung SSD
                                $datastore = Get-Datastore SSD
                                $datastore_usage_percent = $datastore.CapacityGB - $datastore.FreeSpaceGB
                                $datastore_usage_percent = $datastore_usage_percent / $datastore.CapacityGB
                                $datastore_usage_percent = $datastore_usage_percent * 100
                                $datastore_usage_percent = [math]::Round($datastore_usage_percent,2)
                                Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_usage_percent?value=$datastore_usage_percent | Out-Null
                                #Freier Speicher in GB
                                Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_freespace?value=$($datastore.FreeSpaceGB) | Out-Null
                                

                                Uli977U Offline
                                Uli977U Offline
                                Uli977
                                schrieb am zuletzt editiert von
                                #871

                                @Kuddel Was ist das? ein normales Javaskript?

                                1 Antwort Letzte Antwort
                                0
                                • K Kuddel

                                  @Uli977 hier das Powershell Skript.

                                  Geht sicherlich auch per Blockly und Exec, aber das habe ich noch nicht umgesetzt.

                                  Import-Module VMware.PowerCLI
                                  cls
                                  
                                  Connect-VIServer 192.168.4.45 -user root -Password ******************
                                  cls
                                  
                                  #ESX-NUC Infos Abfragen
                                  $esx_nuc_infos = get-vmhost
                                  #Freier RAM ESX-NUC
                                  $esx_nuc_ram = $esx_nuc_infos.MemoryUsageMB
                                  Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage?value=$esx_nuc_ram | Out-Null
                                  $esx_nuc_ram_usage_percent = $esx_nuc_infos.MemoryUsageMB / $esx_nuc_infos.MemoryTotalMB
                                  $esx_nuc_ram_usage_percent = $esx_nuc_ram_usage_percent * 100
                                  $esx_nuc_ram_usage_percent = [math]::Round($esx_nuc_ram_usage_percent,0)
                                  Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage_percent?value=$esx_nuc_ram_usage_percent | Out-Null
                                         
                                  #CPU Auslastung
                                  $esx_nuc_cpu_usage = [INT]$esx_nuc_infos.CpuUsageMhz
                                  Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage?value=$esx_nuc_cpu_usage | Out-Null
                                  $esx_nuc_cpu_usage_percent = $esx_nuc_infos.CpuUsageMhz / $esx_nuc_infos.CpuTotalMhz
                                  $esx_nuc_cpu_usage_percent = $esx_nuc_cpu_usage_percent * 100
                                  $esx_nuc_cpu_usage_percent = [math]::Round($esx_nuc_cpu_usage_percent,0)
                                  Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage_percent?value=$esx_nuc_cpu_usage_percent | Out-Null
                                         
                                  
                                  #Speicherauslastung SSD
                                  $datastore = Get-Datastore SSD
                                  $datastore_usage_percent = $datastore.CapacityGB - $datastore.FreeSpaceGB
                                  $datastore_usage_percent = $datastore_usage_percent / $datastore.CapacityGB
                                  $datastore_usage_percent = $datastore_usage_percent * 100
                                  $datastore_usage_percent = [math]::Round($datastore_usage_percent,2)
                                  Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_usage_percent?value=$datastore_usage_percent | Out-Null
                                  #Freier Speicher in GB
                                  Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_freespace?value=$($datastore.FreeSpaceGB) | Out-Null
                                  

                                  Uli977U Offline
                                  Uli977U Offline
                                  Uli977
                                  schrieb am zuletzt editiert von
                                  #872

                                  @Kuddel Ach ne, über console

                                  1 Antwort Letzte Antwort
                                  0
                                  • K Kuddel

                                    @Uli977 hier das Powershell Skript.

                                    Geht sicherlich auch per Blockly und Exec, aber das habe ich noch nicht umgesetzt.

                                    Import-Module VMware.PowerCLI
                                    cls
                                    
                                    Connect-VIServer 192.168.4.45 -user root -Password ******************
                                    cls
                                    
                                    #ESX-NUC Infos Abfragen
                                    $esx_nuc_infos = get-vmhost
                                    #Freier RAM ESX-NUC
                                    $esx_nuc_ram = $esx_nuc_infos.MemoryUsageMB
                                    Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage?value=$esx_nuc_ram | Out-Null
                                    $esx_nuc_ram_usage_percent = $esx_nuc_infos.MemoryUsageMB / $esx_nuc_infos.MemoryTotalMB
                                    $esx_nuc_ram_usage_percent = $esx_nuc_ram_usage_percent * 100
                                    $esx_nuc_ram_usage_percent = [math]::Round($esx_nuc_ram_usage_percent,0)
                                    Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage_percent?value=$esx_nuc_ram_usage_percent | Out-Null
                                           
                                    #CPU Auslastung
                                    $esx_nuc_cpu_usage = [INT]$esx_nuc_infos.CpuUsageMhz
                                    Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage?value=$esx_nuc_cpu_usage | Out-Null
                                    $esx_nuc_cpu_usage_percent = $esx_nuc_infos.CpuUsageMhz / $esx_nuc_infos.CpuTotalMhz
                                    $esx_nuc_cpu_usage_percent = $esx_nuc_cpu_usage_percent * 100
                                    $esx_nuc_cpu_usage_percent = [math]::Round($esx_nuc_cpu_usage_percent,0)
                                    Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage_percent?value=$esx_nuc_cpu_usage_percent | Out-Null
                                           
                                    
                                    #Speicherauslastung SSD
                                    $datastore = Get-Datastore SSD
                                    $datastore_usage_percent = $datastore.CapacityGB - $datastore.FreeSpaceGB
                                    $datastore_usage_percent = $datastore_usage_percent / $datastore.CapacityGB
                                    $datastore_usage_percent = $datastore_usage_percent * 100
                                    $datastore_usage_percent = [math]::Round($datastore_usage_percent,2)
                                    Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_usage_percent?value=$datastore_usage_percent | Out-Null
                                    #Freier Speicher in GB
                                    Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_freespace?value=$($datastore.FreeSpaceGB) | Out-Null
                                    

                                    Uli977U Offline
                                    Uli977U Offline
                                    Uli977
                                    schrieb am zuletzt editiert von
                                    #873

                                    @Kuddel Ääää, wo muss ich das verwenden?

                                    1 Antwort Letzte Antwort
                                    0
                                    • K Kuddel

                                      @Uli977 hier das Powershell Skript.

                                      Geht sicherlich auch per Blockly und Exec, aber das habe ich noch nicht umgesetzt.

                                      Import-Module VMware.PowerCLI
                                      cls
                                      
                                      Connect-VIServer 192.168.4.45 -user root -Password ******************
                                      cls
                                      
                                      #ESX-NUC Infos Abfragen
                                      $esx_nuc_infos = get-vmhost
                                      #Freier RAM ESX-NUC
                                      $esx_nuc_ram = $esx_nuc_infos.MemoryUsageMB
                                      Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage?value=$esx_nuc_ram | Out-Null
                                      $esx_nuc_ram_usage_percent = $esx_nuc_infos.MemoryUsageMB / $esx_nuc_infos.MemoryTotalMB
                                      $esx_nuc_ram_usage_percent = $esx_nuc_ram_usage_percent * 100
                                      $esx_nuc_ram_usage_percent = [math]::Round($esx_nuc_ram_usage_percent,0)
                                      Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_mem_usage_percent?value=$esx_nuc_ram_usage_percent | Out-Null
                                             
                                      #CPU Auslastung
                                      $esx_nuc_cpu_usage = [INT]$esx_nuc_infos.CpuUsageMhz
                                      Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage?value=$esx_nuc_cpu_usage | Out-Null
                                      $esx_nuc_cpu_usage_percent = $esx_nuc_infos.CpuUsageMhz / $esx_nuc_infos.CpuTotalMhz
                                      $esx_nuc_cpu_usage_percent = $esx_nuc_cpu_usage_percent * 100
                                      $esx_nuc_cpu_usage_percent = [math]::Round($esx_nuc_cpu_usage_percent,0)
                                      Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_cpu_usage_percent?value=$esx_nuc_cpu_usage_percent | Out-Null
                                             
                                      
                                      #Speicherauslastung SSD
                                      $datastore = Get-Datastore SSD
                                      $datastore_usage_percent = $datastore.CapacityGB - $datastore.FreeSpaceGB
                                      $datastore_usage_percent = $datastore_usage_percent / $datastore.CapacityGB
                                      $datastore_usage_percent = $datastore_usage_percent * 100
                                      $datastore_usage_percent = [math]::Round($datastore_usage_percent,2)
                                      Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_usage_percent?value=$datastore_usage_percent | Out-Null
                                      #Freier Speicher in GB
                                      Invoke-WebRequest -Uri http://192.168.4.30:8087/set/javascript.0.ressourcen.esx.esx-nuc_datastore_freespace?value=$($datastore.FreeSpaceGB) | Out-Null
                                      

                                      K Offline
                                      K Offline
                                      Kuddel
                                      schrieb am zuletzt editiert von
                                      #874

                                      @Kuddel sagte in [Vorstellung] Meine zweite Visualisierung:

                                      @Uli977 hier das Powershell Skript.

                                      Das ist ein Powershell Skript und muss auf Windows laufen

                                      Uli977U 1 Antwort Letzte Antwort
                                      0
                                      • K Kuddel

                                        @Kuddel sagte in [Vorstellung] Meine zweite Visualisierung:

                                        @Uli977 hier das Powershell Skript.

                                        Das ist ein Powershell Skript und muss auf Windows laufen

                                        Uli977U Offline
                                        Uli977U Offline
                                        Uli977
                                        schrieb am zuletzt editiert von
                                        #875

                                        @Kuddel Ah, danke!

                                        1 Antwort Letzte Antwort
                                        0
                                        • Uli977U Uli977

                                          Hallo @Kuddel

                                          Ich würde gerne diese Grafik vom NUC etwas mit leben füllen.

                                          81a9181a-fae8-4f7b-a371-c34db0de3639-image.png

                                          Hast du das Skipt noch.

                                          javascript.0.ressourcen.esx.esx-nuc_datastore_freespace

                                          VG

                                          crunchipC Abwesend
                                          crunchipC Abwesend
                                          crunchip
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von
                                          #876

                                          @Uli977 liefert die Werte nicht der info Adapter

                                          umgestiegen von Proxmox auf Unraid

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          331

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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