A MagicMirror consists of an important part of software besides the obvious mirror&screen. There are some good software packages for this in the meantime. The best in my opinion is the one from Michael Teew.
So he has made the software developed for his MagicMirror open source, and over time it has grown into a fairly extensive MagicMirror ecosystem.
The basic software offers the possibility to extend the basic functions with plugins.
Meanwhile, there are all kinds of plugins with which you can personalize your own MagicMirror even further and adapt it to your needs.
The software is available at: https://github.com/MichMich/MagicMirror to find.
How to install them and what you have to pay attention to is described in the following article.
Safety instructions
I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/
Affiliate links/advertising links
The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂
Requirements
Helpful articles:
Before you start with this article you should have prepared the RaspberryPi on which you run your MagicMirror so that it is accessible over the network and controllable via SSH.
The following articles describe what has to be done to prepare the RaspberryPi so far:
RaspberryPi – setup for nerdiys!
RaspberryPi – The first configuration!
RaspberryPi – Control the RaspberryPi via SSH
Required material:
In the following list you will find all the parts you need to implement this article.
Log in to the RaspberryPi via SSH
To start, you must first log in to the Rasp Pi with Putty via SSH. How to do this is in the article RaspberryPi - Control the RaspberryPi via SSH described.
Update package management
The package management in Linux is a "central place" through which various software packages can be installed. In order for this to work reliably, the lists and sources of the package management should be updated before each installation of new packages.
sudo apt-get update && sudo apt-get upgrade
Installing the MagicMirror Software
The installation of the required software runs almost automatically on the RaspberryPi thanks to an installation script. To start this you just have to copy the following command into your console window and execute it. The installation will then take about five minutes.
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh"
Launch and test the MagicMirror software
To start the software you have to enter the following command.
DISPLAY=:0 nohup npm start &
If you don't have a screen connected to your RaspberryPi you can also test the output via VNC. How to view the screen output of your RaspberryPI via VNC is described in the following article:
RaspberryPi - Controlling the RaspberryPi via VNC
There is also the possibility to view the interface in your own web browser. This is very useful for debugging. I will describe how to do this in another article.
More information
Have fun with the project
I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂
PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂