Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 36
    • Best 0
    • Groups 1

    DLaurenz

    @DLaurenz

    Starter

    0
    Reputation
    34
    Profile views
    36
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    DLaurenz Follow
    Starter

    Latest posts made by DLaurenz

    • RE: Nach Update Anmeldung nicht mehr möglich

      @shadowhunter23 Same here:

      2024-10-08 13:23:54.342  - error: admin.0 (121735) uncaught exception: Parameter "id" needs to be of type "string" but type "number" has been passed
      2024-10-08 13:23:54.343  - error: admin.0 (121735) Error: Parameter "id" needs to be of type "string" but type "number" has been passed
          at Function.assertString (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/validator.ts:238:19)
          at Admin.getSession (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:1374:19)
          at SocketAdmin.__getUserFromSocket (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:73:33)
          at SocketAdmin._initSocket (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommon.js:162:22)
          at /opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommon.js:104:22
          at /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/ws-server/dist/index.js:246:64
          at Array.forEach (<anonymous>)
          at WebSocketServer.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/ws-server/dist/index.js:246:50)
          at WebSocketServer.emit (node:events:519:28)
          at WebSocketServer.emit (node:domain:488:12)
      2024-10-08 13:23:54.344  - error: admin.0 (121735) Parameter "id" needs to be of type "string" but type "number" has been passed
      2024-10-08 13:23:54.785  - info: admin.0 (121735) terminating https server on port 8081
      2024-10-08 13:23:54.788  - info: admin.0 (121735) terminating
      
      ======================= SUMMARY =======================
                              v.2024-08-12
      
      
         Static hostname: iob-master
               Icon name: computer
        Operating System: Debian GNU/Linux 11 (bullseye)
                  Kernel: Linux 6.1.21-v8+
            Architecture: arm64
      
      Installation:           native
      Kernel:                 aarch64
      Userland:               64 bit
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                0
      Display-Server:         false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     0
      Pending iob updates:    0
      
      Nodejs-Installation:
      /usr/bin/nodejs         v20.18.0
      /usr/bin/node           v20.18.0
      /usr/bin/npm            10.8.2
      /usr/bin/npx            10.8.2
      /usr/bin/corepack       0.29.3
      
      Recommended versions are nodejs 20.18.0 and npm 10.8.2
      Your nodejs installation is correct
      
      MEMORY:
                     total        used        free      shared  buff/cache   available
      Mem:            7.9G        2.1G        2.8G        192M        2.9G        5.4G
      Swap:            99M          0B         99M
      Total:          8.0G        2.1G        2.9G
      
      Active iob-Instances:   20
      Upgrade policy: none
      
      ioBroker Core:          js-controller           7.0.0
                              admin                   7.2.2
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : iob-master                               -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.web.0                    : web                   : iob-master                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                47963
      States:                 43200
      
      Size of iob-Database:
      
      53M     /opt/iobroker/iobroker-data/objects.jsonl
      110M    /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      

      iob diag:

      Skript v.2024-08-12
      
      *** BASE SYSTEM ***
         Static hostname: iob-master
               Icon name: computer
        Operating System: Debian GNU/Linux 11 (bullseye)
                  Kernel: Linux 6.1.21-v8+
            Architecture: arm64
      OS is similar to:
      
      Model           : Raspberry Pi 4 Model B Rev 1.5
      Docker          : false
      Virtualization  : none
      Kernel          : aarch64
      Userland        : 64 bit
      
      Systemuptime and Load:
       13:29:20 up  2:14,  1 user,  load average: 0.52, 0.74, 0.96
      CPU threads: 4
      
      
      *** RASPBERRY THROTTLING ***
      Current issues:
      No throttling issues detected.
      
      Previously detected issues:
      No throttling issues detected.
      
      *** Time and Time Zones ***
                     Local time: Tue 2024-10-08 13:29:20 CEST
                 Universal time: Tue 2024-10-08 11:29:20 UTC
                       RTC time: n/a
                      Time zone: Europe/Berlin (CEST, +0200)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      
      *** Users and Groups ***
      User that called 'iob diag':
      root
      HOME=/root
      GROUPS=root
      
      User that is running 'js-controller':
      iobroker
      HOME=/home/iobroker
      GROUPS=iobroker tty dialout audio video bluetooth gpio i2c
      
      *** Display-Server-Setup ***
      Display-Server: false
      Desktop:
      Terminal:       tty
      Boot Target:    multi-user.target
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            7.9G        2.1G        2.8G        192M        2.9G        5.4G
      Swap:            99M          0B         99M
      Total:          8.0G        2.1G        2.9G
      
      Active iob-Instances:   20
      
               7862 M total memory
               2132 M used memory
               2829 M active memory
               1983 M inactive memory
               2818 M free memory
                149 M buffer memory
               2761 M swap cache
                 99 M total swap
                  0 M used swap
                 99 M free swap
      
      *** top - Table Of Processes  ***
      top - 13:29:20 up  2:14,  1 user,  load average: 0.52, 0.74, 0.96
      Tasks: 185 total,   1 running, 184 sleeping,   0 stopped,   0 zombie
      %Cpu(s):  0.0 us,  4.3 sy,  0.0 ni, 95.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      MiB Mem :   7862.2 total,   2818.8 free,   2132.9 used,   2910.5 buff/cache
      MiB Swap:    100.0 total,    100.0 free,      0.0 used.   5375.3 avail Mem
      
      *** FAILED SERVICES ***
      
        UNIT            LOAD   ACTIVE SUB    DESCRIPTION
      * hciuart.service loaded failed failed Configure Bluetooth Modems connected by UART
      
      LOAD   = Reflects whether the unit definition was properly loaded.
      ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
      SUB    = The low-level unit activation state, values depend on unit type.
      1 loaded units listed.
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      /dev/root      ext4      469G   14G  431G   4% /
      devtmpfs       devtmpfs  3.6G     0  3.6G   0% /dev
      tmpfs          tmpfs     3.9G   20K  3.9G   1% /dev/shm
      tmpfs          tmpfs     1.6G  3.0M  1.6G   1% /run
      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      /dev/sda1      vfat      255M   31M  225M  13% /boot
      folder2ram     tmpfs     3.9G  190M  3.7G   5% /opt/powershell
      tmpfs          tmpfs     787M     0  787M   0% /run/user/0
      
      Messages concerning ext4 filesystem in dmesg:
      [Tue Oct  8 11:14:36 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=D8:3A:DD:46:C6:A8 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  console=ttyS0,115200 console=tty1 root=PARTUUID=7f03ccbc-02 rootfstype=ext4 fsck.repair=yes rootwait
      [Tue Oct  8 11:14:38 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
      [Tue Oct  8 11:14:38 2024] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
      [Tue Oct  8 11:14:40 2024] EXT4-fs (sda2): re-mounted. Quota mode: none.
      
      Show mounted filesystems:
      TARGET                           SOURCE                     FSTYPE OPTIONS
      /                                /dev/sda2                  ext4   rw,noatime
      |-/boot                          /dev/sda1                  vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
      `-/var/folder2ram/opt/powershell /dev/sda2[/opt/powershell] ext4   rw,noatime
      
      Files in neuralgic directories:
      
      /var:
      5.6G    /var/
      4.1G    /var/log/journal/913411ec2113471e8a5a95f370c5ddcb
      4.1G    /var/log/journal
      4.1G    /var/log
      653M    /var/lib
      
      Archived and active journals take up 4.0G in the file system.
      
      /opt/iobroker/backups:
      16K     /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      1.3G    /opt/iobroker/iobroker-data/
      885M    /opt/iobroker/iobroker-data/files
      617M    /opt/iobroker/iobroker-data/files/javascript.admin
      560M    /opt/iobroker/iobroker-data/files/javascript.admin/static
      558M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
      
      The five largest files in iobroker-data are:
      109M    /opt/iobroker/iobroker-data/states.jsonl
      53M     /opt/iobroker/iobroker-data/objects.jsonl
      24M     /opt/iobroker/iobroker-data/files/eventlist/static/js/main.bf7d9efc.js.map
      24M     /opt/iobroker/iobroker-data/files/eventlist.admin/static/js/main.bf7d9efc.js.map
      19M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.6964fae2.js.map
      
      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'
      
      HINT:
      Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting:
      /dev/ttyACM0
      
      
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v20.18.0
      /usr/bin/node           v20.18.0
      /usr/bin/npm            10.8.2
      /usr/bin/npx            10.8.2
      /usr/bin/corepack       0.29.3
      
      
      nodejs:
        Installed: 20.18.0-1nodesource1
        Candidate: 20.18.0-1nodesource1
        Version table:
       *** 20.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
              100 /var/lib/dpkg/status
           20.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.15.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.13.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.12.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.12.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.11.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.8.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.6.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.5.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.3.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           12.22.12~dfsg-1~deb11u5 500
              500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
           12.22.12~dfsg-1~deb11u4 500
              500 http://deb.debian.org/debian bullseye/main arm64 Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      Errors in npm tree:
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Core adapters versions
      js-controller:  7.0.0
      admin:          7.2.2
      javascript:     8.8.3
      
      nodejs modules from github:     0
      
      Adapter State
      + system.adapter.accuweather.0            : accuweather           : iob-master                               -  enabled
      + system.adapter.admin.0                  : admin                 : iob-master                               -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.backitup.0               : backitup              : iob-master                               -  enabled
        system.adapter.ble.0                    : ble                   : io-blegw02                               -  enabled
      + system.adapter.discovery.0              : discovery             : iob-master                               -  enabled
        system.adapter.dwd.0                    : dwd                   : iob-master                               -  enabled
      + system.adapter.eventlist.0              : eventlist             : iob-master                               -  enabled
        system.adapter.fb-checkpresence.0       : fb-checkpresence      : iob-master                               - disabled
      + system.adapter.fritzdect.0              : fritzdect             : iob-master                               -  enabled
      + system.adapter.hmip.0                   : hmip                  : iob-master                               -  enabled
      + system.adapter.hmip.1                   : hmip                  : iob-master                               -  enabled
        system.adapter.homeconnect.0            : homeconnect           : iob-master                               -  enabled
        system.adapter.icons-icons8.0           : icons-icons8          : iob-master                               -  enabled
        system.adapter.icons-material-png.0     : icons-material-png    : iob-master                               -  enabled
        system.adapter.icons-material-svg.0     : icons-material-svg    : iob-master                               -  enabled
        system.adapter.icons-mfd-png.0          : icons-mfd-png         : iob-master                               -  enabled
        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iob-master                               -  enabled
        system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : iob-master                               -  enabled
      + system.adapter.influxdb.0               : influxdb              : iob-master                               -  enabled, port: 8086
      + system.adapter.javascript.0             : javascript            : iob-master                               -  enabled
      + system.adapter.linux-control.0          : linux-control         : iob-master                               -  enabled
      + system.adapter.mercedesme.0             : mercedesme            : iob-master                               -  enabled
      + system.adapter.meross.0                 : meross                : iob-master                               -  enabled
      + system.adapter.ping.0                   : ping                  : iob-master                               -  enabled
      + system.adapter.roborock.0               : roborock              : iob-master                               -  enabled
      + system.adapter.selverf.0                : selverf               : io-fhem                                  -  enabled
      + system.adapter.tr-064.0                 : tr-064                : iob-master                               -  enabled
        system.adapter.vis-bars.0               : vis-bars              : iob-master                               -  enabled
        system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : iob-master                               -  enabled
        system.adapter.vis-colorpicker.0        : vis-colorpicker       : iob-master                               -  enabled
        system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iob-master                               -  enabled
        system.adapter.vis-history.0            : vis-history           : iob-master                               -  enabled
        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iob-master                               -  enabled
        system.adapter.vis-icontwo.0            : vis-icontwo           : iob-master                               -  enabled
        system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iob-master                               -  enabled
        system.adapter.vis-justgage.0           : vis-justgage          : iob-master                               -  enabled
        system.adapter.vis-map.0                : vis-map               : iob-master                               -  enabled
        system.adapter.vis-material-advanced.0  : vis-material-advanced : iob-master                               -  enabled
        system.adapter.vis-material.0           : vis-material          : iob-master                               -  enabled
        system.adapter.vis-metro.0              : vis-metro             : iob-master                               -  enabled
        system.adapter.vis-players.0            : vis-players           : iob-master                               -  enabled
        system.adapter.vis-plumb.0              : vis-plumb             : iob-master                               -  enabled
        system.adapter.vis-timeandweather.0     : vis-timeandweather    : iob-master                               -  enabled
        system.adapter.vis-weather.0            : vis-weather           : iob-master                               -  enabled
        system.adapter.vis.0                    : vis                   : iob-master                               -  enabled
      + system.adapter.web.0                    : web                   : iob-master                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.zigbee.0                 : zigbee                : io-fhem                                  -  enabled, port: /dev/ttyACM0
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : iob-master                               -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.influxdb.0               : influxdb              : iob-master                               -  enabled, port: 8086
      + system.adapter.web.0                    : web                   : iob-master                               -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      + system.adapter.zigbee.0                 : zigbee                : io-fhem                                  -  enabled, port: /dev/ttyACM0
      
      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): beta
      Upgrade policy: none
      
      Installed ioBroker-Instances
      Used repository: beta
      Adapter    "accuweather"  : 1.5.0    , installed 1.5.0
      Adapter    "admin"        : 7.2.0    , installed 7.2.2
      Adapter    "backitup"     : 3.0.25   , installed 3.0.25
      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
      Adapter    "dwd"          : 2.8.5    , installed 2.8.5
      Adapter    "eventlist"    : 2.0.1    , installed 2.0.1
      Adapter    "fb-checkpresence": 1.2.5 , installed 1.2.5
      Adapter    "fritzdect"    : 2.5.11   , installed 2.5.11
      Adapter    "hmip"         : 1.24.3   , installed 1.24.3
      Adapter    "homeconnect"  : 1.4.1    , installed 1.4.1
      Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
      Adapter    "icons-material-png": 0.1.0, installed 0.1.0
      Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
      Adapter    "icons-mfd-png": 1.2.1    , installed 1.2.1
      Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
      Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
      Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
      Adapter    "javascript"   : 8.8.3    , installed 8.8.3
      Controller "js-controller": 7.0.0    , installed 7.0.0
      Adapter    "linux-control": 1.1.5    , installed 1.1.5
      Adapter    "mercedesme"   : 0.2.3    , installed 0.2.3
      Adapter    "meross"       : 1.17.0   , installed 1.17.0
      Adapter    "ping"         : 1.7.9    , installed 1.7.9
      Adapter    "roborock"     : 0.6.16   , installed 0.6.16
      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
      Adapter    "socketio"     : 6.7.1    , installed 6.7.1
      Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
      Adapter    "vis"          : 1.5.6    , installed 1.5.6
      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
      Adapter    "vis-canvas-gauges": 1.0.1, installed 1.0.1
      Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
      Adapter    "vis-hqwidgets": 1.5.1    , installed 1.5.1
      Adapter    "vis-icontwo"  : 1.6.3    , installed 1.6.3
      Adapter    "vis-jqui-mfd" : 1.1.1    , installed 1.1.1
      Adapter    "vis-justgage" : 2.1.7    , installed 2.1.7
      Adapter    "vis-map"      : 1.1.2    , installed 1.1.2
      Adapter    "vis-material" : 0.1.3    , installed 0.1.3
      Adapter    "vis-material-advanced": 1.7.4, installed 1.7.4
      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
      Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
      Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "vis-weather"  : 2.5.9    , installed 2.5.9
      Adapter    "web"          : 6.3.1    , installed 6.3.1
      Adapter    "ws"           : 2.6.2    , installed 2.6.2
      
      Objects and States
      Please stand by - This may take a while
      Objects:        47963
      States:         43200
      
      *** OS-Repositories and Updates ***
      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:2 https://deb.nodesource.com/node_20.x nodistro InRelease
      Hit:3 http://deb.debian.org/debian bullseye InRelease
      Hit:4 https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye InRelease
      Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
      Hit:6 http://deb.debian.org/debian bullseye-backports InRelease
      Hit:7 http://security.debian.org/debian-security bullseye-security InRelease
      Hit:8 https://repos.influxdata.com/debian stable InRelease
      Hit:9 https://packages.microsoft.com/debian/11/prod bullseye InRelease
      Ign:10 https://download.webmin.com/download/repository sarge InRelease
      Hit:11 https://download.webmin.com/download/repository sarge Release
      Reading package lists...
      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 0.0.0.0:10000           0.0.0.0:*               LISTEN      0          15221      1256/perl
      tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       191961     106721/iobroker.js-
      tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       191353     106721/iobroker.js-
      tcp        0      0 0.0.0.0:33733           0.0.0.0:*               LISTEN      107        181783     102314/rpc.statd
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          181170     102324/sshd: /usr/s
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          21351      1/init
      tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      0          19120      1172/smbd
      tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      0          19119      1172/smbd
      tcp        0      0 0.0.0.0:44701           0.0.0.0:*               LISTEN      0          222860     -
      tcp6       0      0 :::10000                :::*                    LISTEN      0          15222      1256/perl
      tcp6       0      0 :::36915                :::*                    LISTEN      107        181787     102314/rpc.statd
      tcp6       0      0 :::22                   :::*                    LISTEN      0          181181     102324/sshd: /usr/s
      tcp6       0      0 :::111                  :::*                    LISTEN      0          20266      1/init
      tcp6       0      0 :::80                   :::*                    LISTEN      0          181236     102347/node
      tcp6       0      0 :::139                  :::*                    LISTEN      0          19118      1172/smbd
      tcp6       0      0 :::443                  :::*                    LISTEN      0          186523     102347/node
      tcp6       0      0 :::445                  :::*                    LISTEN      0          19117      1172/smbd
      tcp6       0      0 :::7906                 :::*                    LISTEN      1001       197205     107257/io.roborock.
      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       196923     107818/io.web.0
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       214951     123102/io.admin.0
      tcp6       0      0 :::8086                 :::*                    LISTEN      999        19147      1008/influxd
      tcp6       0      0 :::6824                 :::*                    LISTEN      1001       197204     107257/io.roborock.
      tcp6       0      0 :::39729                :::*                    LISTEN      0          222863     -
      tcp6       0      0 :::6556                 :::*                    LISTEN      0          12079      1/init
      udp        0      0 0.0.0.0:56293           0.0.0.0:*                           107        181781     102314/rpc.statd
      udp        0      0 0.0.0.0:48461           0.0.0.0:*                           0          222859     -
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          20262      1/init
      udp        0      0 192.168.2.255:137       0.0.0.0:*                           0          18981      1104/nmbd
      udp        0      0 192.168.2.117:137       0.0.0.0:*                           0          18980      1104/nmbd
      udp        0      0 0.0.0.0:137             0.0.0.0:*                           0          18959      1104/nmbd
      udp        0      0 192.168.2.255:138       0.0.0.0:*                           0          18983      1104/nmbd
      udp        0      0 192.168.2.117:138       0.0.0.0:*                           0          18982      1104/nmbd
      udp        0      0 0.0.0.0:138             0.0.0.0:*                           0          18960      1104/nmbd
      udp        0      0 0.0.0.0:57850           0.0.0.0:*                           108        12108      444/avahi-daemon: r
      udp        0      0 192.168.2.117:16989     0.0.0.0:*                           0          186507     102347/node
      udp        0      0 0.0.0.0:16989           0.0.0.0:*                           0          186506     102347/node
      udp        0      0 127.0.0.1:730           0.0.0.0:*                           0          181779     102314/rpc.statd
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12106      444/avahi-daemon: r
      udp        0      0 0.0.0.0:10000           0.0.0.0:*                           0          15223      1256/perl
      udp6       0      0 :::36688                :::*                                0          222861     -
      udp6       0      0 :::111                  :::*                                0          21355      1/init
      udp6       0      0 fe80::95a2:3a:dd49::546 :::*                                0          14809      465/NetworkManager
      udp6       0      0 fe80::95a2:3a:dd4:16989 :::*                                0          186520     102347/node
      udp6       0      0 2003:d7:b736:fa00:16989 :::*                                0          186517     102347/node
      udp6       0      0 fd00::8c2e:fc9f:e:16989 :::*                                0          186514     102347/node
      udp6       0      0 2003:d7:b736:fa00:16989 :::*                                0          186511     102347/node
      udp6       0      0 :::16989                :::*                                0          186508     102347/node
      udp6       0      0 :::53915                :::*                                108        12109      444/avahi-daemon: r
      udp6       0      0 :::5353                 :::*                                108        12107      444/avahi-daemon: r
      udp6       0      0 :::54757                :::*                                107        181785     102314/rpc.statd
      
      *** Log File - Last 25 Lines ***
      
      2024-10-08 13:25:37.055  - info: host.iob-master instance system.adapter.dwd.0 in version "2.8.5" started with pid 123923
      2024-10-08 13:25:40.918  - info: dwd.0 (123923) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v20.18.0, js-controller: 7.0.0
      2024-10-08 13:25:42.331  - info: dwd.0 (123923) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2024-10-08 13:25:42.868  - info: host.iob-master instance system.adapter.dwd.0 having pid 123923 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2024-10-08 13:28:39.181  - warn: homeconnect.0 (107315) Restart initiated
      2024-10-08 13:28:39.189  - info: homeconnect.0 (107315) terminating
      2024-10-08 13:28:39.192  - info: homeconnect.0 (107315) Terminated (NO_ERROR): Without reason
      2024-10-08 13:28:39.688  - info: homeconnect.0 (107315) terminating
      2024-10-08 13:28:40.055  - info: host.iob-master instance system.adapter.homeconnect.0 terminated with code 0 (NO_ERROR)
      2024-10-08 13:28:40.056  - info: host.iob-master Restart adapter system.adapter.homeconnect.0 because enabled
      2024-10-08 13:29:11.333  - info: host.iob-master instance system.adapter.homeconnect.0 in version "1.4.1" started with pid 127185
      2024-10-08 13:29:15.065  - info: homeconnect.0 (127185) starting. Version 1.4.1 in /opt/iobroker/node_modules/iobroker.homeconnect, node: v20.18.0, js-controller: 7.0.0
      2024-10-08 13:29:15.925  - error: homeconnect.0 (127185) refresh token failed
      2024-10-08 13:29:15.927  - error: homeconnect.0 (127185) AxiosError: Request failed with status code 400
      2024-10-08 13:29:15.928  - error: homeconnect.0 (127185) {"error":"invalid_grant","error_description":"invalid refresh_token"}
      2024-10-08 13:29:15.929  - error: homeconnect.0 (127185) Restart adapter in 20min
      2024-10-08 13:29:16.030  - error: homeconnect.0 (127185) AxiosError: Request failed with status code 401
      2024-10-08 13:29:16.031  - error: homeconnect.0 (127185) {"error":{"key":"invalid_token","description":"The access token expired"}}
      2024-10-08 13:29:16.118  - error: homeconnect.0 (127185) 401 Unauthorized
      2024-10-08 13:29:16.120  - error: homeconnect.0 (127185) Start Event Stream Error: {"type":"error","status":401,"message":"Unauthorized"}
      2024-10-08 13:29:16.121  - info: homeconnect.0 (127185) Token abgelaufen
      2024-10-08 13:29:16.228  - error: homeconnect.0 (127185) refresh token failed
      2024-10-08 13:29:16.229  - error: homeconnect.0 (127185) AxiosError: Request failed with status code 400
      2024-10-08 13:29:16.230  - error: homeconnect.0 (127185) {"error":"invalid_grant","error_description":"invalid refresh_token"}
      2024-10-08 13:29:16.231  - error: homeconnect.0 (127185) Restart adapter in 20min
      
      

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

      
      Admin 7.2.0 works
      posted in Error/Bug
      D
      DLaurenz
    • RE: influxdb adapter

      @marc-berg ich finde die Theorie der großen Macht besser als meine eigene Dummheit, aber danke!

      posted in InfluxDB
      D
      DLaurenz
    • influxdb adapter

      im journal wird mir folgende Meldung im Sekundentakt angezeigt. Influx wurde einfachsinstalliert und in ioBroker eingebunden. Ich weiß nicht wo diese IP INflux meint suchen zu müssen:

      Sep 16 20:08:38 iob-master influxd-systemd-start.sh[1081]: ts=2024-09-16T18:08:38.974794Z lvl=error msg="Unable to gather" log_id=0retv3l0000 service=scraper scraper-name="new target" error="Get \"http://192.168.2.59:8086/metrics\": dial tcp 192.168.2.59:8086: connect: no route to host"
      

      bevor ich bei influx gucke, frage ich mich, wie influx meint, hier ein system zu fragen, was es nicht gibt...

      posted in InfluxDB
      D
      DLaurenz
    • Homematic IP - mehrere Wohungen

      Moin zusammen,

      ich habe Homematic IP erfolgreich im ioBroker drin. Jetzt habe ich in einer zweiten Wohnung eine zweiten Access Point mit weiteren Geräten und habe in der App eine zweite Wohnung eingerichtet und da läuft auch alles. Allerdings erkennt der Adapter das nicht. Woran könnte das liegen, das er den zweiten AP nicht erkennt und somit die ganzen Geräte dort nicht. Die Adapterhierachie müsste das eigentlich erlauben

      posted in Einbindung von Geräten
      D
      DLaurenz
    • RE: setTimeout - er soll 5min warten und macht es nicht...?!

      @arteck

      danke! der wald und die bäume

      posted in JavaScript
      D
      DLaurenz
    • setTimeout - er soll 5min warten und macht es nicht...?!

      Moin,

      im Grunde ganz simpel was ich vorhabe, eine NAS remote per SSH stoppen und nach 5 Min die entsprechende Steckdose an der es hängt auch ausschalten. Dafür wollte ich setTimeout nutzen. Nur wartet er nicht die 300.000 Milisekunden sondern spult direkt weiter...

      function NASpoweroff (sNasName, sNasPowerSW)
          {
              sCmd = "ssh admin@"+sNasName+" poweroff";
              exec (sCmd, function (error, stdout, stderr)
                  {
                      if (error) 
                          {
                          Protokoll (2,'stderr: '+ stderr);
                          }
                      else
                          {
                          Protokoll (0,"poweroff command succeded");
                          Protokoll (0,"waiting 5 mins now for NAS Powerdown");
                          setTimeout (function() { 
                                  Protokoll (0,"waitet 5 mins now");
                                  }, 300000);
                          Protokoll (0,"switchoff powersupply for: "+sNasName);
                          setState (sNasPowerSW, false);
                          Protokoll (0,'stdout: '+ stdout);
                          }
                  // wait 5 mins until shutdown
                  });
          }
      

      Lasst euch nicht von der Protokoll Funktion stören - der verlauf soll später in der vis über meldungen visualisiert werden

      posted in JavaScript
      D
      DLaurenz
    • RE: Staging Testsystem --> Prodsystem

      @arteck nö macht mal weiter.... ist interessant

      posted in ioBroker Allgemein
      D
      DLaurenz
    • RE: Staging Testsystem --> Prodsystem

      nun es geht mir eher um dinge wie vis / datenpunkte / skript programmierungen / ggf. sogar noch mit darunter liegenden shell skripten... weniger die adapter, das man da nicht viel machen kann, ist mir klar

      posted in ioBroker Allgemein
      D
      DLaurenz
    • Staging Testsystem --> Prodsystem

      Moin,

      ich will mir nicht immer das Prodsystem beim probieren "zerspielen", daher habe ich mir jetzt ein Testsystem gebaut.
      Wir kann ich dinge einfach von Test nach Prod kopieren. Manuell ist das dann doch ziemlich aufwändig. Wie macht ihr das?

      posted in ioBroker Allgemein
      D
      DLaurenz
    • RE: Update ioBroker klappt nicht - gelöst durch neuinstallation

      @homoran

      auch schon x-mal gemacht...

      pi@io-fhem:~ $ find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec echo {} \;
      pi@io-fhem:~ $ sudo -H -u iobroker npm install iobroker.js-controller
      npm notice
      npm notice New major version of npm available! 9.8.1 -> 10.2.0
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.0
      npm notice Run npm install -g npm@10.2.0 to update!
      npm notice
      npm ERR! code EACCES
      npm ERR! syscall mkdir
      npm ERR! path /home/pi/node_modules
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/node_modules'
      npm ERR!  [Error: EACCES: permission denied, mkdir '/home/pi/node_modules'] {
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'mkdir',
      npm ERR!   path: '/home/pi/node_modules'
      npm ERR! }
      npm ERR!
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR!
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator.
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-12T10_31_49_005Z-debug-0.log
      pi@io-fhem:~ $ cd /opt/iobroker/
      pi@io-fhem:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN cleanup Failed to remove some directories [
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib'
      npm WARN cleanup     }
      npm WARN cleanup   ]
      npm WARN cleanup ]
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! command failed
      npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten
      npm ERR!   CXX(target) Release/obj.target/bindings/src/serialport.o
      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.4.0
      npm ERR! gyp info using node@18.18.1 | linux | arm
      npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
      npm ERR! gyp info spawn args   'binding.gyp',
      npm ERR! gyp info spawn args   '-f',
      npm ERR! gyp info spawn args   'make',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/@serialport/bindings/build/config.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.1/include/node/common.gypi',
      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
      npm ERR! gyp info spawn args   '-Dvisibility=default',
      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.1',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.1/<(target_arch)/node.lib',
      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/@serialport/bindings',
      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
      npm ERR! gyp info spawn args   '--depth=.',
      npm ERR! gyp info spawn args   '--no-parallel',
      npm ERR! gyp info spawn args   '--generator-output',
      npm ERR! gyp info spawn args   'build',
      npm ERR! gyp info spawn args   '-Goutput_dir=.'
      npm ERR! gyp info spawn args ]
      npm ERR! gyp info spawn make
      npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:78:51: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!    78 |   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
      npm ERR!       |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:135:53: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   135 |   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
      npm ERR!       |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:175:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   175 |   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
      npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:215:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   215 |   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
      npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:270:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   270 |   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
      npm ERR!       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:314:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   314 |   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
      npm ERR!       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
      npm ERR! ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
      npm ERR!   329 |     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
      npm ERR!       |                                                                                                ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
      npm ERR!   330 |     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
      npm ERR!       |                                                                                                ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
      npm ERR!   331 |     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
      npm ERR!       |                                                                                                ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:363:58: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   363 |   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
      npm ERR!       |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
      npm ERR! ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
      npm ERR!   378 |     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
      npm ERR!       |                                                                                                          ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!       |                                     ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:409:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
      npm ERR!   409 |   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
      npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: At global scope:
      npm ERR! ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
      npm ERR!   430 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
      npm ERR!       |                            ^
      npm ERR! ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
      npm ERR!   449 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
      npm ERR!       |                              ^
      npm ERR! In file included from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:1014:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
      npm ERR!  1014 |       (node::addon_register_func) (regfunc),                          \
      npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:1048:3: note: in expansion of macro ‘NODE_MODULE_X’
      npm ERR!  1048 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      npm ERR!       |   ^~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
      npm ERR!   483 | NODE_MODULE(serialport, init);
      npm ERR!       | ^~~~~~~~~~~
      npm ERR! make: *** [bindings.target.mk:114: Release/obj.target/bindings/src/serialport.o] Fehler 1
      npm ERR! gyp ERR! build error
      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
      npm ERR! gyp ERR! System Linux 5.10.103-v7+
      npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! gyp ERR! node -v v18.18.1
      npm ERR! gyp ERR! node-gyp -v v9.4.0
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-12T10_33_16_805Z-debug-0.log
      
      Qix- created this issue in visionmedia/debug

      closed ReDos Vulnerability Regression Visibility Notice #797

      Qix- created this issue in visionmedia/debug

      closed ReDos Vulnerability Regression Visibility Notice #797

      Qix- created this issue in visionmedia/debug

      closed ReDos Vulnerability Regression Visibility Notice #797

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      posted in ioBroker Allgemein
      D
      DLaurenz
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo