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
    • RE: MMM-Instagram2020

      Hey,
      I managed to get alle the way to Authorizing. But when I hit «Authorize» the screen just goes black. I can see no adress line or anything.
      I’m doing the process through vnc onto my raspberry pi.

      Anyone with a similar problem or a solution?

      posted in Entertainment
      V
      vintage89
    • RE: Radarr activity

      @sdetweil Cheers! :D

      posted in General Discussion
      V
      vintage89
    • Radarr activity

      Hey,
      I saw this MMM-Radarr-Activity module, but I can’t seem to find the git page for it anymore. Does anybody have an Radarr module? :)

      posted in General Discussion
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil Hehe, allready did - and now things are playing along well :D Thanks alot!

      posted in Troubleshooting
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil
      I´ll try and start from scratch again :)
      So If I understand you correctly - I don’t have to change the package.json when I’m on the raspberry? :)

      posted in Troubleshooting
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil
      I’m connected via ssh and vnc. I managed to start it with the original config.json. It’s after I put in the synology-module that everything went out the window.

      posted in Troubleshooting
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil ahh, sorry - forgot to mention that I got my rassberry today, so I’m on a raspberry now. My bad!!

      posted in Troubleshooting
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil
      Gave me this, did I do something wrong? :)

      
      pi@raspberrypi:~ $ export DISPLAY=:0
      pi@raspberrypi:~ $ cd MagicMirror/
      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > electron js/electron.js
      
      
      (electron:813): Gtk-WARNING **: 15:08:03.027: cannot open display: :0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: `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!     /home/pi/.npm/_logs/2020-04-11T13_08_03_102Z-debug.log
      
      
      posted in Troubleshooting
      V
      vintage89
    • RE: Installing modules on windows

      @sdetweil
      Thanks :)
      I´ve run the script, but when I tried to start it gave me this:

      
      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > electron js/electron.js
      
      
      (electron:8589): Gtk-WARNING **: 14:59:29.032: cannot open display: 
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: `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!     /home/pi/.npm/_logs/2020-04-11T12_59_29_059Z-debug.log
      
      

      I changed the package.json to this - like you said in my other post:

      4E9946A3-9DCE-41FA-9833-5CA4345521F6.jpeg

      posted in Troubleshooting
      V
      vintage89
    • MMM-synology-ds

      I´ve tried to install this module, but when I try start the Mirror I get this error:

      
      [2020-04-11 13:20:57.913] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.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`).
      
      

      Yes - I’m a bit noob and could use some help :face_with_stuck-out_tongue:

      posted in Troubleshooting
      V
      vintage89
    • 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 / 1