Navigation

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

    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

    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Best 0
    • Groups 1

    Forum-merlin

    @Forum-merlin

    Starter

    0
    Reputation
    6
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Forum-merlin Follow
    Starter

    Latest posts made by Forum-merlin

    • RE: RFXCOM Adapter lässt sich nicht installieren

      @thomas-braun
      Danke Dir für Deine Hilfe.

      Hab nun alles am Laufen.
      (Allerdings hab ich einfach nochmal von vorne angefangen und dann auch nen anderen usernamen als initialen user verwendet. Ich hab im installer Script dann auch gesehen, dass da der user iobroker mitkommt. wer weiss wie sich das auswirkt)

      Naja, wie auch immer, geht jetzt.

      CLOSED!

      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RE: RFXCOM Adapter lässt sich nicht installieren

      @thomas-braun

      Ich wollte jetzt nicht den Thread vermischen. Deswegen hab ich jetzt hier nix geschrieben und suche grad alles möglich im Forum dazu.
      Aber vielleicht hast du ja gleich den treffenden Blick:

      2023-07-19 19:47:12.196  - info: host.vm-iobroker instance system.adapter.zigbee.0 started with pid 1144
      2023-07-19 19:47:13.525  - info: zigbee.0 (1144) starting. Version 1.8.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.17.0, js-controller: 5.0.8
      2023-07-19 19:47:13.579  - info: zigbee.0 (1144) delete old Backup files. keep only last 10
      2023-07-19 19:47:13.580  - info: zigbee.0 (1144) Starting Zigbee  npm ...
      2023-07-19 19:47:13.697  - info: zigbee.0 (1144) Installed Version: iobroker.zigbee@1.8.18
      2023-07-19 19:47:13.999  - error: zigbee.0 (1144) Configuration is not consistent with adapter state/backup!
      2023-07-19 19:47:13.999  - error: zigbee.0 (1144) - PAN ID: configured=6754, adapter=510
      2023-07-19 19:47:13.999  - error: zigbee.0 (1144) - Extended PAN ID: configured=00124b0018ed2fd7, adapter=00124b0018ed2fd7
      2023-07-19 19:47:13.999  - error: zigbee.0 (1144) - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
      2023-07-19 19:47:14.000  - error: zigbee.0 (1144) - Channel List: configured=11, adapter=11
      2023-07-19 19:47:14.000  - error: zigbee.0 (1144) Please update configuration to prevent further issues.
      2023-07-19 19:47:14.000  - error: zigbee.0 (1144) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
      2023-07-19 19:47:14.000  - error: zigbee.0 (1144) Re-commissioning your network will require re-pairing of all devices!
      2023-07-19 19:47:14.001  - error: zigbee.0 (1144) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
      2023-07-19 19:47:14.001  - error: zigbee.0 (1144) Failed to start Zigbee
      2023-07-19 19:47:14.001  - error: zigbee.0 (1144) Error herdsman start
      2023-07-19 19:47:24.001  - info: zigbee.0 (1144) Try to reconnect. 1 attempts left
      2023-07-19 19:47:24.002  - info: zigbee.0 (1144) Starting Zigbee  npm ...
      2023-07-19 19:47:24.012  - info: zigbee.0 (1144) Installed Version: iobroker.zigbee@1.8.18
      2023-07-19 19:47:24.113  - error: zigbee.0 (1144) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
      2023-07-19 19:47:24.113  - error: zigbee.0 (1144) Failed to start Zigbee
      2023-07-19 19:47:24.114  - error: zigbee.0 (1144) Error herdsman start
      2023-07-19 19:48:45.342  - error: zigbee.0 (1144) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
      2023-07-19 19:48:45.442  - info: zigbee.0 (1144) List of port: [{"path":"/dev/ttyUSB0","manufacturer":"RFXCOM","serialNumber":"A1WJDDBR","pnpId":"usb-RFXCOM_RFXtrx433_A1WJDDBR-if00-port0","vendorId":"0403","productId":"6001"},{"path":"/dev/ttyACM0","manufacturer":"Texas Instruments","serialNumber":"__0X00124B0018ED2FD7","pnpId":"usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2FD7-if00","vendorId":"0451","productId":"16a8"},{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS3"}]
      2023-07-19 19:50:58.641  - info: zigbee.0 (1144) cleaned everything up...
      2023-07-19 19:50:58.643  - info: host.vm-iobroker stopInstance system.adapter.zigbee.0 (force=false, process=true)
      2023-07-19 19:50:58.651  - info: host.vm-iobroker stopInstance system.adapter.zigbee.0 send kill signal
      2023-07-19 19:50:58.645  - info: zigbee.0 (1144) Zigbee: disabling joining new devices.
      2023-07-19 19:50:58.655  - warn: zigbee.0 (1144) Failed to stop zigbee during startup
      2023-07-19 19:50:58.656  - info: zigbee.0 (1144) Got terminate signal TERMINATE_YOURSELF
      2023-07-19 19:50:58.701  - info: zigbee.0 (1144) terminating
      2023-07-19 19:50:58.702  - info: zigbee.0 (1144) Terminated (NO_ERROR): Without reason
      2023-07-19 19:50:59.144  - info: zigbee.0 (1144) terminating
      2023-07-19 19:50:59.230  - info: host.vm-iobroker instance system.adapter.zigbee.0 terminated with code 0 (NO_ERROR)
      2023-07-19 19:51:22.922  - info: host.vm-iobroker instance system.adapter.zigbee.0 started with pid 1797
      2023-07-19 19:51:24.257  - info: zigbee.0 (1797) starting. Version 1.8.18 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.17.0, js-controller: 5.0.8
      2023-07-19 19:51:24.308  - info: zigbee.0 (1797) delete old Backup files. keep only last 10
      2023-07-19 19:51:24.309  - info: zigbee.0 (1797) Starting Zigbee  npm ...
      2023-07-19 19:51:24.422  - info: zigbee.0 (1797) Installed Version: iobroker.zigbee@1.8.18
      2023-07-19 19:51:24.715  - error: zigbee.0 (1797) Configuration is not consistent with adapter state/backup!
      2023-07-19 19:51:24.715  - error: zigbee.0 (1797) - PAN ID: configured=6754, adapter=510
      2023-07-19 19:51:24.715  - error: zigbee.0 (1797) - Extended PAN ID: configured=00124b0018ed2fd7, adapter=00124b0018ed2fd7
      2023-07-19 19:51:24.715  - error: zigbee.0 (1797) - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
      2023-07-19 19:51:24.716  - error: zigbee.0 (1797) - Channel List: configured=11, adapter=11
      2023-07-19 19:51:24.716  - error: zigbee.0 (1797) Please update configuration to prevent further issues.
      2023-07-19 19:51:24.716  - error: zigbee.0 (1797) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
      2023-07-19 19:51:24.716  - error: zigbee.0 (1797) Re-commissioning your network will require re-pairing of all devices!
      2023-07-19 19:51:24.717  - error: zigbee.0 (1797) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
      2023-07-19 19:51:24.717  - error: zigbee.0 (1797) Failed to start Zigbee
      2023-07-19 19:51:24.717  - error: zigbee.0 (1797) Error herdsman start
      2023-07-19 19:51:34.718  - info: zigbee.0 (1797) Try to reconnect. 1 attempts left
      2023-07-19 19:51:34.719  - info: zigbee.0 (1797) Starting Zigbee  npm ...
      2023-07-19 19:51:34.729  - info: zigbee.0 (1797) Installed Version: iobroker.zigbee@1.8.18
      2023-07-19 19:51:34.834  - error: zigbee.0 (1797) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
      2023-07-19 19:51:34.834  - error: zigbee.0 (1797) Failed to start Zigbee
      2023-07-19 19:51:34.834  - error: zigbee.0 (1797) Error herdsman start
      
      
      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RE: RFXCOM Adapter lässt sich nicht installieren

      @thomas-braun

      iobroker@vm-iobroker:~$ cat /etc/passwd | sort
      _apt:x:42:65534::/nonexistent:/usr/sbin/nologin
      backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
      bin:x:2:2:bin:/bin:/usr/sbin/nologin
      daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
      games:x:5:60:games:/usr/games:/usr/sbin/nologin
      iobroker:x:1000:1000:iobroker,,,:/home/iobroker:/bin/bash
      irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
      list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
      lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
      mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
      man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
      messagebus:x:100:107::/nonexistent:/usr/sbin/nologin
      news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
      nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
      proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
      root:x:0:0:root:/root:/bin/bash
      _rpc:x:102:65534::/run/rpcbind:/usr/sbin/nologin
      sshd:x:101:65534::/run/sshd:/usr/sbin/nologin
      statd:x:103:65534::/var/lib/nfs:/usr/sbin/nologin
      sync:x:4:65534:sync:/bin:/bin/sync
      systemd-network:x:998:998:systemd Network Management:/:/usr/sbin/nologin
      systemd-timesync:x:997:997:systemd Time Synchronization:/:/usr/sbin/nologin
      sys:x:3:3:sys:/dev:/usr/sbin/nologin
      uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
      www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
      iobroker@vm-iobroker:~$
      
      
      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RE: RFXCOM Adapter lässt sich nicht installieren

      @thomas-braun
      Nachdem jetzt dann alles irgendwie komisch wurde hab ich die VM komplett gelöscht und neu aufgesetzt.

      ioBroker auch nach Anleitung from scratch installiert.
      Und alles unter iobroker user mit sudo wenn es in der Anleitung erwähnt wurde.

      Dann erstmal alles in ioBroker aktualisiert was ein update haben wollte.

      Adapter rfxcom als erstes installiert und der geht nun.
      Aber dafür der ZigBee nicht mehr.

      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RE: RFXCOM Adapter lässt sich nicht installieren

      @thomas-braun
      is ja guuuut... Beruhig dich.

      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RE: RFXCOM Adapter lässt sich nicht installieren

      @thomas-braun
      Naja, wer so verzweifelt über stunden rumfuchtelt macht viele komische Dinge! 🙂
      Und noch viel krasser, ich hab sogar was machen müssen was ich garnicht kapiere...

      root@vm-iobroker:/opt/iobroker# npm install -g node-gyp
      npm notice
      npm notice New minor version of npm available! 9.5.1 -> 9.8.0
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.8.0
      npm notice Run npm install -g npm@9.8.0 to update!
      npm notice
      npm ERR! code EACCES
      npm ERR! syscall mkdir
      npm ERR! path /usr/lib/node_modules/node-gyp
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/node-gyp'
      npm ERR!  [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/node-gyp'] {
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'mkdir',
      npm ERR!   path: '/usr/lib/node_modules/node-gyp'
      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:
      npm ERR!     /home/iobroker/.npm/_logs/2023-07-19T14_57_49_852Z-debug-0.log
      root@vm-iobroker:/opt/iobroker# npm install -g node-gyp^C
      root@vm-iobroker:/opt/iobroker# npm install -g npm@9.8.0
      npm ERR! code EACCES
      npm ERR! syscall rename
      npm ERR! path /usr/lib/node_modules/npm
      npm ERR! dest /usr/lib/node_modules/.npm-qUIFSsiV
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, rename '/usr/lib/node_modules/npm' -> '/usr/lib/node_modules/.npm-qUIFSsiV'
      npm ERR!  [Error: EACCES: permission denied, rename '/usr/lib/node_modules/npm' -> '/usr/lib/node_modules/.npm-qUIFSsiV'] {
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'rename',
      npm ERR!   path: '/usr/lib/node_modules/npm',
      npm ERR!   dest: '/usr/lib/node_modules/.npm-qUIFSsiV'
      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:
      npm ERR!     /home/iobroker/.npm/_logs/2023-07-19T14_58_31_016Z-debug-0.log
      root@vm-iobroker:
      

      das ging dann nur mit sudo unter root ???

      root@vm-iobroker:/opt/iobroker# sudo npm install -g npm@9.8.0
      
      removed 17 packages, and changed 67 packages in 3s
      
      28 packages are looking for funding
        run `npm fund` for details
      root@vm-iobroker:
      

      Ich bin ja nicht sooo der Linux Guru, aber wie kann der super-user root noch mehr als super-user werden?

      Egaaal....

      Hier eben nochmal die drüber-installation von "nodejs"

      iobroker@vm-iobroker:/opt/iobroker$ sudo apt install nodejs
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      nodejs ist schon die neueste Version (18.16.1-deb-1nodesource1).
      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
      iobroker@vm-iobroker:/opt/iobroker$ sudo apt install nodejs
      

      dann

      iob stop
      iob fix
      iob start
      

      und natürlich nochmal

      iobroker@vm-iobroker:/opt/iobroker$ iobroker add rfxcom auto --debug
      NPM version: 9.8.0
      Installing iobroker.rfxcom@2.0.2... (System call)
      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! prebuild-install warn install No prebuilt binaries found (target=18.16.1 runtime=node arch=x64 libc= platform=linux)
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@7.1.2
      npm ERR! gyp info using node@18.16.1 | linux | x64
      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
      npm ERR! (node:5888) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/opt/iobroker/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   '/opt/iobroker/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.16.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.16.1',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.16.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! Traceback (most recent call last):
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
      npm ERR!     sys.exit(gyp.script_main())
      npm ERR!              ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
      npm ERR!     return main(sys.argv[1:])
      npm ERR!            ^^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
      npm ERR!     return gyp_main(args)
      npm ERR!            ^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
      npm ERR!     [generator, flat_list, targets, data] = Load(
      npm ERR!                                             ^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
      npm ERR!     result = gyp.input.Load(
      npm ERR!              ^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
      npm ERR!     LoadTargetBuildFile(
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
      npm ERR!     build_file_data = LoadOneBuildFile(
      npm ERR!                       ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
      npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! gyp ERR! node -v v18.16.1
      npm ERR! gyp ERR! node-gyp -v v7.1.2
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-19T16_14_11_491Z-debug-0.log
      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! prebuild-install warn install No prebuilt binaries found (target=18.16.1 runtime=node arch=x64 libc= platform=linux)
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@7.1.2
      npm ERR! gyp info using node@18.16.1 | linux | x64
      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
      npm ERR! (node:5888) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/opt/iobroker/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   '/opt/iobroker/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.16.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.16.1',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.16.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! Traceback (most recent call last):
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
      npm ERR!     sys.exit(gyp.script_main())
      npm ERR!              ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
      npm ERR!     return main(sys.argv[1:])
      npm ERR!            ^^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
      npm ERR!     return gyp_main(args)
      npm ERR!            ^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
      npm ERR!     [generator, flat_list, targets, data] = Load(
      npm ERR!                                             ^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
      npm ERR!     result = gyp.input.Load(
      npm ERR!              ^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
      npm ERR!     LoadTargetBuildFile(
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
      npm ERR!     build_file_data = LoadOneBuildFile(
      npm ERR!                       ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
      npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! gyp ERR! node -v v18.16.1
      npm ERR! gyp ERR! node-gyp -v v7.1.2
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-19T16_14_11_491Z-debug-0.log
      host.vm-iobroker Cannot install iobroker.rfxcom@2.0.2: 1
      iobroker@vm-iobroker:/opt/iobroker$
      
      
      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RFXCOM Adapter lässt sich nicht installieren

      Hallo Zusammen,
      ich bin recht neu in ioBroker, also habt bitte nachsicht was das ordentliche reporten angeht...

      Folgende Ausgangslage:
      Hardware: Fujitsu Q920 TinyPC
      Hypervisor: Proxmox 8.0.3
      VM-Image: Debian12 für ioBroker
      Durchgereichte HW: BT-LE Stick, CC2531, RFXCOM

      Zielsetzung:
      Installation des rfxcom Adapters

      Problemstellung:
      bei der Installation des RFXCOM Adapters 2.0.2 bekomme ich folgende Fehlermeldung:

      iobroker@vm-iobroker:/opt/iobroker$ iobroker add rfxcom auto --debug
      NPM version: 9.8.0
      Installing iobroker.rfxcom@2.0.2... (System call)
      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! prebuild-install warn install No prebuilt binaries found (target=18.16.1 runtime=node arch=x64 libc= platform=linux)
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@7.1.2
      npm ERR! gyp info using node@18.16.1 | linux | x64
      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
      npm ERR! (node:3365) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/opt/iobroker/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   '/opt/iobroker/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.16.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.16.1',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.16.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! Traceback (most recent call last):
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
      npm ERR!     sys.exit(gyp.script_main())
      npm ERR!              ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
      npm ERR!     return main(sys.argv[1:])
      npm ERR!            ^^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
      npm ERR!     return gyp_main(args)
      npm ERR!            ^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
      npm ERR!     [generator, flat_list, targets, data] = Load(
      npm ERR!                                             ^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
      npm ERR!     result = gyp.input.Load(
      npm ERR!              ^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
      npm ERR!     LoadTargetBuildFile(
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
      npm ERR!     build_file_data = LoadOneBuildFile(
      npm ERR!                       ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
      npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! gyp ERR! node -v v18.16.1
      npm ERR! gyp ERR! node-gyp -v v7.1.2
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-19T15_22_54_864Z-debug-0.log
      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! prebuild-install warn install No prebuilt binaries found (target=18.16.1 runtime=node arch=x64 libc= platform=linux)
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@7.1.2
      npm ERR! gyp info using node@18.16.1 | linux | x64
      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
      npm ERR! (node:3365) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/opt/iobroker/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   '/opt/iobroker/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.16.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.16.1',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.16.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! Traceback (most recent call last):
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
      npm ERR!     sys.exit(gyp.script_main())
      npm ERR!              ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
      npm ERR!     return main(sys.argv[1:])
      npm ERR!            ^^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
      npm ERR!     return gyp_main(args)
      npm ERR!            ^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
      npm ERR!     [generator, flat_list, targets, data] = Load(
      npm ERR!                                             ^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
      npm ERR!     result = gyp.input.Load(
      npm ERR!              ^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
      npm ERR!     LoadTargetBuildFile(
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
      npm ERR!     build_file_data = LoadOneBuildFile(
      npm ERR!                       ^^^^^^^^^^^^^^^^^
      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
      npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! gyp ERR! node -v v18.16.1
      npm ERR! gyp ERR! node-gyp -v v7.1.2
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-19T15_22_54_864Z-debug-0.log
      host.vm-iobroker Cannot install iobroker.rfxcom@2.0.2: 1
      iobroker@vm-iobroker:/opt/iobroker$
      
      

      Was ich schon gemacht habe:
      Weil ich das Announcement gelesen habe:
      erstmal ein

      find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" \; &> /dev/null
      

      aber dann hab ich weitergelesen und zur Sicherheit noch:

      iob stop
      iob fix
      iob start
      

      Hat nix gebracht.

      Im Vorfeld hab ich schon einiges an ähnlichen Fehlern gefunden was den ZigBee Adapter angeht. Da haben User das selbe berichtet wie hier eigentlich.
      Ich hatte also schon manuell die beiden folder gelöscht

      rm -R /opt/iobroker/node_modules/@serialport
      rm -R /opt/iobroker/node_modules/serialport
      

      Und auch nochmal den fixer drüber.

      Ich hab auch noch...

      cd /opt/iobroker/
      npm cache clean --force
      

      ...ausgeführt, aber auch danach keine Besserung.

      Weiter habe ich auch noch versucht ein npm rebuild zu machen. Aber auch da keine Verbesserung

      In dem ganzen Verlauf (und ich hänge hier schon seit Stunden) hab ich auch irgendwann mal ein

      cd /opt/iobroker/node_modules/@serialport/bindings-cpp
      npm install --production
      cd /opt/iobroker/node_modules/@serialport/bindings-interface
      npm install --production
      

      ...durchgeführt

      und irgendwann aus verzweiflung hab ich noch ein

      root@vm-iobroker:/opt/iobroker# npm install -g node-gyp
      npm notice
      npm notice New minor version of npm available! 9.5.1 -> 9.8.0
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.8.0
      npm notice Run npm install -g npm@9.8.0 to update!
      ...
      

      durchgeführt und dann anschließend noch ein

      npm install -g npm@9.8.0
      

      Kann mir hier jemand helfen?

      DANKE

      posted in ioBroker Allgemein
      F
      Forum-merlin
    • RE: IoT v1.8.25 - Massenlöschen von Geräten, nur wie?!

      @crunchip

      Danke fürs lesen und Deine Antworten und Fragen...

      zu "ist auch so"

      Scheinbar nicht, denn ich habe in RÄUME nur einen Slider bei "Keller" aktiv, und in FUNKTIONEN auch nur einen bei "Light" Trotzdem steht mein Geräte Counter weiterhin bei 741.

      zu "woher kommt denn diese Summe?"

      Diese Summe kommt aus dem FHEM Adapter.
      Wenn ich den aktiviere, dann liest er alles was in FHEM ist ein, und erstellt dazu Datenpunkte in ioBroker.
      Wie diese nun alle in "Alexa-Geräte" des iot.0 Adapters gekommen sind weiss ich nicht im Detail. Anfangs waren die Slider für Räume und Funktionen sicher alle auf ON. Also kommen so 741 Geräte zusammen nehme ich an.
      Nur wie bekomme ich die weg? Ich bekomme eben auch noch jedes Mal wenn ich ein Device lösche, erst die Aufforderung per OK zu bestätigen, und dann teilweise auch nen Fehler, dann noch eine Aktualisierung der Liste, und dann wieder 741 Devices und den Hinweis auf 300 max Geräte... Frustrierender Loop sozusagen.

      zu "das musst du doch selbst wissen, welches gerät du per Alexa und Co steuern möchtest"

      Ja, das weiss ich auch. Aber mein Problem ist ja, dass ich nicht einschränken kann welche Geräte darin auftauchen sollen. Die Slider sind inzwischen wie beschrieben eingestellt, aber die Liste wird nicht automatisch kleiner und ich kann nicht per + ein einzelnes Device auswählen oder erstellen.

      zu "ist mir nichts bekannt, bzw. wüsste nicht wie das gehen sollte"

      Ich weiss es auch nicht, stelle mir aber vor, dass ein Befehl im Hintergrund abgesetzt wird wenn ich auf das Mülltonnensymbol ind er GUI klicke. Ich habe schon mit "silly" Loglevel im iot.0 und im admin.0 geschaut, finde es aber nicht raus.
      Und mit F12 Developer Tools im Browser hab ich auch noch kein Glück gehabt.

      Ich dachte ich suche per grep alles in den iot.0 Files nach "delete", aber das war nicht wirklich besser. Zu viele Ergebnisse.

      posted in Cloud Dienste
      F
      Forum-merlin
    • IoT v1.8.25 - Massenlöschen von Geräten, nur wie?!

      Hallo Zusammen,
      dies ist meiner erster Beitrag hier, und dann gleich zu einem Thema welches schon mehrfach angerissen wurde, ich jedoch keine Lösung finden konnte.

      Ich bin neu im ioBroker und eigentlich ein FHEM Nutzer mir einer recht großen Umgebung.
      Ich versuche langsam von FHEM auf ioBroker zu gehen, stoße aber immer wieder an meine Grenzen.

      Ich habe aktuell das problem, dass mein iot.0 Adapter bei den "Alexa Geräten" sagt, dass meine 741 Geräte zuviele seien, und ich max 300 definieren kann.
      Ich hab schon rausgefunden, dass das eine Alexa Limitierung ist und keine des iot Adapters.

      Ich bräuchte mal ein CMD Kommando mit dem ich auf einen schlag, oder von mir aus auch nacheinander ALLE Geräte löschen kann.
      Gibt es sowas?

      Sowas in der art wie: CMD>iobroker iot.0 delete alldevs -y

      Weiter habe ich das Problem, dass ich nicht weiss wie ich denn explizit auswählen kann welche meiner Geräte ein Kandidat als Alexa Device sein könnte?

      Also sowas die die Selektierung über "Intelligente Aufzählungen" ?

      Ich dachte ich schalte hier den Slider bei Räume auf z.B. "Wohnzimmer" und zusätzlich bei "Light" und erhalte dann in den "Alexa-Geräten" nur die Devices im Wohnzimmer die vom Type her eben zu Light passen?

      Oder interpretiere ich das falsch?

      Ich hoffe auf Eure Hilfe hier...
      Startschwierigkeiten sind dooooof. 🙂

      beste Grüße,

      posted in Cloud Dienste
      F
      Forum-merlin
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo