Payam MIRROR

A mirror with digital display

  • A computer screen (that you can take apart)
  • An observation mirror or glas and a mirrorfilm
  • A Raspberry Pi with casing + micro USB power cord
  • A SD-card (8GB)
  • A network adapter (not necessary for Raspberry Pi 3,)
  • Wood frame (boards, screw, glue, paint, drill)
  • HDMI-to-VGA-adapter (depending on if your screen has HDMI or not)
  • A mouse and a keyboard with USB
  • A second computer (for fixing OS and stuff)

Software:

  • MM – (Magic Mirror)
  • 3rd Party modules – ( SL tunnelbana, Weather, News, Financial news, Calendar, Mail)

Get the software:

bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"

Note: The automatic installer officially supports the Pi 2 and 3. If you want to run MagicMirror on a Pi 1 or Pi Zero, you’ll need to use the server-only version and install a full-screen browser manually. Save yourself some time and just use a Pi 3. 

When prompted whether you want to use pm2 for auto starting of your MagicMirror, select “yes” by typing y and pressing enter.

MagicMirror should start automatically! If it doesn’t, run:

cd ~/MagicMirror && DISPLAY=:0 npm start

Set modules At first startup you will notice that the default settings in the installed modules are in many cases in English and retrieve English data. Fortunately, it is possible to change and like most changes we make in Magic Mirror we do them in the config.js file. You can find it by clicking in the Magic Mirror folder in the file manager and then in the config folder.
At first startup you will notice that the default settings in the installed modules are in many cases in English and retrieve English data. Fortunately, it is possible to change and like most changes we make in Magic Mirror we do them in the config.js file. You can find it by clicking in the Magic Mirror folder in the file manager and then in the config folder.

After getting acquainted with the structure of the config.js file, start by changing the clock to 24 hour format. You can easily do this by entering 24 where it is timeFormat, just above the list titled modules. Save changes you make and restart Magic Mirror for the changes to take effect.

Fixing the mirror

It is actually possible to solve this part in any number of ways. However, there are some elements that are difficult to get away from. Let’s start with the computer screen. If you want the screen to get as close to the glass as possible on the mirror, or just reduce the scope around the screen itself, we recommend that you remove the outer plastic cover of the screen. It usually requires no more than loosening one or two screws on the back and then loosening the frame on the screen with a suitable screwdriver. Then remove the screen from the housing.

When it comes to mounting the mirror itself, there are several options. Either you can buy a finished mirror disc of the same size as the monitor or you can get a matching glass plate and mirror film that you apply to the glass plate. The glass plate is then placed in front of the computer screen. In this guide, however, we have applied the mirror film directly to the computer screen, which in the honesty name is not the optimal solution. If you want the best possible picture quality or if you have plans to use your screen for other purposes in the future, such as a regular computer screen, you should bet on a glass disc with mirror film or mirror disc.

Regardless of how you choose to do this, the principle of applying mirror film is the same. Start by cleaning the screen or glass. Measure out and cut the mirror film to the same size as the glass / screen and remove the protective paper. Spray the glass or screen with water (be extra careful if you do it on the screen). Mount the mirror film and print out any air bubbles with eg a bank card. Once the mirror film is in place, it is time to roll up the sleeves and fix the frame.

If you want to turn off the screen saver If you do not want your magic mirror to switch to screensavers after a few minutes of passive use, you can do the following in LXTerminal: sudo nano /boot/config.txt Then add the following two lines: display_rotate = 1 avoid_warnings = 1 Save the change and restart your Raspberry Pi. Done!

PAYAM MIRROR:

Leave a Reply