Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter rpi2 2.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter rpi2 2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • mcm1957
      mcm1957 @JanGa last edited by mcm1957

      @janga said in Test Adapter rpi2 2.x:

      @laser Es gibt auch noch die Möglichkeit eines Javascripts in IOBroker. Habe die Tage irgendwo einen Eintrag gesehen von jemanden, der GPIO ohne den Adapter benutzt hat. Finde das nur leider im Moment nicht...
      Bei mir selbst geht der Kram im Moment auch nicht. In meinem Fall liegt es aber an der Art und Weise wie der Adapter bestimmt, welcher Raspberry Pi verwendet wird, und wie er diese Information dann so umsetzt, dass die verwendete GPIO-Bibliothek weiß, wie sie den Chip ansteuern muss. Ich habe einen Raspberry Pi Zero 2 W in einem Schalkasten im Garten und steuere damit die Beleuchtung. Leider kann man Zero 2 W nicht mit dem gleichen Regex in eine Nummer umwandeln wie Raspberry Pi 1,2,3,4 oder 5. Ich habe da auch schon eine Lösung für und habe einen Pull Request auf Github eingereicht. Ich bin nur leider zu unfähig, um meinen eigenen Fix bei mir einzuspielen ohne dass er im Repository ist. Bzw. ich hab einfach zu wenig Zeit, um mich in die IOBroker Adapterentwicklung tief genug einzuarbeiten. Stattdessen muss ich jetzt genau wie du warten, dass @Garfonso meinen oder einen anderen Fix einbaut. Schon bitter, wie hilflos man da ist. 😄

      Ähmm

      Ich habe da auch schon eine Lösung für und habe einen Pull Request auf Github eingereicht. Ich bin nur leider zu unfähig, um meinen eigenen Fix bei mir einzuspielen ohne dass er im Repository ist.

      Blöde Frage - aber wie hast du den PR gestestet ohne die Codeänderung zu installieren ???

      Installieren kannst du den von dir geänderten Adpapter jederzeit via "install from Github" von deinem geforkten Repository in dem du die Änderungen vorgenommen hast. (https://github.com/jangatzke/ioBroker.rpi2 ?)

      Homoran J 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @mcm1957 last edited by

        @mcm1957 sagte in Test Adapter rpi2 2.x:

        Installieren kannst du den von dir geänderten Adpapter jederzeit via "install from Github" von deinem geforkten Repository in dem du die Änderungen vorgenommen hast. (https://github.com/jangatzke/ioBroker.rpi2 ?)

        reicht es nicht die Instanz zu stoppen, die geänderte Datei im Adapterverzeichnis zu tauschen, dann ein upload zu machen und die Instanz wieder zu starten?

        mcm1957 1 Reply Last reply Reply Quote 1
        • mcm1957
          mcm1957 @Homoran last edited by

          @homoran
          Natürlich - nur sollte man vermeiden direkt im Codetree rumzuwerken. Via GH Installtion hat man in diesem Fall die Sicherheit dass das was man vie PR einreicht auch selbst bei einem läuft 🙂

          1 Reply Last reply Reply Quote 1
          • J
            JanGa @mcm1957 last edited by

            @mcm1957 Getestet habe ich das gar nicht. Nur weil ich in der Lage bin, drei Zeilen code zu verstehen und anzupassen, heißt das noch lange nicht, dass ich nicht zu dumm bin, diese Änderung in meine Installation einzuspielen. 😄
            Mit Install from Github hatte ich es schonmal versucht, habe aber nicht gerafft, wie ich da z.B. einen bestimmten Branch auswähle oder so. Das wirkte jedenfalls nicht selbsterklärend für mich und ich hab da außer Fehlermeldungen nichts zustande gebracht oder gar installiert. Ich habe fest vor mich da einzuarbeiten, werde das aber erst im Herbst angehen können, denke ich. Ich hänge auch noch als letzter aktiver "Entwickler" irgendwie beim MySensors Adapter mit drin und will den eigentlich auch nicht sterben lassen, Motivation ist also reichlich vorhanden, Knowhow aber fast keins.

            mcm1957 1 Reply Last reply Reply Quote 0
            • mcm1957
              mcm1957 @JanGa last edited by

              @janga said in Test Adapter rpi2 2.x:

              @mcm1957 Getestet habe ich das gar nicht. Nur weil ich in der Lage bin, drei Zeilen code zu verstehen und anzupassen, heißt das noch lange nicht, dass ich nicht zu dumm bin, diese Änderung in meine Installation einzuspielen. 😄

              Sorry, wenn das so rübergekommen ist. Ich würde nie jemand als (zu) dumm bezeichnen. Das wär völlig unangemessen. Das einzige was ich mit meinem Post hinterfragen wollte ist ob du die Änderung getestest hast. Sorry - hätt ich höflicher formulieren können.

              Mit Install from Github hatte ich es schonmal versucht, habe aber nicht gerafft, wie ich da z.B. einen bestimmten Branch auswähle oder so.

              cli: iob install jangatzke/ioBroker.rpi2#new-gpio-lib

              ui:
              c3692112-388a-4672-ad83-3963a749256a-image.png

              .. sollte gehen. UI Url wie auf der Github Seite wenn du den Branch selektierts.

              Kanns aber konkret nicht testen, da mein Testsystem Windows basierend ist und da haperts mit den GPIOs ein wenig 🙂

              DANKE jedenfalls dass du dein Wissen einbringst.

              mcm1957 J 2 Replies Last reply Reply Quote 0
              • mcm1957
                mcm1957 @mcm1957 last edited by

                Und wenn du Entwicklerhilfe suchst schau in den Telegramm Channels vorbei. Invites auf www.iobroker.dev.

                1 Reply Last reply Reply Quote 1
                • J
                  JanGa @mcm1957 last edited by JanGa

                  @mcm1957 Da war nichts negativ rübergekommen, das "dumm" war reine Selbstkritik von mir. Da habe ich mich wohl eher nicht gut ausgedrückt. 🙂
                  Der Tipp mit der Raute dazwischen hilft schonmal. Ich werden mir das am Wochenende nochmal anschauen, danke für die Starthilfe!

                  1 Reply Last reply Reply Quote 0
                  • J
                    JanGa last edited by

                    @mcm1957 said in Test Adapter rpi2 2.x:

                    iob install jangatzke/ioBroker.rpi2#new-gpio-lib

                    Das ging bei mir nicht:

                    jan@gartenhaus:/opt/iobroker $ iob install jangatzke/ioBroker.rpi2#new-gpio-lib
                    Invalid adapter name for install
                    iobroker install <adapter>
                    
                    Installs a specified adapter
                    
                    Options:
                      --help  Show help  [boolean]
                    

                    Was ging:

                    jan@gartenhaus:/opt/iobroker $ iob url https://github.com/jangatzke/ioBroker.rpi2/tree/new-gpio-lib
                    install jangatzke/ioBroker.rpi2#new-gpio-lib
                    NPM version: 10.8.2
                    Installing jangatzke/ioBroker.rpi2#new-gpio-lib... (System call)
                    
                    changed 1 package in 17s
                    
                    72 packages are looking for funding
                      run `npm fund` for details
                    upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
                    upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
                    upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
                    upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                    upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
                    upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                    upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                    upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                    upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                    upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                    upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/index_m.html index_m.html text/html
                    upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
                    upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
                    
                    

                    Bei mir hat es danach funktioniert mit dem dreckigen Patch für den Pi 2 Zero W, den ich geschrieben habe. Licht im Garten lässt sich wieder schalten. Ich habe noch einen Tippfehler korrigieren müssen (warm statt warn), von daher hat sich der Test gelohnt. Danke nochmal für die Hilfe.

                    1 Reply Last reply Reply Quote 0
                    • J
                      JanGa last edited by

                      @Laser @searcher57 Ich habe mich jetzt nochmal mit eurem Problem beschäftigt und ich bin mir sicher, dass bei euch beiden die Instanz nicht auf Debug eingestellt war, als ihr die Logs gezogen habt. Bei mir sieht ein Start so aus, wenn ich das Logging auf Debug stelle:

                      2024-09-09 20:52:28.789  - info: host.powercount instance system.adapter.rpi2.0 in version "2.0.0" (non-npm: jangatzke/ioBroker.rpi2#new-gpio-lib) started with pid 58038
                      2024-09-09 20:52:34.191  - debug: rpi2.0 (58038) Redis Objects: Use Redis connection: 192.168.69.227:9001
                      2024-09-09 20:52:34.284  - debug: rpi2.0 (58038) Objects client ready ... initialize now
                      2024-09-09 20:52:34.293  - debug: rpi2.0 (58038) Objects create System PubSub Client
                      2024-09-09 20:52:34.296  - debug: rpi2.0 (58038) Objects create User PubSub Client
                      2024-09-09 20:52:34.415  - debug: rpi2.0 (58038) Objects client initialize lua scripts
                      2024-09-09 20:52:34.459  - debug: rpi2.0 (58038) Objects connected to redis: 192.168.69.227:9001
                      2024-09-09 20:52:34.646  - debug: rpi2.0 (58038) Redis States: Use Redis connection: 192.168.69.227:9000
                      2024-09-09 20:52:34.736  - debug: rpi2.0 (58038) States create System PubSub Client
                      2024-09-09 20:52:34.739  - debug: rpi2.0 (58038) States create User PubSub Client
                      2024-09-09 20:52:34.860  - debug: rpi2.0 (58038) States connected to redis: 192.168.69.227:9000
                      2024-09-09 20:52:35.672  - info: rpi2.0 (58038) starting. Version 2.0.0 (non-npm: jangatzke/ioBroker.rpi2#new-gpio-lib) in /opt/iobroker/node_modules/iobroker.rpi2, node: v20.16.0, js-controller: 6.0.11
                      2024-09-09 20:52:35.956  - debug: rpi2.0 (58038) received all objects
                      2024-09-09 20:52:35.968  - debug: rpi2.0 (58038) cpu is enabled
                      2024-09-09 20:52:35.972  - debug: rpi2.0 (58038) start parsing
                      2024-09-09 20:52:35.975  - debug: rpi2.0 (58038) PARSING: cpu
                      2024-09-09 20:52:35.977  - debug: rpi2.0 (58038)     PARSING: cpu_frequency
                      2024-09-09 20:52:35.978  - debug: rpi2.0 (58038) ---> test -r /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq && cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq || test -r /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq && cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq || echo -1000
                      2024-09-09 20:52:35.991  - debug: rpi2.0 (58038) ------------- 1000000
                      
                      2024-09-09 20:52:35.993  - debug: rpi2.0 (58038) ---> REGEXP: /(.*)/
                      2024-09-09 20:52:35.994  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:35.996  - debug: rpi2.0 (58038) ---> POST:   $1/1000
                      2024-09-09 20:52:35.997  - debug: rpi2.0 (58038)     PARSING: load1,load5,load15
                      2024-09-09 20:52:35.998  - debug: rpi2.0 (58038) ---> cat /proc/loadavg
                      2024-09-09 20:52:36.008  - debug: rpi2.0 (58038) ------------- 0.43 0.18 0.05 1/179 58056
                      
                      2024-09-09 20:52:36.010  - debug: rpi2.0 (58038) ---> REGEXP: /^(\S+)\s(\S+)\s(\S+)/
                      2024-09-09 20:52:36.011  - debug: rpi2.0 (58038) GROUPS: 4
                      2024-09-09 20:52:36.011  - debug: rpi2.0 (58038) MATCHING: 0.43
                      2024-09-09 20:52:36.012  - debug: rpi2.0 (58038) NAME: load1, VALULE: 0.43
                      2024-09-09 20:52:36.013  - debug: rpi2.0 (58038) MATCHING: 0.18
                      2024-09-09 20:52:36.013  - debug: rpi2.0 (58038) NAME: load5, VALULE: 0.18
                      2024-09-09 20:52:36.014  - debug: rpi2.0 (58038) MATCHING: 0.05
                      2024-09-09 20:52:36.016  - debug: rpi2.0 (58038) NAME: load15, VALULE: 0.05
                      2024-09-09 20:52:36.017  - debug: rpi2.0 (58038)     PARSING: scaling_governor
                      2024-09-09 20:52:36.017  - debug: rpi2.0 (58038) ---> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
                      2024-09-09 20:52:36.030  - debug: rpi2.0 (58038) ------------- ondemand
                      
                      2024-09-09 20:52:36.031  - debug: rpi2.0 (58038) ---> REGEXP: /(.*)/
                      2024-09-09 20:52:36.032  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.033  - debug: rpi2.0 (58038) ---> POST:
                      2024-09-09 20:52:36.034  - debug: rpi2.0 (58038) PARSING: raspberry
                      2024-09-09 20:52:36.034  - debug: rpi2.0 (58038)     PARSING: cpu_voltage
                      2024-09-09 20:52:36.035  - debug: rpi2.0 (58038) ---> vcgencmd measure_volts core
                      2024-09-09 20:52:36.049  - debug: rpi2.0 (58038) ------------- volt=1.2563V
                      
                      2024-09-09 20:52:36.050  - debug: rpi2.0 (58038) ---> REGEXP: /(\d+.\d+)V/
                      2024-09-09 20:52:36.052  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.053  - debug: rpi2.0 (58038) ---> POST:
                      2024-09-09 20:52:36.053  - debug: rpi2.0 (58038)     PARSING: mem_arm
                      2024-09-09 20:52:36.054  - debug: rpi2.0 (58038) ---> vcgencmd get_mem arm
                      2024-09-09 20:52:36.064  - debug: rpi2.0 (58038) ------------- arm=448M
                      
                      2024-09-09 20:52:36.066  - debug: rpi2.0 (58038) ---> REGEXP: /(\d+)/
                      2024-09-09 20:52:36.066  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.067  - debug: rpi2.0 (58038) ---> POST:
                      2024-09-09 20:52:36.068  - debug: rpi2.0 (58038)     PARSING: mem_gpu
                      2024-09-09 20:52:36.068  - debug: rpi2.0 (58038) ---> vcgencmd get_mem gpu
                      2024-09-09 20:52:36.078  - debug: rpi2.0 (58038) ------------- gpu=64M
                      
                      2024-09-09 20:52:36.080  - debug: rpi2.0 (58038) ---> REGEXP: /(\d+)/
                      2024-09-09 20:52:36.081  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.081  - debug: rpi2.0 (58038) ---> POST:
                      2024-09-09 20:52:36.082  - debug: rpi2.0 (58038) PARSING: memory
                      2024-09-09 20:52:36.083  - debug: rpi2.0 (58038) PARSING: network
                      2024-09-09 20:52:36.087  - debug: rpi2.0 (58038) PARSING: sdcard
                      2024-09-09 20:52:36.087  - debug: rpi2.0 (58038) PARSING: swap
                      2024-09-09 20:52:36.088  - debug: rpi2.0 (58038)     PARSING: swap_total
                      2024-09-09 20:52:36.089  - debug: rpi2.0 (58038) ---> cat /proc/meminfo
                      2024-09-09 20:52:36.099  - debug: rpi2.0 (58038) ------------- MemTotal:         427072 kB
                      MemFree:          135832 kB
                      MemAvailable:     183856 kB
                      Buffers:            5216 kB
                      Cached:            78648 kB
                      SwapCached:        14512 kB
                      Active:           164920 kB
                      Inactive:          59784 kB
                      Active(anon):     102728 kB
                      Inactive(anon):    38276 kB
                      Active(file):      62192 kB
                      Inactive(file):    21508 kB
                      Unevictable:           0 kB
                      Mlocked:               0 kB
                      SwapTotal:        204796 kB
                      SwapFree:         123228 kB
                      Zswap:                 0 kB
                      Zswapped:              0 kB
                      Dirty:                48 kB
                      Writeback:             0 kB
                      AnonPages:        139332 kB
                      Mapped:            61836 kB
                      Shmem:               164 kB
                      KReclaimable:      19016 kB
                      Slab:              41388 kB
                      SReclaimable:      19016 kB
                      SUnreclaim:        22372 kB
                      KernelStack:        2916 kB
                      PageTables:         2768 kB
                      SecPageTables:         0 kB
                      NFS_Unstable:          0 kB
                      Bounce:                0 kB
                      WritebackTmp:          0 kB
                      CommitLimit:      418332 kB
                      Committed_AS:     500112 kB
                      VmallocTotal:   257687552 kB
                      VmallocUsed:       10436 kB
                      VmallocChunk:          0 kB
                      Percpu:              672 kB
                      CmaTotal:         262144 kB
                      CmaFree:          100824 kB
                      
                      2024-09-09 20:52:36.101  - debug: rpi2.0 (58038) ---> REGEXP: /SwapTotal:\s+(\d+)/m
                      2024-09-09 20:52:36.102  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.103  - debug: rpi2.0 (58038) ---> POST:   $1/1024
                      2024-09-09 20:52:36.103  - debug: rpi2.0 (58038)     PARSING: swap_used
                      2024-09-09 20:52:36.104  - debug: rpi2.0 (58038) ---> cat /proc/meminfo
                      2024-09-09 20:52:36.115  - debug: rpi2.0 (58038) ------------- MemTotal:         427072 kB
                      MemFree:          135708 kB
                      MemAvailable:     183744 kB
                      Buffers:            5216 kB
                      Cached:            78660 kB
                      SwapCached:        14512 kB
                      Active:           164932 kB
                      Inactive:          59784 kB
                      Active(anon):     102728 kB
                      Inactive(anon):    38276 kB
                      Active(file):      62204 kB
                      Inactive(file):    21508 kB
                      Unevictable:           0 kB
                      Mlocked:               0 kB
                      SwapTotal:        204796 kB
                      SwapFree:         123228 kB
                      Zswap:                 0 kB
                      Zswapped:              0 kB
                      Dirty:                48 kB
                      Writeback:             0 kB
                      AnonPages:        139356 kB
                      Mapped:            61836 kB
                      Shmem:               164 kB
                      KReclaimable:      19016 kB
                      Slab:              41388 kB
                      SReclaimable:      19016 kB
                      SUnreclaim:        22372 kB
                      KernelStack:        2912 kB
                      PageTables:         2768 kB
                      SecPageTables:         0 kB
                      NFS_Unstable:          0 kB
                      Bounce:                0 kB
                      WritebackTmp:          0 kB
                      CommitLimit:      418332 kB
                      Committed_AS:     500112 kB
                      VmallocTotal:   257687552 kB
                      VmallocUsed:       10436 kB
                      VmallocChunk:          0 kB
                      Percpu:              672 kB
                      CmaTotal:         262144 kB
                      CmaFree:          100824 kB
                      
                      2024-09-09 20:52:36.116  - debug: rpi2.0 (58038) ---> REGEXP: /SwapFree:\s+(\d+)/m
                      2024-09-09 20:52:36.117  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.118  - debug: rpi2.0 (58038) ---> POST:   (rpi.swap_total - $1)/1024
                      2024-09-09 20:52:36.118  - debug: rpi2.0 (58038) PARSING: temperature
                      2024-09-09 20:52:36.119  - debug: rpi2.0 (58038)     PARSING: soc_temp
                      2024-09-09 20:52:36.120  - debug: rpi2.0 (58038) ---> cat /sys/devices/virtual/thermal/thermal_zone0/temp
                      2024-09-09 20:52:36.131  - debug: rpi2.0 (58038) ------------- 49388
                      
                      2024-09-09 20:52:36.132  - debug: rpi2.0 (58038) ---> REGEXP: /(.*)/
                      2024-09-09 20:52:36.133  - debug: rpi2.0 (58038) GROUPS: 2
                      2024-09-09 20:52:36.134  - debug: rpi2.0 (58038) ---> POST:   $1/1000
                      2024-09-09 20:52:36.134  - debug: rpi2.0 (58038) PARSING: uptime
                      2024-09-09 20:52:36.135  - debug: rpi2.0 (58038) PARSING: wlan
                      2024-09-09 20:52:36.136  - debug: rpi2.0 (58038) CURRENT = cpu true
                      2024-09-09 20:52:36.136  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:36.195  - debug: rpi2.0 (58038) ---> POST:   $1/1000 for cpu_frequency in [object Object]
                      2024-09-09 20:52:36.196  - debug: rpi2.0 (58038) VALUE: 1000000 POST: $1/1000
                      2024-09-09 20:52:36.197  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.cpu.cpu_frequency VALUE = 1000
                      2024-09-09 20:52:36.297  - debug: rpi2.0 (58038) ---> POST:    for load1,load5,load15 in [object Object]
                      2024-09-09 20:52:36.299  - debug: rpi2.0 (58038) MATCHING: 0.43
                      2024-09-09 20:52:36.299  - debug: rpi2.0 (58038) NAME: load1 VALUE: 0.43
                      2024-09-09 20:52:36.300  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.cpu.load1 VALUE = 0.43
                      2024-09-09 20:52:36.391  - debug: rpi2.0 (58038) MATCHING: 0.18
                      2024-09-09 20:52:36.392  - debug: rpi2.0 (58038) NAME: load5 VALUE: 0.18
                      2024-09-09 20:52:36.392  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.cpu.load5 VALUE = 0.18
                      2024-09-09 20:52:36.502  - debug: rpi2.0 (58038) MATCHING: 0.05
                      2024-09-09 20:52:36.504  - debug: rpi2.0 (58038) NAME: load15 VALUE: 0.05
                      2024-09-09 20:52:36.505  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.cpu.load15 VALUE = 0.05
                      2024-09-09 20:52:36.588  - debug: rpi2.0 (58038) ---> POST:    for scaling_governor in [object Object]
                      2024-09-09 20:52:36.590  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.cpu.scaling_governor VALUE = ondemand
                      2024-09-09 20:52:36.665  - debug: rpi2.0 (58038) CURRENT = raspberry true
                      2024-09-09 20:52:36.667  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:36.689  - debug: rpi2.0 (58038) ---> POST:    for cpu_voltage in [object Object]
                      2024-09-09 20:52:36.690  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.raspberry.cpu_voltage VALUE = 1.26
                      2024-09-09 20:52:36.785  - debug: rpi2.0 (58038) ---> POST:    for mem_arm in [object Object]
                      2024-09-09 20:52:36.787  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.raspberry.mem_arm VALUE = 448
                      2024-09-09 20:52:37.062  - debug: rpi2.0 (58038) ---> POST:    for mem_gpu in [object Object]
                      2024-09-09 20:52:37.063  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.raspberry.mem_gpu VALUE = 64
                      2024-09-09 20:52:37.156  - debug: rpi2.0 (58038) CURRENT = memory false
                      2024-09-09 20:52:37.157  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.158  - debug: rpi2.0 (58038) memory disabled -> clean up.
                      2024-09-09 20:52:37.158  - debug: rpi2.0 (58038) CURRENT = network false
                      2024-09-09 20:52:37.159  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.159  - debug: rpi2.0 (58038) network disabled -> clean up.
                      2024-09-09 20:52:37.160  - debug: rpi2.0 (58038) CURRENT = sdcard false
                      2024-09-09 20:52:37.161  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.161  - debug: rpi2.0 (58038) sdcard disabled -> clean up.
                      2024-09-09 20:52:37.162  - debug: rpi2.0 (58038) CURRENT = swap true
                      2024-09-09 20:52:37.162  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.207  - debug: rpi2.0 (58038) ---> POST:   $1/1024 for swap_total in [object Object]
                      2024-09-09 20:52:37.209  - debug: rpi2.0 (58038) VALUE: 204796 POST: $1/1024
                      2024-09-09 20:52:37.210  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.swap.swap_total VALUE = 200
                      2024-09-09 20:52:37.278  - debug: rpi2.0 (58038) ---> POST:   (rpi.swap_total - $1)/1024 for swap_used in [object Object]
                      2024-09-09 20:52:37.279  - debug: rpi2.0 (58038) VALUE: 123228 POST: (rpi.swap_total - $1)/1024
                      2024-09-09 20:52:37.281  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.swap.swap_used VALUE = 79.66
                      2024-09-09 20:52:37.356  - debug: rpi2.0 (58038) CURRENT = temperature true
                      2024-09-09 20:52:37.357  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.391  - debug: rpi2.0 (58038) ---> POST:   $1/1000 for soc_temp in [object Object]
                      2024-09-09 20:52:37.392  - debug: rpi2.0 (58038) VALUE: 49388 POST: $1/1000
                      2024-09-09 20:52:37.393  - debug: rpi2.0 (58038) SETSTATE FOR rpi2.0.temperature.soc_temp VALUE = 49.39
                      2024-09-09 20:52:37.729  - debug: rpi2.0 (58038) CURRENT = uptime false
                      2024-09-09 20:52:37.731  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.732  - debug: rpi2.0 (58038) uptime disabled -> clean up.
                      2024-09-09 20:52:37.733  - debug: rpi2.0 (58038) CURRENT = wlan false
                      2024-09-09 20:52:37.734  - debug: rpi2.0 (58038) -1
                      2024-09-09 20:52:37.735  - debug: rpi2.0 (58038) wlan disabled -> clean up.
                      2024-09-09 20:52:39.558  - debug: rpi2.0 (58038) Creating gpio.17.isInput
                      2024-09-09 20:52:40.718  - debug: rpi2.0 (58038) class Default extends classes_1.Device {
                      }
                      2024-09-09 20:52:40.734  - debug: rpi2.0 (58038) CPU Info: Raspberry Pi Zero 2 W Rev 1.0
                      2024-09-09 20:52:40.736  - debug: rpi2.0 (58038) STDERR:
                      2024-09-09 20:52:40.737  - debug: rpi2.0 (58038) Got 1 from Raspberry Pi Zero 2 W Rev 1.0.
                      2024-09-09 20:52:40.738  - debug: rpi2.0 (58038) Inputs are pull down.
                      2024-09-09 20:52:40.738  - debug: rpi2.0 (58038) Buttons are pull down.
                      2024-09-09 20:52:40.739  - debug: rpi2.0 (58038) Got chip: class Default extends classes_1.Device {
                      }
                      2024-09-09 20:52:40.739  - debug: rpi2.0 (58038) GPIO chip undefined initialized
                      2024-09-09 20:52:40.740  - debug: rpi2.0 (58038) Port 17 direction: in
                      2024-09-09 20:52:40.756  - debug: rpi2.0 (58038) Setting state for port 17 to false
                      2024-09-09 20:52:40.828  - debug: rpi2.0 (58038) Adding event listener for port 17
                      
                      

                      Bei euch sehe ich keinen einzigen Eintrag der Stufe "debug". Ihr müsst unter Instanzen bei aktiviertem Expertenmodus das Loglevel der Instanz auf Debug stellen!
                      2024-09-09 20_59_18-instances - automation.png

                      Der Adapter startet dann neu und beim Start sollten entsprechende Einträge angezeigt werden. Eventuell sehen wir dann etwas, das uns dabei weiterhilft, das Problem einzugrenzen.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Laser @JanGa last edited by

                        @janga erwischt. Nach dem Neuinstallieren habe ich das tatsächlich vergessen!

                        
                        rpi2.0
                        2024-09-10 09:51:44.645	debug	SETSTATE FOR rpi2.0.wlan.wifi_send VALUE = 0
                        
                        rpi2.0
                        2024-09-10 09:51:44.645	debug	---> POST: for wifi_send in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.594	debug	SETSTATE FOR rpi2.0.wlan.wifi_received VALUE = 0
                        
                        rpi2.0
                        2024-09-10 09:51:44.594	debug	VALUE: 0 POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.593	debug	---> POST: $1*-1 for wifi_received in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.593	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.593	debug	CURRENT = wlan true
                        
                        rpi2.0
                        2024-09-10 09:51:44.542	debug	SETSTATE FOR rpi2.0.uptime.uptime VALUE = 425931.67
                        
                        rpi2.0
                        2024-09-10 09:51:44.542	debug	---> POST: for uptime in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.541	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.541	debug	CURRENT = uptime true
                        
                        rpi2.0
                        2024-09-10 09:51:44.492	debug	SETSTATE FOR rpi2.0.temperature.soc_temp VALUE = 44.3
                        
                        rpi2.0
                        2024-09-10 09:51:44.492	debug	VALUE: 44303 POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:51:44.491	debug	---> POST: $1/1000 for soc_temp in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.490	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.489	debug	CURRENT = temperature true
                        
                        rpi2.0
                        2024-09-10 09:51:44.438	debug	SETSTATE FOR rpi2.0.swap.swap_used VALUE = 193.64
                        
                        rpi2.0
                        2024-09-10 09:51:44.437	debug	VALUE: 6512 POST: (rpi.swap_total - $1)/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.437	debug	---> POST: (rpi.swap_total - $1)/1024 for swap_used in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.386	debug	SETSTATE FOR rpi2.0.swap.swap_total VALUE = 200
                        
                        rpi2.0
                        2024-09-10 09:51:44.386	debug	VALUE: 204796 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.385	debug	---> POST: $1/1024 for swap_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.385	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.385	debug	CURRENT = swap true
                        
                        rpi2.0
                        2024-09-10 09:51:44.334	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_boot_used VALUE = 63.14
                        
                        rpi2.0
                        2024-09-10 09:51:44.333	debug	VALUE: 64654 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.333	debug	---> POST: $1/1024 for sdcard_boot_used in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.282	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_root_used VALUE = 5695.19
                        
                        rpi2.0
                        2024-09-10 09:51:44.281	debug	VALUE: 5831872 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.281	debug	---> POST: $1/1024 for sdcard_root_used in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.230	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_boot_total VALUE = 509.99
                        
                        rpi2.0
                        2024-09-10 09:51:44.230	debug	VALUE: 522230 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.229	debug	---> POST: $1/1024 for sdcard_boot_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.178	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_root_total VALUE = 29433.42
                        
                        rpi2.0
                        2024-09-10 09:51:44.178	debug	VALUE: 30139824 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.177	debug	---> POST: $1/1024 for sdcard_root_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.177	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.177	debug	CURRENT = sdcard true
                        
                        rpi2.0
                        2024-09-10 09:51:44.129	debug	SETSTATE FOR rpi2.0.network.net_send VALUE = 162852985
                        
                        rpi2.0
                        2024-09-10 09:51:44.129	debug	---> POST: for net_send in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.078	debug	SETSTATE FOR rpi2.0.network.net_received VALUE = -148363631
                        
                        rpi2.0
                        2024-09-10 09:51:44.078	debug	VALUE: 148363631 POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.077	debug	---> POST: $1*-1 for net_received in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:44.077	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:44.077	debug	CURRENT = network true
                        
                        rpi2.0
                        2024-09-10 09:51:44.026	debug	SETSTATE FOR rpi2.0.memory.memory_available VALUE = 1060.11
                        
                        rpi2.0
                        2024-09-10 09:51:44.025	debug	VALUE: 1085556 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:44.025	debug	---> POST: $1/1024 for memory_available in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:43.976	debug	SETSTATE FOR rpi2.0.memory.memory_free VALUE = 518.15
                        
                        rpi2.0
                        2024-09-10 09:51:43.975	debug	VALUE: 530588 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.973	debug	---> POST: $1/1024 for memory_free in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:43.919	debug	SETSTATE FOR rpi2.0.memory.memory_total VALUE = 1846.94
                        
                        rpi2.0
                        2024-09-10 09:51:43.919	debug	VALUE: 1891264 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.919	debug	---> POST: $1/1024 for memory_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:43.919	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:43.918	debug	CURRENT = memory true
                        
                        rpi2.0
                        2024-09-10 09:51:43.918	debug	raspberry disabled -> clean up.
                        
                        rpi2.0
                        2024-09-10 09:51:43.918	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:43.917	debug	CURRENT = raspberry false
                        
                        rpi2.0
                        2024-09-10 09:51:43.869	debug	SETSTATE FOR rpi2.0.cpu.scaling_governor VALUE = ondemand
                        
                        rpi2.0
                        2024-09-10 09:51:43.869	debug	---> POST: for scaling_governor in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:43.817	debug	SETSTATE FOR rpi2.0.cpu.load15 VALUE = 0.09
                        
                        rpi2.0
                        2024-09-10 09:51:43.817	debug	NAME: load15 VALUE: 0.09
                        
                        rpi2.0
                        2024-09-10 09:51:43.817	debug	MATCHING: 0.09
                        
                        rpi2.0
                        2024-09-10 09:51:43.766	debug	SETSTATE FOR rpi2.0.cpu.load5 VALUE = 0.23
                        
                        rpi2.0
                        2024-09-10 09:51:43.766	debug	NAME: load5 VALUE: 0.23
                        
                        rpi2.0
                        2024-09-10 09:51:43.766	debug	MATCHING: 0.23
                        
                        rpi2.0
                        2024-09-10 09:51:43.715	debug	SETSTATE FOR rpi2.0.cpu.load1 VALUE = 0.45
                        
                        rpi2.0
                        2024-09-10 09:51:43.714	debug	NAME: load1 VALUE: 0.45
                        
                        rpi2.0
                        2024-09-10 09:51:43.714	debug	MATCHING: 0.45
                        
                        rpi2.0
                        2024-09-10 09:51:43.713	debug	---> POST: for load1,load5,load15 in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:43.592	debug	SETSTATE FOR rpi2.0.cpu.cpu_frequency VALUE = 1000
                        
                        rpi2.0
                        2024-09-10 09:51:43.592	debug	VALUE: 1000000 POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:51:43.591	debug	---> POST: $1/1000 for cpu_frequency in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:51:43.591	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:51:43.591	debug	CURRENT = cpu true
                        
                        rpi2.0
                        2024-09-10 09:51:43.591	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:51:43.591	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.590	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.590	debug	------------- 0
                        
                        rpi2.0
                        2024-09-10 09:51:43.584	debug	---> cat /sys/class/net/wl*/statistics/tx_bytes
                        
                        rpi2.0
                        2024-09-10 09:51:43.583	debug	PARSING: wifi_send
                        
                        rpi2.0
                        2024-09-10 09:51:43.583	debug	---> POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:51:43.583	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.583	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.582	debug	------------- 0
                        
                        rpi2.0
                        2024-09-10 09:51:43.576	debug	---> cat /sys/class/net/wl*/statistics/rx_bytes
                        
                        rpi2.0
                        2024-09-10 09:51:43.576	debug	PARSING: wifi_received
                        
                        rpi2.0
                        2024-09-10 09:51:43.576	debug	PARSING: wlan
                        
                        rpi2.0
                        2024-09-10 09:51:43.576	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:51:43.575	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.575	debug	---> REGEXP: /(^\S+)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.574	debug	------------- 425931.67 1682350.61
                        
                        rpi2.0
                        2024-09-10 09:51:43.569	debug	---> cat /proc/uptime
                        
                        rpi2.0
                        2024-09-10 09:51:43.568	debug	PARSING: uptime
                        
                        rpi2.0
                        2024-09-10 09:51:43.568	debug	PARSING: uptime
                        
                        rpi2.0
                        2024-09-10 09:51:43.568	debug	---> POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:51:43.568	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.567	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.567	debug	------------- 44303
                        
                        rpi2.0
                        2024-09-10 09:51:43.561	debug	---> cat /sys/devices/virtual/thermal/thermal_zone0/temp
                        
                        rpi2.0
                        2024-09-10 09:51:43.561	debug	PARSING: soc_temp
                        
                        rpi2.0
                        2024-09-10 09:51:43.561	debug	PARSING: temperature
                        
                        rpi2.0
                        2024-09-10 09:51:43.560	debug	---> POST: (rpi.swap_total - $1)/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.560	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.560	debug	---> REGEXP: /SwapFree:\s+(\d+)/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.559	debug	------------- MemTotal: 1891264 kB MemFree: 530476 kB MemAvailable: 1085244 kB Buffers: 81316 kB Cached: 503460 kB SwapCached: 1752 kB Active: 518280 kB Inactive: 732276 kB Active(anon): 463680 kB Inactive(anon): 202124 kB Active(file): 54600 kB Inactive(file): 530152 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6512 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 8 kB Writeback: 0 kB AnonPages: 664072 kB Mapped: 86884 kB Shmem: 24 kB KReclaimable: 38220 kB Slab: 62988 kB SReclaimable: 38220 kB SUnreclaim: 24768 kB KernelStack: 4392 kB PageTables: 6528 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553468 kB VmallocTotal: 257687552 kB VmallocUsed: 12016 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:51:43.553	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:51:43.552	debug	PARSING: swap_used
                        
                        rpi2.0
                        2024-09-10 09:51:43.552	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.551	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.551	debug	---> REGEXP: /SwapTotal:\s+(\d+)/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.550	debug	------------- MemTotal: 1891264 kB MemFree: 530728 kB MemAvailable: 1085496 kB Buffers: 81316 kB Cached: 503460 kB SwapCached: 1752 kB Active: 518180 kB Inactive: 732276 kB Active(anon): 463580 kB Inactive(anon): 202124 kB Active(file): 54600 kB Inactive(file): 530152 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6512 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 8 kB Writeback: 0 kB AnonPages: 663972 kB Mapped: 86884 kB Shmem: 24 kB KReclaimable: 38220 kB Slab: 62988 kB SReclaimable: 38220 kB SUnreclaim: 24768 kB KernelStack: 4392 kB PageTables: 6428 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553468 kB VmallocTotal: 257687552 kB VmallocUsed: 12016 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:51:43.542	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:51:43.541	debug	PARSING: swap_total
                        
                        rpi2.0
                        2024-09-10 09:51:43.541	debug	PARSING: swap
                        
                        rpi2.0
                        2024-09-10 09:51:43.541	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.540	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.540	debug	---> REGEXP: /\S+\s+\d+\s+(\d+).*\/boot/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.538	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% /
                        
                        rpi2.0
                        2024-09-10 09:51:43.528	debug	---> df /boot/*
                        
                        rpi2.0
                        2024-09-10 09:51:43.528	debug	PARSING: sdcard_boot_used
                        
                        rpi2.0
                        2024-09-10 09:51:43.528	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.527	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.527	debug	---> REGEXP: /\S+\s+\d+\s+(\d+).*\/$/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.526	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831872 22757424 21% /
                        
                        rpi2.0
                        2024-09-10 09:51:43.517	debug	---> df /
                        
                        rpi2.0
                        2024-09-10 09:51:43.516	debug	PARSING: sdcard_root_used
                        
                        rpi2.0
                        2024-09-10 09:51:43.516	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.516	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.515	debug	---> REGEXP: /\S+\s+(\d+).*\/boot/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.513	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% / /dev/mmcblk0p2 30139824 5831872 22757424 21% /
                        
                        rpi2.0
                        2024-09-10 09:51:43.504	debug	---> df /boot/*
                        
                        rpi2.0
                        2024-09-10 09:51:43.503	debug	PARSING: sdcard_boot_total
                        
                        rpi2.0
                        2024-09-10 09:51:43.503	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.502	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.501	debug	---> REGEXP: /\S+\s+(\d+).*\/$/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.500	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831872 22757424 21% /
                        
                        rpi2.0
                        2024-09-10 09:51:43.490	debug	---> df /
                        
                        rpi2.0
                        2024-09-10 09:51:43.489	debug	PARSING: sdcard_root_total
                        
                        rpi2.0
                        2024-09-10 09:51:43.488	debug	PARSING: sdcard
                        
                        rpi2.0
                        2024-09-10 09:51:43.484	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:51:43.481	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.480	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.480	debug	------------- 162852985
                        
                        rpi2.0
                        2024-09-10 09:51:43.470	debug	---> cat /sys/class/net/e*/statistics/tx_bytes
                        
                        rpi2.0
                        2024-09-10 09:51:43.470	debug	PARSING: net_send
                        
                        rpi2.0
                        2024-09-10 09:51:43.469	debug	---> POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:51:43.469	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.469	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.468	debug	------------- 148363631
                        
                        rpi2.0
                        2024-09-10 09:51:43.460	debug	---> cat /sys/class/net/e*/statistics/rx_bytes
                        
                        rpi2.0
                        2024-09-10 09:51:43.460	debug	PARSING: net_received
                        
                        rpi2.0
                        2024-09-10 09:51:43.459	debug	PARSING: network
                        
                        rpi2.0
                        2024-09-10 09:51:43.459	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.459	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.458	debug	---> REGEXP: /MemAvailable:\s+(\d+)/m
                        
                        rpi2.0
                        2024-09-10 09:51:43.457	debug	------------- MemTotal: 1891264 kB MemFree: 530788 kB MemAvailable: 1085556 kB Buffers: 81316 kB Cached: 503460 kB SwapCached: 1752 kB Active: 518080 kB Inactive: 732276 kB Active(anon): 463480 kB Inactive(anon): 202124 kB Active(file): 54600 kB Inactive(file): 530152 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6512 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 8 kB Writeback: 0 kB AnonPages: 663772 kB Mapped: 86884 kB Shmem: 24 kB KReclaimable: 38220 kB Slab: 62988 kB SReclaimable: 38220 kB SUnreclaim: 24768 kB KernelStack: 4364 kB PageTables: 6428 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553468 kB VmallocTotal: 257687552 kB VmallocUsed: 12000 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:51:43.448	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:51:43.448	debug	PARSING: memory_available
                        
                        rpi2.0
                        2024-09-10 09:51:43.447	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.447	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.447	debug	---> REGEXP: /MemFree:\s+(\d+)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.445	debug	------------- MemTotal: 1891264 kB MemFree: 530588 kB MemAvailable: 1085356 kB Buffers: 81316 kB Cached: 503460 kB SwapCached: 1752 kB Active: 517780 kB Inactive: 732276 kB Active(anon): 463180 kB Inactive(anon): 202124 kB Active(file): 54600 kB Inactive(file): 530152 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6512 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 8 kB Writeback: 0 kB AnonPages: 663672 kB Mapped: 86884 kB Shmem: 24 kB KReclaimable: 38220 kB Slab: 62988 kB SReclaimable: 38220 kB SUnreclaim: 24768 kB KernelStack: 4364 kB PageTables: 6428 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553468 kB VmallocTotal: 257687552 kB VmallocUsed: 12000 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:51:43.437	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:51:43.436	debug	PARSING: memory_free
                        
                        rpi2.0
                        2024-09-10 09:51:43.436	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:51:43.436	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.435	debug	---> REGEXP: /MemTotal:\s+(\d+)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.434	debug	------------- MemTotal: 1891264 kB MemFree: 530840 kB MemAvailable: 1085608 kB Buffers: 81316 kB Cached: 503460 kB SwapCached: 1752 kB Active: 517680 kB Inactive: 732276 kB Active(anon): 463080 kB Inactive(anon): 202124 kB Active(file): 54600 kB Inactive(file): 530152 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6512 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 8 kB Writeback: 0 kB AnonPages: 663572 kB Mapped: 86884 kB Shmem: 24 kB KReclaimable: 38220 kB Slab: 62988 kB SReclaimable: 38220 kB SUnreclaim: 24768 kB KernelStack: 4364 kB PageTables: 6428 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553468 kB VmallocTotal: 257687552 kB VmallocUsed: 11984 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:51:43.425	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:51:43.425	debug	PARSING: memory_total
                        
                        rpi2.0
                        2024-09-10 09:51:43.424	debug	PARSING: memory
                        
                        rpi2.0
                        2024-09-10 09:51:43.424	debug	PARSING: raspberry
                        
                        rpi2.0
                        2024-09-10 09:51:43.424	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:51:43.423	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.423	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.422	debug	------------- ondemand
                        
                        rpi2.0
                        2024-09-10 09:51:43.413	debug	---> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
                        
                        rpi2.0
                        2024-09-10 09:51:43.413	debug	PARSING: scaling_governor
                        
                        rpi2.0
                        2024-09-10 09:51:43.412	debug	NAME: load15, VALULE: 0.09
                        
                        rpi2.0
                        2024-09-10 09:51:43.412	debug	MATCHING: 0.09
                        
                        rpi2.0
                        2024-09-10 09:51:43.412	debug	NAME: load5, VALULE: 0.23
                        
                        rpi2.0
                        2024-09-10 09:51:43.411	debug	MATCHING: 0.23
                        
                        rpi2.0
                        2024-09-10 09:51:43.411	debug	NAME: load1, VALULE: 0.45
                        
                        rpi2.0
                        2024-09-10 09:51:43.411	debug	MATCHING: 0.45
                        
                        rpi2.0
                        2024-09-10 09:51:43.410	debug	GROUPS: 4
                        
                        rpi2.0
                        2024-09-10 09:51:43.410	debug	---> REGEXP: /^(\S+)\s(\S+)\s(\S+)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.409	debug	------------- 0.45 0.23 0.09 1/270 523196
                        
                        rpi2.0
                        2024-09-10 09:51:43.400	debug	---> cat /proc/loadavg
                        
                        rpi2.0
                        2024-09-10 09:51:43.400	debug	PARSING: load1,load5,load15
                        
                        rpi2.0
                        2024-09-10 09:51:43.399	debug	---> POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:51:43.399	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:51:43.398	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:51:43.398	debug	------------- 1000000
                        
                        rpi2.0
                        2024-09-10 09:51:43.389	debug	---> test -r /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq && cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq || test -r /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq && cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq || echo -1000
                        
                        rpi2.0
                        2024-09-10 09:51:43.388	debug	PARSING: cpu_frequency
                        
                        rpi2.0
                        2024-09-10 09:51:43.388	debug	PARSING: cpu
                        
                        rpi2.0
                        2024-09-10 09:51:43.386	debug	start parsing
                        
                        rpi2.0
                        2024-09-10 09:50:45.318	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'output')
                        
                        rpi2.0
                        2024-09-10 09:50:45.318	debug	Port 23 direction: out
                        
                        rpi2.0
                        2024-09-10 09:50:45.317	debug	GPIO chip undefined initialized
                        
                        rpi2.0
                        2024-09-10 09:50:45.317	debug	Got chip: undefined
                        
                        rpi2.0
                        2024-09-10 09:50:45.317	debug	Buttons are pull down.
                        
                        rpi2.0
                        2024-09-10 09:50:45.317	debug	Inputs are pull down.
                        
                        rpi2.0
                        2024-09-10 09:50:45.317	debug	Got 4 from Raspberry Pi 4 Model B Rev 1.4.
                        
                        rpi2.0
                        2024-09-10 09:50:45.316	debug	STDERR:
                        
                        rpi2.0
                        2024-09-10 09:50:45.315	debug	CPU Info: Raspberry Pi 4 Model B Rev 1.4
                        
                        rpi2.0
                        2024-09-10 09:50:45.307	debug	undefined
                        
                        rpi2.0
                        2024-09-10 09:50:45.113	debug	Creating gpio.24.isInput
                        
                        rpi2.0
                        2024-09-10 09:50:45.080	debug	Creating gpio.23.isInput
                        
                        rpi2.0
                        2024-09-10 09:50:44.733	debug	SETSTATE FOR rpi2.0.wlan.wifi_send VALUE = 0
                        
                        rpi2.0
                        2024-09-10 09:50:44.733	debug	---> POST: for wifi_send in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.684	debug	SETSTATE FOR rpi2.0.wlan.wifi_received VALUE = 0
                        
                        rpi2.0
                        2024-09-10 09:50:44.683	debug	VALUE: 0 POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.683	debug	---> POST: $1*-1 for wifi_received in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.674	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.673	debug	CURRENT = wlan true
                        
                        rpi2.0
                        2024-09-10 09:50:44.623	debug	SETSTATE FOR rpi2.0.uptime.uptime VALUE = 425871.62
                        
                        rpi2.0
                        2024-09-10 09:50:44.622	debug	---> POST: for uptime in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.614	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.614	debug	CURRENT = uptime true
                        
                        rpi2.0
                        2024-09-10 09:50:44.561	debug	SETSTATE FOR rpi2.0.temperature.soc_temp VALUE = 46.74
                        
                        rpi2.0
                        2024-09-10 09:50:44.561	debug	VALUE: 46738 POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:50:44.560	debug	---> POST: $1/1000 for soc_temp in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.553	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.553	debug	CURRENT = temperature true
                        
                        rpi2.0
                        2024-09-10 09:50:44.503	debug	SETSTATE FOR rpi2.0.swap.swap_used VALUE = 193.65
                        
                        rpi2.0
                        2024-09-10 09:50:44.502	debug	VALUE: 6500 POST: (rpi.swap_total - $1)/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.502	debug	---> POST: (rpi.swap_total - $1)/1024 for swap_used in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.451	debug	SETSTATE FOR rpi2.0.swap.swap_total VALUE = 200
                        
                        rpi2.0
                        2024-09-10 09:50:44.450	debug	VALUE: 204796 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.450	debug	---> POST: $1/1024 for swap_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.441	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.441	debug	CURRENT = swap true
                        
                        rpi2.0
                        2024-09-10 09:50:44.390	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_boot_used VALUE = 63.14
                        
                        rpi2.0
                        2024-09-10 09:50:44.389	debug	VALUE: 64654 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.389	debug	---> POST: $1/1024 for sdcard_boot_used in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.338	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_root_used VALUE = 5695.12
                        
                        rpi2.0
                        2024-09-10 09:50:44.337	debug	VALUE: 5831804 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.337	debug	---> POST: $1/1024 for sdcard_root_used in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.287	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_boot_total VALUE = 509.99
                        
                        rpi2.0
                        2024-09-10 09:50:44.287	debug	VALUE: 522230 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.286	debug	---> POST: $1/1024 for sdcard_boot_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.234	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_root_total VALUE = 29433.42
                        
                        rpi2.0
                        2024-09-10 09:50:44.233	debug	VALUE: 30139824 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.233	debug	---> POST: $1/1024 for sdcard_root_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.225	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.225	debug	CURRENT = sdcard true
                        
                        rpi2.0
                        2024-09-10 09:50:44.174	debug	SETSTATE FOR rpi2.0.network.net_send VALUE = 162783739
                        
                        rpi2.0
                        2024-09-10 09:50:44.173	debug	---> POST: for net_send in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.118	debug	SETSTATE FOR rpi2.0.network.net_received VALUE = -148333177
                        
                        rpi2.0
                        2024-09-10 09:50:44.117	debug	VALUE: 148333177 POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.117	debug	---> POST: $1*-1 for net_received in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.109	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:44.109	debug	CURRENT = network true
                        
                        rpi2.0
                        2024-09-10 09:50:44.058	debug	SETSTATE FOR rpi2.0.memory.memory_available VALUE = 1048.1
                        
                        rpi2.0
                        2024-09-10 09:50:44.058	debug	VALUE: 1073256 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.057	debug	---> POST: $1/1024 for memory_available in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:44.006	debug	SETSTATE FOR rpi2.0.memory.memory_free VALUE = 506.56
                        
                        rpi2.0
                        2024-09-10 09:50:44.006	debug	VALUE: 518716 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:44.005	debug	---> POST: $1/1024 for memory_free in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:43.953	debug	SETSTATE FOR rpi2.0.memory.memory_total VALUE = 1846.94
                        
                        rpi2.0
                        2024-09-10 09:50:43.952	debug	VALUE: 1891264 POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.951	debug	---> POST: $1/1024 for memory_total in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:43.942	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:43.942	debug	CURRENT = memory true
                        
                        rpi2.0
                        2024-09-10 09:50:43.942	debug	raspberry disabled -> clean up.
                        
                        rpi2.0
                        2024-09-10 09:50:43.941	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:43.941	debug	CURRENT = raspberry false
                        
                        rpi2.0
                        2024-09-10 09:50:43.890	debug	SETSTATE FOR rpi2.0.cpu.scaling_governor VALUE = ondemand
                        
                        rpi2.0
                        2024-09-10 09:50:43.889	debug	---> POST: for scaling_governor in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:43.838	debug	SETSTATE FOR rpi2.0.cpu.load15 VALUE = 0.07
                        
                        rpi2.0
                        2024-09-10 09:50:43.837	debug	NAME: load15 VALUE: 0.07
                        
                        rpi2.0
                        2024-09-10 09:50:43.837	debug	MATCHING: 0.07
                        
                        rpi2.0
                        2024-09-10 09:50:43.786	debug	SETSTATE FOR rpi2.0.cpu.load5 VALUE = 0.16
                        
                        rpi2.0
                        2024-09-10 09:50:43.786	debug	NAME: load5 VALUE: 0.16
                        
                        rpi2.0
                        2024-09-10 09:50:43.785	debug	MATCHING: 0.16
                        
                        rpi2.0
                        2024-09-10 09:50:43.736	debug	SETSTATE FOR rpi2.0.cpu.load1 VALUE = 0.32
                        
                        rpi2.0
                        2024-09-10 09:50:43.735	debug	NAME: load1 VALUE: 0.32
                        
                        rpi2.0
                        2024-09-10 09:50:43.735	debug	MATCHING: 0.32
                        
                        rpi2.0
                        2024-09-10 09:50:43.734	debug	---> POST: for load1,load5,load15 in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:43.679	debug	SETSTATE FOR rpi2.0.cpu.cpu_frequency VALUE = 1800
                        
                        rpi2.0
                        2024-09-10 09:50:43.679	debug	VALUE: 1800000 POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:50:43.678	debug	---> POST: $1/1000 for cpu_frequency in [object Object]
                        
                        rpi2.0
                        2024-09-10 09:50:43.547	debug	-1
                        
                        rpi2.0
                        2024-09-10 09:50:43.546	debug	CURRENT = cpu true
                        
                        rpi2.0
                        2024-09-10 09:50:43.543	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:50:43.542	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.542	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:50:43.541	debug	------------- 0
                        
                        rpi2.0
                        2024-09-10 09:50:43.535	debug	---> cat /sys/class/net/wl*/statistics/tx_bytes
                        
                        rpi2.0
                        2024-09-10 09:50:43.534	debug	PARSING: wifi_send
                        
                        rpi2.0
                        2024-09-10 09:50:43.534	debug	---> POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:50:43.534	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.534	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:50:43.533	debug	------------- 0
                        
                        rpi2.0
                        2024-09-10 09:50:43.527	debug	---> cat /sys/class/net/wl*/statistics/rx_bytes
                        
                        rpi2.0
                        2024-09-10 09:50:43.527	debug	PARSING: wifi_received
                        
                        rpi2.0
                        2024-09-10 09:50:43.527	debug	PARSING: wlan
                        
                        rpi2.0
                        2024-09-10 09:50:43.527	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:50:43.527	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.526	debug	---> REGEXP: /(^\S+)/
                        
                        rpi2.0
                        2024-09-10 09:50:43.526	debug	------------- 425871.62 1682115.42
                        
                        rpi2.0
                        2024-09-10 09:50:43.520	debug	---> cat /proc/uptime
                        
                        rpi2.0
                        2024-09-10 09:50:43.520	debug	PARSING: uptime
                        
                        rpi2.0
                        2024-09-10 09:50:43.519	debug	PARSING: uptime
                        
                        rpi2.0
                        2024-09-10 09:50:43.519	debug	---> POST: $1/1000
                        
                        rpi2.0
                        2024-09-10 09:50:43.519	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.519	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:50:43.518	debug	------------- 46738
                        
                        rpi2.0
                        2024-09-10 09:50:43.512	debug	---> cat /sys/devices/virtual/thermal/thermal_zone0/temp
                        
                        rpi2.0
                        2024-09-10 09:50:43.512	debug	PARSING: soc_temp
                        
                        rpi2.0
                        2024-09-10 09:50:43.511	debug	PARSING: temperature
                        
                        rpi2.0
                        2024-09-10 09:50:43.511	debug	---> POST: (rpi.swap_total - $1)/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.511	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.511	debug	---> REGEXP: /SwapFree:\s+(\d+)/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.510	debug	------------- MemTotal: 1891264 kB MemFree: 518516 kB MemAvailable: 1073008 kB Buffers: 81276 kB Cached: 503240 kB SwapCached: 1752 kB Active: 534156 kB Inactive: 732040 kB Active(anon): 479580 kB Inactive(anon): 202124 kB Active(file): 54576 kB Inactive(file): 529916 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6500 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 679896 kB Mapped: 86588 kB Shmem: 24 kB KReclaimable: 38188 kB Slab: 62956 kB SReclaimable: 38188 kB SUnreclaim: 24768 kB KernelStack: 4324 kB PageTables: 6576 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553012 kB VmallocTotal: 257687552 kB VmallocUsed: 11984 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:50:43.504	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:50:43.504	debug	PARSING: swap_used
                        
                        rpi2.0
                        2024-09-10 09:50:43.504	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.503	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.503	debug	---> REGEXP: /SwapTotal:\s+(\d+)/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.502	debug	------------- MemTotal: 1891264 kB MemFree: 518216 kB MemAvailable: 1072708 kB Buffers: 81276 kB Cached: 503240 kB SwapCached: 1752 kB Active: 534156 kB Inactive: 732040 kB Active(anon): 479580 kB Inactive(anon): 202124 kB Active(file): 54576 kB Inactive(file): 529916 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6500 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 679896 kB Mapped: 86688 kB Shmem: 24 kB KReclaimable: 38188 kB Slab: 62956 kB SReclaimable: 38188 kB SUnreclaim: 24768 kB KernelStack: 4352 kB PageTables: 6576 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553012 kB VmallocTotal: 257687552 kB VmallocUsed: 11984 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        rpi2.0
                        2024-09-10 09:50:43.496	debug	---> cat /proc/meminfo
                        
                        rpi2.0
                        2024-09-10 09:50:43.496	debug	PARSING: swap_total
                        
                        rpi2.0
                        2024-09-10 09:50:43.496	debug	PARSING: swap
                        
                        rpi2.0
                        2024-09-10 09:50:43.496	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.495	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.495	debug	---> REGEXP: /\S+\s+\d+\s+(\d+).*\/boot/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.493	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% /
                        
                        rpi2.0
                        2024-09-10 09:50:43.485	debug	---> df /boot/*
                        
                        rpi2.0
                        2024-09-10 09:50:43.484	debug	PARSING: sdcard_boot_used
                        
                        rpi2.0
                        2024-09-10 09:50:43.484	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.483	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.483	debug	---> REGEXP: /\S+\s+\d+\s+(\d+).*\/$/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.482	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831804 22757492 21% /
                        
                        rpi2.0
                        2024-09-10 09:50:43.473	debug	---> df /
                        
                        rpi2.0
                        2024-09-10 09:50:43.473	debug	PARSING: sdcard_root_used
                        
                        rpi2.0
                        2024-09-10 09:50:43.472	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.472	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.472	debug	---> REGEXP: /\S+\s+(\d+).*\/boot/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.470	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p1 522230 64654 457576 13% /boot/firmware /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% / /dev/mmcblk0p2 30139824 5831804 22757492 21% /
                        
                        rpi2.0
                        2024-09-10 09:50:43.463	debug	---> df /boot/*
                        
                        rpi2.0
                        2024-09-10 09:50:43.463	debug	PARSING: sdcard_boot_total
                        
                        rpi2.0
                        2024-09-10 09:50:43.463	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.462	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.462	debug	---> REGEXP: /\S+\s+(\d+).*\/$/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.461	debug	------------- Filesystem 1K-blocks Used Available Use% Mounted on /dev/mmcblk0p2 30139824 5831804 22757492 21% /
                        
                        rpi2.0
                        2024-09-10 09:50:43.454	debug	---> df /
                        
                        rpi2.0
                        2024-09-10 09:50:43.454	debug	PARSING: sdcard_root_total
                        
                        rpi2.0
                        2024-09-10 09:50:43.454	debug	PARSING: sdcard
                        
                        rpi2.0
                        2024-09-10 09:50:43.453	debug	---> POST:
                        
                        rpi2.0
                        2024-09-10 09:50:43.453	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.453	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:50:43.452	debug	------------- 162783739
                        
                        rpi2.0
                        2024-09-10 09:50:43.447	debug	---> cat /sys/class/net/e*/statistics/tx_bytes
                        
                        rpi2.0
                        2024-09-10 09:50:43.446	debug	PARSING: net_send
                        
                        rpi2.0
                        2024-09-10 09:50:43.446	debug	---> POST: $1*-1
                        
                        rpi2.0
                        2024-09-10 09:50:43.446	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.446	debug	---> REGEXP: /(.*)/
                        
                        rpi2.0
                        2024-09-10 09:50:43.445	debug	------------- 148333177
                        
                        rpi2.0
                        2024-09-10 09:50:43.439	debug	---> cat /sys/class/net/e*/statistics/rx_bytes
                        
                        rpi2.0
                        2024-09-10 09:50:43.439	debug	PARSING: net_received
                        
                        rpi2.0
                        2024-09-10 09:50:43.439	debug	PARSING: network
                        
                        rpi2.0
                        2024-09-10 09:50:43.439	debug	---> POST: $1/1024
                        
                        rpi2.0
                        2024-09-10 09:50:43.439	debug	GROUPS: 2
                        
                        rpi2.0
                        2024-09-10 09:50:43.438	debug	---> REGEXP: /MemAvailable:\s+(\d+)/m
                        
                        rpi2.0
                        2024-09-10 09:50:43.437	debug	------------- MemTotal: 1891264 kB MemFree: 518764 kB MemAvailable: 1073256 kB Buffers: 81276 kB Cached: 503240 kB SwapCached: 1752 kB Active: 533516 kB Inactive: 732040 kB Active(anon): 478940 kB Inactive(anon): 202124 kB Active(file): 54576 kB Inactive(file): 529916 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 204796 kB SwapFree: 6500 kB Zswap: 0 kB Zswapped: 0 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 679248 kB Mapped: 86588 kB Shmem: 24 kB KReclaimable: 38188 kB Slab: 62956 kB SReclaimable: 38188 kB SUnreclaim: 24768 kB KernelStack: 4324 kB PageTables: 6476 kB SecPageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1150428 kB Committed_AS: 1553012 kB VmallocTotal: 257687552 kB VmallocUsed: 11984 kB VmallocChunk: 0 kB Percpu: 672 kB CmaTotal: 524288 kB CmaFree: 319716 kB
                        
                        J 2 Replies Last reply Reply Quote 0
                        • J
                          JanGa @Laser last edited by

                          @laser

                          Das dürfte der relevante Teil sein. Das sieht eigentlich sauber aus. Für mich sieht das immer noch aus, als würde die Schnittstelle zur GPIO-Library fehlen bzw. nicht installiert sein. An der Stelle muss ich erstmal wieder gucken, weil ich noch nicht verstehe wie da das Zusammenspiel zwischen NodeJS und der auf dem System installierten Bibliothek aussieht. Da man die dev Version davon installieren muss und weil diese bei der Installation des Adapters vorhanden sein muss, vermute ich mal, dass bei der Installation noch Binärcode erzeugt wird, der dann von der JS Bibliothek im Hintergrund angesprochen wird. Eventuell fehlen da auf deinem System irgendwelche Build Tools oder so? Ich werde mich da mal reinfuchsen und dann wieder melden.

                          rpi2.0
                          2024-09-10 09:50:45.318	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'output')
                           
                          rpi2.0
                          2024-09-10 09:50:45.318	debug	Port 23 direction: out
                           
                          rpi2.0
                          2024-09-10 09:50:45.317	debug	GPIO chip undefined initialized
                           
                          rpi2.0
                          2024-09-10 09:50:45.317	debug	Got chip: undefined
                           
                          rpi2.0
                          2024-09-10 09:50:45.317	debug	Buttons are pull down.
                           
                          rpi2.0
                          2024-09-10 09:50:45.317	debug	Inputs are pull down.
                           
                          rpi2.0
                          2024-09-10 09:50:45.317	debug	Got 4 from Raspberry Pi 4 Model B Rev 1.4.
                           
                          rpi2.0
                          2024-09-10 09:50:45.316	debug	STDERR:
                           
                          rpi2.0
                          2024-09-10 09:50:45.315	debug	CPU Info: Raspberry Pi 4 Model B Rev 1.4
                           
                          rpi2.0
                          2024-09-10 09:50:45.307	debug	undefined
                           
                          rpi2.0
                          2024-09-10 09:50:45.113	debug	Creating gpio.24.isInput
                           
                          rpi2.0
                          2024-09-10 09:50:45.080	debug	Creating gpio.23.isInput
                          
                          1 Reply Last reply Reply Quote 0
                          • J
                            JanGa @Laser last edited by

                            @laser kannst du mal folgendes testen:

                            /opt/iobroker/iobroker rebuild rpi2 --install
                            

                            Funktioniert das? Irgendwelche Fehlermeldungen? Falls nicht bitte einmal Instanz neu starten und nochmal testen.

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Laser @JanGa last edited by

                              @janga sagte in Test Adapter rpi2 2.x:

                              /opt/iobroker/iobroker rebuild rpi2 --install

                              Passiert das Gleiche:

                              
                              rpi2.0
                              Zeit
                              debug
                              Nachricht
                              
                              rpi2.0
                              2024-09-10 16:51:55.693	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'output')
                              
                              rpi2.0
                              2024-09-10 16:51:55.693	debug	Port 23 direction: out
                              
                              rpi2.0
                              2024-09-10 16:51:55.692	debug	GPIO chip undefined initialized
                              
                              rpi2.0
                              2024-09-10 16:51:55.692	debug	Got chip: undefined
                              
                              rpi2.0
                              2024-09-10 16:51:55.692	debug	Buttons are pull down.
                              
                              rpi2.0
                              2024-09-10 16:51:55.692	debug	Inputs are pull down.
                              
                              rpi2.0
                              2024-09-10 16:51:55.692	debug	Got 4 from Raspberry Pi 4 Model B Rev 1.4.
                              
                              rpi2.0
                              2024-09-10 16:51:55.691	debug	STDERR:
                              
                              rpi2.0
                              2024-09-10 16:51:55.690	debug	CPU Info: Raspberry Pi 4 Model B Rev 1.4
                              
                              rpi2.0
                              2024-09-10 16:51:55.682	debug	undefined
                              
                              rpi2.0
                              2024-09-10 16:51:55.597	debug	Creating gpio.24.isInput
                              
                              rpi2.0
                              2024-09-10 16:51:55.564	debug	Creating gpio.23.isInput
                              
                              rpi2.0
                              2024-09-10 16:51:55.239	debug	SETSTATE FOR rpi2.0.wlan.wifi_send VALUE = 0
                              
                              rpi2.0
                              2024-09-10 16:51:55.238	debug	---> POST: for wifi_send in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:55.181	debug	SETSTATE FOR rpi2.0.wlan.wifi_received VALUE = 0
                              
                              rpi2.0
                              2024-09-10 16:51:55.180	debug	VALUE: 0 POST: $1*-1
                              
                              rpi2.0
                              2024-09-10 16:51:55.179	debug	---> POST: $1*-1 for wifi_received in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:55.168	debug	-1
                              
                              rpi2.0
                              2024-09-10 16:51:55.167	debug	CURRENT = wlan true
                              
                              rpi2.0
                              2024-09-10 16:51:55.111	debug	SETSTATE FOR rpi2.0.uptime.uptime VALUE = 451142.1
                              
                              rpi2.0
                              2024-09-10 16:51:55.110	debug	---> POST: for uptime in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:55.099	debug	-1
                              
                              rpi2.0
                              2024-09-10 16:51:55.098	debug	CURRENT = uptime true
                              
                              rpi2.0
                              2024-09-10 16:51:55.046	debug	SETSTATE FOR rpi2.0.temperature.soc_temp VALUE = 49.66
                              
                              rpi2.0
                              2024-09-10 16:51:55.045	debug	VALUE: 49660 POST: $1/1000
                              
                              rpi2.0
                              2024-09-10 16:51:55.044	debug	---> POST: $1/1000 for soc_temp in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:55.035	debug	-1
                              
                              rpi2.0
                              2024-09-10 16:51:55.035	debug	CURRENT = temperature true
                              
                              rpi2.0
                              2024-09-10 16:51:54.975	debug	SETSTATE FOR rpi2.0.swap.swap_used VALUE = 198.01
                              
                              rpi2.0
                              2024-09-10 16:51:54.974	debug	VALUE: 2036 POST: (rpi.swap_total - $1)/1024
                              
                              rpi2.0
                              2024-09-10 16:51:54.973	debug	---> POST: (rpi.swap_total - $1)/1024 for swap_used in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.914	debug	SETSTATE FOR rpi2.0.swap.swap_total VALUE = 200
                              
                              rpi2.0
                              2024-09-10 16:51:54.913	debug	VALUE: 204796 POST: $1/1024
                              
                              rpi2.0
                              2024-09-10 16:51:54.912	debug	---> POST: $1/1024 for swap_total in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.897	debug	-1
                              
                              rpi2.0
                              2024-09-10 16:51:54.896	debug	CURRENT = swap true
                              
                              rpi2.0
                              2024-09-10 16:51:54.840	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_boot_used VALUE = 63.14
                              
                              rpi2.0
                              2024-09-10 16:51:54.839	debug	VALUE: 64654 POST: $1/1024
                              
                              rpi2.0
                              2024-09-10 16:51:54.839	debug	---> POST: $1/1024 for sdcard_boot_used in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.787	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_root_used VALUE = 5716.88
                              
                              rpi2.0
                              2024-09-10 16:51:54.786	debug	VALUE: 5854088 POST: $1/1024
                              
                              rpi2.0
                              2024-09-10 16:51:54.786	debug	---> POST: $1/1024 for sdcard_root_used in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.735	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_boot_total VALUE = 509.99
                              
                              rpi2.0
                              2024-09-10 16:51:54.734	debug	VALUE: 522230 POST: $1/1024
                              
                              rpi2.0
                              2024-09-10 16:51:54.734	debug	---> POST: $1/1024 for sdcard_boot_total in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.683	debug	SETSTATE FOR rpi2.0.sdcard.sdcard_root_total VALUE = 29433.42
                              
                              rpi2.0
                              2024-09-10 16:51:54.683	debug	VALUE: 30139824 POST: $1/1024
                              
                              rpi2.0
                              2024-09-10 16:51:54.682	debug	---> POST: $1/1024 for sdcard_root_total in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.674	debug	-1
                              
                              rpi2.0
                              2024-09-10 16:51:54.674	debug	CURRENT = sdcard true
                              
                              rpi2.0
                              2024-09-10 16:51:54.622	debug	SETSTATE FOR rpi2.0.network.net_send VALUE = 171955900
                              
                              rpi2.0
                              2024-09-10 16:51:54.622	debug	---> POST: for net_send in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.569	debug	SETSTATE FOR rpi2.0.network.net_received VALUE = -159709199
                              
                              rpi2.0
                              2024-09-10 16:51:54.568	debug	VALUE: 159709199 POST: $1*-1
                              
                              rpi2.0
                              2024-09-10 16:51:54.567	debug	---> POST: $1*-1 for net_received in [object Object]
                              
                              rpi2.0
                              2024-09-10 16:51:54.557	debug	-1
                              
                              rpi2.0
                              2024-09-10 16:51:54.557	debug	CURRENT = network true
                              
                              J Garfonso 2 Replies Last reply Reply Quote 0
                              • J
                                JanGa @Laser last edited by

                                @laser ernüchternd. Ich vermute echt, dass da irgendwann nicht funktioniert beim Zugriff auf die C++ Bibliothek. Eventuell klappt da bei der Installation des Adapters das build nicht, aber ich hätte erwartet, dass da irgendein Fehler dann bei der Installation angezeigt würde.

                                1 Reply Last reply Reply Quote 0
                                • Garfonso
                                  Garfonso Developer @Laser last edited by

                                  Hi,

                                  sorry, dass ich mich nicht gemeldet hab. Hatte ne Zeit lang keine Energie für Forum. 😕

                                  Wenn ihr ganz sicher sein wollt, dass mit der Bibliothek alles stimmt, dann führt mal im Ordner /opt/iobroker das Kommanto aus: npm list opengpio
                                  Das Ergebnise sollte dann sowas sein:

                                  iobroker.inst@3.0.0 /opt/iobroker
                                  └─┬ iobroker.rpi2@2.0.0
                                  └── opengpio@1.0.14
                                  

                                  Falls es zu opengpio keine Treffer gibt (sieht dann so aus):

                                  iobroker.inst@1.3.1 /opt/iobroker
                                  └── (empty)
                                  

                                  dann fehlt die Bibliothek für die GPIOs.

                                  Ich hab gerade mal auf meinem Test-PI rumgefummelt. Wenn der Adapter installiert ist, aber die Bibliothek noch nicht installiert war, daher die optionale dependency nicht installiert ist, ist das tatsächlich etwas fummelig... der rebuild Befehl funktioniert dann nicht.
                                  Stell mal sicher, dass die Bibliothek da ist, z.B. mit:
                                  sudo apt install --reinstall libgpiod-dev
                                  danach den rpi2 Adapter neuinstallieren, dazu hab ich den Befehl iob upgrade rpi2@2.0.0 genommen. Da hat mich iobroker dann gefragt, ob ich den adapter neu installieren will, worauf ich mit Ja geantwortet hab. Da muss dann die Instanz nicht gelöscht werden, soweit ich das sehe. Man muss aber ggf. die Version anpassen, wenn man das später nochmal braucht. 😉

                                  Danach zeigt dann npm list das opengpio modul korrekt an. Ich fürchte das ist, wo es bei den meisten immer noch hängt. 😕
                                  @mcm1957 wie gehen wir damit am besten um? Am besten eine Info, wenn man auf 2.0.0 umstellt, oder? Hm.

                                  S mcm1957 2 Replies Last reply Reply Quote 1
                                  • S
                                    searcher57 @Garfonso last edited by

                                    @garfonso said in Test Adapter rpi2 2.x:

                                    Hi,

                                    sorry, dass ich mich nicht gemeldet hab. Hatte ne Zeit lang keine Energie für Forum. 😕

                                    Wenn ihr ganz sicher sein wollt, dass mit der Bibliothek alles stimmt, dann führt mal im Ordner /opt/iobroker das Kommanto aus: npm list opengpio
                                    Das Ergebnise sollte dann sowas sein:

                                    iobroker.inst@3.0.0 /opt/iobroker
                                    └─┬ iobroker.rpi2@2.0.0
                                    └── opengpio@1.0.14
                                    

                                    Falls es zu opengpio keine Treffer gibt (sieht dann so aus):

                                    iobroker.inst@1.3.1 /opt/iobroker
                                    └── (empty)
                                    

                                    dann fehlt die Bibliothek für die GPIOs.

                                    Ich hab gerade mal auf meinem Test-PI rumgefummelt. Wenn der Adapter installiert ist, aber die Bibliothek noch nicht installiert war, daher die optionale dependency nicht installiert ist, ist das tatsächlich etwas fummelig... der rebuild Befehl funktioniert dann nicht.
                                    Stell mal sicher, dass die Bibliothek da ist, z.B. mit:
                                    sudo apt install --reinstall libgpiod-dev
                                    danach den rpi2 Adapter neuinstallieren, dazu hab ich den Befehl iob upgrade rpi2@2.0.0 genommen. Da hat mich iobroker dann gefragt, ob ich den adapter neu installieren will, worauf ich mit Ja geantwortet hab. Da muss dann die Instanz nicht gelöscht werden, soweit ich das sehe. Man muss aber ggf. die Version anpassen, wenn man das später nochmal braucht. 😉

                                    Danach zeigt dann npm list das opengpio modul korrekt an. Ich fürchte das ist, wo es bei den meisten immer noch hängt. 😕
                                    @mcm1957 wie gehen wir damit am besten um? Am besten eine Info, wenn man auf 2.0.0 umstellt, oder? Hm.

                                    Hallo,
                                    ich habe gerade den Befehl getestet.

                                    pi@Raspi58GB:/opt/iobroker $ npm list opengpio
                                    iobroker.inst@3.0.0 /opt/iobroker
                                    └─┬ iobroker.rpi2@2.0.0
                                      └── opengpio@1.0.16
                                    
                                    pi@Raspi58GB:/opt/iobroker $
                                    
                                    

                                    Leider ohne Erfolg! Weiter oben sind weitere Infos zu meinem Problem.😥

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      searcher57 @searcher57 last edited by

                                      @searcher57 said in Test Adapter rpi2 2.x:

                                      @garfonso said in Test Adapter rpi2 2.x:

                                      Hi,

                                      sorry, dass ich mich nicht gemeldet hab. Hatte ne Zeit lang keine Energie für Forum. 😕

                                      Wenn ihr ganz sicher sein wollt, dass mit der Bibliothek alles stimmt, dann führt mal im Ordner /opt/iobroker das Kommanto aus: npm list opengpio
                                      Das Ergebnise sollte dann sowas sein:

                                      iobroker.inst@3.0.0 /opt/iobroker
                                      └─┬ iobroker.rpi2@2.0.0
                                      └── opengpio@1.0.14
                                      

                                      Falls es zu opengpio keine Treffer gibt (sieht dann so aus):

                                      iobroker.inst@1.3.1 /opt/iobroker
                                      └── (empty)
                                      

                                      dann fehlt die Bibliothek für die GPIOs.

                                      Ich hab gerade mal auf meinem Test-PI rumgefummelt. Wenn der Adapter installiert ist, aber die Bibliothek noch nicht installiert war, daher die optionale dependency nicht installiert ist, ist das tatsächlich etwas fummelig... der rebuild Befehl funktioniert dann nicht.
                                      Stell mal sicher, dass die Bibliothek da ist, z.B. mit:
                                      sudo apt install --reinstall libgpiod-dev
                                      danach den rpi2 Adapter neuinstallieren, dazu hab ich den Befehl iob upgrade rpi2@2.0.0 genommen. Da hat mich iobroker dann gefragt, ob ich den adapter neu installieren will, worauf ich mit Ja geantwortet hab. Da muss dann die Instanz nicht gelöscht werden, soweit ich das sehe. Man muss aber ggf. die Version anpassen, wenn man das später nochmal braucht. 😉

                                      Danach zeigt dann npm list das opengpio modul korrekt an. Ich fürchte das ist, wo es bei den meisten immer noch hängt. 😕
                                      @mcm1957 wie gehen wir damit am besten um? Am besten eine Info, wenn man auf 2.0.0 umstellt, oder? Hm.

                                      Hallo,
                                      ich habe gerade den Befehl getestet.

                                      pi@Raspi58GB:/opt/iobroker $ npm list opengpio
                                      iobroker.inst@3.0.0 /opt/iobroker
                                      └─┬ iobroker.rpi2@2.0.0
                                        └── opengpio@1.0.16
                                      
                                      pi@Raspi58GB:/opt/iobroker $
                                      
                                      

                                      Leider ohne Erfolg! Weiter oben sind weitere Infos zu meinem Problem.😥

                                      Hier nochmal ein aktuelles Log:

                                      rpi2.0
                                      	2024-09-16 16:55:21.468	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
                                      rpi2.0
                                      	2024-09-16 16:55:20.795	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.20.4, js-controller: 6.0.11
                                      rpi2.0
                                      	2024-09-16 16:55:16.595	info	terminating
                                      rpi2.0
                                      	2024-09-16 16:55:16.096	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      rpi2.0
                                      	2024-09-16 16:55:16.096	info	terminating
                                      rpi2.0
                                      	2024-09-16 16:55:16.094	info	Got terminate signal TERMINATE_YOURSELF
                                      rpi2.0
                                      	2024-09-16 16:52:02.829	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
                                      rpi2.0
                                      	2024-09-16 16:52:02.182	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.20.4, js-controller: 6.0.11
                                      rpi2.0
                                      	2024-09-16 16:51:57.916	info	terminating
                                      rpi2.0
                                      	2024-09-16 16:51:57.416	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      rpi2.0
                                      	2024-09-16 16:51:57.415	info	terminating
                                      rpi2.0
                                      	2024-09-16 16:51:57.414	info	Got terminate signal TERMINATE_YOURSELF
                                      rpi2.0
                                      	2024-09-16 16:51:31.690	error	Cannot setup port 17 as input: Error: EINVAL: invalid argument, write
                                      rpi2.0
                                      	2024-09-16 16:51:31.689	error	Cannot setup port 23 as input: Error: EINVAL: invalid argument, write
                                      rpi2.0
                                      	2024-09-16 16:51:31.400	error	Cannot evaluate: Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf/dev/mmcblk0p2 60841608 12947520 44784636 23% //1024
                                      rpi2.0
                                      	2024-09-16 16:51:31.400	error	Cannot evaluate: Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf/dev/mmcblk0p2 60841608 12947520 44784636 23% //1024
                                      rpi2.0
                                      	2024-09-16 16:51:31.244	info	starting. Version 1.3.2 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.20.4, js-controller: 6.0.11
                                      rpi2.0
                                      	2024-09-16 16:51:26.942	info	terminating
                                      rpi2.0
                                      	2024-09-16 16:51:26.441	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      rpi2.0
                                      	2024-09-16 16:51:26.441	info	terminating
                                      rpi2.0
                                      	2024-09-16 16:51:26.440	info	Got terminate signal TERMINATE_YOURSELF
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @searcher57 last edited by

                                        @searcher57 sagte in Test Adapter rpi2 2.x:

                                        Version 1.3.2 in /opt/iobroker/node_modules/iobroker.rpi2

                                        Da läuft noch die Version 1.3.2.
                                        Was auch die Meldungen erklärt:

                                        2024-09-16 16:51:31.400 error Cannot evaluate: Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf/dev/mmcblk0p2 60841608 12947520 44784636 23% //1024

                                        Die erscheinen nämlich in der 2.0.0 Beta nicht mehr.

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

                                          @thomas-braun said in Test Adapter rpi2 2.x:

                                          @searcher57 sagte in Test Adapter rpi2 2.x:

                                          Version 1.3.2 in /opt/iobroker/node_modules/iobroker.rpi2

                                          Da läuft noch die Version 1.3.2.
                                          Was auch die Meldungen erklärt:

                                          2024-09-16 16:51:31.400	error	Cannot evaluate: Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf/dev/mmcblk0p2 60841608 12947520 44784636 23% //1024
                                          

                                          Die erscheinen nämlich in der 2.0.0 Beta nicht mehr.

                                          Hallo,
                                          danke für den Hinweis. Nach einem iob restart kommen diese Meldungen:

                                          rpi2.0
                                          	2024-09-16 17:17:34.634	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
                                          rpi2.0
                                          	2024-09-16 17:17:33.526	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.20.4, js-controller: 6.0.11
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            searcher57 @searcher57 last edited by

                                            @searcher57 said in Test Adapter rpi2 2.x:

                                            @thomas-braun said in Test Adapter rpi2 2.x:

                                            @searcher57 sagte in Test Adapter rpi2 2.x:

                                            Version 1.3.2 in /opt/iobroker/node_modules/iobroker.rpi2

                                            Da läuft noch die Version 1.3.2.
                                            Was auch die Meldungen erklärt:

                                            2024-09-16 16:51:31.400	error	Cannot evaluate: Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf/dev/mmcblk0p2 60841608 12947520 44784636 23% //1024
                                            

                                            Die erscheinen nämlich in der 2.0.0 Beta nicht mehr.

                                            Hallo,
                                            danke für den Hinweis. Nach einem iob restart kommen diese Meldungen:

                                            rpi2.0
                                            	2024-09-16 17:17:34.634	error	Cannot initialize/setMode GPIO: TypeError: Cannot read properties of undefined (reading 'watch')
                                            rpi2.0
                                            	2024-09-16 17:17:33.526	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v18.20.4, js-controller: 6.0.11
                                            

                                            Nach wie vor diese Ausgabe:
                                            4da04421-ddc8-4e88-9ef0-24d753d15d82-grafik.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            27
                                            504
                                            63304
                                            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