Introduction: Raspberry Pi Smart Mirror
Find out how to make an easy raspberry pi powered home smart mirror. It displays applications so that you can check the weather and local news while you are getting ready in the morning. It's also modular, so you can easy move it around or hang it on the wall if you like. We've created a basic application that you can run on the mirror, but it's totally customizable if you want to write some of your own code.
Step 1: Materials
You will need a few materials for this project:
1 x Low profile monitor (we used an old led display, about 0.5" thick)
1 x 18" - 24" Acrylic See-Through Mirror, 1mm
12 ft - 1x2
12 ft - 1x3
1 x Wood glue
Various screws
We also modeled some brackets that can be used to sandwich the monitor in place
If you don't have access to a 3d printer, you can also use a few pieces of 1x2 to hold the monitor in place.
Tools:
- Wood saw
- Miter box (45 deg angle cuts)
- Sharp scissors
- Tape
Step 2: Instructions
We've created this guide which shows you step-by-step how to build the frame, then load the application code on the Raspberry Pi. No coding experience is necessary, but you can use your own application or add more functionality to ours if you want.
Step 3: Resources
All of the code used in this video is available on Github.
That's it! If you have any questions about the project, please post them in the comments and I will answer them the best I can.
Thanks, Aaron @HackerHouse
Step 4: Update! We Added Artificial Intelligence to the Mirror
We created another video recently that show you how to add artificial intelligence to the mirror. We created this AI and use Wit.ai for the natural language processing. Since the code is open source, anyone can help to make the AI smarter.
Unfortunately, the AI is too much for a Raspberry Pi to handle, so we created a guide on how to set it up on a Mac.
Here is a link to the Github repository: https://github.com/HackerHouseYT/AI-Smart-Mirror
29 Comments
Question 5 years ago on Step 2
Followed the tutorial and everything works great except the first line in the news feed reads "This RSS feed URL is deprecated", the rest of the news feed looks as I would expect. Any ideas for how to fix this?
I have my country code for news set to US
Answer 5 years ago
yes it can be fixed easily by changing the list to be shown
like index given in that is [0:5] just change it to [1:6] so it will skip that like which shows The RSS thing
Thanks for sharing the project.
6 years ago
Please share program that you used in your project
6 years ago
Can we use linux os?
6 years ago
I dint have mac..... how to do it on other operating system? Plz help
6 years ago
that's scary awsome,The ai system made me drool XD
6 years ago
can i do it with an Arduino
Reply 6 years ago
I'm guessing you must be a guy that's just beginning to know anything.zz the answer is yes if you're smart enough.but you should choose microprocessor and not microcontroller
6 years ago
I dont have a mac...I want to add AI
How to set it up on other Operating systems??
6 years ago
great project thanks could not find the place to input the pi's ip address and when i ran the smartmirror.py file i get an error "locale.Error unsupported locale settings" please help thanks
6 years ago
what size monitor did you use?
6 years ago
How I download PDF file with out intering premium
Reply 6 years ago
How I download PDF file with out intering premium
6 years ago
The AI is lagging. Is there a way to make it faster?
Reply 6 years ago
The lag is mainly caused by your network latency since most of the components are simply service calls.
6 years ago
for python smartmirror.py,
I am getting this,
Traceback (most recent call last):
File "smartmirror.py", line 330, in <module>
w = FullscreenWindow()
File "smartmirror.py", line 307, in __init__
self.clock = Clock(self.topFrame)
File "smartmirror.py", line 77, in __init__
self.tick()
File "smartmirror.py", line 80, in tick
with setlocale(ui_locale):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "smartmirror.py", line 39, in setlocale
yield locale.setlocale(locale.LC_ALL, name)
File "/usr/lib/python2.7/locale.py", line 579, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Please help.
Reply 6 years ago
i figured out that i am entering my countries (India's) country code wrong! I looked everywhere but it is "IN" but when i enter it, this error appears. Whenever i keep it blank ("") the code runs smoothly. But, i don't see weather or news.
6 years ago
Would it work with a normal mirror? I don't know where to get an acrylic mirror
Like it if you can find a link please
6 years ago
Hey guys ! GREAT PROJECT !
I just made one and it works great !
Would you be willing to make a tutorial about how to add other APIs in there ? Or maybe advise me some good tutorial you know about, still using python (Say i would like to know how much clicks i get on my website for example ?)
Great job, thanks a lot for sharing, you made the world a little better doing so.
Reply 6 years ago
Yes ! how much clicks you get is a real cool feature, but i would also like to have what's in my google agenda for the day, any help ? I'm trying to figure it out by myself but my programming skills aren't that good for the time being.