@gismo2006 unfortunately since the module was forked from the facial recognition one and uses the same underlying library for camera control, you will not be able to use both at the same time.
Read the statement by Michael Teeuw here.
Posts
-
RE: [MMM-Motion-Detection] Motion Detection through PiCam or USB Webcam
-
RE: [MMM-Motion-Detection] Motion Detection through PiCam or USB Webcam
@jasonarends try to use the default interval of 1, there may be some initialization issues with larger intervals.
-
RE: Help! semester project can't figure out facial recognition
Try renaming the module directory “MMM-Facial-Recognition” (without “-master”), I don’t have the code in front of me but I believe the mirror software uses the name of the module from your config as the directory name.
-
RE: All stocks modules are not working for me.
The Google API has been shut down, which is why the stocks module is not working. I’m not sure about the others…
-
RE: Help! semester project can't figure out facial recognition
@dk7988 said in Help! semester project can’t figure out facial recognition:
No helper found for module: MMM-Facial-Recognition.
This error message happens when the node_helper.js file is not found for a module. The Facial-Recognition module does have one, so it appears to not be installed where the mirror expects it. Is the module checked out in the modules directory under the MagicMirror installation?
-
[MMM-Motion-Detection] Motion Detection through PiCam or USB Webcam
Description
With this module your mirror will only turn on when it detects motion through the Raspberry Pi’s PiCam or a USB webcam. It also emits
motion-detectedandmotion-stoppednotifications that other modules can use.This was ported from Paviro’s MMM-Facial-Recognition module mostly to get the python code for camera usage and OpenCV support. Thanks Paviro!
Download
[card:dmcinnes/MMM-Motion-Detection]
-
RE: MMM-forecast-io -- Localized up to the minute weather
@pyrosmiley Hello! The precipitation graph is created using an HTML Canvas so unfortunately the colors cannot be tweaked by CSS apart from the border. The Javascript will need to be modified to support additional colors. Here is where the color is set for the curve and further up it draws the horizontal lines and tick marks. Ideally these colors are configurable. I’ve added an issue to the repo to track it!
I’m knee deep in another project, so if someone wants to take a crack at it, please be my guest :)
-
RE: MMM-forecast-io -- Localized up to the minute weather
@FlatPepsi Looks awesome! I particularly like the day/night shading in the graph.
-
RE: MMM-forecast-io -- Localized up to the minute weather
Hello everyone,
I’ve recently updated the module fixing/adding a couple things:
- Fixes an issue that made the top of the curve appear off the graph during a heavy storm.
- Adds
alwaysShowPrecipitationGraphto always show the precipitation graph. - Adds details on getting the geolocation working by setting the
GOOGLE_API_KEY.
Use
git pullin your module to update.Enjoy!
Doug -
RE: MMM-forecast-io -- Localized up to the minute weather
@ooom416354 sorry about taking so long to reply! You can shrink the module a bit by using the MagicMirror’s size classes. I normally have mine set as “small”.
{ module: 'MMM-forecast-io', classes: 'small' ... } -
RE: MMM-forecast-io -- Localized up to the minute weather
Hi @Rian9771 the rain graph only appears when there’s rain happening in the next hour.
-
RE: MMM-forecast-io -- Localized up to the minute weather
@shavesophere sorry I wasn’t too descriptive!
Here’s the example from the repo with the added ‘small’ class, forth line from the top:{ module: 'MMM-forecast-io', position: 'top_right', // This can be any of the regions. classes: 'small', config: { // See 'Configuration options' for more information. apiKey: 'abcde12345abcde12345abcde12345ab', // Dark Sky API key. // Only required if geolocation doesn't work: latitude: 16.77532, longitude: -3.008265 } }Hope that helps!
-
RE: MMM-forecast-io -- Localized up to the minute weather
I’ve just pushed an update to the module. Previously if there was a network error the module would get “stuck” and no longer update. This is now fixed!
[card:dmcinnes/MMM-forecast-io]
-
RE: MMM-forecast-io -- Localized up to the minute weather
@shavesophere thanks! You can add the ‘small’ class to the module’s classes in the config.js.
-
RE: MMM-forecast-io -- Localized up to the minute weather
@darrene glad you like the module! That would be cool to have but I’m working on another project right now so I’m not interested in taking that on. If anyone else wants to take a try at doing it, please be my guest and send a PR!
The original module used SVG, but I used HTML5 canvas to avoid external libraries (plus I prefer canvas anyway). -
RE: PIR sensor behind glass?
@wjdw87 cool! The connection is basicly the same as a PIR sensor. It has three wires, ground, vcc, and data which goes high when it senses motion. I plugged it into the PI’s 3.3v, ground and I believe gpio 22 (whichever is the default for the module).
Since the wire comes out as a three pin JST I split it into individual header connectors because all the pins are not next to one another on the PI.Hope that helps!
-
RE: MMM-forecast-io -- Localized up to the minute weather
@Claymobil glad it works! Sorry about that, that missing comma is in the example config. I’ve updated it.
-
RE: MMM-forecast-io -- Localized up to the minute weather
@paulocarrasco That moon clock looks awesome!
Hey Everyone! I’ve just released the updated Forecast IO module with forecast and precipitation graph (I’m considering renaming it to MMM-Darksky since forecast.io is no more…)
https://github.com/dmcinnes/MMM-forecast-io
Features:
- The precipitation and forecast can be individually turned on or off.
- Configure with the “small” class for a more compact look.
- The precipitation graph only shows when there’s rain.
Screenshot:

Let me know what you think!
-
RE: Remote Administration & Updates
Interesting problem!
Possibly an easier path may be some kind of folder sharing like dropbox or bittorrent sync. The cron job could simply restart the mirror software.
If you want to use Github you could publish a manifest of module URLs that the cron job downloads into the modules directory, that way you don’t have to deal with maintaining a fork of mirror code and submodules.