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.
    • michl75
      michl75 @Homoran last edited by michl75

      @homoran

      1
      Zeit
      debug
      Nachricht
      
      javascript.0
      2022-04-06 11:19:00.029	warn	missing or unrecognized endTime expression: NaN
      
      javascript.0
      2022-04-06 11:19:00.026	warn	missing or unrecognized endTime expression: NaN
      
      shelly.0
      2022-04-06 11:18:26.182	warn	State value to set for "shelly.0.SHDM-2#3C6105E497D4#1.temperatureF" has value "115.52" greater than max "100"
      
      javascript.0
      2022-04-06 11:18:15.805	info	script.js.Hausstromzähler.Zaehler_Energieverbrauchsberechnung: Normale Stromberechnung in IoBroker
      host.MSIO01
      2022-04-06 11:18:06.309	info	instance system.adapter.luftdaten.3 terminated with code 0 (NO_ERROR)
      
      luftdaten.3
      2022-04-06 11:18:05.798	info	Terminated (NO_ERROR): Without reason
      
      luftdaten.3
      2022-04-06 11:18:05.752	error	[onReady] no sensors configured
      
      luftdaten.3
      2022-04-06 11:18:05.711	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.luftdaten, node: v14.19.1, js-controller: 4.0.21
      
      javascript.0
      2022-04-06 11:18:05.105	info	script.js.Heizung.A_Grundauswertung: Kuche wurde im Modus und Temperatur aktualisiert: Zeit: 17:00 zu 18
      
      javascript.0
      2022-04-06 11:18:04.104	info	script.js.Heizung.A_Grundauswertung: Klo wurde im Modus und Temperatur aktualisiert: Zeit: 17:00 zu 19.5
      
      javascript.0
      2022-04-06 11:18:02.104	info	script.js.Heizung.A_Grundauswertung: INFO HEIZUNG: Wohnzimmer ist auf manuell
      
      javascript.0
      2022-04-06 11:18:00.104	info	script.js.Heizung.A_Grundauswertung: Heizungsscript läuft--- Routinen werden abgearbeitet
      
      javascript.0
      2022-04-06 11:18:00.103	info	script.js.Heizung.A_Grundauswertung: Badezimmer wurde im Modus und Temperatur aktualisiert: Zeit: 18:00 zu 19
      
      javascript.0
      2022-04-06 11:18:00.062	warn	missing or unrecognized endTime expression: NaN
      
      javascript.0
      2022-04-06 11:18:00.049	warn	missing or unrecognized endTime expression: NaN
      host.MSIO01
      2022-04-06 11:18:00.017	info	instance system.adapter.luftdaten.3 started with pid 4302
      
      web.0
      2022-04-06 11:17:16.482	info	<== Disconnect system.user.admin from 192.168.254.149 vis.0
      host.MSIO01
      2022-04-06 11:17:06.324	info	instance system.adapter.luftdaten.2 terminated with code 0 (NO_ERROR)
      
      luftdaten.2
      2022-04-06 11:17:05.814	info	Terminated (NO_ERROR): Without reason
      
      luftdaten.2
      2022-04-06 11:17:05.769	error	[onReady] no sensors configured
      
      luftdaten.2
      2022-04-06 11:17:05.728	info	starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.luftdaten, node: v14.19.1, js-controller: 4.0.21
      

      so besser ?

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

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

        2022-04-06 10:46:00.048 warn missing or unrecognized endTime expression: NaN

        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

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

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

          so besser ?

          ja!
          jetzt konnte @apollon77 auch etwas relevantes herauskopieren

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

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

            a) Das Teils stürzt ab, wenn ich per Firefox mein IoB-Vis anzeigen lasse. Das ganz passiert unregelmäßig aber dann wie Tod und keine Reaktion mehr.

            Und hier fangen wir doch mal an:

            "free -m" und "top" bitte mal zeigen vom normalen Betrieb.

            In Deiner Vis ... sind da vllt Flot Charts drin ? Wieviele?

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

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

              Und hier fangen wir doch mal an:
              "free -m" und "top" bitte mal zeigen vom normalen Betrieb.
              In Deiner Vis ... sind da vllt Flot Charts drin ? Wieviele?

              Raspi - free -m:

              pi@rapflu1:~ $ free -m
                            total        used        free      shared  buff/cache   available
              Mem:            923         105         542          11         275         750
              Swap:            99          61          38
              pi@rapflu1:~ $ 
              
              

              Raspi - free -top:

              pi@rapflu1:~ $ free -top
              free: Ungültige Option -- o
              
              Usage:
               free [options]
              
              Options:
               -b, --bytes         show output in bytes
                   --kilo          show output in kilobytes
                   --mega          show output in megabytes
                   --giga          show output in gigabytes
                   --tera          show output in terabytes
                   --peta          show output in petabytes
               -k, --kibi          show output in kibibytes
               -m, --mebi          show output in mebibytes
               -g, --gibi          show output in gibibytes
                   --tebi          show output in tebibytes
                   --pebi          show output in pebibytes
               -h, --human         show human-readable output
                   --si            use powers of 1000 not 1024
               -l, --lohi          show detailed low and high memory statistics
               -t, --total         show total for RAM + swap
               -s N, --seconds N   repeat printing every N seconds
               -c N, --count N     repeat printing N times, then exit
               -w, --wide          wide output
              
                   --help     display this help and exit
               -V, --version  output version information and exit
              
              For more details see free(1).
              pi@rapflu1:~ $ 
              
              

              bezgl. Flot Chat... Nein, die habe ich verbannt eben so Grafiken von Grafana. Also im VIS für den Raspi.
              Schaut so aus :
              io01.PNG

              aber kein Flot

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • 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

                                        470
                                        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