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.
    • Homoran
      Homoran Global Moderator Administrators @liv-in-sky last edited by

      @liv-in-sky neues Skript geht sofort wieder auf standby mit

      javascript.0	2020-08-20 16:22:44.691	error	(5057) at Script.runInContext (vm.js:133:20)
      javascript.0	2020-08-20 16:22:44.691	error	(5057) at script.js.Linux_Systeme_V04:541:1
      javascript.0	2020-08-20 16:22:44.691	error	(5057) at writeHTML (script.js.Linux_Systeme_V04:318:64)
      javascript.0	2020-08-20 16:22:44.690	error	(5057) TypeError: myArr[i][12].split is not a function
      javascript.0	2020-08-20 16:22:44.690	error	(5057) ^
      javascript.0	2020-08-20 16:22:44.690	error	(5057) if(myArr[i][12]!="") { let myMemTab=myArr[i][12].split(";");
      javascript.0	2020-08-20 16:22:44.689	error	(5057) script.js.Linux_Systeme_V04: script.js.Linux_Systeme_V04:318
      javascript.0	2020-08-20 16:22:44.629	info	(5057) Start javascript script.js.Linux_Systeme_V04
      
      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @Homoran last edited by liv-in-sky

        @Homoran das istz der selbe fehler wegen dem falschen inhalt in "mem" datenpunkt

        hast du gecheck

        https://forum.iobroker.net/post/476714

        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:

          zeigt doch mal den output auf der console von

          pi@tinkerboard:~$ free -m  | awk ' NR == 2 {print $2";"$3";"$4}'
          2009;284;695
          

          Das steht ja auch im Datenpunkt

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

            @Homoran ok - dann muss ich nachdenken

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

              @liv-in-sky muss mich korrigieren, im Datenpunkt steht bei beiden Tinker nur eine Zahl.
              kein Semikolon, keine Zahlenreihe

              1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            649
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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