MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. AnduriI
    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 14
    • Posts 58
    • Groups 0

    Posts

    Recent Best Controversial
    • which way to best implement motion sensing and facial recognition?

      Hey there,

      this forum has been a huge help for me the plan and build my magic mirror. It will have indirect lighting included and needs a way to switch that on.
      I planned to do this controlled by motion. I found the various modules here, but don’t know which is best to use. I also plan to use @paviro’s MMM-Facial-Recognition and read that some are not compatible and block the cam. Is there any motion detection module that uses camera and is compatible with the facial module?
      If not I might use a PIR, but that’s only the worst case (I don’t like the hole in the front, maybe I mount it below the frame and adjust sensitivity to trigger with moving feet…).

      posted in Requests
      A
      AnduriI
    • RE: Show notification on the MagicMirror

      @strawberry-3.141 well didn’t knew that… how do I get the dev console in electron? For installation I have the RPI sitting on my desktop and access it from my normal pc. But I think I can also run it on the rpi using vnc.

      @Mykle1 the mirror itself is working fine. It’s only the alarm module making all black on alert. I have not changed anything else, it is a fresh installation of jessie.

      posted in Troubleshooting
      A
      AnduriI
    • RE: Show notification on the MagicMirror

      @mykle1 there is no sound ringing or similar. I think the alert module is enabled by default or is that wrong? As stated by strawberry in #2 it should be working the way it is now.
      @strawberry-3.141 I run the module with the mirror started as npm start dev but don’t see any. Here is my log:

      pi@Spieglein:~/MagicMirror $ npm start dev
      
      > magicmirror@2.1.3 start /home/pi/MagicMirror
      > sh run-start.sh "dev"
      
      Starting MagicMirror: v2.1.3
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: MMM-AlarmClock.
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 ...
      You're using a full whitelist configuration to allow for all IPs
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started ...
      Launching application.
      Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/[XXX]/basic.ics - Interval: 300000
      Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/[XXX]/basic.ics - Interval: 300000
      Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
      {here it went black, but no notification}
      

      @all sorry for taking the wrong config options for the module, didn’t read them carefully. Again here my config, just in case there is something wrong with other modules influencing this:

              modules: [
                      {
                              module: "alert",
                      },
                      {
                              module: "updatenotification",
                              position: "top_bar"
                      },
                      {
                              module: "MMM-AlarmClock",
                              position: "top_right",
                              config: {
                                      alarms: [
                                              {time: "21:14", days: [0,1,2,3,4,5,6], title: "Test", message: "Es geht!!!"},
                                      ],
                              }
                      },
                      {
                              module: "clock",
                              position: "top_left"
                      },
                      {
                              module: "calendar",
                              header: "Termine",
                              position: "top_left",
                              config: {
                                      calendars: [
                                              {
                                                      symbol: "calendar-check-o ",
                                                      url: "https://calendar.google.com/calendar/ical/[XXX]$
                                              },
                                              {
                                                      symbol: "calendar-check-o ",
                                                      url: "https://calendar.google.com/calendar/ical/[XXX]$
                                              }
                                      ]
                              }
                      },
      some more modules, but all standard without any changes
      
      posted in Troubleshooting
      A
      AnduriI
    • RE: Show notification on the MagicMirror

      @strawberry-3.141 are you the dev of this module? I tried this and seems to work… until the alarm time comes. Then my website goes black and does not do anything. How does the alarm show?
      After reloading the page it’s back and working with the alarm passed by.

      just in case it is needed, my config:

                      {
                              module: "MMM-AlarmClock",
                              position: "top_right",
                              config: {
                                      alarms: [
                                              {time: "20:18", days: [1,2,3,4,5,6,7], title: "Test", message: "Es geht!!!"},
                                      ],
                              }
                      },
      
      posted in Troubleshooting
      A
      AnduriI
    • RE: MagicMirror not working anymore

      well I’m not shure what happened, but I think I called npm install python-shell instead of just using npm installinside the module folder (which would have installed python-shell correctly.
      I just started from scratch and took a fresh jessie image.

      posted in Troubleshooting
      A
      AnduriI
    • RE: MagicMirror not working anymore

      well I did move the old folder and did a fresh install with the installer script, but it still gives the same errors. Maybe I did something wrong during installation of the dependencies of MMM-Motion-Detection. Any clue of what that might be or where I can find a log that might shine some light on?

      posted in Troubleshooting
      A
      AnduriI
    • RE: MagicMirror not working anymore

      @mykle1 so simply rm -r MagicMirror? Or do I have to clean anything else before reinstall?
      @strawberry the file itself looks quite normal and I don’t know what to look for. No entry for /js/app.js as far as I see. Maybe you can give me a hint?

      posted in Troubleshooting
      A
      AnduriI
    • MagicMirror not working anymore

      Hey there,

      I tried to get the MMM-Motion-Detection working but did not succeed so far. But now my MagicMirror is not starting anymore. Maybe I did some additional changes, I’m not shure if there was anything important during tests. I got these logs from pm2 monit:

      MagicMirror >     at Module._compile (module.js:570:32)                                         x
      MagicMirror >     at Object.Module._extensions..js (module.js:579:10)                           x
      MagicMirror >     at Module.load (module.js:487:32)                                             x
      MagicMirror >     at tryModuleLoad (module.js:446:12)                                           x
      MagicMirror >     at Function.Module._load (module.js:438:3)                                    x
      MagicMirror >     at Module.require (module.js:497:17)                                          x
      PM2 > App [MagicMirror] with id [0] and pid [4704], exited with code [1] via signal [SIGINT]    x
      PM2 > Starting execution sequence in -fork mode- for app name:MagicMirror id:0                  x
      PM2 > App name:MagicMirror id:0 online                                                          x
      MagicMirror > Error: ENOENT: no such file or directory, open 'package.json'                     x
      MagicMirror >     at Error (native)                                                             x
      MagicMirror >     at Object.fs.openSync (fs.js:642:18)                                          x
      MagicMirror >     at Object.fs.readFileSync (fs.js:510:33)                                      x
      MagicMirror >     at Object. (/home/pi/MagicMirror/js/app.js:15:32)                  x
      MagicMirror >     at Module._compile (module.js:570:32)                                         x
      MagicMirror >     at Object.Module._extensions..js (module.js:579:10)                           x
      MagicMirror >     at Module.load (module.js:487:32)                                             x
      MagicMirror >     at tryModuleLoad (module.js:446:12)                                           x
      MagicMirror >     at Function.Module._load (module.js:438:3)                                    x
      MagicMirror >     at Module.require (module.js:497:17)    
      

      Can anyone help me with that error? For me it looks like a problem in the core /js/app.js, but I#m a noob on these things…

      Regards,
      Anduril

      posted in Troubleshooting
      A
      AnduriI
    • Show notification on the MagicMirror

      Hey there,

      is there a way to directly show notification emited by other modules on the ui? I tried the alert module, but it does not show anything. Is this config correct:

                      {
                              module: "alert",
                              position: "top_center",
                      },
      

      I only see the text “alert” and “module_0_alert” on that position. If this is correct maybe there is no notification and the module I want to test (MMM-Motion-Detection) does not work as intended…

      Regards,
      Anduril

      posted in Troubleshooting
      A
      AnduriI
    • set GPIO high or low

      Hey guys (and girls),

      is there a module that can set GPIOs high or low? I need that to controll some mosfets for LEDs. If not directly possible, maybe I can use a module to call a script that does this (and maybe even with software pwm, but thats more a thing of scripting…).

      posted in Requests
      A
      AnduriI
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 5 / 6