Read the statement by Michael Teeuw here.
MMM-BoschSmartHome
-
@Jalibu
Hi, I just updated to MM 2.18 and the MM will not come up, if the MMM-BoschSmartHome module is active.If I disable/comment out the module, everything is working fine.
Have you checked your module with MM 2.18?
Update: I did a
npm install rxjs
in the MMM-BoschSmartHome folder, that seams to do the fix.
-
@majorc That’s strange. The only module dependency is bosch-smart-home-bridge which uses rxjs but also has it in its dependencies: https://github.com/holomekc/bosch-smart-home-bridge/blob/master/package.json
I am running the module on 2.18 without problems
-
@majorc so, after you did the git pull did you do another npm install in the module folder?
sometimes update add new or changed dependencies.
general rule
if the module contains a package json
ALWAYS do npm install (or follow the module instructions, as for bugsounet’s stuff)
on install or update -
@sdetweil I am sure i did that. But I am not able to check it again, because now it is working fine.
-
Is there an option to sort the shown rooms. I would like to change the order of the rooms.
-
@majorc nope, not yet. But feel free to create a Feature Request on GitHub for that.
-
I installed the module today, but i get this error:
[12.02.2023 16:06.09.906] [LOG] Starting MagicMirror: v2.22.0
[12.02.2023 16:06.09.918] [LOG] Loading config …
[12.02.2023 16:06.09.928] [LOG] Loading module helpers …
[12.02.2023 16:06.09.931] [LOG] No helper found for module: alert.
[12.02.2023 16:06.09.944] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘bosch-smart- home-bridge’
Require stack:
-
/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js
-
/home/pi/MagicMirror/js/app.js
-
/home/pi/MagicMirror/js/electron.js
-
/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js
[12.02.2023 16:06.09.946] [LOG] Loading module helpers …
[12.02.2023 16:06.09.948] [LOG] No helper found for module: alert.
[12.02.2023 16:06.09.953] [ERROR] App threw an error during load
[12.02.2023 16:06.09.956] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’
Require stack:
-
/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js
-
/home/pi/MagicMirror/js/app.js
-
/home/pi/MagicMirror/js/electron.js
-
/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js
at Module._resolveFilename (node:internal/modules/cjs/loader:963:15) at n._resolveFilename (node:electron/js2c/browser_init:2:109416) at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/i ndex.js:49:29) at Module._load (node:internal/modules/cjs/loader:811:27) at f._load (node:electron/js2c/asar_bundle:2:13328) at Module.require (node:internal/modules/cjs/loader:1035:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_ helper.js:14:65) at Module._compile (node:internal/modules/cjs/loader:1141:14) at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
[12.02.2023 16:06.09.959] [ERROR] Whoops! There was an uncaught exception…
[12.02.2023 16:06.09.971] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’
Require stack:
-
/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js
-
/home/pi/MagicMirror/js/app.js
-
/home/pi/MagicMirror/js/electron.js
-
/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js
at Module._resolveFilename (node:internal/modules/cjs/loader:963:15) at n._resolveFilename (node:electron/js2c/browser_init:2:109416) at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/i ndex.js:49:29) at Module._load (node:internal/modules/cjs/loader:811:27) at f._load (node:electron/js2c/asar_bundle:2:13328) at Module.require (node:internal/modules/cjs/loader:1035:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_ helper.js:14:65) at Module._compile (node:internal/modules/cjs/loader:1141:14) at Module._extensions..js (node:internal/modules/cjs/loader:1196:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
'/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/ main.js', undefined
]
}
[12.02.2023 16:06.09.973] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[12.02.2023 16:06.09.974] [ERROR] If you think this really is an issue, please o pen an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[12.02.2023 16:06.10.508] [LOG] Launching application.
[1549:0212/160611.418965:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[1576:0212/160611.630258:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extens ion not supported.
magicmirror@2.22.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
[12.02.2023 16:06.09.906] [LOG] Starting MagicMirror: v2.22.0
[12.02.2023 16:06.09.918] [LOG] Loading config …
[12.02.2023 16:06.09.928] [LOG] Loading module helpers …
[12.02.2023 16:06.09.931] [LOG] No helper found for module: alert.
[12.02.2023 16:06.09.944] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘bosch-smart- home-bridge’
Require stack:
-
/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js
-
/home/pi/MagicMirror/js/app.js
-
/home/pi/MagicMirror/js/electron.js
-
/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js
[12.02.2023 16:06.09.946] [LOG] Loading module helpers …
[12.02.2023 16:06.09.948] [LOG] No helper found for module: alert.
[12.02.2023 16:06.09.953] [ERROR] App threw an error during load
[12.02.2023 16:06.09.956] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’
Require stack:
-
/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js
-
/home/pi/MagicMirror/js/app.js
-
/home/pi/MagicMirror/js/electron.js
-
/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js
at Module._resolveFilename (node:internal/modules/cjs/loader:963:15) at n._resolveFilename (node:electron/js2c/browser_init:2:109416) at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/i ndex.js:49:29) at Module._load (node:internal/modules/cjs/loader:811:27) at f._load (node:electron/js2c/asar_bundle:2:13328) at Module.require (node:internal/modules/cjs/loader:1035:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_ helper.js:14:65) at Module._compile (node:internal/modules/cjs/loader:1141:14) at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
[12.02.2023 16:06.09.959] [ERROR] Whoops! There was an uncaught exception…
[12.02.2023 16:06.09.971] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’
Require stack:
i have absolutely no clue :-(
-
-
@Baschti
Error: Cannot find module ‘bosch-smart-home-br idge’looks like you didn’t do the npm install in the module folder
-
@sdetweil The Module is located in MagicMirror/modules/MMM-BoschSmartHome/
-
@Baschti yes? and
the author missed
a step in his instructionsbetween step 1 and 2 do
cd MMM-BoschSmartHome