Raspberry Pi Smart Mirror
Intro: 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
30 Comments
Mehmet Onal 7 weeks ago
I've noticed there's been a bit of a gap in information regarding the choice of operating systems for the Magic Mirror project. As this project can be approached from various platforms, it would greatly benefit our community to share insights and experiences with different operating systems.
If you have any knowledge or recommendations regarding operating systems suitable for the Magic Mirror project, I encourage you to kindly share them here. Your contributions will undoubtedly help fellow enthusiasts navigate their options more effectively. Let's foster a collaborative environment where we can all learn and grow together. Thank you!
AllisonD38 6 years ago
I have my country code for news set to US
VinayV40 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.
akshay aju 6 years ago
paapacj 6 years ago
Can we use linux os?
paapacj 6 years ago
Alexander heron the inventor 7 years ago
that's scary awsome,The ai system made me drool XD
y_i_ 7 years ago
can i do it with an Arduino
Alexander heron the inventor 7 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
SwapnilP41 7 years ago
I dont have a mac...I want to add AI
How to set it up on other Operating systems??
jimv42 7 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
197133 7 years ago
what size monitor did you use?
Zeeshan khattak 7 years ago
MonserrattT 7 years ago
How I download PDF file with out intering premium
birdeatert 7 years ago
The AI is lagging. Is there a way to make it faster?
HackerHouse 7 years ago
Samarjeet Chavan 7 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.
Samarjeet Chavan 7 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.
Kieron finch 7 years ago
Like it if you can find a link please
David LG 7 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.