nano config.js
Don't be obsessed with code in this file. It is almost an empty space!
You start with a variety of default modules, and the syntax for adjusting their position and settings is quite obvious. Additional modules will provide their own example documents and configuration blocks. Just remember that each module configuration is surrounded by curly braces {} and requires a comma in the middle. If you have no commas or curly braces do not match, you will get an error.
Your first step is to configure the default weather module. To take advantage of OpenWeatherMap data, you need to register for API key (free) at https://openweathermap.org/ . For simple needs, free accounts are perfectly suited.
To rotate the screen 90 degrees, add the following to the end of /boot/config.txt:
display_rotate = 1
To stop the screensaver from starting after five minutes, follow the instructions from the Wiki MagicMirror (https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi). Then, to enable MagicMirror to automatically restart, use this guide. They are easy to follow and need not explain much more.
Because the example screen only works on the right hand side, the author has set the modules quite low, only with the default time and weather forecast, at the top and bottom of the right side respectively.
The hardest part of this project is probably building frames, and you can do this well.
Good luck!
See more: