Yes I use gateway and I also use mmm - google assistant but as per your advice I just updated node.js to version 20.04 and then I tried reinstalling gateway,assistant and mirror with npm rebulid command and now it works! Maybe the mirror was not working because it was a lower version that I installed a few months ago.
Thanks for your help in checking my mistake
Posts made by ain
-
RE: Screen off with ext-pir applied
-
RE: Screen off with ext-pir applied
@bugsounet
I modified the code according to your advice, but it still doesn’t work{ module: 'EXT-Pir', config: { debug: true, gpio: 20, reverseValue: false } }, { module: 'EXT-Screen', position: 'top_left', config: { delay: 2 * 60 * 1000 } },
I changed it to the default format only, and I think that ext-pir sends a wakeup alarm, so I don’t need to turn it on or off. However, even though I opened a new pir sensor and checked the GPIO settings, the screen does not show the sleep mode or timer picture.
Here’s what it looks like, the non-English ones are my local settings
-
Screen off with ext-pir applied
According to the ext-pir and screen documentation, I think I can apply this to make a system that turns on when something is detected by the pir via pir sensor mode. I have authorized mode 6, but it does not go to sleep when it is not detected, and vice versa.
module: 'EXT-Screen', position: 'top_left', config: { autoDimmer: true, delay: 2 * 60 * 10, mode: 6, gpio: 20, clearGpioValue: true, ON: [ { dayOfWeek: [0,1,2,3,4,5,6], hour: 00, minute: 00 } ], OFF: [ { dayOfWeek: [0,1,2,3,4,5,6], hour: 00, minute: 00 } ] } }, module: 'EXT-Pir', config: { debug: false, gpio: 2, reverseValue: false } },
These images don’t come up either
-
EXT-Detector rebulid failed log
im sorry for some about the same cataogoly
i tried clean my rasberry pi 4 4gb and re install the manual *(follow wiki) but it also same error before i didnt screenshot that i print it error code and my all version
please anyboday help me outReinstalling EXT-Detector... npm ERR! code 2 npm ERR! path /home/itsc/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy npm ERR! command failed npm ERR! command sh -c tsc -p tsconfig.json npm ERR! error TS2688: Cannot find type definition file for 'babel__core'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'babel__core' npm ERR! error TS2688: Cannot find type definition file for 'babel__generator'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'babel__generator' npm ERR! error TS2688: Cannot find type definition file for 'babel__template'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'babel__template' npm ERR! error TS2688: Cannot find type definition file for 'babel__traverse'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'babel__traverse' npm ERR! error TS2688: Cannot find type definition file for 'graceful-fs'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'graceful-fs' npm ERR! error TS2688: Cannot find type definition file for 'istanbul-lib-coverage'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'istanbul-lib-coverage' npm ERR! error TS2688: Cannot find type definition file for 'istanbul-lib-report'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'istanbul-lib-report' npm ERR! error TS2688: Cannot find type definition file for 'istanbul-reports'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'istanbul-reports' npm ERR! error TS2688: Cannot find type definition file for 'json-schema'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'json-schema' npm ERR! error TS2688: Cannot find type definition file for 'minimatch'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'minimatch' npm ERR! error TS2688: Cannot find type definition file for 'minimist'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'minimist' npm ERR! error TS2688: Cannot find type definition file for 'normalize-package-data'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'normalize-package-data' npm ERR! error TS2688: Cannot find type definition file for 'parse-json'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'parse-json' npm ERR! error TS2688: Cannot find type definition file for 'prettier'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'prettier' npm ERR! error TS2688: Cannot find type definition file for 'stack-utils'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'stack-utils' npm ERR! error TS2688: Cannot find type definition file for 'yargs'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'yargs' npm ERR! error TS2688: Cannot find type definition file for 'yargs-parser'. npm ERR! The file is in the program because: npm ERR! Entry point for implicit type library 'yargs-parser' npm ERR! A complete log of this run can be found in: npm ERR! /home/itsc/.npm/_logs/2022-07-19T03_07_02_890Z-debug-0.log
this is my raspberry pi and node/npm version
itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ getconf LONG_BIT 64 itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ cat /etc/*release* PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ node -v v16.16.0 itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm -v 8.11.0
-
RE: detector rebulid fail
@bugsounet
this is my magic mirror2 page, and i try to re bulid
itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run rebuildEXT-Detector@1.0.1 rebuild
installer/rebuild.shWelcome to EXT-Detector rebuild script
This script will erase current build of EXT-Detector and reinstall it
Use this script only for the new version of Magic Mirror
Do you want to continue ? [Y/n]
Your choice:
but, i usually can’t click, enter the y, the rasberry pi termmal that screen is freeze
even when i sucess the y the log printed…Deleting: package-lock.json node_modules
Done.Upgrading EXT-Detector…
HEAD의 현재 위치는 04a5704입니다 Merge pull request #2 from bugsounet/dev
Updated 0 paths from the index
힌트: Pulling without specifying how to reconcile divergent branches is
힌트: discouraged. You can squelch this message by running one of the following
힌트: commands sometime before your next pull:
힌트:
힌트: git config pull.rebase false # merge (the default strategy)
힌트: git config pull.rebase true # rebase
힌트: git config pull.ff only # fast-forward only
힌트:
힌트: You can replace “git config” with “git config --global” to set a default
힌트: preference for all repositories. You can also pass --rebase, --no-rebase,
힌트: or --ff-only on the command line to override the configured default per
힌트: invocation.
이미 업데이트 상태입니다.
Done.Reinstalling EXT-Detector…
npm ERR! code 2
npm ERR! path /home/itsc/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy
npm ERR! command failed
npm ERR! command sh -c tsc -p tsconfig.json
npm ERR! error TS2688: Cannot find type definition file for ‘babel__core’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__core’
npm ERR! error TS2688: Cannot find type definition file for ‘babel__generator’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__generator’
npm ERR! error TS2688: Cannot find type definition file for ‘babel__template’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__template’
npm ERR! error TS2688: Cannot find type definition file for ‘babel__traverse’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__traverse’
npm ERR! error TS2688: Cannot find type definition file for ‘graceful-fs’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘graceful-fs’
npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-coverage’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘istanbul-lib-coverage’
npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-report’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘istanbul-lib-report’
npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-reports’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘istanbul-reports’
npm ERR! error TS2688: Cannot find type definition file for ‘json-schema’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘json-schema’
npm ERR! error TS2688: Cannot find type definition file for ‘minimatch’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘minimatch’
npm ERR! error TS2688: Cannot find type definition file for ‘minimist’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘minimist’
npm ERR! error TS2688: Cannot find type definition file for ‘normalize-package-data’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘normalize-package-data’
npm ERR! error TS2688: Cannot find type definition file for ‘parse-json’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘parse-json’
npm ERR! error TS2688: Cannot find type definition file for ‘prettier’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘prettier’
npm ERR! error TS2688: Cannot find type definition file for ‘stack-utils’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘stack-utils’
npm ERR! error TS2688: Cannot find type definition file for ‘yargs’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘yargs’
npm ERR! error TS2688: Cannot find type definition file for ‘yargs-parser’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘yargs-parser’npm ERR! A complete log of this run can be found in:
npm ERR! /home/itsc/.npm/_logs/2022-07-13T02_43_07_575Z-debug-0.logmy rasberry pi is Raspberry Pi 4 Model B Rev 1.2 / Debian GNU/Linux 11 \n \l
and node version v16.16.0, npm version is 8.11.0 -
RE: detector rebulid fail
@bugsounet here is my log and npm, node.js raspberry version
-
RE: detector rebulid fail
@ain some korean word 힌트 = hint,
이미 업데이트 상태입니다 = already update -
RE: detector rebulid fail
this is my magic mirror2 page, and i try to re bulid
itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run rebuildEXT-Detector@1.0.1 rebuild
installer/rebuild.shWelcome to EXT-Detector rebuild script
This script will erase current build of EXT-Detector and reinstall it
Use this script only for the new version of Magic Mirror
Do you want to continue ? [Y/n]
Your choice:
but, i usually can’t click, enter the y, the rasberry pi termmal that screen is freeze
even when i sucess the y the log printed…Deleting: package-lock.json node_modules
Done.Upgrading EXT-Detector…
HEAD의 현재 위치는 04a5704입니다 Merge pull request #2 from bugsounet/dev
Updated 0 paths from the index
힌트: Pulling without specifying how to reconcile divergent branches is
힌트: discouraged. You can squelch this message by running one of the following
힌트: commands sometime before your next pull:
힌트:
힌트: git config pull.rebase false # merge (the default strategy)
힌트: git config pull.rebase true # rebase
힌트: git config pull.ff only # fast-forward only
힌트:
힌트: You can replace “git config” with “git config --global” to set a default
힌트: preference for all repositories. You can also pass --rebase, --no-rebase,
힌트: or --ff-only on the command line to override the configured default per
힌트: invocation.
이미 업데이트 상태입니다.
Done.Reinstalling EXT-Detector…
npm ERR! code 2
npm ERR! path /home/itsc/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy
npm ERR! command failed
npm ERR! command sh -c tsc -p tsconfig.json
npm ERR! error TS2688: Cannot find type definition file for ‘babel__core’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__core’
npm ERR! error TS2688: Cannot find type definition file for ‘babel__generator’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__generator’
npm ERR! error TS2688: Cannot find type definition file for ‘babel__template’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__template’
npm ERR! error TS2688: Cannot find type definition file for ‘babel__traverse’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘babel__traverse’
npm ERR! error TS2688: Cannot find type definition file for ‘graceful-fs’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘graceful-fs’
npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-coverage’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘istanbul-lib-coverage’
npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-report’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘istanbul-lib-report’
npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-reports’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘istanbul-reports’
npm ERR! error TS2688: Cannot find type definition file for ‘json-schema’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘json-schema’
npm ERR! error TS2688: Cannot find type definition file for ‘minimatch’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘minimatch’
npm ERR! error TS2688: Cannot find type definition file for ‘minimist’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘minimist’
npm ERR! error TS2688: Cannot find type definition file for ‘normalize-package-data’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘normalize-package-data’
npm ERR! error TS2688: Cannot find type definition file for ‘parse-json’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘parse-json’
npm ERR! error TS2688: Cannot find type definition file for ‘prettier’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘prettier’
npm ERR! error TS2688: Cannot find type definition file for ‘stack-utils’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘stack-utils’
npm ERR! error TS2688: Cannot find type definition file for ‘yargs’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘yargs’
npm ERR! error TS2688: Cannot find type definition file for ‘yargs-parser’.
npm ERR! The file is in the program because:
npm ERR! Entry point for implicit type library ‘yargs-parser’npm ERR! A complete log of this run can be found in:
npm ERR! /home/itsc/.npm/_logs/2022-07-13T02_43_07_575Z-debug-0.logmy rasberry pi is Raspberry Pi 4 Model B Rev 1.2 / Debian GNU/Linux 11 \n \l
and node version v16.16.0, npm version is 8.11.0 -
detector rebulid fail
I install MMM-googleaAssistant in raspberrypi 4 and follow wiki https://wiki.bugsounet.fr/en/MMM-GoogleAssistant
i follow the process and npm start to magicmirror2, but the
magicmirror screen saw about EXT-alert massage,
“fatal … npm start rebulid EXT-Detector”i use my terminal to rebulid it, but it didnt work, just freeze it
and i delete EXT-Detector folder, reinstall, change the config.js
but it show about same screen, “rebulid EXT-Detector”and i try to “npm update”, it also fail what worng about EXT-Detector?
i want use my MMM-googleAssistant