Raspberry Pi Smart Mirror


89,703

1,157

29

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

1 x Low profile HDMI cable

Various screws

We also modeled some brackets that can be used to sandwich the monitor in place

Brackets

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

2 People Made This Project!

Recommendations

  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

29 Discussions

1
None
AllisonD38

Question 1 year 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

1 answer
0
None
VinayV40AllisonD38

Answer 1 year 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.

RSS.PNG
0
None
akshay aju

2 years ago

Please share program that you used in your project

0
None
paapacj

2 years ago

Can we use linux os?

0
None
paapacj

2 years ago

I dint have mac..... how to do it on other operating system? Plz help

0
None
y_i_

2 years ago

can i do it with an Arduino

1 reply

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

1
None
SwapnilP41

2 years ago

I dont have a mac...I want to add AI

How to set it up on other Operating systems??

0
None
jimv42

2 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

0
None
197133

2 years ago

what size monitor did you use?

0
None
birdeatert

2 years ago

The AI is lagging. Is there a way to make it faster?

1 reply
0
None
HackerHousebirdeatert

Reply 2 years ago

The lag is mainly caused by your network latency since most of the components are simply service calls.

0
None
Samarjeet Chavan

2 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.

1 reply

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.

0
None
Kieron finch

2 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

0
None
David LG

3 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.

1 reply
0
None
David LGDavid LG

Reply 2 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.