ioBroker.ham icon indicating copy to clipboard operation
ioBroker.ham copied to clipboard

After Restore IOBROKER Homebridge Button shows no list

Open cobra98 opened this issue 10 months ago • 2 comments

Describe the bug
After a problem with zigbee and bad bits a restore was done of iobroker, javascript, history, zigbee from one week. The devices implented by ham seems active and working. But the Section under zigbee -> HOMEBRDIGE can not be searched after modules anymore

Expected behavior
Before i could search under HOMEbridge for modules and load them

Screenshots & Logfiles
With iob DIAG it shows errors in NPM

Errors in npm tree:

npm ERR! code ELSPROBLEMS
npm ERR! missing: homebridge-airthings@^0.8.0, required by [email protected]
npm ERR! missing: homebridge-miot@^1.2.3, required by [email protected]
npm ERR! missing: node-mihome@^0.0.32, required by [email protected]

Versions:

  • Adapter version: 5.3.1
  • JS-Controller version: 5.0.19
  • Node version: v18.20.2
  • Operating system: Debian GNU/Linux 11 (bullseye)
Nodejs-Installation:    /usr/bin/nodejs         v18.20.2
                        /usr/bin/node           v18.20.2
                        /usr/bin/npm            10.5.0
                        /usr/bin/npx            10.5.0
                        /usr/bin/corepack       0.25.2
ioBroker Core:          js-controller           5.0.19
                                  admin                   6.13.16

Not sure how i can fix the problem, fastest maybe uninstall ham Reinstall and copy script configuration under ham into it? HAM runs under WRAPPER Mode NPM Modules used "[email protected] [email protected]"

Maybe there is a trick to reinstall them to make the HOMEBRIDGE MODULE (BETA) working again? Not sure if it is a bug, but i make a backup i expect after restore everything should work normal again, so i put it as bug for a solution.

cobra98 avatar Apr 13 '24 12:04 cobra98

After using the Update NPM im HAM (Beim nächsten Start Homebridge Plugins aktualisieren) iob diag shows this additional now

"``` Errors in npm tree:

npm ERR! code ELSPROBLEMS
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/buffer-shims
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/futoin-hkdf
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/homebridge-plugin-wrapper
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/mock-require
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/node-persist
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/q
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/remove-trailing-separator
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/string-argv
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/homebridge-plugin-wrapper/node_modules/debug
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/homebridge-plugin-wrapper/node_modules/fs-extra
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/homebridge-plugin-wrapper/node_modules/ms
npm ERR! missing: node-mihome@^0.0.32, required by [email protected]
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/mock-require/node_modules/get-caller-file
npm ERR! extraneous: [email protected] /opt/iobroker/node_modules/mock-require/node_modules/normalize-path

npm ERR! A complete log of this run can be found in: /home/andreas/.npm/_logs/2024-04-13T12_12_19_779Z-debug-0.log

But logs shows only this

andreas@raspberrypi:~ $ ls /home/andreas/.npm/_logs 2023-04-16T18_41_42_716Z-debug-0.log 2023-04-16T18_46_01_935Z-debug-0.log 2023-04-16T19_05_24_951Z-debug-0.log 2023-04-16T19_05_29_302Z-debug-0.log 2024-04-13T12_14_30_363Z-debug-0.log 2023-04-16T18_42_29_959Z-debug-0.log 2023-04-16T18_58_49_839Z-debug-0.log 2023-04-16T19_05_26_326Z-debug-0.log 2024-04-13T12_12_42_317Z-debug-0.log 2023-04-16T18_45_59_875Z-debug-0.log 2023-04-16T19_02_05_843Z-debug-0.log 2023-04-16T19_05_27_907Z-debug-0.log 2024-04-13T12_14_29_041Z-debug-0.log

cobra98 avatar Apr 13 '24 12:04 cobra98

Section under zigbee -> HOMEBRDIGE can not be searched after modules anymore

What you mean with this? Can you show a screenshot please?

Apollon77 avatar Apr 16 '24 20:04 Apollon77