Read the statement by Michael Teeuw here.
MMM-Swipe: deprecated WARNINGS plus ERROR
-
Hi there,
first of all: Do I understand it correctly, that there’s two HC-SR04 sensors neede? one for left and one for right?
If so (which I imagine), please make the readme in github a bit more clear on this. Took me a few thoughts on how to figure “right” and “left” pins. If you’re not familiar with those sensors, you’re a bit confused… ;)after cloning the repo to modules and
npm installI get the following warnings:pi@MagicMirror:~/MagicMirror/modules/MMM-Swipe $ npm install npm WARN deprecated math-statistics@1.2.0: THIS PROJECT IS NO LONGER MAINTAINED by clebert npm WARN deprecated typesystem@5.0.0: THIS PROJECT IS NO LONGER MAINTAINED by clebert npm WARN deprecated expressive-assertion@1.5.1: THIS PROJECT IS NO LONGER MAINTAINED by clebertDon’t know, if that’s the cause for the following errors on startup:
pi@MagicMirror:~/MagicMirror $ DISPLAY=:0 npm restart & [1] 1171 > magicmirror@2.1.0 start /home/pi/MagicMirror > electron js/electron.js Starting MagicMirror: v2.1.0 Loading config ... Loading module helpers ... No helper found for module: MMM-Globe. Initializing new module helper ... WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'mmm-usonic' Loading module helpers ... No helper found for module: MMM-Globe. Initializing new module helper ... App threw an error during load Error: Cannot find module 'mmm-usonic' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:11:16) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) Whoops! There was an uncaught exception... { Error: Cannot find module 'mmm-usonic' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:11:16) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application.it seems, the dependency to mmm-usonic wasn’t solved, I don’t see this module anywhere on my pi…
Thanks for help!
Thomas. -
Thomas,
I haven’t developed it since I first made it so I’m not sure if it still works with all the updates the pi & MM have gotten. Sorry.
If you want to still try and get it to work, yes you do need 2 sensors to detect movement between them. You also need to run the MagicMirror with
sudoto allow permissions to the GPIO pins in MagicMirror. -
@mochman ok. thanks for the update.
Does anyone know: Is there some “newer” gesture-module for the MagicMirror?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login