loading

ITA TOUCH is a leading interactive flat panel and smart board manufacturer in China

how to build a raspberry pi smart mirror! - smart

how to build a raspberry pi smart mirror!  -  smart

Hello Everyone!
For my computer science final project, I decided to build a smart mirror with Raspberry Pi 3!
I got this idea from the Hacker House, which is a fantastic Youtube channel and it has a lot of fun ideas for creative projects with easy to follow instructions!
While I focus mainly on coding in Java, this smart mirror allows me to work on Raspberry Pi by coding in Linux and Python, a language I have never used before.
Also, I did some interesting carpentry by building the frame around the monitor located behind the two way mirror.
While this is my first Raspberry Pi project, it took me about two weekends to get it done from the coding of the Pi to the frame.
Building this is an amazing experience and I hope this tutorial will help you create your own!
Before you start, here are all the items you need for the item: 3D brackets ~ Way Mirror ~ Order Pi receives information from the magic mirror module found on the Internet, it is crucial to set up your Wi
Fi and time zone.
When the operating system is installed in Raspbian (
I'm using the "Jessie" version)
On the micro SD card, plug the keyboard and mouse into the Pi and connect the HDMI cable to the monitor that will be used.
Wait for the system to start, and then you can start configuring the Pi to your location.
First, click on Wi-
The Fi symbol in the top right corner of the screen.
Select your internet and enter your password.
Then you should connect to your Wi-Fi.
Upon completion, access the terminal and type the following: you can then start accessing a specific time-
Display Pi through the menu area.
Once you have chosen the right time
Area, save and restart the Pi.
At this time, the mirror can use your Wi-Fi.
Now, you can start programming!
You should know how this program works before you start downloading and configuring the program.
Magicmirmirror is a downloadable platform created by Michael Teeuw (a. k. a MichMich)
, You can access this repository on www. github. com.
With Pi, you must download and clone the repository and its dependencies.
By doing so, the Pi is able to run the program and display certain elements contained in the magicmirmirror file.
For further explanation, you can visit an online forum that provides a great deal of useful modules and trouble shooting methods for anyone coding a program.
To get started, visit your terminal and type the following code: When you click enter, the Pi will start to download the repository automatically, about 10-15 min.
During this process, you are prompted to enter "Y" or "N" for certain dependencies, such as vim ".
Vim is a key dependency that allows the text editor to manage MagicMirror.
Also, a program called pm2 will be downloaded, which will run automatically when your Pi starts.
The node will be another prompt.
Js, which allows web applications to run on Pi.
Restart the Pi after downloading magicmirmirror completely.
You should see praise, time, and news articles after restarting (See above).
From this point on, you can start a custom program (
Add new modules, directions, change fonts, etc).
As mentioned earlier, magicmirmirror should display the time automatically, which is a kind of compliment, U.
Holidays and some news articles.
However, I would like to add some features to the Pi to make it more beautiful and have more information to access (
For example: weather, weather forecast, cool quotation, etc).
To do this, in order for magicmirmirror to receive information about where you are, you have to do a lot of things.
To do this, you have to access the module folder.
This folder is the key to storing all the options needed for magicmirmirror.
You can add modules, delete modules (I deleted America.
My holiday list because I live in Canada
, And customize the settings.
To do this, visit the terminal and type: this will open a file where you can see the list of modules (
Looking for closed brackets with information inside).
I started by adding the weather and weather forecast module.
You should already see the default module with the weather option, but you will notice that two important keys are missing.
Location ID and api id.
As mentioned earlier, magicmirmirror uses an online source to display information.
These two IDs come from a website called OpenWeatherMap (
See link at bottom).
This website provides API for the weather required for this module.
First of all, sign up on the website for free and access your free API.
Type this code in the "appid" section of the module.
Then you need to find the location ID of your city/town.
OpenWeatherMap provides a huge file for almost every city in the world, along with the location ID next to it.
I'm not sure there is a simpler way, but you may have to scroll through the entire file before you can find the ID of your city/town.
Once discovered (
This part is terrible, it took me about 20 minutes to find the ID card of my city)
, Enter the weather and weather forecast module.
After that, save and exit.
When your Pi starts, you should look at the weather in your city.
I added an extra module with an inspirational quote shown at the bottom of the screen (See above).
However, the list of modules is entirely up to you!
Make sure to check the module web page provided by the MagicMirror2 forum on its website!
Anyone can add some really cool modules to make their mirrors more fun and fun!
The steps are entirely up to you, depending on whether you want the mirror to appear with a portrait perspective rather than a landscape.
In order to customize the Pi, make it rotate (see last photo)
, Access the terminal and type the following: this will open certain system preferences where you can add "Rotate screen options ".
To do this, scroll to the bottom of the file and add: Save and exit.
When restarting the Pi, magicmirmirror should be up and displayed horizontally.
Also, you should see all the modules you add in Portrait Perspective.
One more thing you should add to customize the Pi is the pm2 boot.
After installing pm2, I found that magicmirmirror does not start unless I access the terminal and type a few lines of code.
To eliminate this issue, do the following: access the terminal and type: pm2 startupThen, type: After, access the script by typing: then add: Save and exit.
Now, magicmirmirror should start automatically when your Pi is up. It's also hard to find out how to disable the screensaver as you want to keep seeing the display behind the mirror.
To do this, you need to access the terminal and type: Then, add: Save and exit, then access another file in the terminal by typing: then add: Save and exit, then restart your pithoff, and while the framework is relatively easy to build, you have to do something important to prepare.
First, handle the two-way mirror.
Depending on the size of the display, you may need to cut the mirror into a larger half inch size (
Width and length)
More than the squad leader.
To do this, measure and mark the dimensions on the mirror (
I used a share. don't worry!
When you are ready, there is a protective plastic layer on the frame)
Put some tape on the line
I used the painter's tape just because it wasn't super strong and it was easy to fall off.
Cut carefully along the tape (
When you cut, you will notice that the mirror is broken on the edge.
Try to limit these cracks as they damage the life of the mirror).
Once the mirror is cut to the right size, you can start making the frame.
With the framework, you need two parts.
Inner shell and outer frame.
To do this, measure the display and cut two pieces of wood around 1.
5 inch larger than the length of the display (See above).
After that, cut two more pieces for larger pieces.
Fix with wood glue and clip.
To speed up the process, you can drill a screw in the corner to better secure it together.
Make the outer box (
See the second photo)
, Cut 4 pieces at 45 degrees per end (
Remember, when you put the outer box on the inner shell, you should put it on it so that the midpoint on the 45 cutouts falls on the shell).
Once the frame is set and stable, clip the mirror between the frame and the monitor.
Screw in the 3D brackets to make sure they are firmly placed.
At this point, you can plug in the Pi and power supply, and magicmirmirror should start up.
You should see a display behind the mirror (
Whatever you put on the show, date, time).
Congrats, you have your own smart mirror now!
Please leave a comment if you have any questions!
I would be happy to help if you have any questions or ideas!
Thanks to the House of hackers, this is an amazing project.
One point I would like to point out is that I strongly recommend you to buy a radiator for the Pi.
Because the program is designed to run continuously, your processor gets very hot.
Buying a radiator can make your smart mirror run more safely, and it can also relieve any pressure on the Pi when it runs.
I hope you can try this project, it is really useful and is an interesting aesthetic where you can hang up the phone in any room.
Thank you so much for visiting my page and hopefully I can add some cool modules to the mirror and I can help you guys (
Artificial intelligence, motion sensors, alarms, etc).

GET IN TOUCH WITH Us
recommended articles
INFO CENTER FAQ BLOGPOST
Bright Ideas: How Outdoor Digital Signage is Revolutionizing Urban Advertising
In the bustling rhythm of modern cities, grabbing attention isn’t just about being loud—it’s about being smart. Traditional billboards are fading into the background as outdoor digital signage takes center stage, offering dynamic, interactive, and high-impact ways to reach audiences. From transit hubs to shopping streets, these intelligent screens are redefining how brands communicate in public spaces.
Ultimate Guide to Outdoor Waterproof TVs: Enhance Your Outdoor Entertainment
In today’s world, outdoor entertainment is no longer limited to barbecues or garden parties. With the rise of outdoor waterproof TVs, you can enjoy your favorite shows, sports, and movies in your backyard, patio, or poolside without worrying about weather conditions. These specialized displays combine advanced technology, durability, and convenience to bring the ultimate viewing experience outdoors.
How High Brightness IP66 Outdoor Televisions Deliver Reliable Performance for Outdoor Advertising Hospitality Projects and Residential Entertainment Environments
As outdoor living spaces and open-air commercial venues continue to grow in popularity, the demand for reliable and high-performance outdoor televisions is rising rapidly. Unlike standard indoor TVs, outdoor TVs are specifically engineered to withstand harsh environmental conditions while delivering clear, vibrant visuals in bright daylight.
Enhancing Public Spaces with Outdoor Digital Displays
In today’s fast-paced digital world, outdoor digital displays have become an integral part of urban landscapes, transforming how businesses, municipalities, and event organizers communicate with the public. Unlike traditional static billboards or posters, outdoor digital screens offer dynamic, eye-catching content that can be updated in real time, making them a versatile tool for engagement.
The Smart Tool for Modern Offices and Classrooms — Interactive Blackboard
In today’s digital and smart era, traditional blackboards no longer fully meet the demands of modern offices and classrooms. The Interactive Blackboard offers a revolutionary solution for corporate meetings, design discussions, and classroom teaching. It combines traditional writing functions with touch interaction, screen sharing, and multimedia capabilities, making communication more efficient and intuitive.
Revolutionizing Education and Presentations with the Smart Podium
As education and business environments continue to evolve, the demand for smarter, more interactive presentation tools is growing rapidly. Traditional podiums and fixed presentation systems often limit flexibility, collaboration, and audience engagement. The Smart Podium is designed to address these challenges by combining intelligent technology, wireless connectivity, and interactive features into one powerful solution. It provides educators, trainers, and presenters with a modern platform to deliver clear, engaging, and efficient presentations in both educational and professional settings.
Indoor Digital Display: A Smart Solution for Modern Indoor Advertising
In today’s fast-paced digital environment, businesses are constantly seeking more effective ways to communicate with their audiences. Indoor digital displays have become a powerful and flexible solution for advertising, information sharing, and brand communication. Compared with traditional static posters, an indoor digital display offers dynamic content, real-time updates, and centralized control, making it an essential tool for modern indoor spaces.
✨ Portable Smart Touch Screen — Redefining Lifestyle Displays
Technology today is not just about function — it is about attitude, personality, and the comfort of being able to control life the way we want. The portable smart touch screen, offered in 21.5”, 27”, and 32” sizes, has become one of the most exciting modern lifestyle displays. Often called a “personal mood screen” or “girlfriend screen,” it is loved for its elegant design, intuitive touch interface, and ability to transform any corner into a stylish and interactive space.
Smart Podiums Are Redefining Modern Classrooms: The Upgrade Every School Should Make in 2025
In an era where digital learning is evolving faster than ever, schools around the world are searching for tools that can elevate teaching efficiency, support hybrid learning, and create engaging, interactive environments for students. Among the many education technologies emerging today, one solution stands out as both practical and transformational: the Smart Podium.

A smart podium—also known as a digital lectern or intelligent teacher’s desk—combines advanced interactive technology, built-in computing, multi-device connectivity, and centralized classroom control into one sleek, user-friendly workstation. It is fast becoming the new teaching hub in smart classrooms, training centers, government institutions, and universities.
Transform Outdoor Communication with ITATOUCH Outdoor Digital Displays
In a world where attention is the new currency, ITATOUCH Outdoor Digital Displays empower businesses, schools, and organizations to communicate smarter, brighter, and more effectively. Designed to perform flawlessly under any weather condition, our outdoor digital signage solutions bring your message to life — rain or shine.
no data

ITA TOUCH operates a 20,000+ sqm smart manufacturing facility in Shenzhen, equipped with dedicated production lines for interactive displays and digital signage.

We welcome factory visits, online inspections, and OEM audits.

INFORMATION FOR INQUAIRY
Tel: +86 755 28281849
Wechat & whatsapp: +86 13582949978
Address:  #402, Building A54, Xinwei Fourth Industrial Zone, Matian Street.Guangming District, 518106 Shenzhen, China
Copyright © 2022 ITATOUCH| Sitemap
Customer service
detect