Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. [Vorstellung] Meine dritte VIS

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Vorstellung] Meine dritte VIS

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @hofmannha last edited by

      @hofmannha sagte in [Vorstellung] Meine dritte VIS:

      Was muß ich denn eingeben?

      Was sagt der DP?

      H 1 Reply Last reply Reply Quote 0
      • H
        hofmannha @sigi234 last edited by

        @sigi234
        1.69TB. Datenpunkt habe ich kein festgelegt. Wird über snmp geholt.

        sigi234 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @hofmannha last edited by

          @hofmannha sagte in [Vorstellung] Meine dritte VIS:

          @sigi234
          1.69TB. Datenpunkt habe ich kein festgelegt. Wird über snmp geholt.

          Spiele dich damit, du siehst es dann am Balken ob es hinkommt.

          0 - 2000
          0.0 - 2.0
          0,0 - 2,0

          Oder lasse es mal leer

          H 1 Reply Last reply Reply Quote 0
          • OliverIO
            OliverIO last edited by

            woher weiß das widget, das es sich um Terabyte handelt und nicht um GB?
            Nur so mal zu den 10.74

            1 Reply Last reply Reply Quote 0
            • H
              hofmannha @sigi234 last edited by

              @sigi234
              Hurra, es geht. Ich mußte 2000 eingeben. Vielen Dank.
              Kann ich deine Hilfe noch mal in Anspruch nehmen?

              1 Reply Last reply Reply Quote 0
              • H
                hofmannha @Kuddel last edited by

                @Kuddel
                Hallo Kuddel,
                wo kriege ich denn dieses Script für das Backup her?
                ./opt/iobroker/skripts/backupskript.sh
                Gruß

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kuddel @hofmannha last edited by Kuddel

                  @hofmannha von mir natürlich:

                  #Nur auf Prod ausfuehren
                  ip=$(ip -4 addr show ens160 | grep -oP '(?<=inet\s)\d+(\.\d+){3}')
                  if [ $ip = "192.168.4.31" ];
                  then
                  echo Test-VM, Backup wird nicht erstellt
                  exit
                  fi
                  
                  #Ins ioBroker Verzeichnis wechseln
                  cd /opt/iobroker
                  
                  #Datum definieren
                  datum=`date +%Y_%m_%d`
                  #Uhrzeit bestimmten
                  uhrzeit=`date +%H_%M_%S`
                  #Stunde definieren
                  stunde=`date +%H`
                  
                  #Datum und Uhrzeit für VIS Anzeige
                  datumvis=`date +%d.%m.%Y`
                  uhrzeitvis=`date +%H.%M`
                  
                  
                  echo
                  #Backup ausführen
                  echo --- Backup wird ausgefuehrt ---
                  ./iobroker backup
                  echo
                  
                  #Backup umbenennen
                  echo --- Backup-File umbenennen ---
                  mv /opt/iobroker/backups/$datum-$stunde* /opt/iobroker/backups/$datum-$uhrzeit-backup_iobroker-MASTER.tar.gz
                  
                  
                  echo
                  #Backups älter 10 Tage löschen
                  echo --- Alte Backups entfernen ---
                  find /opt/iobroker/backups/*.tar.gz -mtime +10 -exec rm '{}' \;
                  echo
                  
                  echo
                  #Backup-Files kopieren
                  
                  echo --- Backup-File in BackupDaten auf QNAP-B  kopieren ---
                  scp /opt/iobroker/backups/$datum-$stunde* admin@192.168.1.11:/share/Data/BackUpDaten/Smarthome/ioBroker/Backups/ioBroker-MASTER/
                  echo
                  
                  echo --- Backup-File in den Tauschordner kopieren ---
                  scp /opt/iobroker/backups/$datum-$stunde* root@192.168.4.11:/sharedfolders/Data/Tauschordner/
                  
                  echo
                  
                  
                  # Icons kopieren
                  
                  echo --- Icons in den Tauschordner kopieren ---
                  if [ $stunde -eq 06 ]
                  then
                          #scp -r /opt/iobroker/iobroker-data/files/vis.0/VIS/Meine_Icons admin@192.168.1.11:/share/Data/Tauschordner/
                          scp -r /opt/iobroker/iobroker-data/files/vis.0/VIS/Meine_Icons root@192.168.4.11:/sharedfolders/Data/Tauschordner/
                  
                  fi
                  
                  
                  

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hofmannha @Kuddel last edited by

                    @Kuddel
                    Danke!! Wie soll das auch anders sein.
                    Nur wie handle ich das Script? Das muß ja auf den Raspberry oder?
                    Kannst Du mir die Schritte in Kurzform erklären? Da bin ich eine Niete.

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Kuddel @hofmannha last edited by

                      @hofmannha als ich das Skript geschrieben habe, gab es den Adapter "Backitup" noch nicht.

                      Ich denke mit dem Adapter ist es einfacher für dich

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hofmannha @Kuddel last edited by

                        @Kuddel
                        wie rufe ich denn aus vis heraus den Backitup Adapter auf?

                        K sigi234 2 Replies Last reply Reply Quote 0
                        • K
                          Kuddel @hofmannha last edited by

                          @hofmannha das musst du dir natürlich alles noch basteln.

                          da ich den adapter nicht verwende, kann ich dazu nichts sagen

                          H 1 Reply Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @hofmannha last edited by

                            @hofmannha sagte in [Vorstellung] Meine dritte VIS:

                            @Kuddel
                            wie rufe ich denn aus vis heraus den Backitup Adapter auf?

                            https://forum.iobroker.net/topic/28717/vis-von-sigi234/112?page=2

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              hofmannha @Kuddel last edited by

                              @Kuddel
                              wo werden dann diese Variablen mit der Version gefüllt?
                              info.PNG
                              Wie heist den das Script?

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                Kuddel @hofmannha last edited by

                                @hofmannha

                                Abfrage ioBroker Verisonen (JS-Controller, NPM, Node) mit Blockly

                                <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="8G-t1R$2*5D,dzJ+=Z/)" x="-412" y="13">
                                 <field name="SCHEDULE">* * * * *</field>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="dZ|/xy)sNM[lRRw-OxBJ">
                                     <field name="COMMENT">ioBroker</field>
                                     <next>
                                       <block type="controls_if" id="#yy4FbzX*XlFSwqJFt#F">
                                         <value name="IF0">
                                           <block type="logic_compare" id="`;vF1Fwn46;py!YL!|D|">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="?$NRbrzmN!UU3n`|L_Lp">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">system.host.ioBroker-MASTER.alive</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="iD*m^,*WXE?GM=l/{h9p">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="comment" id="Sl#pk4ynUi?qtGg$cE[g">
                                             <field name="COMMENT">ioBroker Version</field>
                                             <next>
                                               <block type="exec" id="!R8mB:{en(uJ^pcv:[x-">
                                                 <mutation with_statement="true"></mutation>
                                                 <field name="WITH_STATEMENT">TRUE</field>
                                                 <field name="LOG"></field>
                                                 <value name="COMMAND">
                                                   <shadow type="text" id="v]l$N@4P}O26I3a-q-h?">
                                                     <field name="TEXT">iobroker version</field>
                                                   </shadow>
                                                 </value>
                                                 <statement name="STATEMENT">
                                                   <block type="control" id="][GYoQ$TpSK^1z+Y1)io">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">javascript.0.Versionen.ioBroker.JS-Controller</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="^mDY7*B6ucov9?$`tyWW">
                                                         <field name="VAR" id="7(zFM`@Yx-M/c5uU@N^j" variabletype="">result</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="H%;3a-me1U9t}!fx~0y~">
                                                     <field name="COMMENT">Node Version</field>
                                                     <next>
                                                       <block type="exec" id="*{Wr/}G!6rw|w(ts:Ubr">
                                                         <mutation with_statement="true"></mutation>
                                                         <field name="WITH_STATEMENT">TRUE</field>
                                                         <field name="LOG"></field>
                                                         <value name="COMMAND">
                                                           <shadow type="text" id="1e4e9U(dN%k7nOplwh/t">
                                                             <field name="TEXT">node -v</field>
                                                           </shadow>
                                                         </value>
                                                         <statement name="STATEMENT">
                                                           <block type="control" id="`vkk(uG/q|f.RsbQJ6-F">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">javascript.0.Versionen.ioBroker.Node</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id=",@I94/CPiw]|fzeEmZIN">
                                                                 <field name="VAR" id="7(zFM`@Yx-M/c5uU@N^j" variabletype="">result</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id=":rYml-k#oiHgEwv`2(YH">
                                                             <field name="COMMENT">NPM Version</field>
                                                             <next>
                                                               <block type="exec" id="NsFDRm/4E?3a;yAjP2~M">
                                                                 <mutation with_statement="true"></mutation>
                                                                 <field name="WITH_STATEMENT">TRUE</field>
                                                                 <field name="LOG"></field>
                                                                 <value name="COMMAND">
                                                                   <shadow type="text" id="Pq@ZNpd%kQM$SihLxwc%">
                                                                     <field name="TEXT">npm -v</field>
                                                                   </shadow>
                                                                 </value>
                                                                 <statement name="STATEMENT">
                                                                   <block type="control" id="Z;/822T:KaNxR6lSS-HN">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">javascript.0.Versionen.ioBroker.NPM</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="Ur~}G^ol^zYpeaK0SPS0">
                                                                         <field name="VAR" id="7(zFM`@Yx-M/c5uU@N^j" variabletype="">result</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                </block>
                                

                                aa6442b8-bda2-458c-bcd6-241b1cc72310-grafik.png

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hofmannha @Kuddel last edited by

                                  @Kuddel
                                  Vielen vielen Dank!!

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hofmannha @sigi234 last edited by

                                    @sigi234
                                    Hallo sigi234,
                                    ich stelle mal hier die Frage obwohl sie hier nicht hingehört.
                                    Ich habe den Adapter Tr-064 Version 3.1.4 installiert. Er zeigt auch grün, aber er ist in den Objekten nicht zu sehen.
                                    Was kann ich denn tun?

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @hofmannha last edited by

                                      @hofmannha sagte in [Vorstellung] Meine dritte VIS:

                                      @sigi234
                                      Hallo sigi234,
                                      ich stelle mal hier die Frage obwohl sie hier nicht hingehört.
                                      Ich habe den Adapter Tr-064 Version 3.1.4 installiert. Er zeigt auch grün, aber er ist in den Objekten nicht zu sehen.
                                      Was kann ich denn tun?

                                      Callmonitor aktiviert und mal selbst angerufen?

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hofmannha @sigi234 last edited by

                                        @sigi234
                                        habe ich gemacht, aber trotzdem nichts.

                                        1 Reply Last reply Reply Quote 0
                                        • Sky66766
                                          Sky66766 last edited by

                                          Hallo Kuddel

                                          wo finde ich dann die ganzen Scripte

                                          bin neu und anfänger zb.

                                          javascript.0.sonstige.weihnachtszeit
                                          javascript.0.muell.gelbersack
                                          javascript.0.sonstige.arbeitsstatus
                                          javascript.0.haushalt.waschmaschine
                                          javascript.0.Anwesenheit

                                          unw.
                                          ich wäre für ein bißchen Hilfe dankbar
                                          und auch wie das mit dem Fusball geht

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            Kuddel @Sky66766 last edited by

                                            @Sky66766 meine Skripte findest du in der zweiten Version von meiner VIS:

                                            https://forum.iobroker.net/topic/19611/vorstellung-meine-zweite-visualisierung/1152

                                            Das mit Fußball mach ich mit dem Adapter OpenLigaDB

                                            https://forum.iobroker.net/topic/29506/test-adapter-openligadb-v0-0-x

                                            Sky66766 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            425
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            vis vis projekte
                                            83
                                            640
                                            154342
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo