NEWS
Adapter mihome-vacuum anpassungen
-
Du sollst es ja auch nicht installieren sondern aktuell halten. Den Rest von der Kiste dann auch...
Aktuell wärenodejs -v v22.23.2 -
node -v
root@iobroker:/opt/iobroker# node -v
v22.22.0Ich probiere mal ein update durchzuführen, das alles aktuell ist
UND HAMPEL NICHT ALS ROOT HERUM!!!!!!!!!
-
Geht bei mir auch nicht.
NPM version: 10.9.8 Installing xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login... (System call) npm error code 2 npm error git dep preparation failednpm error command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/opt/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-runnpm error > canvas@3.2.3 installnpm error > prebuild-install -r napi || node-gyp rebuildnpm errornpm errornpm error > diskusage@1.2.0 installnpm error > node-gyp rebuild npm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage/build'npm error CXX(target) Release/obj.target/diskusage/src/main.onpm error CXX(target) Release/obj.target/diskusage/src/diskusage_posix.onpm error SOLINK_MODULE(target) Release/obj.target/diskusage.nodenpm error COPY Release/diskusage.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage/build'npm errornpm error > unix-dgram@2.0.6 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram/build'npm error CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.onpm error SOLINK_MODULE(target) Release/obj.target/unix_dgram.nodenpm error COPY Release/unix_dgram.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram/build'npm errornpm error > esbuild@0.11.23 postinstallnpm error > node install.jsnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 preparenpm error > npm run buildnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 buildnpm error > npm run build:backend && npm run build:adminnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 build:backendnpm error > tsc -p tsconfig.build.jsonnpm errornpm error ../../../../node_modules/@types/cacheable-request/index.d.ts(26,42): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(77,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(81,69): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(84,71): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(89,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(95,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(104,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(108,70): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(112,73): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(115,76): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(118,60): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error npm warn using --force Recommended protections disabled.npm error npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.menpm error npm warn deprecated cronstrue@2.61.0: Non-backwards compatible Breaking changesnpm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.5.0npm error gyp info using node@22.23.2 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.23.2/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.23.2',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.23.2/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error In file included from ../../nan/nan.h:67,npm error from ../src/main.cpp:3:npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1243:7: warning: cast between incompatible function types from ‘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 error 1243 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1277:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1277 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’npm error 42 | NODE_MODULE(diskusage, Init)npm error | ^~~~~~~~~~~npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error gyp info ok npm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.5.0npm error gyp info using node@22.23.2 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.23.2/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.23.2',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.23.2/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error In file included from ../../nan/nan.h:67,npm error from ../src/unix_dgram.cc:5:npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1243:7: warning: cast between incompatible function types from ‘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 error 1243 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1277:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1277 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’npm error 404 | NODE_MODULE(unix_dgram, Initialize)npm error | ^~~~~~~~~~~npm error gyp info ok npm error npm warn using --force Recommended protections disabled.npm error npm warn using --force Recommended protections disabled.npm error npm error code 2npm error npm error path /opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OHnpm error npm error command failednpm error npm error command sh -c npm run buildnpm error npm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-17T17_59_47_830Z-debug-0.log npm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-17T17_59_39_609Z-debug-0.log npm error code 2npm error git dep preparation failednpm error command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/opt/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-runnpm error > canvas@3.2.3 installnpm error > prebuild-install -r napi || node-gyp rebuildnpm errornpm errornpm error > diskusage@1.2.0 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage/build'npm error CXX(target) Release/obj.target/diskusage/src/main.onpm error CXX(target) Release/obj.target/diskusage/src/diskusage_posix.onpm error SOLINK_MODULE(target) Release/obj.target/diskusage.nodenpm error COPY Release/diskusage.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage/build'npm errornpm error > unix-dgram@2.0.6 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram/build'npm error CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.onpm error SOLINK_MODULE(target) Release/obj.target/unix_dgram.nodenpm error COPY Release/unix_dgram.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram/build'npm errornpm error > esbuild@0.11.23 postinstallnpm error > node install.jsnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 preparenpm error > npm run buildnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 buildnpm error > npm run build:backend && npm run build:adminnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 build:backendnpm error > tsc -p tsconfig.build.jsonnpm errornpm error ../../../../node_modules/@types/cacheable-request/index.d.ts(26,42): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(77,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(81,69): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(84,71): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(89,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(95,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(104,51): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(108,70): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(112,73): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(115,76): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error ../../../../node_modules/@types/cacheable-request/index.d.ts(118,60): error TS2709: Cannot use namespace 'ResponseLike' as a type.npm error npm warn using --force Recommended protections disabled.npm error npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.menpm error npm warn deprecated cronstrue@2.61.0: Non-backwards compatible Breaking changesnpm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.5.0npm error gyp info using node@22.23.2 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.23.2/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.23.2',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.23.2/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/diskusage',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error In file included from ../../nan/nan.h:67,npm error from ../src/main.cpp:3:npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1243:7: warning: cast between incompatible function types from ‘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 error 1243 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1277:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1277 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’npm error 42 | NODE_MODULE(diskusage, Init)npm error | ^~~~~~~~~~~npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error gyp info ok npm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.5.0npm error gyp info using node@22.23.2 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.23.2/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.23.2',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.23.2/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OH/node_modules/unix-dgram',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error In file included from ../../nan/nan.h:67,npm error from ../src/unix_dgram.cc:5:npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1243:7: warning: cast between incompatible function types from ‘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 error 1243 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.23.2/include/node/node.h:1277:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1277 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’npm error 404 | NODE_MODULE(unix_dgram, Initialize)npm error | ^~~~~~~~~~~npm error gyp info ok npm error npm warn using --force Recommended protections disabled.npm error npm warn using --force Recommended protections disabled.npm error npm error code 2npm error npm error path /opt/iobroker/.npm/_cacache/tmp/git-cloneYAP0OHnpm error npm error command failednpm error npm error command sh -c npm run buildnpm error npm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-17T17_59_47_830Z-debug-0.lognpm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-17T17_59_39_609Z-debug-0.log host.6cf6d49071ea Cannot install xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login: 2 ERROR: Process exited with code 25 -
node ist nun v22.23.2, geht trotzdem nicht zu installieren. ich werde wohl eine neue docker image installieren müssen
Hier 'geht es'. Allerdings auf einem "richtigen" System.
thomas@testpi:~ $ iobroker url https://github.com/xXBJXx/ioBroker.mihome-vacuum/tree/fix/xiaomi-cloud-qr-login --host testpi --debug install xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login NPM version: 10.9.8 Installing xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login... (System call) npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. > iobroker.mihome-vacuum@5.3.0 prepare > npm run build > iobroker.mihome-vacuum@5.3.0 build > npm run build:backend && npm run build:admin > iobroker.mihome-vacuum@5.3.0 build:backend > tsc -p tsconfig.build.json > iobroker.mihome-vacuum@5.3.0 build:admin > vite build --config src-admin/vite.config.ts vite v8.2.0 building client environment for production... transforming...✓ 11885 modules transformed. rendering chunks... computing gzip size... admin/index.html 0.41 kB │ gzip: 0.25 kB admin/assets/index.css 1.63 kB │ gzip: 0.73 kB admin/assets/index.js 927.28 kB │ gzip: 259.40 kB ✓ built in 3.48s [plugin builtin:vite-reporter] (!) Some chunks are larger than 900 kB after minification. Consider: - Using dynamic import() to code-split the application - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit. > canvas@3.2.3 install > prebuild-install -r napi || node-gyp rebuild added 2 packages, and changed 16 packages in 3m 113 packages are looking for funding run `npm fund` for details upload [22] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/S5.png S5.png image/png upload [20] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/assets/index.js assets/index.js application/javascript upload [19] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [18] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [17] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [16] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [15] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [14] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [13] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [12] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [11] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [10] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [9] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index.html index.html text/html upload [8] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index_m.html index_m.html text/html upload [7] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/mihome-vacuum.png mihome-vacuum.png image/png upload [6] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot.png robot.png image/png upload [5] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot1.png robot1.png image/png upload [4] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/spaceship.png spaceship.png image/png upload [3] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/tank.png tank.png image/png upload [2] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_conf.png valetudo_conf.png image/png upload [1] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_logo_small.svg valetudo_logo_small.svg image/svg+xml upload [0] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/words.js words.js application/javascript Updating objects from io-package.json for adapter "mihome-vacuum" with version "5.3.0" thomas@testpi:~ $ -
Hallo,
ich habe alle nötigen Upates durchgeführt, den alten Adapter gelöschgt und über die Katze - Benutzerdefiniert über den Link (https://github.com/xXBJXx/ioBroker.mihome-vacuum/tree/fix/xiaomi-cloud-qr-login) neu installiert. Die Installation schlägt aber leider fehl: Kann jemand weiterhelfen, warum?Ich füge das log auch bei2026-08-16T09_30_49_884Z-debug-0.log
$ iobroker url https://github.com/xXBJXx/ioBroker.mihome-vacuum/tree/fix/xiaomi-cloud-qr-login --host iobroker --debug install xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login NPM version: 10.9.4Installing xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login... (System call) npm error code 2 npm error git dep preparation failednpm error command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/opt/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-runnpm error > canvas@3.2.3 installnpm error > prebuild-install -r napi || node-gyp rebuildnpm errornpm errornpm error > diskusage@1.2.0 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage/build'npm error CXX(target) Release/obj.target/diskusage/src/main.onpm error CXX(target) Release/obj.target/diskusage/src/diskusage_posix.onpm error SOLINK_MODULE(target) Release/obj.target/diskusage.nodenpm error COPY Release/diskusage.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage/build'npm errornpm error > unix-dgram@2.0.6 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram/build'npm error CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.onpm error SOLINK_MODULE(target) Release/obj.target/unix_dgram.nodenpm error COPY Release/unix_dgram.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram/build'npm errornpm error > esbuild@0.11.23 postinstallnpm error > node install.jsnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 preparenpm error > npm run buildnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 buildnpm error > npm run build:backend && npm run build:adminnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 build:backendnpm error > tsc -p tsconfig.build.jsonnpm errornpm error error TS2688: Cannot find type definition file for 'bl'.npm error The file is in the program because:npm error Entry point for implicit type library 'bl'npm error npm warn using --force Recommended protections disabled.npm error npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.menpm error npm warn deprecated cronstrue@2.61.0: Non-backwards compatible Breaking changesnpm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.2.0npm error gyp info using node@22.22.0 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.22.0',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error In file included from ../../nan/nan.h:67,npm error from ../src/main.cpp:3:npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1244:7: warning: cast between incompatible function types from ‘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 error 1244 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1278:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1278 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’npm error 42 | NODE_MODULE(diskusage, Init)npm error | ^~~~~~~~~~~npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error gyp info ok npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@11.2.0npm error gyp info using node@22.22.0 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.22.0',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error In file included from ../../nan/nan.h:67,npm error from ../src/unix_dgram.cc:5:npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1244:7: warning: cast between incompatible function types from ‘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 error 1244 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1278:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1278 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’npm error 404 | NODE_MODULE(unix_dgram, Initialize)npm error | ^~~~~~~~~~~npm error gyp info ok npm error npm warn using --force Recommended protections disabled.npm error npm warn using --force Recommended protections disabled.npm error npm error code 2npm error npm error path /opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9npm error npm error command failednpm error npm error command sh -c npm run buildnpm error npm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-16T09_31_33_576Z-debug-0.lognpm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-16T09_30_49_884Z-debug-0.log npm error code 2npm error git dep preparation failednpm error command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/opt/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-runnpm error > canvas@3.2.3 installnpm error > prebuild-install -r napi || node-gyp rebuildnpm errornpm errornpm error > diskusage@1.2.0 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage/build'npm error CXX(target) Release/obj.target/diskusage/src/main.onpm error CXX(target) Release/obj.target/diskusage/src/diskusage_posix.onpm error SOLINK_MODULE(target) Release/obj.target/diskusage.nodenpm error COPY Release/diskusage.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage/build'npm errornpm error > unix-dgram@2.0.6 installnpm error > node-gyp rebuildnpm errornpm errornpm error make: Entering directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram/build'npm error CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.onpm error SOLINK_MODULE(target) Release/obj.target/unix_dgram.nodenpm error COPY Release/unix_dgram.nodenpm error make: Leaving directory '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram/build'npm errornpm error > esbuild@0.11.23 postinstallnpm error > node install.jsnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 preparenpm error > npm run buildnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 buildnpm error > npm run build:backend && npm run build:adminnpm errornpm errornpm error > iobroker.mihome-vacuum@5.3.0 build:backendnpm error > tsc -p tsconfig.build.jsonnpm errornpm error error TS2688: Cannot find type definition file for 'bl'.npm error The file is in the program because:npm error Entry point for implicit type library 'bl'npm error npm warn using --force Recommended protections disabled.npm error npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.menpm error npm warn deprecated cronstrue@2.61.0: Non-backwards compatible Breaking changesnpm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.2.0npm error gyp info using node@22.22.0 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.22.0',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/diskusage',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error In file included from ../../nan/nan.h:67,npm error from ../src/main.cpp:3:npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1244:7: warning: cast between incompatible function types from ‘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 error 1244 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1278:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1278 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’npm error 42 | NODE_MODULE(diskusage, Init)npm error | ^~~~~~~~~~~npm error <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefinednpm error <command-line>: note: this is the location of the previous definitionnpm error gyp info ok npm error gyp info it worked if it ends with oknpm error gyp info using node-gyp@11.2.0npm error gyp info using node@22.22.0 | linux | x64npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm error gyp info spawn /usr/bin/python3npm error gyp info spawn args [npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',npm error gyp info spawn args 'binding.gyp',npm error gyp info spawn args '-f',npm error gyp info spawn args 'make',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram/build/config.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm error gyp info spawn args '-I',npm error gyp info spawn args '/opt/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',npm error gyp info spawn args '-Dlibrary=shared_library',npm error gyp info spawn args '-Dvisibility=default',npm error gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/22.22.0',npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm error gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',npm error gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9/node_modules/unix-dgram',npm error gyp info spawn args '-Dnode_engine=v8',npm error gyp info spawn args '--depth=.',npm error gyp info spawn args '--no-parallel',npm error gyp info spawn args '--generator-output',npm error gyp info spawn args 'build',npm error gyp info spawn args '-Goutput_dir=.'npm error gyp info spawn args ]npm error gyp info spawn makenpm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]npm error In file included from ../../nan/nan.h:67,npm error from ../src/unix_dgram.cc:5:npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1244:7: warning: cast between incompatible function types from ‘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 error 1244 | (node::addon_register_func) (regfunc), \npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~npm error /opt/iobroker/.cache/node-gyp/22.22.0/include/node/node.h:1278:3: note: in expansion of macro ‘NODE_MODULE_X’npm error 1278 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)npm error | ^~~~~~~~~~~~~npm error ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’npm error 404 | NODE_MODULE(unix_dgram, Initialize)npm error | ^~~~~~~~~~~npm error gyp info ok npm error npm warn using --force Recommended protections disabled.npm error npm warn using --force Recommended protections disabled.npm error npm error code 2npm error npm error path /opt/iobroker/.npm/_cacache/tmp/git-clonehf5yn9npm error npm error command failednpm error npm error command sh -c npm run buildnpm error npm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-16T09_31_33_576Z-debug-0.lognpm error A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2026-08-16T09_30_49_884Z-debug-0.loghost.iobroker Cannot install xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login: 2 ERROR: Process exited with code 25Hallo zusammen,
der Fehler bei der Installation direkt von GitHub
TS2688: Cannot find type definition file for 'bl'wurde behoben. Der Fix befindet sich auf dem Branch
fix/xiaomi-cloud-qr-login.Bitte führt die Installation erneut aus git über:
https://github.com/xXBJXx/ioBroker.mihome-vacuum/tree/fix/xiaomi-cloud-qr-login
Node.js 22.13 oder neuer wird benötigt. Falls die Installation weiterhin fehlschlägt, sendet bitte das vollständige Installationslog sowie eure Node.js-, npm-, js-controller version.
-
Hallo zusammen,
der Fehler bei der Installation direkt von GitHub
TS2688: Cannot find type definition file for 'bl'wurde behoben. Der Fix befindet sich auf dem Branch
fix/xiaomi-cloud-qr-login.Bitte führt die Installation erneut aus git über:
https://github.com/xXBJXx/ioBroker.mihome-vacuum/tree/fix/xiaomi-cloud-qr-login
Node.js 22.13 oder neuer wird benötigt. Falls die Installation weiterhin fehlschlägt, sendet bitte das vollständige Installationslog sowie eure Node.js-, npm-, js-controller version.
-
Ich möchte mich hier noch einmal kurz zu dem Thema äußern.
Da kosmix1980 offenbar mit meiner bisherigen Arbeit am
ioBroker.mihome-vacuumnicht zufrieden war und inzwischen selbst noch einmal einen eigenen Fix eingebracht hat, stellt sich für mich mittlerweile die Frage, warum ich meine Zeit überhaupt noch in solche Arbeiten investieren sollte.Ich habe mich nach längerer Zeit wieder hingesetzt und versucht, den Adapter nach bestem Wissen auf einen aktuellen und funktionierenden Stand zu bringen. Das Ganze mache ich nicht beruflich, sondern in meiner Freizeit. Gerade bei mir ist diese Zeit momentan nicht selbstverständlich, und ich habe dafür teilweise auch meine eigene Gesundheit zurückgestellt.
Wenn dann der Eindruck entsteht, dass die geleistete Arbeit nicht ausreichend ist, nicht wirklich gewürdigt wird oder direkt noch einmal durch einen anderen Fix ersetzt werden muss, ist das für mich sehr demotivierend.
Mir ist vollkommen bewusst, dass Open-Source-Projekte von Zusammenarbeit, Verbesserungen und unterschiedlichen Lösungsansätzen leben. Ich habe auch kein Problem damit, wenn jemand Fehler findet oder Dinge besser lösen kann. Allerdings kommt es für mich auch darauf an, wie miteinander und mit der investierten Arbeit umgegangen wird.
Unter diesen Umständen sehe ich aktuell ehrlich gesagt keinen wirklichen Grund mehr, meine Freizeit und Energie weiterhin dafür zu opfern, Adapter zu reparieren oder weiterzuentwickeln.
Das finde ich persönlich sehr schade, denn eigentlich hatte ich mich gefreut, nach meiner längeren Pause wieder etwas für ioBroker und die Community machen zu können.
@Issi
Hallo ich habe jetzt den Adapter aktualisiert und die beiden Instanzen sind Grun.
Aber die beiden Instanzen verursachen ab und zu folgende Fehler.mihome-vacuum.0 2026-08-25 12:00:02.181 warn Terminated (UNCAUGHT_EXCEPTION): Without reason mihome-vacuum.0 2026-08-25 12:00:02.180 info terminating mihome-vacuum.0 2026-08-25 12:00:02.166 error Cannot read properties of undefined (reading 'log') mihome-vacuum.0 2026-08-25 12:00:02.166 error TypeError: Cannot read properties of undefined (reading 'log') at Timeout.setGetStatus [as _onTimeout] (/opt/iobroker/node_modules/iobroker.mihome-vacuum/build/lib/vacuum.js:726:26) at listOnTimeout (node:internal/timers:585:17) at processTimers (node:internal/timers:521:7) mihome-vacuum.0 2026-08-25 12:00:02.163 error unhandled promise rejection: Cannot read properties of undefined (reading 'log') mihome-vacuum.0 2026-08-25 12:00:02.163 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). mihome-vacuum.0 2026-08-25 12:00:00.148 info trigger cleaning allmihome-vacuum.1 2026-08-25 11:00:35.738 info starting. Version 5.3.0 (non-npm: xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login) in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v22.23.2, js-controller: 7.2.2 mihome-vacuum.1 2026-08-25 11:00:02.682 info terminating mihome-vacuum.1 2026-08-25 11:00:02.681 info terminating mihome-vacuum.1 2026-08-25 11:00:02.182 warn Terminated (UNCAUGHT_EXCEPTION): Without reason mihome-vacuum.1 2026-08-25 11:00:02.181 info terminating mihome-vacuum.1 2026-08-25 11:00:02.167 error Cannot read properties of undefined (reading 'log') mihome-vacuum.1 2026-08-25 11:00:02.167 error TypeError: Cannot read properties of undefined (reading 'log') at Timeout.setGetStatus [as _onTimeout] (/opt/iobroker/node_modules/iobroker.mihome-vacuum/build/lib/vacuum.js:726:26) at listOnTimeout (node:internal/timers:585:17) at processTimers (node:internal/timers:521:7) mihome-vacuum.1 2026-08-25 11:00:02.164 error unhandled promise rejection: Cannot read properties of undefined (reading 'log') mihome-vacuum.1 2026-08-25 11:00:02.164 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). mihome-vacuum.1 2026-08-25 11:00:00.101 info trigger cleaning allund auch bei ioBroker Host kommen fehler.
host.ioBroker 2026-08-25 12:00:33.307 info instance system.adapter.mihome-vacuum.0 in version "5.3.0" (non-npm: xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login) started with pid 121399 host.ioBroker 2026-08-25 12:00:02.754 info Restart adapter system.adapter.mihome-vacuum.0 because enabled host.ioBroker 2026-08-25 12:00:02.754 error instance system.adapter.mihome-vacuum.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2026-08-25 12:00:02.754 error Caught by controller[1]: at processTimers (node:internal/timers:521:7) host.ioBroker 2026-08-25 12:00:02.754 error Caught by controller[1]: at listOnTimeout (node:internal/timers:585:17) host.ioBroker 2026-08-25 12:00:02.754 error Caught by controller[1]: at Timeout.setGetStatus [as _onTimeout] (/opt/iobroker/node_modules/iobroker.mihome-vacuum/build/lib/vacuum.js:726:26) host.ioBroker 2026-08-25 12:00:02.754 error Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log') host.ioBroker 2026-08-25 12:00:02.753 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: host.ioBroker 2026-08-25 11:00:33.298 info instance system.adapter.mihome-vacuum.1 in version "5.3.0" (non-npm: xXBJXx/ioBroker.mihome-vacuum#fix/xiaomi-cloud-qr-login) started with pid 120827 host.ioBroker 2026-08-25 11:00:02.754 info Restart adapter system.adapter.mihome-vacuum.1 because enabled host.ioBroker 2026-08-25 11:00:02.754 error instance system.adapter.mihome-vacuum.1 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2026-08-25 11:00:02.753 error Caught by controller[1]: at processTimers (node:internal/timers:521:7) host.ioBroker 2026-08-25 11:00:02.753 error Caught by controller[1]: at listOnTimeout (node:internal/timers:585:17) host.ioBroker 2026-08-25 11:00:02.753 error Caught by controller[1]: at Timeout.setGetStatus [as _onTimeout] (/opt/iobroker/node_modules/iobroker.mihome-vacuum/build/lib/vacuum.js:726:26) host.ioBroker 2026-08-25 11:00:02.753 error Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log') host.ioBroker 2026-08-25 11:00:02.753 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: -
Jetzt wäre es super, wenn die Änderungen zeitnah in das Stable rutschen würden.
Großen Dank. -
ioBroker.mihome-vacuum 6.0.0 veröffentlicht
Hallo zusammen,
nach einer umfangreichen Modernisierung ist ioBroker.mihome-vacuum 6.0.0 veröffentlicht.
Diese Version wurde grundlegend überarbeitet. Neben der vollständigen Migration des Backends auf TypeScript wurden die Konfigurationsoberfläche sowie die VIS-1- und VIS-2-Widgets neu entwickelt.
Wichtige Voraussetzungen
Version 6.0.0 benötigt mindestens:
- Node.js 22.13
- js-controller 7.2.2
- Admin 7.8.23
Bitte prüft diese Versionen vor dem Update.
Da es sich um eine große Modernisierung handelt, empfiehlt sich vor dem Update ein ioBroker-Backup. Nach dem Update sollten insbesondere Modell, Manager, lokale Verbindung, Cloud-Anmeldung, Timer und Widgets kontrolliert werden.
Neue Admin-Oberfläche
Die bisherige Konfiguration wurde durch eine moderne, responsive Oberfläche auf Basis von React, Vite und TypeScript ersetzt.
Die Oberfläche enthält getrennte Bereiche für:
- Verbindung und Geräteauswahl
- allgemeine Einstellungen
- Karteneinstellungen
- Timer
- erweiterte Diagnose
Die Oberfläche unterstützt Hell- und Dunkelmodus sowie die vom ioBroker-Admin verwendete Sprache.
Neue Xiaomi-Cloud-Anmeldung
Die veraltete Anmeldung mit Xiaomi-Benutzername und Passwort wurde entfernt.
Die Anmeldung erfolgt jetzt über einen Xiaomi-Anmeldelink:
- In der Adapterkonfiguration die passende Xiaomi-Region auswählen.
- Auf „Xiaomi-Anmeldelink erstellen“ klicken.
- Den angezeigten Link im Browser öffnen.
- Die Anmeldung bei Xiaomi bestätigen.
- Zur Adapterkonfiguration zurückkehren.
- Auf „Geräte abrufen“ klicken.
- Den gewünschten Staubsauger auswählen.
Es wird kein QR-Bild erzeugt. Die intern verwendeten QR-Protokollbezeichnungen bleiben lediglich aus Kompatibilitätsgründen erhalten.
Nach der Geräteauswahl können folgende Werte automatisch übernommen beziehungsweise aktualisiert werden:
- lokaler Gerätetoken
- IP-Adresse
- Modell
- passender Geräte-Manager
Lokale Steuerung bleibt unabhängig
Die lokale Steuerung über IP-Adresse und Token funktioniert weiterhin ohne aktive Xiaomi-Cloud-Anmeldung.
Die Cloud wird nur für folgende Funktionen benötigt:
- automatische Gerätesuche
- bequemes Ermitteln von Token, IP-Adresse und Modell
- Xiaomi-Cloud-Karten
Wer Token, IP-Adresse und Modell bereits kennt, kann den Adapter vollständig manuell einrichten.
Eine mögliche Anleitung zum manuellen Ermitteln des Tokens findet ihr hier:
Bitte behandelt den Token wie ein Passwort und veröffentlicht ihn niemals in Logs, Screenshots oder Forenbeiträgen.
Geschützte Konfiguration
Der lokale Gerätetoken und die Xiaomi-Cloud-Sitzung werden über die offiziellen ioBroker-Mechanismen geschützt und verschlüsselt gespeichert.
Der Token ist in der Oberfläche standardmäßig verdeckt. Über das Augensymbol kann er bei Bedarf angezeigt und kopiert werden.
Passwörter, Cookies, Cloud-Sitzungen, Gerätetoken, vollständige Xiaomi-Antworten und Anmelde-URLs werden nicht in normalen Logs ausgegeben.
Erweiterte Diagnose
In der Konfiguration kann bei Bedarf eine erweiterte Diagnose aktiviert werden.
Diese Ausgabe enthält zusätzliche Informationen über:
- Geräteerkennung
- Protokollabläufe
- Cloud-Kommunikation
- Modell- und Funktionsauswahl
- Kartenverarbeitung
Die Diagnose ist standardmäßig deaktiviert und sollte nur vorübergehend zur Fehlersuche eingeschaltet werden. Vertrauliche Werte und personenbezogene Daten werden dabei soweit möglich entfernt oder gekürzt.
Komplett neue VIS-Widgets
Version 6 enthält neu entwickelte Widgets für VIS 1 und VIS 2.
Die Widgets bieten unter anderem:
- aktuelle Karte
- Verbindungsstatus
- Roboterstatus
- Akkustand
- gereinigte Fläche
- Reinigungszeit
- Saugstärke
- Start
- Pause
- Rückkehr zur Ladestation
- Roboter finden
- Raumreinigung
- eigene Saugstärke pro Raum
- Wartungszustände
- Filter
- Hauptbürste
- Seitenbürste
- Sensoren
- Wasserfilter
- Zurücksetzen der Wartungszähler
- Reinigungshistorie
- Fehleranzeige mit verständlichem Fehlertext
Die Darstellung ist responsiv und für breite sowie kleinere Widgetgrößen optimiert. Die Karte wird proportional dargestellt und sollte nicht mehr andere Bedienelemente überlagern.
Alle sichtbaren Texte verwenden die ioBroker-i18n-Übersetzungen.
Nach dem Update müssen vorhandene alte Widgets gegebenenfalls durch die neuen Widgets ersetzt oder deren Objekt-IDs neu zugewiesen werden.
Karten
Je nach Modell und Konfiguration können Karten über unterschiedliche Quellen bereitgestellt werden:
- Xiaomi Cloud
- lokale Roborock-Kartenverarbeitung
- Valetudo, sofern mit dem jeweiligen Modell und der verwendeten Valetudo-Version kompatibel
Die lokale Steuerung bleibt auch dann verfügbar, wenn keine Cloud-Karte geladen werden kann.
Karten werden weiterhin über folgende Datenpunkte bereitgestellt:
cleanmap.map64cleanmap.mapURLcleanmap.actualMapcleanmap.mapStatus
Der genaue Funktionsumfang hängt vom Modell und dessen Firmware ab.
Räume und Timer
Die Raumverwaltung wurde robuster gestaltet.
Unter anderem werden nun:
- fehlende Raumobjekte vor dem Schreiben erstellt
- Raumzuordnungen sicherer verarbeitet
- mehrere Adapterinstanzen sauber getrennt
- Räume direkt in den Widgets gestartet
- individuelle Saugstärken pro Raum unterstützt
Die Timerverwaltung wurde ebenfalls modernisiert und verwendet nun die vorgesehenen ioBroker-Timermechanismen. Timer können in der Admin-Oberfläche erstellt, bearbeitet, geladen und gespeichert werden.
Backend vollständig auf TypeScript umgestellt
Das produktive Backend sowie die Geräte-Manager wurden von JavaScript auf TypeScript migriert:
- Roborock
- Viomi
- Dreame
- Miio/UDP-Kommunikation
- Xiaomi-Cloud-Verbindung
- Kartenverarbeitung
- Raumverwaltung
- Timerverwaltung
- Protokoll- und Statusverarbeitung
Dabei wurden auch zahlreiche ältere und inzwischen veraltete ioBroker-Aufrufe ersetzt.
Stabilitätsverbesserungen
Unter anderem wurden folgende Probleme behoben:
- verlorene erste
miIO.info-Anfrage nach dem Verbindungsaufbau - verzögerte Statusabfragen ohne gültigen Manager-Kontext
- Absturz mit
Cannot read properties of undefined (reading 'log') - Befehle, die erst nach mehrmaligem Auslösen ausgeführt wurden
- fehlendes Objekt
control.clean_home - fehlende Raum-State-Objekte
- falscher Datentyp beim WLAN-Signal
- Statuszugriffe nach dem Beenden des Adapters
- nicht sauber beendete Cloud-Anmeldungen
- parallele oder überlappende Statusabfragen
- Probleme bei mehreren Instanzen und im Compact Mode
- beschädigte oder abgelaufene Cloud-Sitzungen
- optionale beziehungsweise fehlende Konfigurationswerte
- GitHub- und Dev-Server-Installationen ohne vorherige Build-Artefakte
Unterstützte Gerätefamilien
Der Adapter unterstützt Geräte aus folgenden Familien:
- Roborock beziehungsweise rockrobo
- Viomi
- Dreame
Explizit dokumentiert sind unter anderem:
Roborock
rockrobo.vacuum.v1roborock.vacuum.s4roborock.vacuum.s5roborock.vacuum.s5eroborock.vacuum.m1sroborock.vacuum.a10roborock.vacuum.a15
Viomi
viomi.vacuum.v6viomi.vacuum.v7viomi.vacuum.v8viomi.vacuum.v19
Dreame
dreame.vacuum.r2205dreame.vacuum.r2216odreame.vacuum.r2228odreame.vacuum.p2008dreame.vacuum.p2009dreame.vacuum.p2027dreame.vacuum.p2028dreame.vacuum.p2029dreame.vacuum.p2036dreame.vacuum.p2041odreame.vacuum.p2114adreame.vacuum.p2148odreame.vacuum.p2156o
Nicht jede Funktion ist bei jeder Gerätefamilie verfügbar. Insbesondere Karten, Räume, Dockfunktionen und Wischfunktionen unterscheiden sich je nach Modell und Firmware.
Weitere Modelle aus diesen Gerätefamilien können funktionieren, gelten aber erst nach einem erfolgreichen Gerätetest als bestätigt.
Tests
Version 6.0.0 wurde umfangreich geprüft:
- 209 Laufzeit- und Protokolltests
- 76 Paket- und Metadatenprüfungen
- TypeScript-Prüfung für Backend, Admin und Widgets
- ESLint
- Installationstest des gepackten npm-Pakets
- Adaptertests unter Node.js 22 und Node.js 24
- Tests unter Linux, Windows und macOS
- erfolgreicher Live-Test mit einem
roborock.vacuum.s5
Die vollständige Release-Pipeline ist grün.
Installation
Version 6.0.0 ist auf npm als
latestveröffentlicht:ioBroker.mihome-vacuum auf npm
GitHub Release:
GitHub-Repository:
Je nach Aktualisierungszeitpunkt der ioBroker-Repositories kann es etwas dauern, bis die Version regulär im Admin angezeigt wird.
Rückmeldungen und Fehlerberichte
Bitte gebt bei Problemen möglichst folgende Informationen an:
- Adapterversion
- Node.js-Version
- js-controller-Version
- Admin-Version
- vollständige Modellkennung
- ausgewählter Manager
- verwendete Kartenquelle
- relevante Logzeilen
- genaue Aktion, bei der das Problem auftritt
Bitte veröffentlicht niemals:
- Gerätetoken
- Xiaomi-Passwort
- Cookies
- Cloud-Sitzungen
- vollständige Xiaomi-Anmeldelinks
- vollständige unbereinigte API-Antworten
Fehler und nachvollziehbare Funktionswünsche können über GitHub gemeldet werden:
Vielen Dank an alle Tester und Nutzer, die Logs, Rückmeldungen und Gerätetests zur Verfügung gestellt haben. Besonders bei Viomi- und Dreame-Geräten sind weitere reale Gerätetests sehr willkommen.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden