MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Aly
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 11
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Gestures

      @Tobi91

      Hey Tobi,

      no I am sry …

      Aly

      posted in Troubleshooting
      A
      Aly
    • MMM-Gestures

      Hey @thobach,

      I have problems with your gestures module for the APDS-9960 Sensor.

      Here is the log data:

      /home/pi/.pm2/logs/gestures-error-1.log last 10 lines:
      1|gestures |     at TCP.onread (net.js:568:26)
      1|gestures | DEPRECATION: Please use `require('serialport')` instead of `require('serialport').SerialPort`
      1|gestures | events.js:160
      1|gestures |       throw er; // Unhandled 'error' event
      1|gestures |       ^
      1|gestures | 
      1|gestures | Error: read ECONNRESET
      1|gestures |     at exports._errnoException (util.js:1018:11)
      1|gestures |     at TCP.onread (net.js:568:26)
      1|gestures | DEPRECATION: Please use `require('serialport')` instead of `require('serialport').SerialPort`
      
      /home/pi/.pm2/logs/gestures-out-1.log last 10 lines:
      1|gestures | Connection closed
      1|gestures | Sat Jun 03 2017 13:02:17 GMT+0200 (CEST): exec error: Error: Command failed: ls /dev/ttyACM*
      1|gestures | ls: Zugriff auf /dev/ttyACM* nicht möglich: Datei oder Verzeichnis nicht gefunden
      1|gestures | 
      1|gestures | New connection from client established
      1|gestures | Received MMM-Gestures client registered to WebSocket server
      1|gestures | Connection closed
      1|gestures | Sat Jun 03 2017 13:56:40 GMT+0200 (CEST): exec error: Error: Command failed: ls /dev/ttyACM*
      1|gestures | ls: Zugriff auf /dev/ttyACM* nicht möglich: Datei oder Verzeichnis nicht gefunden
      1|gestures | 
      
      

      I get gestures via serial monitor in Arduino IDE - so the sensor is correctly connected. I think there is a problem with the connection over USB -gestures.js hasn’t a connection with the arduino. (ttyACM)

      I hope you can help me :)

      Thanks in advance!

      Aly

      posted in Troubleshooting
      A
      Aly
    • RE: PIR sensor behind glass?

      @Nususu

      Ok - thanks for your help! :)

      I can/will test it on coming monday.

      posted in Hardware
      A
      Aly
    • RE: PIR sensor behind glass?

      @Nususu

      so if we remove the R6 resistor the delay would be 30s ?

      posted in Hardware
      A
      Aly
    • RE: PIR sensor behind glass?

      @Nususu - great !!

      Can you post the doc. ?

      posted in Hardware
      A
      Aly
    • RE: PIR sensor behind glass?

      @Nususu - same here

      Perhaps, with a resistor?

      posted in Hardware
      A
      Aly
    • RE: Facial Recognition - customize your mirror for every user!

      @strawberry-3.141
      Thank you :) - I think i have forgotten it

      posted in Troubleshooting
      A
      Aly
    • RE: Facial Recognition - customize your mirror for every user!

      @tidus5

      Hey :)

      I received this error :

      Thank you in advance! tidus5 & paviro
      Great module paviro :)

      Happy and peaceful christmas holidays!!

      App threw an error during load
      Error: Cannot find module 'python-shell'
          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.<anonymous> (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:4:21)
          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 'python-shell'
          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.<anonymous> (/home/pi/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:4:21)
          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.
      
      posted in Troubleshooting
      A
      Aly
    • RE: Facial Recognition - customize your mirror for every user!

      @tidus5 So it looks like that i have problems with the module itself - not with other modules.

      posted in Troubleshooting
      A
      Aly
    • RE: Facial Recognition - customize your mirror for every user!

      @tidus5 No i don’t use this module :/

      posted in Troubleshooting
      A
      Aly
    • RE: Facial Recognition - customize your mirror for every user!

      Hey everyone,

      I have also followed the instructions referring taking pics and creating the training file.

      If I “start” the MagicMirror nothing happened - only white screen.
      If I “start” it without the MMM module (commented it out) everything is working.

      Here my config.js:

      var config = {
      	port: 8080,
      
      	language: 'de',
      	timeFormat: 24,
      	units: 'metric',
      
      	modules: [
      		{
      			module: 'alert',
      		},
      //--------------------------------------------------------------------
      		{
      			module: 'clock',
      			position: 'top_left',
      			classes: 'everyone'
      		},
      //---------------------------------------------------------------------
      		{
      			module: 'calendar',
      			header: 'Österreich Feiertage',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'webcal://www.calendarlabs.com/templates/ical/Germany-Holidays.ics'
      					}
      				]
      			}
      		},
      //------------------------------------------------------------------------
      		{
      			module: 'compliments',
      			position: 'lower_third',
      			classes: 'Markus'
      		},
      //-------------------------------------------------------------------------
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Braunau am Inn',
      				locationID: '2781520',  //ID from http://www.openweathermap.org
      				appid: '021e48dc7c378757c1fb021bf373d56c'
      			}
      		},
      //------------------------------------------------------------------------
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      	            location: 'Braunau am Inn',
      				locationID: '2781520',  //ID from http://www.openweathermap.org
      	            appid: '021e48dc7c378757c1fb021bf373d56c'
      			}
      		},
      //-------------------------------------------------------------------------
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "Tagesschau",
      						url: "http://www.tagesschau.de/xml/rss2"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      //-------------------------------------------------------------------------
      		/*{
      	    module: 'MMM-Facial-Recognition',
      	    config: {
      		        // 1=LBPH | 2=Fisher | 3=Eigen
      			recognitionAlgorithm: 1,
      			// Threshold for the confidence of a recognized face before it's considered a
      			// positive match.  Confidence values below this threshold will be considered
      			// a positive match because the lower the confidence value, or distance, the
      			// more confident the algorithm is that the face was correctly detected.
      			lbphThreshold: 50,
      			fisherThreshold: 250,
      			eigenThreshold: 3000,
      			// force the use of a usb webcam on raspberry pi (on other platforms this is always true automatically)
      			useUSBCam: true,
      			// Path to your training xml
      			trainingFile: 'modules/MMM-Facial-Recognition/training.xml',
      			// recognition intervall in seconds (smaller number = faster but CPU intens!)
      			interval: 2,
      			// Logout delay after last recognition so that a user does not get instantly logged out if he turns away from the mirror for a few seconds
      			logoutDelay: 15,
      			// Array with usernames (copy and paste from training script)
      			users: ['Markus'],
      			//Module set used for strangers and if no user is detected
      			defaultClass: "default",
      			//Set of modules which should be shown for every user
      			everyoneClass: "everyone"
                              }
      				},*/
      //--------------------------------------------------------------	
      	
      	]
      
      };
      
      posted in Troubleshooting
      A
      Aly
    • 1 / 1