Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ein paar kleine Probleme...

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Ein paar kleine Probleme...

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @michl75 last edited by

      @michl75

      top
      

      ist ein eigenes Kommando.

      michl75 1 Reply Last reply Reply Quote 0
      • michl75
        michl75 @apollon77 last edited by michl75

        @apollon77 said in Ein paar kleine Probleme...:

        Dann ist in irgendeinem deiner Skripte ein Schedule falsch konfiguriert. Musst mal alle Scripte stoppen am besten und nacheinander starten und schauen nach welchem Start diese Meldung kommt. Dann dieses Skript mal genauer ansehen

        Ich habe mal bei den Scripten nach "NaN" gesucht und da werden mir dann Scripte angezeigt.
        io02.PNG

        Aber... Wenn ich mir die Scripte anschaue und gugge wo diese "Felder" sein sollen, dann passiert folgendes:

        Ein vorhandenes Feld wird gelb eingerahmt, klicke ich da drauf dann ... wird als Wert von diesem Feld erst mal NULL angezeigt und dauert teils bis zu zwei Sekunden bis ein Wert angezeigt wird:
        io03.PNG

        io05.PNG

        dann dauert es kurz ... und dann:
        io06.PNG

        Kann es sein, dass es zu lange dauert bis der Wert zur Verfügung steht und er deshalb dann NaN als Fehler ausgibt?

        Homoran apollon77 2 Replies Last reply Reply Quote 0
        • michl75
          michl75 @Thomas Braun last edited by michl75

          @thomas-braun said in Ein paar kleine Probleme...:

          ist ein eigenes Kommando.

          ok, kannte ich nicht ... hab abgeleitet... nun aber hier:

          Tasks: 142 total,   1 running, 141 sleeping,   0 stopped,   0 zombie
          %Cpu(s):  5,9 us,  0,9 sy,  0,0 ni, 93,1 id,  0,0 wa,  0,0 hi,  0,2 si,  0,0 st
          MiB Mem :    923,2 total,    537,7 free,    109,7 used,    275,9 buff/cache
          MiB Swap:    100,0 total,     39,0 free,     61,0 used.    747,2 avail Mem 
          
           PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                  
            484 root      20   0   52544  24100  13020 S   9,9   2,5   3:33.06 vncserver-x11-c                                                                          
           2846 pi        20   0   87252  29428  22696 S   7,9   3,1   0:01.26 lxterminal                                                                               
            537 root      20   0  276248  48884  33780 S   5,9   5,2   1:41.87 Xorg                                                                                     
            554 root      20   0   16648   8400   8140 S   1,3   0,9   0:44.13 vncagent                                                                                 
           2857 pi        20   0   10504   3004   2624 R   0,7   0,3   0:00.15 top                                                                                      
            685 pi        20   0   56840  10416  10164 S   0,3   1,1   0:00.94 lxsession                                                                                
            749 pi        20   0  431704  21216  18608 S   0,3   2,2   0:06.67 lxpanel                                                                                  
              1 root      20   0   32712   6756   5320 S   0,0   0,7   0:06.11 systemd                                                                                  
              2 root      20   0       0      0      0 S   0,0   0,0   0:00.02 kthreadd                                                                                 
              3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp                                                                                   
              4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp                                                                               
              8 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu_wq                                                                             
              9 root      20   0       0      0      0 S   0,0   0,0   0:00.00 rcu_tasks_rude_                                                                          
             10 root      20   0       0      0      0 S   0,0   0,0   0:00.00 rcu_tasks_trace                                                                          
             11 root      20   0       0      0      0 S   0,0   0,0   0:04.38 ksoftirqd/0                                                                              
             12 root      20   0       0      0      0 I   0,0   0,0   0:02.29 rcu_sched                                                                                
             13 root      rt   0       0      0      0 S   0,0   0,0   0:00.01 migration/0                                                                              
             14 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/0                                                                                  
             15 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/1                                                                                  
             16 root      rt   0       0      0      0 S   0,0   0,0   0:00.01 migration/1                                                                              
             17 root      20   0       0      0      0 S   0,0   0,0   0:00.23 ksoftirqd/1                                                                              
             20 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/2                                                                                  
             21 root      rt   0       0      0      0 S   0,0   0,0   0:00.01 migration/2                                                                              
             22 root      20   0       0      0      0 S   0,0   0,0   0:00.18 ksoftirqd/2                                                                              
             25 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/3                                                                                  
             26 root      rt   0       0      0      0 S   0,0   0,0   0:00.00 migration/3                                                                              
             27 root      20   0       0      0      0 S   0,0   0,0   0:00.47 ksoftirqd/3                                                                              
             30 root      20   0       0      0      0 S   0,0   0,0   0:00.00 kdevtmpfs                                                                                
             31 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 netns                                                                                    
             34 root      20   0       0      0      0 S   0,0   0,0   0:00.00 kauditd                                                                                  
             36 root      20   0       0      0      0 S   0,0   0,0   0:00.01 khungtaskd                                                                               
             37 root      20   0       0      0      0 S   0,0   0,0   0:00.00 oom_reaper                                                                               
             38 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 writeback                                                                                
             39 root      20   0       0      0      0 S   0,0   0,0   0:01.59 kcompactd0                                                                               
             57 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kblockd                                                                                  
             58 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 blkcg_punt_bio                                                                           
             59 root     -51   0       0      0      0 S   0,0   0,0   0:00.00 watchdogd                                                                                
             62 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rpciod                                                                                   
             63 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/u9:0-hci0                                                                        
             64 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 xprtiod                                                                                  
             65 root      20   0       0      0      0 S   0,0   0,0   0:01.75 kswapd0                                                                                  
             66 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 nfsiod                                                                                   
             69 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 iscsi_eh                                                                                 
             70 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 iscsi_destroy                                                                            
             71 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 dwc_otg                                                                                  
             74 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 DWC Notificatio                                                                          
             75 root       1 -19       0      0      0 S   0,0   0,0   0:00.03 vchiq-slot/0                                                                             
             76 root       1 -19       0      0      0 S   0,0   0,0   0:00.01 vchiq-recy/0                                                                             
             77 root       0 -20       0      0      0 S   0,0   0,0   0:00.00 vchiq-sync/0                                                                             
             78 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 zswap-shrink
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @michl75 last edited by

            @michl75 sagte in Ein paar kleine Probleme...:

            Ich habe mal bei den Scripten nach "NaN" gesucht

            NaN heisst Not a Number und beziht sich auf das Ergebnis.
            ich glaube nicht dass du es so findest.

            irgendein Script wirft anstelle einer Zahl etwas anderes aus.

            michl75 1 Reply Last reply Reply Quote 0
            • michl75
              michl75 @Homoran last edited by

              @homoran

              ah ok, dann muss ich das nochmal genau hinguggen.

              komisch ist, dass dies erst seit dem letzten Update das ich Sonntag gemacht habe der fall ist. Ok, also da suche ich mal nach dem "Ergebnis" das das sein könnte...
              Danke!

              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @michl75 last edited by Thomas Braun

                @michl75 sagte in Ein paar kleine Probleme...:

                Xorg

                Da rennt ein Desktop mit allem Zipp und Zapp, schalt den aus.
                Auf dem kleinen System hast du keine Ressourcen an eine GUI zu verschenken.

                michl75 1 Reply Last reply Reply Quote 0
                • michl75
                  michl75 @Thomas Braun last edited by michl75

                  @thomas-braun said in Ein paar kleine Probleme...:

                  Da rennt ein Desktop mit allem Zipp und Zapp, schalt den aus.

                  Ist der xOrg für VNC notwendig?

                  Wenn keine GUI ... wie dann die Anzeige? ... dann ist doch nur Befehlszeile oder?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @michl75 last edited by

                    @michl75
                    Natürlich.
                    Aber es läuft kein XOrg und damit schon gar kein VNC auf einem Server.

                    michl75 1 Reply Last reply Reply Quote 0
                    • michl75
                      michl75 @Thomas Braun last edited by

                      @thomas-braun

                      ah ok, ja über VNC hab ich meinen Zugang gemacht, dass ich da auch mal Updates machen kann usw.
                      Habe an dem Raspi nur Monitor dran und der hängt halt im unteren Gang. Raspi selbst hinterm Schrank...

                      Also war CNV keine gute idee...

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @michl75 last edited by Thomas Braun

                        @michl75 sagte in Ein paar kleine Probleme...:

                        dass ich da auch mal Updates machen kann

                        Und dafür braucht man nicht mehr als ein Terminal und Zugang via ssh.

                        Ich würde es trennen und nicht auf dem gleichen System wie den ioBroker auch noch eine vis laufen lassen. Jedenfalls nicht auf einem 1GB RAM-System. Das wird nicht gut funktionieren. Siehe deinen Punkt 1.

                        Ohne Xorg / Desktop würden deine sechs CPU-und RAM-lastigsten Prozesse schon mal wegfallen:

                         PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                  
                          484 root      20   0   52544  24100  13020 S   9,9   2,5   3:33.06 vncserver-x11-c                                                                          
                         2846 pi        20   0   87252  29428  22696 S   7,9   3,1   0:01.26 lxterminal                                                                               
                          537 root      20   0  276248  48884  33780 S   5,9   5,2   1:41.87 Xorg                                                                                     
                          554 root      20   0   16648   8400   8140 S   1,3   0,9   0:44.13 vncagent  
                          685 pi        20   0   56840  10416  10164 S   0,3   1,1   0:00.94 lxsession                                                                                
                          749 pi        20   0  431704  21216  18608 S   0,3   2,2   0:06.67 lxpanel 
                        
                        michl75 1 Reply Last reply Reply Quote 0
                        • michl75
                          michl75 @Thomas Braun last edited by

                          @thomas-braun

                          ok, hab jetzt noch schnell update gemacht und nach Neustart VNC deaktiviert.

                          wie kann ich den XOrg deaktivieren?

                          Da bin ich recht raus, bin sonst nur noch auf Windows und Windows Server unterwegs...

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @michl75 last edited by

                            @michl75 SOllte nicht in einem Skript Teils ein sondern irgendwo in einem schedule. Und im Code steht ggf nicht NaN sondern irgendwas was er nicht parsen kann

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @michl75 last edited by

                              @michl75

                              Unter anderem in

                              sudo raspi-config
                              

                              Da kann man einstellen, bis zu welchem Stage gebootet werden soll.
                              Da auf 'CLI with login required' oder so ähnlich umstellen.
                              Aber die Vis bleibt dann dunkel.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              917
                              Online

                              32.1k
                              Users

                              80.7k
                              Topics

                              1.3m
                              Posts

                              5
                              22
                              637
                              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