Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Slave ist offline

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Slave ist offline

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Manuel001 @Wildbill last edited by Manuel001

      @wildbill Naja ganz so leicht ist es nicht. Der Raspi ist ziemlich gut verbaut und noch ein Arduino darüber (hängt am USB vom Raspi).
      Ich schaue mal, ob ich irgendwie dazu komme ohne ihn auszustecken.

      Bezüglich "hartes Strom wegnehmen": (Ich weiß, dass ich dafür gelyncht werde)
      Der 2. Slave ist in einer Wallbox verbaut und da wird fast jeden Tag hart der Strom abgeschaltet. Das läuft seit 2 Jahren absolut ohne Fehler. Genau der, der immer durchläuft und vor den Problemen wirklich nie einfach so abgesteckt wurde, verhält sich jetzt so.
      Das soll kein Beweis sein, dass einfach ausstecken kein Problem ist. Bei der Wallbox gehe ich das Risiko bewusst ein, weil im schlimmsten Fall laden mit PV Überschuss nicht mehr geht.
      So, jetzt schaue ich mal, dass ich da irgendwie ran komme.

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

        @manuel001 sagte in Slave ist offline:

        noch ein Arduino darüber (hängt am USB vom Raspi).

        zur Stromversorgung?

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

          @homoran sagte in Slave ist offline:

          zur Stromversorgung?

          Nein, zur Datenübertragung. (Arduino hat eigene Versorgung)
          Mit dem Arduino messe ich Analogwerte und steuere ein paar Relais an. Der läuft eigenständig. Aber der Raspi kann dem Arduino über USB ein paar Befehle senden. Allerdings hat der Arduino an den Tagen bzw. zu den Zeiten an denen der Raspi ausgefallen ist, keine Schaltaktionen durchgeführt. EMV würde ich deshalb ausschließen.

          Über HDMI gibt der Raspi auch nichts aus. Jetzt wird es vermutlich Zeit für Spannung abstecken?

          M 1 Reply Last reply Reply Quote 0
          • M
            Manuel001 @Manuel001 last edited by

            Spannung ab und wieder angesteckt, dann hat es auch gleich die HDMI Ausgabe gegeben.
            Er wurde vom Master auch dann gleich wieder als Online angezeigt.
            Es läuft wie wenn nie was gewesen wäre.
            Folgende Instanzen laufen:
            javascript.0
            node-red.0
            rpi2.1

            Freier Festplattenspeicher: 57%, Gesamte RAM-Auslastung: 291 Mb / Frei: 71% = 652 Mb [Server: ioBrokerHeimspeicher - 4 Prozesse]

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

              @manuel001 wenn du jetzt auf dem slave bist, bitte die Ausgabe von iob diag

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

                @homoran

                ======================= SUMMARY =======================
                                     v.2023-01-02
                
                
                Operatingsystem:        Raspbian GNU/Linux 10 (buster)
                Installation:           Native
                Timezone:               Europe/Berlin
                User-ID:                1000
                X-Server:               false
                Boot Target:            graphical.target
                
                Pending OS-Updates:     12
                
                Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                        /usr/bin/node           v16.19.0
                                        /usr/bin/npm            8.19.3
                                        /usr/bin/npx            8.19.3
                
                ioBroker Core:          js-controller           4.0.24
                                        admin                   6.3.5
                
                ioBroker Status:        iobroker is running on this host.
                
                At least one iobroker host is running.
                
                Objects type: jsonl
                States  type: jsonl
                
                Status admin:
                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                
                Pending iob updates:    0
                
                Active repo(s): stable
                
                Objects:                3106
                States:                 2344
                
                Size of iob-Database:
                
                256K    /opt/iobroker/iobroker-data/objects.jsonl
                248K    /opt/iobroker/iobroker-data/objects.json.migrated
                248K    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                244K    /opt/iobroker/iobroker-data/states.jsonl
                236K    /opt/iobroker/iobroker-data/states.json.migrated
                236K    /opt/iobroker/iobroker-data/states.json.bak.migrated
                
                
                =================== END OF SUMMARY ====================
                
                
                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Manuel001 last edited by

                  @manuel001 da fehlt das wichtigste!

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

                    @homoran

                    Skript v.2023-01-02
                    
                    *** BASE SYSTEM ***
                    Model           : Raspberry Pi 2 Model B Rev 1.1
                    Architecture:   armv7l
                    Docker:         false
                    Virtualization: none
                    Distributor ID: Raspbian
                    Description:    Raspbian GNU/Linux 10 (buster)
                    Release:        10
                    Codename:       buster
                    
                    PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                    NAME="Raspbian GNU/Linux"
                    VERSION_ID="10"
                    VERSION="10 (buster)"
                    VERSION_CODENAME=buster
                    ID=raspbian
                    ID_LIKE=debian
                    HOME_URL="http://www.raspbian.org/"
                    SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                    BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                    
                    Systemuptime and Load:
                     18:57:02 up 40 min,  1 user,  load average: 0.14, 0.36, 0.32
                    CPU threads: 4
                    
                    *** Time and Time Zones ***
                    Thu Mar  9 17:57:03 UTC 2023
                    Thu Mar  9 18:57:03 CET 2023
                    CET +0100
                    Europe/Berlin
                    
                    *** User and Groups ***
                    pi
                    /home/pi
                    pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                    
                    *** X-Server-Setup ***
                    X-Server:       false
                    Desktop:
                    Terminal:       tty
                    Boot Target:    graphical.target
                    
                    *** MEMORY ***
                                  total        used        free      shared  buff/cache   available
                    Mem:           923M        257M        289M        6.0M        376M        623M
                    Swap:           99M          0B         99M
                    Total:         1.0G        257M        389M
                    
                              923 M total memory
                              257 M used memory
                              237 M active memory
                              331 M inactive memory
                              289 M free memory
                               53 M buffer memory
                              322 M swap cache
                               99 M total swap
                                0 M used swap
                               99 M free swap
                    
                    *** FILESYSTEM ***
                    Filesystem     Type      Size  Used Avail Use% Mounted on
                    /dev/root      ext4      7.1G  3.1G  3.7G  46% /
                    devtmpfs       devtmpfs  430M     0  430M   0% /dev
                    tmpfs          tmpfs     462M     0  462M   0% /dev/shm
                    tmpfs          tmpfs     462M  6.2M  456M   2% /run
                    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                    tmpfs          tmpfs     462M     0  462M   0% /sys/fs/cgroup
                    /dev/mmcblk0p1 vfat      253M   49M  204M  20% /boot
                    tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
                    
                    Messages in dmesg:
                    [Thu Mar  9 18:16:56 2023] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=99f5034b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                    [Thu Mar  9 18:17:00 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                    [Thu Mar  9 18:17:00 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                    [Thu Mar  9 18:17:02 2023] EXT4-fs (mmcblk0p2): recovery complete
                    [Thu Mar  9 18:17:02 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                    [Thu Mar  9 18:17:02 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                    [Thu Mar  9 18:17:05 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                    
                    Show mounted filesystems (real ones only):
                    TARGET        SOURCE         FSTYPE OPTIONS
                    /             /dev/mmcblk0p2 ext4   rw,noatime
                    |-/sys/fs/bpf none           bpf    rw,nosuid,nodev,noexec,relatime,mode=700
                    `-/boot       /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                    
                    Files in neuralgic directories:
                    
                    /var:
                    421M    /var/
                    227M    /var/cache
                    221M    /var/cache/apt
                    162M    /var/cache/apt/archives
                    92M     /var/lib
                    
                    /opt/iobroker/backups:
                    du: cannot access '/opt/iobroker/backups/': No such file or directory
                    
                    /opt/iobroker/iobroker-data:
                    16M     /opt/iobroker/iobroker-data/
                    11M     /opt/iobroker/iobroker-data/node-red
                    10M     /opt/iobroker/iobroker-data/node-red/node_modules
                    6.8M    /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-blockly
                    5.3M    /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-blockly/lib
                    
                    The five largest files in iobroker-data are:
                    860K    /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-blockly/images/blockly_intro.gif
                    780K    /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-blockly/lib/basic/blockly_accessible_compressed.js
                    736K    /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-blockly/lib/basic/blockly_compressed.js
                    440K    /opt/iobroker/iobroker-data/files/info.admin/lib/fonts/fontawesome-webfont.svg
                    428K    /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-blockly/images/blockly_hello_world.gif
                    
                    *** NodeJS-Installation ***
                    
                    /usr/bin/nodejs         v16.19.0
                    /usr/bin/node           v16.19.0
                    /usr/bin/npm            8.19.3
                    /usr/bin/npx            8.19.3
                    
                    nodejs:
                      Installed: 16.19.0-deb-1nodesource1
                      Candidate: 16.19.1-deb-1nodesource1
                      Version table:
                         16.19.1-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                     *** 16.19.0-deb-1nodesource1 100
                            100 /var/lib/dpkg/status
                         10.24.0~dfsg-1~deb10u3 500
                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                    
                    Temp directories causing npm8 problem: 0
                    
                    *** ioBroker-Installation ***
                    
                    ioBroker Status
                    iobroker is running on this host.
                    
                    At least one iobroker host is running.
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Core adapters versions
                    js-controller:  4.0.24
                    admin:          6.3.5
                    javascript:     6.1.4
                    
                    Adapters from github:   0
                    
                    Adapter State
                    + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
                      system.adapter.discovery.0              : discovery             : ioBrokerWallbox                          -  enabled
                    + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
                    + system.adapter.email.1                  : email                 : iobroker                                 -  enabled
                      system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
                    + system.adapter.fronius.0                : fronius               : iobroker                                 -  enabled
                    + system.adapter.history.0                : history               : iobroker                                 -  enabled
                    + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
                    + system.adapter.javascript.0             : javascript            : ioBrokerHeimspeicher                     -  enabled
                    + system.adapter.javascript.1             : javascript            : iobroker                                 -  enabled
                    + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
                    + system.adapter.modbus.1                 : modbus                : iobroker                                 -  enabled
                    + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1886, bind: 0.0.0.0
                      system.adapter.netatmo-crawler.0        : netatmo-crawler       : iobroker                                 -  enabled
                    + system.adapter.node-red.0               : node-red              : ioBrokerHeimspeicher                     -  enabled, port: 1880, bind: 0.0.0.0
                      system.adapter.node-red.2               : node-red              : ioBrokerWallbox                          -  enabled, port: 1880, bind: 0.0.0.0
                    + system.adapter.node-red.3               : node-red              : iobroker                                 -  enabled, port: 1880, bind: 0.0.0.0
                    + system.adapter.rpi2.1                   : rpi2                  : ioBrokerHeimspeicher                     -  enabled
                    + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
                      system.adapter.vis-history.0            : vis-history           : iobroker                                 -  enabled
                      system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 -  enabled
                      system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 -  enabled
                      system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
                      system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                    + system.adapter.vw-connect.0             : vw-connect            : iobroker                                 -  enabled
                    + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      system.adapter.worx.0                   : worx                  : iobroker                                 - disabled
                    
                    + instance is alive
                    
                    Enabled adapters with bindings
                    + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1886, bind: 0.0.0.0
                    + system.adapter.node-red.0               : node-red              : ioBrokerHeimspeicher                     -  enabled, port: 1880, bind: 0.0.0.0
                      system.adapter.node-red.2               : node-red              : ioBrokerWallbox                          -  enabled, port: 1880, bind: 0.0.0.0
                    + system.adapter.node-red.3               : node-red              : iobroker                                 -  enabled, port: 1880, bind: 0.0.0.0
                    + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
                    + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    ioBroker-Repositories
                    stable        : http://download.iobroker.net/sources-dist.json
                    beta          : http://download.iobroker.net/sources-dist-latest.json
                    
                    Active repo(s): stable
                    
                    Installed ioBroker-Instances
                    Used repository: stable
                    Adapter    "admin"        : 6.3.5    , installed 6.3.5
                    Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                    Adapter    "info"         : 1.9.19   , installed 1.9.19
                    Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                    Controller "js-controller": 4.0.24   , installed 4.0.24
                    Adapter    "modbus"       : 5.0.11   , installed 5.0.11
                    Adapter    "node-red"     : 4.0.0    , installed 4.0.0
                    Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                    Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                    
                    Objects and States
                    Please stand by - This may take a while
                    Objects:        3106
                    States:         2340
                    
                    *** OS-Repositories and Updates ***
                    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                    Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                    Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
                    Reading package lists...
                    Pending Updates: 12
                    
                    *** Listening Ports ***
                    Active Internet connections (only servers)
                    Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          16516      419/sshd
                    tcp        0      0 0.0.0.0:1880            0.0.0.0:*               LISTEN      1001       18535      764/node-red
                    tcp6       0      0 :::22                   :::*                    LISTEN      0          16518      419/sshd
                    udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12177      409/dhcpcd
                    udp        0      0 0.0.0.0:49316           0.0.0.0:*                           108        12137      287/avahi-daemon: r
                    udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12135      287/avahi-daemon: r
                    udp6       0      0 :::5353                 :::*                                108        12136      287/avahi-daemon: r
                    udp6       0      0 :::52694                :::*                                108        12138      287/avahi-daemon: r
                    
                    *** Log File - Last 25 Lines ***
                    
                    
                    
                    2023-03-09 18:53:38.507  - info: node-red.0 (735) 9 Mar 18:53:38 - [info] [debug:dbacb8a3.876758]
                    13.03
                    
                    
                    2023-03-09 18:53:53.370  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -140.03333333333293
                    2023-03-09 18:54:26.320  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -140.01666666666628
                    2023-03-09 18:54:57.395  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.9666666666663
                    2023-03-09 18:55:28.410  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.85555555555518
                    2023-03-09 18:56:01.398  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.72222222222186
                    2023-03-09 18:56:33.344  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.63333333333296
                    2023-03-09 18:57:05.311  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.55555555555517
                    2023-03-09 18:57:36.331  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.4777777777774
                    2023-03-09 18:58:08.416  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -139.43333333333294
                    2023-03-09 18:58:39.326  - info: node-red.0 (735) 9 Mar 18:58:39 - [info] [debug:Eingang Arduino]
                    Batteriespannung 13.03V
                    
                    
                    2023-03-09 18:58:39.336  - info: node-red.0 (735) 9 Mar 18:58:39 - [info] [debug:dbacb8a3.876758]
                    13.03
                    
                    
                    2023-03-09 18:58:40.449  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -148.76111111111072
                    2023-03-09 18:59:12.376  - info: javascript.0 (742) script.js.Heimspeicher.Debug: Überschuss -166.10555555555516
                    
                    
                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Manuel001 last edited by

                      @manuel001 sagte in Slave ist offline:

                      Model : Raspberry Pi 2 Model B Rev 1.1

                      das ist doch der Master, oder?

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

                        @homoran Nein, das hatte ich falsch im Kopf. Slave 1 ist auch ein Raspi 2. Das habe ich oben gleich ausgebessert, wie er erstmals wieder hochgefahren ist und ich es gesehen habe.
                        Ich bin da definitiv am Slave 1 (ioBrokerHeimspeicher) drauf.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Manuel001 @Manuel001 last edited by

                          Das System ist seit März ohne Probleme gelaufen.
                          Vor 3 Tagen hatte ich wieder das gleiche Problem wie oben beschrieben und jetzt schon wieder.
                          Also pingen geht, aber kein SSH und keine HDMI Ausgabe.
                          Die LEDs am Raspi verhalten sich auch wieder wie oben beschrieben.
                          Systemaktualisierung habe ich vor wenigen Wochen gemacht.
                          Jemand eine Idee, was ich noch versuchen kann?

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

                          Support us

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

                          489
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          4
                          28
                          832
                          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