Hi! Can you help me to use the selfiehot ? I installed but I don’t understand how use with googleassistant or another voicecontrole…
Thanks and have a good day !
Read the statement by Michael Teeuw here.
Latest posts made by jims
-
RE: MMM-Selfieshot
-
RE: Update MMM
after had followed the explanations page 3, the mirror is okay.
But, he seems that jarvis doesn’t work as before… when I say ‘what time is it’ he open a windows with the google search haha but otherwize the over questions are ok, jarvis answer correctly.
After, The module spotify doesn t work and PIR sensor… I will check it
sorry for my english, i m french -
RE: Update MMM
And during the update :
pi@raspberrypi:~/MagicMirror $ git pull && npm install Mise à jour 5bf90ae..447c0bf Fast-forward .eslintrc.json | 1 + .github/ISSUE_TEMPLATE.md | 21 +- .travis.yml | 27 +- CHANGELOG.md | 59 +- Gruntfile.js | 13 +- clientonly/index.js | 2 - config/config.js.sample | 18 +- index.html | 2 +- installers/dumpactivemodules.js | 15 - installers/fixuppm2.sh | 183 - installers/mm.sh | 1 + installers/pm2_MagicMirror.json | 7 - installers/postinstall/postinstall.sh | 2 - installers/raspberry.sh | 569 --- installers/screensaveroff.sh | 101 - installers/upgrade-script.sh | 361 -- js/app.js | 11 +- js/electron.js | 2 - js/loader.js | 6 +- js/main.js | 15 +- js/module.js | 11 +- js/node_helper.js | 4 +- js/server.js | 14 +- js/socketclient.js | 8 +- modules/README.md | 721 ---- modules/default/alert/README.md | 63 +- modules/default/calendar/README.md | 105 +- modules/default/calendar/calendar.js | 4 +- modules/default/calendar/calendarfetcher.js | 13 +- modules/default/calendar/debug.js | 2 +- .../default/calendar/vendor/ical.js/node-ical.js | 15 +- modules/default/clock/README.md | 54 +- modules/default/clock/clock.js | 58 +- modules/default/clock/clock_screenshot.png | Bin 30525 -> 0 bytes modules/default/clock/clock_styles.css | 10 + modules/default/compliments/README.md | 148 +- modules/default/compliments/compliments.js | 41 +- .../default/compliments/compliments_screenshot.png | Bin 26157 -> 0 bytes modules/default/currentweather/README.md | 86 +- modules/default/currentweather/currentweather.js | 23 +- .../default/currentweather/weather_screenshot.png | Bin 38566 -> 0 bytes modules/default/helloworld/README.md | 23 +- modules/default/newsfeed/README.md | 104 +- modules/default/newsfeed/newsfeed.js | 5 +- modules/default/newsfeed/newsfeed_screenshot.png | Bin 45375 -> 0 bytes modules/default/updatenotification/README.md | 24 +- modules/default/updatenotification/node_helper.js | 74 +- .../updatenotification/updatenotification.js | 1 + modules/default/weather/README.md | 117 +- modules/default/weather/current.png | Bin 8141 -> 0 bytes modules/default/weather/forecast.png | Bin 16385 -> 0 bytes modules/default/weatherforecast/README.md | 79 +- .../weatherforecast/forecast_screenshot.png | Bin 86206 -> 0 bytes package-lock.json | 4524 +++++++++----------- package.json | 21 +- run-start.sh | 67 - serveronly/index.js | 3 +- tests/configs/check_config.js | 14 +- .../modules/compliments/compliments_date.js | 41 + .../modules/weather/forecastweather_default.js | 46 +- .../modules/weather/forecastweather_options.js | 52 +- tests/e2e/modules/compliments_spec.js | 15 + tests/e2e/modules/mocks/weather_current.js | 98 +- tests/e2e/modules/mocks/weather_forecast.js | 184 +- tests/e2e/modules/weather_spec.js | 39 +- tests/e2e/vendor_spec.js | 15 +- tests/node_modules/webdriverajaxstub/index.js | 4 +- tests/unit/functions/currentweather_spec.js | 1 + tests/unit/functions/weatherforecast_spec.js | 1 + translations/fi.json | 5 +- translations/he.json | 36 + translations/hr.json | 2 +- translations/pl.json | 3 +- translations/pt-br.json | 5 +- translations/tr.json | 14 +- translations/translations.js | 10 +- translations/uk.json | 36 + untrack-css.sh | 11 - 78 files changed, 2680 insertions(+), 5790 deletions(-) mode change 100755 => 100644 CHANGELOG.md delete mode 100644 installers/dumpactivemodules.js delete mode 100755 installers/fixuppm2.sh delete mode 100644 installers/pm2_MagicMirror.json delete mode 100644 installers/postinstall/postinstall.sh delete mode 100755 installers/raspberry.sh delete mode 100755 installers/screensaveroff.sh delete mode 100755 installers/upgrade-script.sh delete mode 100644 modules/README.md delete mode 100644 modules/default/clock/clock_screenshot.png delete mode 100644 modules/default/compliments/compliments_screenshot.png delete mode 100644 modules/default/currentweather/weather_screenshot.png delete mode 100644 modules/default/newsfeed/newsfeed_screenshot.png delete mode 100644 modules/default/weather/current.png delete mode 100644 modules/default/weather/forecast.png delete mode 100644 modules/default/weatherforecast/forecast_screenshot.png delete mode 100755 run-start.sh create mode 100644 tests/configs/modules/compliments/compliments_date.js create mode 100644 translations/he.json create mode 100644 translations/uk.json delete mode 100755 untrack-css.sh npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this instal led. > electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron -chromedriver > node ./download-chromedriver.js > electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js Downloading tmp-1525-1-SHASUMS256.txt-6.1.7 [============================================>] 100.0% of 5.56 kB (5.56 kB/s) > magicmirror@2.11.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 220 packages in 25.414s found 8 vulnerabilities (7 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.11.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 1 package in 3.182s found 0 vulnerabilities MagicMirror installation finished successfully! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fse vents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"} ) added 124 packages from 84 contributors, removed 79 packages, updated 54 package s and moved 1 package in 774.482s 26 packages are looking for funding run `npm fund` for details pi@raspberrypi:~/MagicMirror $ sudo reboot pi@raspberrypi:~ $ npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-04-02T07_56_36_218Z-debug.log pi@raspberrypi:~ $ cd MagicMirror/ pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.11.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-04-02 09:57:00.458] [LOG] Starting MagicMirror: v2.11.0 [2020-04-02 09:57:00.477] [LOG] Loading config ... [2020-04-02 09:57:00.488] [LOG] Loading module helpers ... [2020-04-02 09:57:00.492] [LOG] No helper found for module: alert. [2020-04-02 09:57:00.601] [LOG] Initializing new module helper ... [2020-04-02 09:57:00.604] [LOG] Module helper loaded: updatenotification [2020-04-02 09:57:00.607] [LOG] No helper found for module: clock. [2020-04-02 09:57:01.480] [LOG] Initializing new module helper ... [2020-04-02 09:57:01.481] [LOG] Module helper loaded: calendar [2020-04-02 09:57:01.700] [LOG] Initializing new module helper ... [2020-04-02 09:57:01.703] [LOG] Module helper loaded: MMM-Selfieshot [2020-04-02 09:57:01.705] [LOG] No helper found for module: compliments. [2020-04-02 09:57:01.708] [LOG] No helper found for module: currentweather. [2020-04-02 09:57:01.711] [LOG] No helper found for module: weatherforecast. [2020-04-02 09:57:02.820] [LOG] Initializing new module helper ... [2020-04-02 09:57:02.822] [LOG] Check MagicMirror version for node helper 'MM M-Strava' - Minimum version: 2.2.0 - Current version: 2.11.0 [2020-04-02 09:57:02.823] [LOG] Version is ok! [2020-04-02 09:57:02.824] [LOG] Module helper loaded: MMM-Strava [2020-04-02 09:57:02.861] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirro r/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). [2020-04-02 09:57:02.864] [LOG] Loading module helpers ... [2020-04-02 09:57:02.867] [LOG] No helper found for module: alert. [2020-04-02 09:57:02.869] [LOG] Initializing new module helper ... [2020-04-02 09:57:02.871] [LOG] Module helper loaded: updatenotification [2020-04-02 09:57:02.873] [LOG] No helper found for module: clock. [2020-04-02 09:57:02.875] [LOG] Initializing new module helper ... [2020-04-02 09:57:02.877] [LOG] Module helper loaded: calendar [2020-04-02 09:57:02.878] [LOG] Initializing new module helper ... [2020-04-02 09:57:02.879] [LOG] Module helper loaded: MMM-Selfieshot [2020-04-02 09:57:02.881] [LOG] No helper found for module: compliments. [2020-04-02 09:57:02.882] [LOG] No helper found for module: currentweather. [2020-04-02 09:57:02.883] [LOG] No helper found for module: weatherforecast. [2020-04-02 09:57:02.884] [LOG] Initializing new module helper ... [2020-04-02 09:57:02.885] [LOG] Check MagicMirror version for node helper 'MM M-Strava' - Minimum version: 2.2.0 - Current version: 2.11.0 [2020-04-02 09:57:02.886] [LOG] Version is ok! [2020-04-02 09:57:02.887] [LOG] Module helper loaded: MMM-Strava [2020-04-02 09:57:02.899] [ERROR] App threw an error during load [2020-04-02 09:57:02.902] [ERROR] Error: The module '/home/pi/MagicMirror/modul es/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). at process.func (electron/js2c/asar.js:138:31) at process.func [as dlopen] (electron/js2c/asar.js:138:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as .node] (electron/js2c/asar.js:138:31) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin gs/bindings.js:112:48) at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7 :31 at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu les/epoll/epoll.js:15:3) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu les/onoff/onoff.js:5:15) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) [2020-04-02 09:57:02.907] [LOG] Whoops! There was an uncaught exception... [2020-04-02 09:57:02.909] [ERROR] Error: The module '/home/pi/MagicMirror/modul es/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). at process.func (electron/js2c/asar.js:138:31) at process.func [as dlopen] (electron/js2c/asar.js:138:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as .node] (electron/js2c/asar.js:138:31) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin gs/bindings.js:112:48) at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7 :31 at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu les/epoll/epoll.js:15:3) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu les/onoff/onoff.js:5:15) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) [2020-04-02 09:57:02.917] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-04-02 09:57:02.918] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-04-02 09:57:03.080] [LOG] Launching application. ^C[2020-04-02 09:59:16.827] [LOG] Shutting down server... [2020-04-02 09:59:16.835] [LOG] Stopping module helper: updatenotification [2020-04-02 09:59:16.836] [LOG] Stopping module helper: calendar [2020-04-02 09:59:16.837] [LOG] Stopping module helper: MMM-Selfieshot [2020-04-02 09:59:16.838] [LOG] Stopping module helper: MMM-Strava [2020-04-02 09:59:16.839] [LOG] Stopping module helper: updatenotification [2020-04-02 09:59:16.840] [LOG] Stopping module helper: calendar [2020-04-02 09:59:16.842] [LOG] Stopping module helper: MMM-Selfieshot [2020-04-02 09:59:16.843] [LOG] Stopping module helper: MMM-Strava pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.11.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-04-02 09:59:39.647] [LOG] Starting MagicMirror: v2.11.0 [2020-04-02 09:59:39.665] [LOG] Loading config ... [2020-04-02 09:59:39.675] [LOG] Loading module helpers ... [2020-04-02 09:59:39.682] [LOG] No helper found for module: alert. [2020-04-02 09:59:39.796] [LOG] Initializing new module helper ... [2020-04-02 09:59:39.798] [LOG] Module helper loaded: updatenotification [2020-04-02 09:59:39.799] [LOG] No helper found for module: clock. [2020-04-02 09:59:40.636] [LOG] Initializing new module helper ... [2020-04-02 09:59:40.637] [LOG] Module helper loaded: calendar [2020-04-02 09:59:40.856] [LOG] Initializing new module helper ... [2020-04-02 09:59:40.858] [LOG] Module helper loaded: MMM-Selfieshot [2020-04-02 09:59:40.861] [LOG] No helper found for module: compliments. [2020-04-02 09:59:40.862] [LOG] No helper found for module: currentweather. [2020-04-02 09:59:40.864] [LOG] No helper found for module: weatherforecast. [2020-04-02 09:59:41.992] [LOG] Initializing new module helper ... [2020-04-02 09:59:41.994] [LOG] Check MagicMirror version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.11.0 [2020-04-02 09:59:41.996] [LOG] Version is ok! [2020-04-02 09:59:41.997] [LOG] Module helper loaded: MMM-Strava [2020-04-02 09:59:42.049] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.051] [LOG] Module helper loaded: newsfeed [2020-04-02 09:59:42.054] [LOG] No helper found for module: MMM-YouTube. [2020-04-02 09:59:42.074] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.076] [LOG] Module helper loaded: MMM-Spotify [2020-04-02 09:59:42.382] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node' Require stack: - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js - /home/pi/MagicMirror/modules/MMM-Hotword/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 - [2020-04-02 09:59:42.385] [LOG] Loading module helpers ... [2020-04-02 09:59:42.388] [LOG] No helper found for module: alert. [2020-04-02 09:59:42.391] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.392] [LOG] Module helper loaded: updatenotification [2020-04-02 09:59:42.394] [LOG] No helper found for module: clock. [2020-04-02 09:59:42.396] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.397] [LOG] Module helper loaded: calendar [2020-04-02 09:59:42.398] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.398] [LOG] Module helper loaded: MMM-Selfieshot [2020-04-02 09:59:42.400] [LOG] No helper found for module: compliments. [2020-04-02 09:59:42.401] [LOG] No helper found for module: currentweather. [2020-04-02 09:59:42.402] [LOG] No helper found for module: weatherforecast. [2020-04-02 09:59:42.403] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.404] [LOG] Check MagicMirror version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.11.0 [2020-04-02 09:59:42.405] [LOG] Version is ok! [2020-04-02 09:59:42.406] [LOG] Module helper loaded: MMM-Strava [2020-04-02 09:59:42.407] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.408] [LOG] Module helper loaded: newsfeed [2020-04-02 09:59:42.410] [LOG] No helper found for module: MMM-YouTube. [2020-04-02 09:59:42.412] [LOG] Initializing new module helper ... [2020-04-02 09:59:42.414] [LOG] Module helper loaded: MMM-Spotify [2020-04-02 09:59:42.428] [ERROR] App threw an error during load [2020-04-02 09:59:42.429] [ERROR] Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node' Require stack: - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js - /home/pi/MagicMirror/modules/MMM-Hotword/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 - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js:8:29) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at loadModule (/home/pi/MagicMirror/js/app.js:131:17) at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5) [2020-04-02 09:59:42.432] [LOG] Whoops! There was an uncaught exception... [2020-04-02 09:59:42.433] [ERROR] Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node' Require stack: - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js - /home/pi/MagicMirror/modules/MMM-Hotword/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 - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js:8:29) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18) at Module._compile (internal/modules/cjs/loader.js:786:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at loadModule (/home/pi/MagicMirror/js/app.js:131:17) at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js', '/home/pi/MagicMirror/modules/MMM-Hotword/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 ] } [2020-04-02 09:59:42.447] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-04-02 09:59:42.449] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-04-02 09:59:42.629] [LOG] Launching application. ^C[2020-04-02 10:01:17.981] [LOG] Shutting down server... [2020-04-02 10:01:17.990] [LOG] Stopping module helper: updatenotification [2020-04-02 10:01:17.992] [LOG] Stopping module helper: calendar [2020-04-02 10:01:17.993] [LOG] Stopping module helper: MMM-Selfieshot [2020-04-02 10:01:17.994] [LOG] Stopping module helper: MMM-Strava [2020-04-02 10:01:17.996] [LOG] Stopping module helper: newsfeed [2020-04-02 10:01:17.997] [LOG] Stopping module helper: MMM-Spotify [2020-04-02 10:01:17.999] [LOG] Stopping module helper: updatenotification [2020-04-02 10:01:18.001] [LOG] Stopping module helper: calendar [2020-04-02 10:01:18.003] [LOG] Stopping module helper: MMM-Selfieshot [2020-04-02 10:01:18.005] [LOG] Stopping module helper: MMM-Strava [2020-04-02 10:01:18.007] [LOG] Stopping module helper: newsfeed [2020-04-02 10:01:18.009] [LOG] Stopping module helper: MMM-Spotify pi@raspberrypi:~/MagicMirror $ git pull Déjà à jour. pi@raspberrypi:~/MagicMirror $ apt-get update Lecture des listes de paquets... Fait E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée) E: Impossible de verrouiller le répertoire /var/lib/apt/lists/ W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission non accordée) W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission non accordée) pi@raspberrypi:~/MagicMirror $ cd .. pi@raspberrypi:~ $ apt-get update Lecture des listes de paquets... Fait E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée) E: Impossible de verrouiller le répertoire /var/lib/apt/lists/ W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission non accordée) W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission non accordée) pi@raspberrypi:~ $ ^C pi@raspberrypi:~ $ cmd": "cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js -bash: cmd: cd : commande introuvable pi@raspberrypi:~ $ cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git pi@raspberrypi:/ $ ls bin boot dev etc home lib lost+found media mnt opt proc root run sbin srv sys tmp usr var pi@raspberrypi:/ $
Thanks for help…
-
RE: Update MMM
doesn t work… already black screen… I have PIR Sensor too
I did this :
login as: pi pi@192.168.1.18's password: Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Apr 2 09:55:59 2020 from 192.168.1.11 pi@raspberrypi:~ $ cd MagicMirror/ pi@raspberrypi:~/MagicMirror $ cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git pi@raspberrypi:/ $ git checkout modules/node_modules/node_helper/index.js fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git pi@raspberrypi:/ $ pi@raspberrypi:/ $ login as: pi pi@192.168.1.18's password: Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Apr 2 10:20:36 2020 pi@raspberrypi:~ $ pi@raspberrypi:~ $ cd MagicMirror/ pi@raspberrypi:~/MagicMirror $ npm stop npm ERR! missing script: stop npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-04-02T08_23_06_473Z-debug.log pi@raspberrypi:~/MagicMirror $ pm2 stop mm [PM2][ERROR] Process or Namespace mm not found pi@raspberrypi:~/MagicMirror $ pm2 stop error: missing required argument `id|name|namespace|all|json|stdin' pi@raspberrypi:~/MagicMirror $ pm2 stop MagicMirror [PM2] Applying action stopProcessId on app [MagicMirror](ids: 0) [PM2] [MagicMirror](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” #: “#!/bin/bash: Aucun fichier ou dossier de ce type pi@raspberrypi:~/MagicMirror $ cd .. pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” #: “#!/bin/bash: Aucun fichier ou dossier de ce type pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)" $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$\ $$$\ $$$ | \__| $$$\ $$$ |\__| $$ __$$\ $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \__/ $$ | $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ |$$ _____|$$\$$\$$ $$ |$$ |$$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$$$$$ | $$ \$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ \$$$ $$ |$$ |$$ | \__|$$ | \__|$$ / $$ |$$ | \__|$$ ____/ $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |\$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ | $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ | $$ | \$$$$$$ |$$ | $$$$$$$$\ \__| \__| \_______| \____$$ |\__| \_______|\__| \__|\__|\__| \__| \______/ \__| \________| $$\ $$ | \$$$$$$ | \______/ install log being saved to /home/pi/install.log Updating packages ... Installing helper tools ... Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v10.1.0 Installed Node version: v10.15.2 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V6.0.0 Installed npm version: V6.13.6 No npm upgrade necessary. It seems like MagicMirror is already installed. To prevent overwriting, the installer will be aborted. Please rename the ~/MagicMirror folder and try again. If you want to upgrade your installation run upgrade-script from the ~/MagicMirror/installers directory. pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" the log will be /home/pi/MagicMirror/installers/upgrade.log No LSB modules are available. doing test run = true update log will be in /home/pi/MagicMirror/installers/upgrade.log upgrading from version 2.11.0 to 2.11.0 fetching latest revisions there are 1 local files that are different than the master repo package-lock.json any *-lock.json files do not need to be saved do you want to save these files for later (Y/n)?y processing dependency changes for active modules with package.json files processing for module MMM-Selfieshot please wait ---------------------------------- skipped processing for MMM-Selfieshot, doing test run processing complete for module MMM-Selfieshot processing for module MMM-Strava please wait ---------------------------------- skipped processing for MMM-Strava, doing test run processing complete for module MMM-Strava processing for module MMM-PIR-Sensor please wait ---------------------------------- skipped processing for MMM-PIR-Sensor, doing test run processing complete for module MMM-PIR-Sensor processing for module MMM-Spotify please wait ---------------------------------- skipped processing for MMM-Spotify, doing test run processing complete for module MMM-Spotify processing for module MMM-Hotword please wait ---------------------------------- skipped processing for MMM-Hotword, doing test run processing complete for module MMM-Hotword processing for module MMM-AssistantMk2 please wait ---------------------------------- skipped processing for MMM-AssistantMk2, doing test run processing complete for module MMM-AssistantMk2 test run, restoring files stashed pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply the log will be /home/pi/MagicMirror/installers/upgrade.log No LSB modules are available. doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log local version 2.11.0 already same as master 2.11.0 pi@raspberrypi:~ $ npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-04-02T09_03_45_797Z-debug.log pi@raspberrypi:~ $ sudo reboot pi@raspberrypi:~ $ login as: pi pi@192.168.1.18's password: Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Apr 2 11:04:36 2020 pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)" server does not have extension for -dpms option pi@raspberrypi:~ $ pi@raspberrypi:~ $ fixuppm2.sh -bash: fixuppm2.sh : commande introuvable pi@raspberrypi:~ $ pm2 stop mm ^C pi@raspberrypi:~ $ pm2 stop MagicMirror [PM2] Applying action stopProcessId on app [MagicMirror](ids: 0) [PM2] [MagicMirror](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)" pi@raspberrypi:~ $ pi@raspberrypi:~ $ fixuppm2.sh -bash: fixuppm2.sh : commande introuvable pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)" pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log removed 207 packages in 17.491s npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/pm2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) [PM2][ERROR] File /home/pi/MagicMirror/installers/pm2_MagicMirror.json not found [PM2] Saving current process list... [PM2][WARN] PM2 is not managing any process, skipping save... [PM2][WARN] To force saving use: pm2 save --force pi@raspberrypi:~ $ sudo reboot
-
RE: Update MMM
hello! I have the same problem. I am going to test the command to check. Updat in progress. I will see if it’s okay after updating. Thanks for your help!
-
RE: What mirror choose in France
Salut! Je déterre ce sujet car je vois que ça parle français haha
EN ce moment pas mal de temps… on s’en passerait bien sur mais du coup je me suis remis sur la programmation de mon miroir… mais j’aurais besoin d’un peu d’aide pour la compréhension de la partie assistant MK2, il fonctionne, mais a part lui demander l’heure, la date, la météo… j’aurais voulu comprendre comment lui demander des actions précises, type mettre un réveil, éteindre l’affichage, contrôler spotify… a oui, comprendre aussi pour la partie module externe, j’ai un détecteur de mouvement et une sonde de température… bref, comprendre comment faire ça car je galère un peu haha je suis dispo en chat direct! Merci et bonne journée à tous ^^ -
RE: The latest Install Guide (MM w/ Google Assistant)
@Sean everythings it s ok! it s work! just renew the credentiel and the key :)
-
RE: The latest Install Guide (MM w/ Google Assistant)
@Sean sorry
ok thanks. But I use this url :
https://github.com/eouia/MMM-AssistantMk2/blob/7406bac00cfed1d1b9783ab2b11b7c54fc515cc9/documents/config_sample.mdand now, google assistant it’s ok when i said “smartmirror”
BUT , a google accunt window open to put the google projet and the google window give me a connexion key.
But, I already do this step before, with node auth_and_test.js and I don’t understand… -
RE: The latest Install Guide (MM w/ Google Assistant)
@Sean
I use this, but I don’t know if it’s okay{ module: "MMM-Hotword", config: { record: { recordProgram : "arecord", device : "plughw:1" }, autostart:true, onDetected: { notification: (payload) => { return "ASSISTANT_ACTIVATE" }, payload: (payload) => { return { profile: payload.hotword } } }, }, }, { module: "MMM-AssistantMk2", position: "fullscreen_above", config: { ui: "Fullscreen", assistantConfig: { latitude: 45.56667, longitude: 5.93333, }, micConfig: { // put there configuration generated by auto-installer recorder: "arecord", device: "plughw:1", }, recipes: [ "with-MMM-Hotword.js" ], profiles: { "default": { profileFile: "default.json", lang: "en-US" } }, addons: false, } },
-
RE: The latest Install Guide (MM w/ Google Assistant)
@Sean Hi Sean. At the moment, i have time to test google assistant haha So, I update Hotword and Assistant Mk2 in V3. But, it doesn’t work… I don’t have the icon google assistant on my screen…
Can you help me please ?