Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Sascha Hartmann

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

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

    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 35
    • Best 0
    • Groups 1

    Sascha Hartmann

    @Sascha Hartmann

    Starter

    0
    Reputation
    7
    Profile views
    35
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Sascha Hartmann Follow
    Starter

    Latest posts made by Sascha Hartmann

    • RE: Installationsprobleme

      @thomas-braun said in Installationsprobleme:

      iobroker url https://github.com/Grothesk242/ioBroker.rpi2 --host scheyer --debug

      Danke jetzt gehts danke dir

      posted in ioBroker Allgemein
      Sascha Hartmann
      Sascha Hartmann
    • RE: Installationsprobleme

      @thomas-braun said in Installationsprobleme:

      @sascha-hartmann

      Installier mal diesen Fork:

      https://github.com/Grothesk242/ioBroker.rpi2

      scheyer@scheyer:~ $ sudo apt-get update
      Hit:1 http://archive.raspberrypi.com/debian trixie InRelease
      Hit:2 http://deb.debian.org/debian trixie InRelease
      Hit:3 http://deb.debian.org/debian trixie-updates InRelease
      Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
      Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
      Reading package lists... Done
      W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
      scheyer@scheyer:~ $ sudo apt-get install -y build-essential python
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      Package python is not available, but is referred to by another package.
      This may mean that the package is missing, has been obsoleted, or
      is only available from another source
      However the following packages replace it:
        python-is-python3
      
      E: Package 'python' has no installation candidate
      scheyer@scheyer:~ $ sudo apt-get install -y libgpiod-dev
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      libgpiod-dev is already the newest version (2.2.1-2).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      

      Will er auch nicht

      posted in ioBroker Allgemein
      Sascha Hartmann
      Sascha Hartmann
    • RE: Installationsprobleme

      @thomas-braun said in Installationsprobleme:

      @sascha-hartmann

      Installier mal diesen Fork:

      https://github.com/Grothesk242/ioBroker.rpi2

      Ok Mach ich was hat es aber auch mit dem auf sich ?

      Warning: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details

      posted in ioBroker Allgemein
      Sascha Hartmann
      Sascha Hartmann
    • RE: Installationsprobleme

      @thomas-braun said in Installationsprobleme:

      @sascha-hartmann

      sudo reboot
      

      Und dann den Fixer.

      Danke schonmal für die Schnelle Hilfe
      Das hat schonmal Funktioniert

      Nun Habe ich nur noch das Problem beim Installieren von rpi2

      Meldung im IOBrocker

      $ iobroker add rpi2 --host scheyer

      NPM version: 10.9.4

      Installing iobroker.rpi2@2.4.0... (System call)

      host.scheyer Cannot install iobroker.rpi2@2.4.0: 1

      ERROR: Process exited with code 25

      im iob diak folgende ausgabe

      
      ========== Start marking the full check here ===========
      
      ```bash
      Script v.2025-08-09
      
      *** BASE SYSTEM ***
      Operating System: Debian GNU/Linux 13 (trixie)
       Static hostname: scheyer
             Icon name: computer
                Kernel: Linux 6.12.47+rpt-rpi-2712
          Architecture: arm64
      OS is similar to:
      
      Model           : Raspberry Pi 5 Model B Rev 1.1
      Docker          : false
      Virtualization  : none
      Kernel          : aarch64
      Userland        : 64 bit
      
      Systemuptime and Load:
       10:58:15 up 16 min,  3 users,  load average: 0.04, 0.08, 0.07
      CPU threads: 4
      
      
      *** LIFE CYCLE STATUS ***
      Operating System is the current Debian stable version codenamed 'trixie'!
      
      *** RASPBERRY THROTTLING ***
      Current issues:
      No throttling issues detected.
      
      Previously detected issues:
      No throttling issues detected.
      
      *** TIME AND TIMEZONES ***
                     Local time: Fri 2025-10-31 10:58:15 CET
                 Universal time: Fri 2025-10-31 09:58:15 UTC
                       RTC time: Fri 2025-10-31 09:58:15
                      Time zone: Europe/Berlin (CET, +0100)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      
      *** Users and Groups ***
      User that called 'iob diag':
      scheyer
      HOME=/home/scheyer
      GROUPS=scheyer adm dialout cdrom sudo audio video plugdev games users netdev lpadmin gpio i2c spi render input iobroker
      
      User that is running 'js-controller':
      iobroker
      HOME=/home/iobroker
      SUDO_HOME=/home/scheyer
      GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
      
      *** DISPLAY-SERVER SETUP ***
      Display-Server:         true
      Display-Manager:        * lightdm.service - Light Display Manager
      Desktop:
      Session:                tty
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            8.5G        1.2G        6.4G         47M        1.0G        7.3G
      Swap:           2.1G          0B        2.1G
      Total:           10G        1.2G        8.5G
      
      Active iob-Instances:   5
      
               8063 M total memory
               1135 M used memory
               1149 M active memory
                527 M inactive memory
               6066 M free memory
                 63 M buffer memory
                929 M swap cache
               2047 M total swap
                  0 M used swap
               2047 M free swap
      
      *** top - Table Of Processes  ***
      top - 10:58:16 up 16 min,  3 users,  load average: 0.03, 0.07, 0.07
      Tasks: 225 total,   1 running, 224 sleeping,   0 stopped,   0 zombie
      %Cpu(s):  0.0 us,  2.4 sy,  0.0 ni, 97.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      MiB Mem :   8063.0 total,   6066.5 free,   1136.1 used,    993.0 buff/cache
      MiB Swap:   2048.0 total,   2048.0 free,      0.0 used.   6926.9 avail Mem
      
      *** FAILED SERVICES ***
      
        UNIT LOAD ACTIVE SUB DESCRIPTION
      
      0 loaded units listed.
      
      
      *** DMESG CRITICAL ERRORS ***
      No critical errors detected
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      udev           devtmpfs  3.9G     0  3.9G   0% /dev
      tmpfs          tmpfs     1.6G   15M  1.6G   1% /run
      /dev/mmcblk0p2 ext4       57G  8.0G   47G  15% /
      tmpfs          tmpfs     4.0G  400K  4.0G   1% /dev/shm
      tmpfs          tmpfs     5.0M   48K  5.0M   1% /run/lock
      tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
      tmpfs          tmpfs     4.0G  9.6M  4.0G   1% /tmp
      /dev/mmcblk0p1 vfat      510M   78M  433M  16% /boot/firmware
      tmpfs          tmpfs     807M  272K  807M   1% /run/user/1000
      tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/serial-getty@ttyAMA10.service
      tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
      
      Messages concerning ext4 filesystem in dmesg:
      [Fri Oct 31 10:41:30 2025] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0  numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=88:A2:9E:32:54:6D vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=020d43bb-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=DE
      [Fri Oct 31 10:41:31 2025] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
      [Fri Oct 31 10:41:31 2025] EXT4-fs (mmcblk0p2): mounted filesystem 37d2cb52-513e-40e1-b90f-213aa6096cba ro with ordered data mode. Quota mode: none.
      [Fri Oct 31 10:41:32 2025] EXT4-fs (mmcblk0p2): re-mounted 37d2cb52-513e-40e1-b90f-213aa6096cba r/w.
      
      Show mounted filesystems:
      TARGET           SOURCE         FSTYPE OPTIONS
      /                /dev/mmcblk0p2 ext4   rw,noatime
      `-/boot/firmware /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
      
      Files in neuralgic directories:
      
      /var:
      2.5G    /var/
      215M    /var/lib
      209M    /var/cache
      202M    /var/cache/apt
      146M    /var/lib/apt
      
      Archived and active journals take up 8M in the file system.
      
      /opt/iobroker/backups:
      4.0K    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      99M     /opt/iobroker/iobroker-data/
      93M     /opt/iobroker/iobroker-data/files
      47M     /opt/iobroker/iobroker-data/files/admin.admin
      46M     /opt/iobroker/iobroker-data/files/admin.admin/custom/assets
      46M     /opt/iobroker/iobroker-data/files/admin.admin/custom
      
      The five largest files in iobroker-data are:
      8.6M    /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-BBu8-Y_o.js
      5.8M    /opt/iobroker/iobroker-data/objects.jsonl
      4.6M    /opt/iobroker/iobroker-data/files/javascript.admin/vs/language/typescript/tsWorker.js
      3.7M    /opt/iobroker/iobroker-data/files/javascript.admin/custom/assets/index-DwsbskQy.js
      3.7M    /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-00V6sJFg.js
      
      USB-Devices by-id:
      USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
      
      No Devices found 'by-id'
      
      Zigbee Network Settings on your coordinator/in nvbackup are:
      
      zigbee.X
      Extended Pan ID:
      *** MASKED ***
      Pan ID:
      *** MASKED ***
      Channel:
      *** MASKED ***
      Network Key:
      *** MASKED ***
      
      To unmask the settings run 'iob diag --unmask'
      
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v22.21.0
      /usr/bin/node           v22.21.0
      /usr/bin/npm            10.9.4
      /usr/bin/npx            10.9.4
      /usr/bin/corepack       0.34.0
      
      nodejs:
        Installed: 22.21.0-1nodesource1
        Candidate: 22.21.0-1nodesource1
        Version table:
       *** 22.21.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
              100 /var/lib/dpkg/status
           22.20.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.19.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.17.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.15.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.13.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.5.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.4.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           22.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           20.19.2+dfsg-1 500
              500 http://deb.debian.org/debian trixie/main arm64 Packages
      
      Temp directories causing deletion problem: 0
      No problems detected
      
      Errors in npm tree: 0
      No problems detected
      
      Checking for nodejs vulnerability:
      
      
       █████  ██      ██           ██████   ██████   ██████  ██████         ██
      ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
      ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
      ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
      ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
      
      
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Hosts:
      scheyer             scheyer (version: 7.0.7, hostname: scheyer       , alive, uptime: 286)
      
      Core adapters versions
      js-controller:  7.0.7
      admin:          7.7.2
      javascript:     8.9.2
      
      nodejs modules from github:     0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : scheyer                                  -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.backitup.0               : backitup              : scheyer                                  -  enabled
      + system.adapter.discovery.0              : discovery             : scheyer                                  -  enabled
      + system.adapter.javascript.0             : javascript            : scheyer                                  -  enabled
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : scheyer                                  -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      
      ioBroker-Repositories
      ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
      │ (index) │ name     │ url                                                     │ auto upgrade │
      ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
      │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
      │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
      └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
      
      Active repo(s): stable
      Upgrade policy: none
      
      Installed ioBroker-Adapters
      Used repository: stable
      Adapter    "admin"        : 7.7.2    , installed 7.7.2
      Adapter    "backitup"     : 3.3.5    , installed 3.3.5
      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
      Adapter    "javascript"   : 8.9.2    , installed 8.9.2
      Controller "js-controller": 7.0.7    , installed 7.0.7
      
      Objects and States
      Please stand by - This may take a while
      Objects:        184
      States:         124
      
      *** OS-Repositories and Updates ***
      W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
      Hit:1 http://deb.debian.org/debian trixie InRelease
      Hit:2 http://deb.debian.org/debian trixie-updates InRelease
      Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
      Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
      Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
      Reading package lists...
      W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
      Pending Updates: 0
      
      *** 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 127.0.0.1:631           0.0.0.0:*               LISTEN      0          8882       989/cupsd         
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          5517       1/init            
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       17211      2836/iobroker.js-co
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       17206      2836/iobroker.js-co
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          9388       1010/sshd: /usr/sbi
      tcp6       0      0 :::111                  :::*                    LISTEN      0          2137       1/init            
      tcp6       0      0 :::22                   :::*                    LISTEN      0          9390       1010/sshd: /usr/sbi
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       16084      2854/io.admin.0   
      tcp6       0      0 ::1:631                 :::*                    LISTEN      0          8881       989/cupsd         
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           101        7147       725/avahi-daemon: r
      udp        0      0 0.0.0.0:51271           0.0.0.0:*                           101        7149       725/avahi-daemon: r
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          1276       1/init            
      udp6       0      0 :::5353                 :::*                                101        7148       725/avahi-daemon: r
      udp6       0      0 :::53345                :::*                                101        7150       725/avahi-daemon: r
      udp6       0      0 :::111                  :::*                                0          5518       1/init            
      
      *** Log File - Last 25 Lines ***
      
      2025-10-31 10:53:26.760  - info: admin.0 (2854) requesting all objects
      2025-10-31 10:53:26.953  - info: admin.0 (2854) received all objects
      2025-10-31 10:53:27.096  - info: admin.0 (2854) socket.io server listening on port 8081
      2025-10-31 10:53:27.097  - info: admin.0 (2854) http server listening on port 8081
      2025-10-31 10:53:27.098  - info: admin.0 (2854) Use link "http://127.0.0.1:8081" to configure.
      2025-10-31 10:53:29.860  - info: host.scheyer instance system.adapter.javascript.0 in version "8.9.2" started with pid 2941
      2025-10-31 10:53:30.867  - info: javascript.0 (2941) starting. Version 8.9.2 in /opt/iobroker/node_modules/iobroker.javascript, node: v22.21.0, js-controller: 7.0.7
      2025-10-31 10:53:30.932  - info: javascript.0 (2941) requesting all states
      2025-10-31 10:53:30.933  - info: javascript.0 (2941) requesting all objects
      2025-10-31 10:53:31.034  - info: javascript.0 (2941) received all states
      2025-10-31 10:53:31.113  - warn: javascript.0 (2941) Configured latitude is not a number - check (instance/system) configuration
      2025-10-31 10:53:31.113  - warn: javascript.0 (2941) Configured longitude is not a number - check (instance/system) configuration
      2025-10-31 10:53:31.113  - info: javascript.0 (2941) received all objects
      2025-10-31 10:53:33.834  - info: host.scheyer instance system.adapter.backitup.0 in version "3.3.5" started with pid 3000
      2025-10-31 10:53:34.633  - info: backitup.0 (3000) starting. Version 3.3.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v22.21.0, js-controller: 7.0.7
      2025-10-31 10:53:34.665  - info: backitup.0 (3000) [iobroker] backup will be activated at 02:48 every 1 day(s)
      2025-10-31 10:53:37.836  - info: host.scheyer instance system.adapter.discovery.0 in version "5.0.0" started with pid 3102
      2025-10-31 10:53:38.559  - info: discovery.0 (3102) starting. Version 5.0.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v22.21.0, js-controller: 7.0.7
      2025-10-31 10:54:35.674  - info: admin.0 (2854) ==> Connected system.user.admin from ::ffff:192.168.178.234
      2025-10-31 10:56:33.258  - info: host.scheyer iobroker add rpi2 --host scheyer
      2025-10-31 10:56:34.132  - info: host.scheyer iobroker NPM version: 10.9.4
      2025-10-31 10:56:34.133  - info: host.scheyer iobroker Installing iobroker.rpi2@2.4.0... (System call)
      2025-10-31 10:56:39.941  - error: host.scheyer iobroker npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error   CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error    14 |     gpiod::line line = chip.get_line(lineNumber);npm error       |                 ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error    19 |         line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error       |         ^~~~npm error       |         gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error                  from /usr/include/gpiod.hpp:27,npm error                  from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error    19 |         line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error       |                                                          ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error    28 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error       |                                                              gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error    30 |         bool value = line.get_value();npm error       |                      ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error    28 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                                  ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error    28 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error    34 |                                                  { line.release(); });npm error       |                                                    ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error    33 |     Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                                   ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error    28 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error    49 |     gpiod::line line = chip.get_line(lineNumber);npm error       |                 ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error    54 |         line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error       |         ^~~~npm error       |         gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error    54 |         line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error       |                                                          ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error    63 |     Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error       |                                                              gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error    66 |         line.set_value(value); });npm error       |         ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error    63 |     Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                                  ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error    63 |     Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error    69 |                                                  { line.release(); });npm error       |                                                    ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error    68 |     Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                                   ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error    63 |     Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error    81 |     gpiod::line line;npm error       |            ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error    92 |     gpiod::line line = chip.get_line(lineNumber);npm error       |                 ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error   100 |         line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error       |         ^~~~npm error       |         gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error   100 |         line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error       |                                                          ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error   109 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error       |                                                              gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error   111 |         bool value = line.get_value();npm error       |                      ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error   109 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                                  ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error   109 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error   115 |     data->line = line;npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error   127 |             gpiod::line line = data->line;npm error       |                         ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error   131 |                 bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error       |                                 ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error   124 |         [](uv_work_t *req)npm error       |          ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error   109 |     Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error       |                                                              ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error   134 |                     gpiod::line_event event = line.event_read();npm error       |                            ^~~~~~~~~~npm error       |                            info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error   135 |                     bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error       |                                  ^~~~~npm error       |                                  serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error   135 |                     bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error       |                                                             ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error   147 |             data->line.release();npm error       |                   ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error   168 |     gpiod::line line;npm error       |            ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error   196 |     gpiod::line line = chip.get_line(lineNumber);npm error       |                 ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error   201 |         line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error       |         ^~~~npm error       |         gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error   201 |         line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error       |                                                          ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error   213 |     data->line = line;npm error       |           ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error   213 |     data->line = line;npm error       |                  ^~~~npm error       |                  gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error    24 | namespace line {npm error       |           ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error   224 |             gpiod::line line = data->line;npm error       |                         ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error   264 |                 line.set_value(true);npm error       |                 ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error   221 |         [](uv_work_t *req)npm error       |          ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error   213 |     data->line = line;npm error       |                  ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error   278 |                 line.set_value(false);npm error       |                 ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error   221 |         [](uv_work_t *req)npm error       |          ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error   213 |     data->line = line;npm error       |                  ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error   327 |             gpiod::line line = data->line;npm error       |                         ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error   328 |             line.release();npm error       |             ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error   324 |         [](uv_work_t *req, int status)npm error       |          ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error   213 |     data->line = line;npm error       |                  ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-2712npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v11.2.0npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-10-31T09_56_34_223Z-debug-0.log
      2025-10-31 10:56:39.942  - error: host.scheyer iobroker host.scheyer Cannot install iobroker.rpi2@2.4.0: 1
      2025-10-31 10:56:40.953  - info: host.scheyer iobroker exit 25
      
      

      ============ Mark until here for C&P =============

      iob diag has finished.

      scheyer@scheyer:~ $

      posted in ioBroker Allgemein
      Sascha Hartmann
      Sascha Hartmann
    • RE: Installationsprobleme

      @asgothian said in Installationsprobleme:

      @sascha-hartmann ich wuerde es als erstes mal mit dem Fixer probieren - da gibt es Rechtesalat:

      iob fix

      A.

      scheyer@scheyer:~ $ iob stop
      scheyer@scheyer:~ $ iob fix
      bash: /home/iobroker/.fix.sh: Permission denied
      scheyer@scheyer:~ $ iob fix
      bash: /home/iobroker/.fix.sh: Permission denied
      scheyer@scheyer:~ $
      

      Funktioniert leider nicht

      posted in ioBroker Allgemein
      Sascha Hartmann
      Sascha Hartmann
    • Installationsprobleme

      Hallo Zusammen

      Habe gerade einen neuen Pi Aufgesetzt und bein Installieren von IOBrocker kommt es zu Problemen

      Also Iobrocker selbst läuft aber ich bekomme bsp. rpi2 Adapter nicht Installiert Kommt Fehler Pocess exited with code 25

      auch auf dem pi Selbst kommt es zu Problemen

      Please note that this option may be disabled in the future, so please change your setup accordingly now.
      scheyer@scheyer:~ $ sudo apt update
      Hit:1 http://deb.debian.org/debian trixie InRelease
      Hit:2 http://deb.debian.org/debian trixie-updates InRelease
      Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
      Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
      Hit:5 http://archive.raspberrypi.com/debian trixie InRelease
      Fetched 43.4 kB in 0s (136 kB/s)
      All packages are up to date.
      Warning: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
      scheyer@scheyer:~ $ iob nodejs-update
      bash: /home/iobroker/.nodejs-update.sh: Permission denied
      scheyer@scheyer:~ $ iob diag
      /usr/bin/iob: line 21: /home/iobroker/iob_diag.log: Permission denied
      scheyer@scheyer:~ $
      

      Kann mir da jemand Helfen ?

      viele Grüße Sascha

      posted in ioBroker Allgemein
      Sascha Hartmann
      Sascha Hartmann
    • RE: Modbus Finder 7M.38.8.400.0212 auslesen

      @homoran

      Kann ich gerne die Nächsten Tage Online Stellen
      Habe das Aktuell nur auf meinen Test Pi mit nem Zähler ohne Last getestet.

      Werde es Heute Abend auf meinen Live mit meinen 2 Zählern einbinden dann kan ich das Gerne hier Posten

      posted in Einsteigerfragen
      Sascha Hartmann
      Sascha Hartmann
    • RE: Modbus Finder 7M.38.8.400.0212 auslesen

      @homoran

      Die Doku ist echt ....

      Nimm Beispielsweise nucht das Register 105 für Frequenz da kommt nur scheis bei raus da irgendwie 8 bits für das und die anderen für den wert nimm das Register 2498 und als Float dann bekommst direkt den wert ....

      Steht zwar So Wohl auch in der Doku

      Aber wenn man nicht ganz so fitt ist wie ich es auch nicht bin führt das auch zu Verwirrung !

      Also Wirklich ich lese Viel über Motbuss aus ob Wechselrichter Batterien...

      Aber so schwierigkeiten hate ich noch nie:)

      Es Läuft das ist das wichtigste

      posted in Einsteigerfragen
      Sascha Hartmann
      Sascha Hartmann
    • RE: Modbus Finder 7M.38.8.400.0212 auslesen

      @homoran

      Ich Verstehs aktuell selbst noch nicht ganz denn wenn man mal ganz am Anfang dieses Beitrags sieht schaffts der Kollege ja auch auszulesen mit den 300024 und hat Alias aktiv

      Irgendwie komisch ich bin nur froh das es jetzt läuft 😉

      posted in Einsteigerfragen
      Sascha Hartmann
      Sascha Hartmann
    • RE: Modbus Finder 7M.38.8.400.0212 auslesen

      @homoran

      Nein ich habe Alias nicht aktiv

      posted in Einsteigerfragen
      Sascha Hartmann
      Sascha Hartmann
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo