The MagicMirror project has a forum now! Come join us if you need any help or want to get inspired by other MagicMirror builders.
Author: Paul-Vincent Roll
My Callmonitor-module is now able to read
.vcf files. Starting today you can export your address book and my module will parse it for you and automatically convert the phone number of any incoming call to its associated name.
I also added a call history, so you know who called when you were absent and of course when they called!
MagicMirror v2 – Major update
The first major update of the MagicMirror project is currently in active development! Version 2.0 now supports modules which makes using my extensions simpler than ever before. My helper-scripts now no longer have to be started by init.d or systemd but instead get loaded by the mirrors software automatically.
I am currently rewriting my modules for the new system, already published and useable are the following:
- MMM-Facial-Recognition (Facial recognition and module swapping based on the current user)
- MMM-Wunderlist (Display Wunderlist todos directly on your mirror)
- MMM-FRITZ-Box-Callmonitor (Callmonitor for FRITZ!Box users alerting them about incoming calls)
Happy hacking and I am open for new ideas! 🙂
MagicMirror – Voice Control
Icon License: Linkware (Backlink to http://www.pelfusion.com required)
I just startet to implement some basic voice control by using annyang for my MagicMirror. Since annyang uses the Google APIs for speech recognition I do not really want the mirror to send a constant audiostream to Google, instead I plan on using my facial recognition system to toggle the voice controlling. If a face is detected in front of the mirror it will be turned on and if not it will stay turned of. Right now you can only ask the mirror what time it is and it can tell you some Chuck Norris jokes but of course I will be adding some more useful stuff soon.
You can find the code here: MMM-Voice-Control
I love it, when I open my mail application in the morning and the first thing I see is an email from a fellow MagicMirror builder asking a question or telling me something about his mirror. It’s definitely the main reason I love open source projects so much, the amazing community!
I created a new repository on GitHub. Over time I will add all the extensions I wrote for the magic mirror, which will then be easily usable with the original code just by adding some js files.
As a start I added my call monitor for FRITZ!Box users in a new version without HTML changes and how to use it, have fun! 🙂
MeType goes multilingual
This weekend I installed the WordPress plugin qTranslate-X and also started to translate some of my posts into Englisch. All my articles about my mirror project are now available in German and in Englisch, other articles will most probably follow 🙂
Magic Mirror – Face Recognition and general Update
After being absent from this blog for quite some time, I’d like to give you a quick update on my mirror project. The filesystem of my Raspberry Pi’s SD-card got corrupted some time ago and I haven’t found the motivation to reinstall the system and all my scripts since then, well at least not until two days ago. Because I had to setup the system from scratch again anyway I used the opportunity to use the newest Raspbian version “Jessie” this time and also to match my modified mirror interface code with the original from Michael Teeuw again. Some thoughts about the new Linux version: I really like the way systemd handles process managing and starting, seems a lot simpler to me than it was before but that’s not the topic today.
A few months ago I took the code from the Raspberry Pi Face Recognition Treasure Box and modified it in a way so that it’s no longer just able to recognize one valid face but to differentiate between multiple faces and therefore to know who’s standing in front of the mirror. The python script is now constantly trying to match people to a known set of trained faces and if one is recognized displays a welcome message and personalized information for that user.
Because the number of my components and running processes keeps increasing, I sketched a quick schematic yesterday to not loose sight of who is talking to whom.
On the bottom of the software side, we have the mirrorcontroller. It is responsible for all kind of GPIO-stuff, like monitoring the motion sensor and a button. In the future it will also controls the colors of some RGB LED’s I will use for lighting up the person in front of the mirror but that’s still to be implemented. If something moves, a relay turns on the display and a signal is send to the face recognition service, which then starts to take pictures and searches them for faces. If the service recognizes a face the data is send to the SocketIOServer, which further sends it to the web interface to display the welcome message and the information for the user. Other features of the SocketIOServer are:
- Online Banking, to show the users current bank balance
- Collecting statistics from my Vimeo-videos
- Investigating how much space is still left on my server
- Detecting incoming calls via the Fritz!Box (a German internet router and phone system) call monitor
- Pulling invoices my clients still need to pay from Invoice Ninja
In a future update I will also add gathering my ToDo’s from Wunderlist but until now that’s it.
My mirror glass arrived!
The Magic Mirror – Update
I replaced the Raspberry Pi 1 model A with a Pi 2 model B. The mirror is now stating up at more than twice the speed and the animations of the interface also got a bit smoother.
Because semitransparent mirrors logically don’t reflect as much as real ones, I decided to add some LED lighting behind milk glass inside the mirror’s housing, to lighten up the person in front of it and therefore making him or her more visible.
The light is activated through a button. A short press triggers the light, a longer button press switches between two views of the web interface.