How A Magic Mirror Is Coded?

This video tutorial teaches how to code and build a Magic Mirror using a Raspberry Pi, an old monitor, and the Magic Mirror software. The process involves connecting the Bluefruit to a computer with a serial monitor, creating mirror backing using a pencil, attaching electronic components, and testing the mirror.

Building a Magic Mirror is a popular project that helped popularize the Raspberry Pi and is surprisingly easy to do with less time and a low budget. To create a small magic mirror, you will need an Ikea Ribba 18×24 picture frame, an official Raspberry Pi 7″ touchscreen, an A5 observation mirror, gaffer or duct tape, Velcro or foam sticky pads, and a Raspberry Pi Zero.

To build a Magic Mirror, you will need to clone the Magic Mirror GitHub repo to your Raspberry Pi, screw in 3D brackets, plug in your Pi and power supply, and Magic Mirror should start up. Construct your smart mirror hardware, disassemble your display, drill mounting holes, and mount the display to the card.

Preparing and configuring the Magic Mirror Software (MMS) and Raspberry Pi is crucial for a successful project. The Magic Mirror Package Manager is a command line interface designed to simplify installation, removal, and maintenance. By following this tutorial, you can create a beautiful and functional Magic Mirror that adds a touch of elegance to any space.


📹 Magic Mirror – Getting Started with Local Development

This shows the first steps towards developing for the Magic Mirror community project. This includes setting up a github account, …


Is Magic Mirror rare?

Nora Moriarty presents a discussion of the discovery of the rare mirrors depicted in the Putnam film. She reveals that these artifacts are only found at the Cincinnati Art Museum and the Metropolitan Museum of Art in New York, with approximately 24 known to exist worldwide.

What is magic mirror software?

MagicMirror² is an open source modular smart mirror platform that allows users to transform their mirrors into personal assistants. Developed by the creator of the original MagicMirror, the platform uses a modular plugin system and Electron as an application wrapper, eliminating the need for web server or browser installations. The platform is built by a growing community of contributors and features a dedicated documentation website for installation instructions.

Is Magic Mirror open source?

MagicMirror² is an open-source project overseen by a large group of enthusiasts, providing a forum for the exchange of ideas and collaboration within the community.

How can we make magic mirror?

The final stage of the hardware assembly process entails the attachment of the display control board and Raspberry Pi via a mini HDMI to HDMI cable. Additionally, the power cables are connected. The smart mirror is assembled using nuts, bolts, and spacers. It is recommended that nylon fasteners be used to prevent cracking of the acrylic material. Subsequently, a bolt is inserted through the black card border.

What is the command to start MagicMirror?

To initiate the operation of the MagicMirror, the user is required to input the command pm2 start mm. sh. The user should observe the appearance of the mirror on their screen. To guarantee that the program restarts following a system reboot, it is necessary to save the current state of all scripts that are currently running via PM2. This will ensure that MagicMirror restarts both following a system start and following a system failure. The utilization of PM2 facilitates the accessibility of beneficial tools.

How do I activate magic mirror?

To automatically start MagicMirror² on boot, use the following command: sudo npm install -g pm2. Starting PM2 on Boot. This will prompt you to execute a command, such as cd ~ nano mm. sh. The command will display a command to execute, such as npm start, chmod +x mm. sh, start mm. sh, save, and restart mm. PM2 is a production process manager for Node. js applications with a built-in load balancer, allowing applications to be kept alive, reloaded without downtime, and facilitate system admin tasks. To ensure PM2 can function properly when rebooting your operating system, start it on boot.

Which OS for magic mirror?

To run MagicMirror² on a Raspberry Pi, you need to install the latest full version of Raspberry Pi OS (previously called Raspbian). The app wrapper around MagicMirror², Electron, only supports Raspberry Pi2, 3, 4, and 5. The Raspberry Pi 0/1 is currently not supported, so you can use the server only feature and set up a fullscreen browser yourself. If you want to run MM² on a Raspberry Pi 1, use the server only feature and setup a fullscreen browser yourself.

What language does Magic Mirror use?

The Magic Mirror application is developed using Python modules, with Python serving as the primary language for the construction of all software.

Can the Magic Mirror lie?
(Image Source: Pixabay.com)

Can the Magic Mirror lie?

The Magic Mirror, owned by the Evil Queen, is a symbol of fairness and beauty. It is often depicted as either a hand mirror or a wall mirror. The Evil Queen is pleased with the Magic Mirror’s honesty, as it never lies. However, when Snow White becomes as beautiful as the day, she is even more beautiful than the Queen. The Evil Queen enlists a Huntsman to kill Snow White and bring her her lungs and liver.

After eating the lungs and liver of a boar that was passed off as Snow White’s, the Mirror replies that Snow White beyond the mountains at the Seven Dwarves is a thousand times more beautiful than the Queen. This causes the Evil Queen to disguise herself as different women to kill Snow White.

The German folk tale “Snow White” may be influenced by Maria Sophia Margaretha Catherina von Erthal, who was born in 1725 in Lohr am Main. Her father Philipp Christoph remarried after the death of his birth mother in 1741, and Claudia Elisabeth von Reichenstein, the stepmother, greatly favored the children from her first marriage. The Queen’s iconic mirror, known as “The Talking Mirror”, can still be viewed today at Spessart Museum in Lohr Castle.

The mirror was likely a gift from Philipp Christoph to Claudia Elisabeth and was a product of the Lohr Mirror Manufacture. The upper right corner of “The Talking Mirror” contains a clear reference to self-love. Mirrors from Lohr were so elaborately worked that they were known for always speaking the truth, becoming a favorite gift at European crown and aristocratic courts.

Why is mirror so expensive?

While a mirror of lesser quality may initially seem an attractive option, the long-term costs associated with a cheaper mirror are significant. The expense of materials and craftsmanship contribute to the overall cost of a mirror, making a thicker mirror a more expensive choice in the long run. Thicker mirrors have a greater longevity, frequently being bequeathed as heirlooms, thus extending their useful life.

Is Magic Mirror copyrighted?
(Image Source: Pixabay.com)

Is Magic Mirror copyrighted?

Magic Mirror UK holds intellectual property rights for its logo, branding, and products, including the Magic Mirror full-length travel mirror. The website’s content is copyrighted under applicable laws. Commercial use of materials requires a written license from Magic Mirror UK or its licensors. Breaching these terms will result in immediate halt of use and the need to return or destroy materials. Tracking information is sent automatically upon dispatch.

Standard delivery is 3-4 working days, but due to UK production, it may take up to 4 days to post. If you have an urgent order, you can contact Magic Mirror UK via email at hello@magicmirroruk. com to expedite production.


📹 Smart Mirror Touchscreen (with Face ID) using Raspberry Pi 4 | Full Tutorial

This video is a tutorial on how to build a touch screen smart mirror with face detection which can control home appliances.


How A Magic Mirror Is Coded
(Image Source: Pixabay.com)

Pramod Shastri

I am Astrologer Pramod Shastri, dedicated to helping people unlock their potential through the ancient wisdom of astrology. Over the years, I have guided clients on career, relationships, and life paths, offering personalized solutions for each individual. With my expertise and profound knowledge, I provide unique insights to help you achieve harmony and success in life.

Address: Sector 8, Panchkula, Hryana, PIN - 134109, India.
Phone: +91 9988051848, +91 9988051818
Email: [email protected]

About me

21 comments

Your email address will not be published. Required fields are marked *

  • This is a great project. A few questions tho: 1. What size mirror was used for this project, a full 32″ or just that small one u showed? 2. You recommended the pi4 can other models bu used? 3. Can the pi4 be used for other projects simultaneously? I’m very new to the pi world, sorry if the questions are repeats!

  • Hello! I am a 17 year old self taught engineer and your article was a absolutely amazing. You have a subscriber from me! Slight suggestion is that you perhaps speak with a bit more excitement (such as Tom Scott or William Osman). Your article is still amazing I just feel like you could push above and beyond (making your articles better which shouldn’t be possible).

  • This is AMAZING content…. I so want to try to do this but I am not sure if I dare to try! I have found myself over The past few months really thinking about smart homes in the possibility of them.We started over the past nine months doing a basic conversion with lights and such they’re pretty easy to do. I don’t know I’ve started to get a little bored of that and I thought about the possibility of converting my current items to Smart items for instance, my current kitchen appliances like my stove, microwave etc. what are your thoughts? Couldn’t think that it should be that hard to just merely take an upgraded model that is already a smart model of the Samsung oven that I currently have him using a replacement parts to convert it from a dumb oven to a smart oven… I just have the guts to try it. Well that and I think if I break my heart and my family would kill me. Anyway thanks so much for the wonderful content!

  • Hi I’m really inspired by your article and would like to do this for my bathroom mirror. I hope you can advise. Do I need to buy the ir frame to make my glass touchscreen? I have seen cheap so called smart mirrors from China which has a power box behind the mirror and has touchscreen time, defogger and led light function. How do you suppose that system works?

  • This is a great tutorial. Thank you! I am building one based on this right now. I have everything setup using a small monitor, mouse and keyboard for now. I want to get everything confirmed working before I order the tv and touch frame. I have a question. Should I be able to use a mouse to simulate the touch? I added the touch programming to the pi with the instructions, and I have the boxes at the bottom, but I would like to make sure everything is setup and working before. Is there a way to do this, or will it only work with the touch frame? Thank you again!

  • Hey Eben! I am Abhinav, from India, I am building a redesigned dustbin to gamify plastic segregation and get paid for it. One of the main components of the ecosystem is a smart mirror! (to educate people & create a personal identity) I would love your opinion on the project and what we could build for a solarpunk future!

  • Hello Sir, Gathering the parts list to attempt this project…however I have some questions: 1. Is it imperative that we get a “Frameless Widescreen IPS Monitor with Screen Split Capability HDMI and DisplayPort”? Or can I just go purchase a regular flat screen television? I plan to use a 24″ monitor, so which size two way mirror should I get? 12 X 24 OR 18 X 24? 2. Also, is it possible you could provide the actual two way mirror you purchased?

  • Hi I inspired by your article. You have done a great job! I wanna do smart mirror to, but instead amzn sensor frame I want to buy one on Aliexpress because I am from Russia and amazon don`t sent package. Ali mirror frame do not have drivers and work by plug and play. I desciption sad that it could work with Linux, android, windows. What do you think would it work with Rasperry Pi Thank you very much in advance. And sorry for my english I have done my best

  • Is it possible to create a touchscreen “projector”, using this raspbery pi and a mini projector? Instead of him touching the screen, he would touch a wall or a table for example… (I know I would need an IR sensor), but would it be possible? I’m an architect and I would like to hook up a projector on my desk and “draw” on the desk for my clients as we talk.

  • I have tried to set up the MMM-Face-Recognition-SMAI few times but keep hitting the wall with the picamera: File “/usr/local/lib/python3.11/dist-packages/picamera/bcm_host.py”, line 47, in _lib = ct.CDLL(‘libbcm_host.so’) ^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/lib/python3.11/ctypes/_init__.py”, line 376, in __init_ self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: libbcm_host.so: cannot open shared object file: No such file or directory. please advise. This will complete my MM project.

  • I don’t quite have the cash for everything but what about substitutions? I have several HP touchscreen monitors. Couldn’t i ass a reflective film to the touchscreen? What about adding a usb webcam instead of the module? I mean, it’s not the same but, then again, it is, just not as direct hardware way of doing it. I’ve used the touchscreen with Raspberry PI before so i know it can work but i’m working with something of a budget.

  • Any chance you can expand on the physical installation of the Camera? It works behind the two way mirror? Do you have to make sure the light from the display behind the two way mirror doesn’t interfere with the auto adjustments the camera makes to compensate for light.. lol I feel dumb asking this…

  • NGL i saw several articles of MM and this one really pops…minus the kettle, but i know you Brits Love Tea, lol! I went to the MM website prior to seeing this article and say your name and APP. NOW i know what the hell this is for and when my house is complete (custom build) im making one of these for my office. TY for the effort you put…OH and that droid Twitch control robot BROOOOOOO…Im checking on that ASAPP. I stream twitch and thats fire! GGs and Awesome work. Thank you.

  • I would assume this is possible to do with just a tough screen monitor and eliminate the mirror. Wife doesn’t want a mirror but would rather have pictures displaying, like a screen saver idea. So no IR frame (super cool though) and just use a touch screen monitor and everything else would be the same?

  • Wow! This is absolutely neat as hell. I’ve always wanted to build one of these! Very nice walkthrough. Am I able to configure the setup a bit different if I wanted to? I was thinking making mine more calendar/ task focused than what you have but I know very little about this kind of thing lol. Cheers!

  • i’m a beginner like haven’t done one project kinda beginner and your articles really motivate me. i have a question though, do most of these projects already have their codes online? because i feel like i’m not actually learning anything if i just copy codes from people who have already done their stuff.

  • Really cool! Thanks for sharing. I’m going to build one of these for my son’s bathroom, he’s got adhd and needs to-do lists for his to-do lists. So if I’m seeing correctly, you want a mirror and monitor close to the same size or it’ll be obvious it’s only smart in parts. I dig the touchscreen function, too. The ir grid is a clever solution. Is this mounted in a bathroom by chance, or I guess the loo? Mine will be in a room that gets steamy, will I need to take extra steps for this, or would putting everything behind the frame be sufficient?

  • I don’t understand the article.. you show us the final product and then you show us how to build and setup only 15% of it.. how did you set Face ID? or the menu with all the buttons with the volume control? or how did you create profiles that control the led strip? I didn’t find anything about all of that and the face id module you gave us is just for 1 user so it can be what you using in the article.. please make new article with full tutorial on all of this missing stuff or give us link to tutorials..thanks

  • Hey, i’ve been looking for a smart mirror tutorial for a while now and I couldn’t find any smart mirror that well recognize faces and then maybe do more than that, I’m thinking of like detecting the changes in the face or any thing smart like that. I know it’s not hard to create but unfortunately I’m not a programmer is it possible to try and create it?

  • Hey Eben great vid! Tbh you inspired to make me my own but I got a little difference in it. My IR Frame already has a glass in it right, so should I use the glass in it as a mirror or should I get a new glass and make it a double-sided mirror as you? I can’t be sure will it be too thick if I add extra layer

  • Very nice article and great explanation. 👍 The addition of facial recognition, IR frame, and LED backlighting are nice touches to this build. I saw a calendar in this tutorial. Is there a way to use this software to display the entire Google calendar I see when viewing it on the internet? Would like to have this ability so my family can see the whole calendar. If there are any plug ins I can use to get this functionality, would you pass that info on to me? Thanks for providing this good article on YouTube for all of us.

Pin It on Pinterest

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Privacy Policy