

- Raspberry pi magic mirror guide touchscreen for free#
- Raspberry pi magic mirror guide touchscreen code#
- Raspberry pi magic mirror guide touchscreen download#
Then, you will need to find your city/town's location ID.
Raspberry pi magic mirror guide touchscreen code#
Type this code in the "appid" section of the module.

Raspberry pi magic mirror guide touchscreen for free#
First, sign up for free on the site and access your free API. This site supplies API's for weather, which this module needs. These two ID's come from a website called OpenWeatherMap (see link at bottom). As stated before, MagicMirror uses online sources to display the information. You should already see default modules with weather options, but you will notice that two important keys are missing.

I started by adding the weather and weather forecast module. This should open a file where you can see the module list (look for closed brackets with information in it). To do this, access the terminal and type: cd ~/MagicMirror/modules You can add modules, delete modules (I deleted the U.S holiday list because I live in Canada), and customize the settings. This folder is the key to housing all the desired options you want for MagicMirror. To do this, you must access the modules folder. To do this, there are multiple things you must do in order for MagicMirror to receive information about the location you are in. However, I wanted to add some features to the Pi to make it more aesthetically pleasing and have more information I could access (for ex: weather, weather forecast, a cool quote, etc). From this point, you can begin to customize the program (add new modules, orientation, change fonts, etc).Īs shown before, MagicMirror should automatically display the time, a compliment, U.S holidays and some news articles. After the reboot, you should see a compliment, the time, and news articles (see above photo).

Once MagicMirror has been fully downloaded, reboot your Pi. Another prompt will be Node.js, which allows network applications to run on the Pi. As well, a program called pm2 will be downloaded, which automatically runs the program when your Pi boots up. Vim is a crucial dependency that allows a text editor to manage the MagicMirror. Along the way, you will be prompted to enter "Y" or "N" for certain dependencies, such as vim.
Raspberry pi magic mirror guide touchscreen download#
When you hit enter, the Pi will begin the automatic download of the repository, which takes around 10 - 15 min. To start, access your terminal and type the following code: bash -c "$(curl -sL )" For further explanation, you can visit, an online forum with tons of useful modules and troubleshooting methods for anyone coding the program. By doing this, the Pi is able to run the program and display certain elements contained in the MagicMirror file. MagicMirror is a downloadable platform created by Michael Teeuw (a.k.a MichMich), where one can access this repository on Using the Pi, you must download and clone the repository, along with its dependencies. Now, you can begin programming!īefore you start downloading and configuring the program, you should probably know how this program works. At this point, the Magic Mirror can use your location to display the time and access information from the internet using your Wi-Fi. Once you have chosen your correct time-zone, save and reboot your Pi. You can then begin to access your specific time-zone through the menu the Pi displays. Once you have done that, access your terminal and type the following: sudo dpkg-reconfigure tzdata You should then be connected to your Wi-Fi. Choose your internet and enter your password. First, click the Wi-Fi symbol in the top right of the screen. Wait for the system to boot up, then you can begin configuring the Pi to your location. Once the operating system "Raspbian" is installed (I used the "Jessie" version) on your micro SD card, plug in your keyboard and mouse to the Pi and attach the HDMI cable to the monitor you are going to use. In order for the Pi to receive information from the Magic Mirror modules found online, it is crucial to set up your Wi-Fi and time zone.
