Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. HTML Tabelle Linux-Control Adapter

    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

    HTML Tabelle Linux-Control Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Homoran last edited by

      @Homoran

      es müssen 3 werte mit strich-punkt getrennt sein - sonst chaos 🙂

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @liv-in-sky last edited by

        @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

        es müssen 3 werte mit strich-punkt getrennt sein - sonst chaos

        isses nicht, obwohl es auf der Konsole so klappt

        liv-in-sky 2 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Homoran last edited by

          @Homoran bitte zeig mal "free -m" in der console

          Homoran 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Homoran last edited by

            @Homoran

            wir könnten auch teamviewen - ist angnehmer

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @liv-in-sky last edited by

              @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

              bitte zeig mal "free -m" in der console

              brauch ich nicht mehr.

              Hatte die Datenpunkttypen vertauscht. 😳
              bei IP der VM war "Zahl", daher nur die ersten beiden Tripletts mit nur einem Separator

              und hier hatte ich auch Zahl statt Zeichenkette

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Homoran last edited by

                @Homoran dann geht es jetzt ?

                Homoran 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @liv-in-sky last edited by

                  @liv-in-sky Momang - das dauert

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

                    @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

                    @Homoran dann geht es jetzt ?

                    linux_control_013.png

                    JA!

                    aber wahrscheinlich nur so lange, wie der MQTT-Tinker mit root Zugriff die Daten bekommt

                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Homoran last edited by

                      @Homoran schwere geburt - aber es lebt

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @liv-in-sky last edited by

                        @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

                        aber es lebt

                        ist aber krank 😞

                        Avail_is_not_total.png

                        Ich hatte den Befehl für free mem schon implementiert und mich gefreut, dass available und nicht nur free dargestellt wurde
                        leider ist der Wert der bei available steht aber die Gesamtgröße des RAM, (total) und nicht der verfügbare Speicher 😞

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @Homoran last edited by

                          @Homoran blöde bezeichnung

                          mein avail ist eigentlich total - im material stimmt es - werde es im script ändern -

                          machst mich ganz gaga 🙂 mit deiner dreambox

                          versuche gerade meine "dreambox" was eine andere hardware ist - einzubinden - das doofe ding hat nicht mal systemctl, keine updates info, keine service, keine temp

                          Image 16.png

                          Image 17.png

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @liv-in-sky last edited by

                            @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

                            das doofe ding hat nicht mal systemctl, keine updates info, keine service, keine temp

                            kann nicht mal sudo und hat kein ssh nur busybox

                            und das bei der 920UHD

                            liv-in-sky harrym 2 Replies Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Homoran last edited by

                              @Homoran bei meiner nennt sich ssh "dropbear " - darauf muss man erstmal kommen

                              aber was solls -immerhin haben wir ein paar anzeigen hinbekommen 🙂

                              Homoran harrym 2 Replies Last reply Reply Quote 0
                              • harrym
                                harrym @Homoran last edited by

                                @Homoran was haste denn für ein System auf der 920er drauf?

                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

                                  @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

                                  aber was solls -immerhin haben wir ein paar anzeigen hinbekommen

                                  Yepp - aber da geht noch mehr.

                                  finde das log nicht mehr.
                                  Habe aber auch hier

                                  2020-08-20 18:35:12.764  - debug: linux-control.0 (15928) [folderSizes] Traumkiste (192.168.138.220:22): send command: 'du -sk /media/hdd | awk '{ print $1 /1024 }''
                                  

                                  mit Konsole klappt der Befehl, mit sudo nicht, weil die Kiste kein sudo kann.
                                  Allerdings stand noch etwas im log hinter /medi/hdd/ irgendwas mit lost+found, dass er da keinen Zugriff hat

                                  EDIT:

                                  dm920:~$ du -sk /media/hdd | awk '{ print $1 /1024 }'
                                  du: can't open '/media/hdd/lost+found': Permission denied
                                  432727
                                  

                                  Die Temperatur mit eigenem Befehl:

                                  cat /sys/devices/virtual/thermal/thermal_zone0/temp | awk '{print substr($1, length($0)-5,2)}'
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • harrym
                                    harrym @liv-in-sky last edited by

                                    @liv-in-sky dropbear ist ein kleiner ssh-server. den haste z.b. auch bei den ganzen openwrt routern 😉

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @harrym last edited by

                                      @harrym das kannte ich nicht - habe festgestellt, der läuft wohl auch auf handys und tablets

                                      1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky last edited by liv-in-sky

                                        neues update

                                        • SHELL IN A BOX (ssh console über web-interface) (abschaltbar)
                                        • in MD List Widget: letzter Refresh des adapters

                                        ich habe "shell in a box" im script hinzugefügt (auswählbar), damit ein direkter zugang von der vis auf die console möglich ist. dazu muss auf der console des servers(raspi's) z.b für debian , mit "apt-get install shellinabox" ausgeführt werden. die standardeinstellungen können übernommen werden und im script wird dann eine verbindung hergestellt.

                                        smart76.gif

                                        smart74.gif

                                        für das MD List Widget: es wird der letzte adapter-server refresh angezeigt

                                        Image 4.png

                                        Image 5.png

                                        1 Reply Last reply Reply Quote 0
                                        • dirk1962
                                          dirk1962 @liv-in-sky last edited by

                                          @liv-in-sky

                                          1 Reply Last reply Reply Quote 0
                                          • dirk1962
                                            dirk1962 @liv-in-sky last edited by

                                            @liv-in-sky sagte in HTML Tabelle Linux-Control Adapter:

                                            und nochwas

                                            in der tabelle und im md widget gibt es nun einen neuen bereich: sonstiges

                                            darin sind eigene befehle definiert, welche angezeigt werden sollen

                                            dazu müssen diese befehle besonders angelegt werden (in diesem beispiel kann das ergebnis "running" oder "stopped" sein

                                            Image 10.png

                                            es muss ein "befehle." vor dem befehlnamen hinzugefügt werden - das legt einen eigenen unterordner an, der im script ausgelesen wird

                                            Image 7.png

                                            Image 9.png

                                            @liv-in-sky zuerst mal vielen Dank für Eure tolle Arbeit.
                                            Der Status Befehl funktioniert wohl nur, wenn man unter Proxmox Container angelegt hat.
                                            Hast Du eine Idee, wie der Befehl aussehen muss, wenn man VM's angelegt hat?

                                            liv-in-sky 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            775
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript template
                                            7
                                            201
                                            18418
                                            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