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

    Posts

    Recent Best Controversial
    • Installing Magic mirror on windows 10

      I’ve tried installing MM on windows 10, while I wait for my new raspberry.
      I’ve been following these instructions: https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10

      But when I want to start it I get this error:

      
      $ DISPLAY=:0 npm start
      
      > magicmirror@2.11.0 start C:\Users\andre\Desktop\MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      'DISPLAY' is not recognized as an internal or external command,
      operable program or batch file.
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.11.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     C:\Users\andre\AppData\Roaming\npm-cache\_logs\2020-04-10T21_40_49_270Z-debug.log
      
      
      posted in Troubleshooting
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil Tried installing this module https://github.com/Thlb/MMM-synology-ds

      posted in Troubleshooting
      V
      vintage89
    • Installing modules on windows

      I’m trying to install modules on windows - but I get the following error. I’ve installed python - but no change.
      Any suggestions? :)

      
      gyp ERR! find Python
      gyp ERR! find Python Python is not set from command line or npm configuration
      gyp ERR! find Python Python is not set from environment variable PYTHON
      gyp ERR! find Python checking if "python" can be used
      gyp ERR! find Python - "python" is not in PATH or produced an error
      gyp ERR! find Python checking if "python2" can be used
      gyp ERR! find Python - "python2" is not in PATH or produced an error
      gyp ERR! find Python checking if "python3" can be used
      gyp ERR! find Python - "python3" is not in PATH or produced an error
      gyp ERR! find Python checking if the py launcher can be used to find Python 2
      gyp ERR! find Python - "py.exe" is not in PATH or produced an error
      gyp ERR! find Python checking if Python is C:\Python27\python.exe
      gyp ERR! find Python - "C:\Python27\python.exe" could not be run
      gyp ERR! find Python checking if Python is C:\Python37\python.exe
      gyp ERR! find Python - "C:\Python37\python.exe" could not be run
      gyp ERR! find Python
      gyp ERR! find Python **********************************************************
      gyp ERR! find Python You need to install the latest version of Python.
      gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
      gyp ERR! find Python you can try one of the following options:
      gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
      gyp ERR! find Python   (accepted by both node-gyp and npm)
      gyp ERR! find Python - Set the environment variable PYTHON
      gyp ERR! find Python - Set the npm configuration variable python:
      gyp ERR! find Python   npm config set python "C:\Path\To\python.exe"
      gyp ERR! find Python For more information consult the documentation at:
      gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
      gyp ERR! find Python **********************************************************
      gyp ERR! fi
      
      
      posted in Troubleshooting
      V
      vintage89
    • RE: Face recognition step by step

      Here: (https://forum.magicmirror.builders/topic/6345/facial-recognition-module-step-by-step-guide)

      posted in Troubleshooting
      V
      vintage89
    • MMM-Facial-Recognition proplems

      I’ve gone through the set up, made a training.xml, and python facerecognition.py gives me me

      Strong: User1
      

      I’ve added the module in the config

      modules: [
      		{
      	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: ['Andre'],
      		//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",
      		// Boolean to toggle welcomeMessage
      		welcomeMessage: true
      	}
      },
      

      And given different classes to the other modules. some just for me

      classes: 'Andre',
      

      and some for everyone

      classes: "default everyone",
      

      But the mirror doesn’t seem to see me, cause it only shows the modules that are set up for everyone.

      posted in Troubleshooting
      V
      vintage89
    • Face recognition step by step

      Im following konradwalsh step by step guide.

      In step 2

      "
      Make sure your training.xml from running train.py is in this directory - /MagicMirror/modules/MMM-Facial-Recognition-Tools

      specify the face recognition algorithm in the environment with

      export FACE_ALGORITHM=1
      

      specify your user labels in the environment with

      export FACE_USERS=Alice,Bob,Casey,Doug
      

      "

      Where do I set these?

      posted in Troubleshooting
      V
      vintage89
    • RE: MMM-Facial Recognition Module classes

      Thank you! That fixed it :)

      posted in Troubleshooting
      V
      vintage89
    • RE: MMM-Facial Recognition Module classes

      This is the module I’m trying to add classes to

      
      {
      	module: 'MMM-YrThen',
      	position: 'top_right',
      	config: {
      	location: '1-211102',
      	}
      	classes: 'default everyone',
      },
      
      posted in Troubleshooting
      V
      vintage89
    • MMM-Facial Recognition Module classes

      When I try to add classes to the config files i get this error:

      “Could not validate config file”.

      I tried adding a class to just one module:

      module: 'MMM-YrThen'
      position: 'top_right'
      classes: 'default everyone'
      

      When I remove classes, the problem goes away, but then the mirror is just blank.

      posted in Troubleshooting
      V
      vintage89
    • 1
    • 2
    • 2 / 2