HomeНаука и техникаRelated VideosMore From: Grensom

Smart Mirror (EASY Software Setup)

3485 ratings | 131399 views
This video will show you how to setup your Smart Mirror with integrated Google Assistant. If you just want to download the Smart Mirror software, install Raspbian and skip to Magic Mirror Install. Google OS Setup: 00:08 MagicMirror Install: 04:33 MagicMirror Setup: 05:53 Finishing Touches: 10:58 ------------------------------------------- Etcher: https://etcher.io/ VNC: https://www.realvnc.com/en/connect/download/viewer/ ------------------------------------------- Install Command: bash -c "$(curl -sL https://raw.githubusercontent.com/ MichMich/MagicMirror/master /installers/raspberry.sh)" ------------------------------------------- Building the Mirror: https://youtu.be/aa3VVZA0e5Y Testing the Mirror: https://youtu.be/t-gSjdJX5HY Custom Calendar Setup: https://youtu.be/KLGi9467S34 Spotify Setup: https://youtu.be/q7wqm8h3PnA ------------------------------------------- Website: http://www.gregensom.com LinkedIn: http://www.linkedin.com/in/gregoryensom Facebook: http://www.facebook.com/greg.ensom Twitter: http://www.twitter.com/Greg_Ensom SC: Grensom Insta: greg_ensom Spotify: Greg Ensom
Html code for embedding videos on your blog
Text Comments (238)
Jakob Wold (7 days ago)
When i have paste the code to Magic mirror, it say in the buttom: error? Why?
William Fargues (8 days ago)
I just don't understand why we install Google Assistant ? Because you don't use it.
Fabian Mo (10 days ago)
have you already post the alexa os setup video?
Muslim Abdulla (11 days ago)
I wanna try with the carplay system , when my phone on charge it must be accessible from mirror
Stanislas Nguimatsa (12 days ago)
hello gentleman if he/it pleases you that what is the HDMI monitor??
Ben Braunstein (13 days ago)
So this is google assistant and is connected with my other google assistant devices like my home mini? Can I use it for smart home features like turning on and off lights?
William Fargues (21 days ago)
How do I do the audio setup part ? Because I have no sound
Marius 123 (19 days ago)
Simone Servadio (26 days ago)
I installed al, but how i can make Google assistant always on? And why are you using alexa without making a video tutorial? I really want to use my smart mirror with an AI, but with this guide I don't have answers from Google Assistant
Hacker.gr (29 days ago)
Hey grensom! I was wondering how can I connect my bluetooth speaker to the raspberry while I am doing the configuration
Castiel (1 month ago)
Excuse me, this is an upgraded version of the video "smart mirror easy setup"? Can i just follow this one?
Koulouri (1 month ago)
Well.. im a bit confused! On your teaser video you used alexa and here you show how to install google assistant. What is going on?
B222006 Gamer (1 month ago)
Do you need a oled display for the mirror to work
Brandon Sneller (1 month ago)
Thanks man, you helped me build my awesome mirror! I have a question for you though. When my mirror reboots I have to go in and execute the library demo for Google Assistant every time. is there away to have it activate on boot?
demoncher (1 month ago)
Trying to install magic mirror and it’s giving me: bash: line 112: npm: command not found UNABLE TO INSTALL DEPENDENCIES error Could you help me?
Michele Barrotta (1 month ago)
Magic mirror is also in Italian language? Thx and great job Grensom!!
Ben Perlson (1 month ago)
When i try to upload the code you have provided, I get a syntax error on line 6. Why is that? The error is: bash: -c: line 6: syntax error near unexpected token `newline'
Ben Perlson (1 month ago)
Why is this?
MotorboatMyGoat _ (1 month ago)
When I searched up Http://www.openweathermap.org/help/city_lisits.txt it keeps on saying page not found. I need to know the weather code for Montreal. Can anyone help me?
Huw Roberts (1 month ago)
For all this to work you need AIY Box as far as I can see.
Sudhakar P (1 month ago)
sir, i am very happy to see your project of smart mirror, since i am new to this e-world, I have a doubt that the picture is equel to the size of the monitor or to the extent of the size of the mirror? thanks in advance for your reply
Stuart Wilson (1 month ago)
I'm so wanting to build this. Great work on all of this.
Nastybutter (1 month ago)
Love the videos!! I’ve been working on mine for a while now and I’m pretty much done I just had a few questions. The weather location Id link doesn’t work anymore... are there any work arounds? Also the google assistant only works on the demo mode and not on boot up.?.?.?
Jpasquiet (1 month ago)
hey, thank you so much, thanks to your video, i build my own magic mirror. I wonder if I can config the compliment module with a "random" option to mix my compliments and not to always have the same order ...? Thanks again !
MERIMIX GAMING (1 month ago)
this is sick as fuck and i might build it
ANDOSTV (1 month ago)
Excellent work! Do you know how to change the language from the google Assistant to german?
Ramyak Mehra (1 month ago)
How did I install alexa
vignesh kumar (1 month ago)
How to make a digital photo frame
조성희 (2 months ago)
Is it also possible for raspberry pie 3 ??
Gaurav Bharti (2 months ago)
Dear Grensom, can I get built up project like this from anywhere??
WonkaWizard34 (2 months ago)
If anyone's having trouble with the installation command, here's a fixed version: bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
MrNikhilSmart (2 months ago)
In the first step while downloading the aiyproject image it says it is not for free and can be used for only 60 mins per month for free, so are you paying your billing or you are not aware of it?
Tat (2 months ago)
so how do we activate the google assistant? the only way i can get it to work is by activating the demo file but how do i make it so its always listening when its on?
Nastybutter (1 month ago)
Tat same
Piotr Król (1 month ago)
i have the same problem
Harrison York (2 months ago)
I can’t seem to find the weather code. It looks like open weather deleted their list of location ids?
hunting for weird (2 months ago)
i did not get the file config.js
Reshma Praveen (2 months ago)
Magic mirror command says no such directory or file
Oliver Chapple (2 months ago)
can you please give me your files of Google Assistant or send me a guide to get it on to the mirror
Osborne Fernandes (2 months ago)
Great video bro love the way you explain in details.Can you make a video on how to set up selfie and send picture on your email via voice
Ricardo Celis (2 months ago)
Nice Build! What speaker are you using for your setup? Bluetooth? if so, how you did the setup?
08mraskew (2 months ago)
does that install command really work? i got nothin
ThatGuy WithTech (2 months ago)
Awesome build, do you have to add modules for the Google Voice kit in the config.js or for the Alexa in the .js file if so could you include that or add a file to summarize the process? Thanks .. Great Job!
oksound cool (2 months ago)
Cant edit anything and will not allow me to start application
Frank Gregory (2 months ago)
did you flash the google file on a SD card that already had the Pi software or did you flash the google file on an already prepared SD card with Raspbin?
Frank Gregory (2 months ago)
Grensom thanks
Grensom (2 months ago)
Frank Gregory the SD card is blank when I flash it, the Google file is a modified version of the Raspbian OS
Jacob Baehr (2 months ago)
Hey can someone help me with this? I am having so many annoyances while trying to set up this software on the rasPi. Just reply to this comment if you can help. ty
Grensom (2 months ago)
Jacob Baehr what issues are you having. Also what pi are you using
daniel allen (2 months ago)
UNBELIEVAbLE!!! i need to try this
Volt - Roblox and More (2 months ago)
Do you have to have the pc running at all times for it to work?
Jack Plumridge (2 months ago)
The Open Weather URL that leads to the city list doesn't work anymore. Any ideas on how to fix this?
Jacob Phillips (2 months ago)
Jack Plumridge I had to google to find a link to the file, downloaded it and opened with winzip, then opened the file in notepad and saved it. You can give me your city name if you want and I’ll look it up.
Mo Faraz (2 months ago)
Thanks for these videos. They have been very useful. Regarding the voice kit, can I use another usb microphone and speaker in its place? I have speakers already and getting a usb microphone would be cheaper than the voice kit. Is there anything I have to change in the set up process? Thanks.
John Do (2 months ago)
Really looking forward to the spotify video! Keep up the great work!
Chris Murcek (2 months ago)
It’s going to take me a couple years to get the money but I’m going to do it for sure! I don’t understand coding but you make everything simple so thank you
Redowanur Rahman (2 months ago)
I am the Beginner, , where can I foound the full video to build mirror
Tyler Miller (2 months ago)
I'm having trouble getting the wifi connected to my Raspbery Pi Model B. Anyone else having trouble with this? I ran ping raspi and got the ip address, but when I put it into VNC, it rejects it.
Trevor Hardenbrook (2 months ago)
You need to enable VNC in the configuration setting in the GUI
Tiago Rainho (2 months ago)
When I try to download it says "unable to install dependencies". Can someone help me out with this please?
Jacky Woo (2 months ago)
Hi, Thanks for the videos. On the other video, you used alexa, in here, you used Google Assistant. Just wondering how did you get alexa working on the smart mirror on the other video? thanks
Dustin Lott (3 months ago)
Can’t get my weather working any help
Elijah Orozco (3 months ago)
And how do i install alexa
C4 Bro (3 months ago)
gimmi dat code boy
Zubair Hassan (3 months ago)
Hi, what size SD card would you require for this? Would 4gb suffice?
AIDIL (3 months ago)
is it possible if i want to duplicate screen to another mirror? publish to network and subscribe with arduino.
Tom West (3 months ago)
What’s the smart mirror software called (The software that shows the date, time, weather, etc)? I’m designing and making a ‘smart gaming chair’ which has a display which shows what your mirror does but with more features. I’d like to know more programming my own software for it.
Dave Whittaker (3 months ago)
Hi great video thank you just a question. I'm having an issue I open my pi folder and I dont have a aiy folder to find the assistant library demo file. Is that a separate file to dl . Thank you In advance
Adam Burgoyne (3 months ago)
Would it be possible to just use a piece of clear acrylic with sone one way mirror film overlay? It's considerably cheaper than buying a large piece of one way acrylic in the UK.
roberto martino (3 months ago)
Thanks for the video, I while installing the mirror on raspians and I got a bunch of security wartning, is this normal or did I miss something.
Per Nordeman (3 months ago)
Can you do this directly on the raspberry?
Per Nordeman (3 months ago)
Hey! When i flashed the microcard and put it in the raspberry the taskbar disappeared.. I Used a Mac to flash the SD-card. How do i fix it? Did i get a new IP on the pi? cuz cant connect through VNC Or how do your connect to the Pi without the SD-card in it? Looks lite a awesome projekt:)
Eric (3 months ago)
I'm gonna try to make my own very soon, working on some other projects currently, but I have a question, can I add a different module for the weather, say weatherbug, and also can I add module other than Spotify for the music, maybe YouTube red or poweramp, and last but not least can I add these without catching a charge for copyright infringement. And can u make any videos showing me how. Or can I just run apps from Google play on rasberri. Obviously I want it to b legal about the whole thing. Thanx in advance for ur response. Great video btw.
Ankur Meena (3 months ago)
hey , congrats for this projects kindly guide us how you you installed music player on mirror
Jpasquiet (3 months ago)
Thank You so much @Grensom ! I set up my MagicMirror thanks to you. I also added a spotify module (MMM-nowPlayingSpotify), but it is too big for me, and I am not able to place it in the center, on the right side.... thanks for your help ! <3
Jpasquiet (3 months ago)
Trevor Laporte ok thanks I'll check it right now !👍
Trevor Laporte (3 months ago)
Jpasquiet the default clock module can be changed to an analog clock. I'm at work so I'm not sure the method off the top of my head.
Jpasquiet (3 months ago)
Trevor Laporte yeah thanks for answering, that's what I finally did : stacking some modules. Other questions : do you know any needle clock module ?
Trevor Laporte (3 months ago)
I also haven't been able to figure out resizing. For the right center placement, it doesn't seem like there is an option to but it right or left in the center, just middle center. You could two or so modules top_right and the spotify module as the last top right (because they will stack) and that might leave it around the center right. If appears that the placement options are top_bar, top_left, top_center, top_right, upper_third, middle_center, lower_third, bottom_left, bottom_center, bottom_right, bottom_bar, fullscreen_above, and fullscreen_below. That's according to github. I'm not sure if middle_right would work, because it's not in that list, but I guess it's worth a shot.
Gabe (3 months ago)
when is the alexa version coming?
Yash4 pc (3 months ago)
Mobile notification...plss
R Squared (3 months ago)
the link to the codes for each city results in a 404...can anyone help? (EDIT) I figured it out, for all who were wondering, go to this link https://openweathermap.org/appid and scroll down to a link that says city's list IDs and click on it. It will have a download prompt and in the file are all of the codes
Robert M (3 months ago)
I get a failed to start Load Kernel Modules, can anyone help?
King Mobile Inc. (3 months ago)
Is possible activate magic mirror in portuguese brazil? (Sorry by english)
Dennis Bridgham (3 months ago)
I’m unable to get the task bar. I’ve used lxpanel but wi-fi setup is not there and selecting the Check WiFi icon opens a terminal that tells me to select the icon in the upper right. I’ve saved dtoverlay=i2s-mapp and dtoverlay lines in config.txt not get no change on reboot. Also contrats, this is a great project.
SMK02 (3 months ago)
Awesome videos man!
JOHAAN Jai Mittra (3 months ago)
@grensom how does the assistant communicate with the magic mirror 2 modules and software. I’ve been trying to figure this out for a long time.
Echoa (3 months ago)
Make sure if you decide to use VNC that you enable SSH also. VNC can be a security issue and if you use VNC but tunnel through SSH you can mitigate that some what by having the VNC only listen on localhost. Its fairly easy to do and you can connect from windows using Putty. Here is a quick how to that may be slight different for the PI https://community.time4vps.eu/discussion/120/how-to-connect-to-vnc-server-ussing-ssh-tunnel
unfortunatelyemo (3 months ago)
Got a Google ad on this one 😂
Mohit Mahna (3 months ago)
After i boot my SD card using pi, the desktop opens but THE TASKBAR IS MISSING. I first tried through SSH using VNC, then i later plugged in HDMI and re intalled the OS in the SD card. Still no task bar, Audio hat, Wi Fi etc. Nothing... I used the "lxpanel" command to use the taskbar outside the screen, but even that doesn't allow config of anything. Please help.
Dennis Bridgham (3 months ago)
I found that if I enter CD and from that directory enter sudo reboot I get the taskbar.
Arvind Alexander (3 months ago)
Hey, does the Google SD kit contain the Raspbian OS? Also, did you previously install Magic Mirror on the Raspbian OS before setting up the Google credentials?
Franic (3 months ago)
How do you change the weather to celcius instead of Fahrenheit
Grensom (3 months ago)
Franic in the config.js file, set the units at the top of the file from "metric" to "imperial"
Martin Chunga (3 months ago)
Nice video
Natan FOURIÉ (3 months ago)
wiat a minute, her you're giving intructions for Google Assistant but not for Amazon Alexa as you did in your other Mirror video ^^ Am i missing something ? lol
Bojan Milosavljevic (3 months ago)
Hi. When I install AIY image i have no audio devices found. Do I need Voice HAT accessory board for this project, or just raspberry pi?
Torstein Sæteren Aanvik (3 months ago)
I'm also struggling with this, so a tip would be nice :)
Armen Balayan (3 months ago)
where do I get the monitor thing?
James La Porta (3 months ago)
@Grensom, what did you use to set up your microphone and speaker?
James La Porta (3 months ago)
Like did you use a voice hat?
Santhosh Senthil (3 months ago)
r u doing this software in the monitor which u fixed in that mirror..
Jose M (3 months ago)
william turner-ward (3 months ago)
Hey, another problem has arisen (sorry!), I've managed to set up Spotify module well, but I want to get the google assistant working as shown earlier. Whenever I try to set up my audio device it says that I need to connect an ALSA device (or USB or HAT), I've tried to force audio through the AUX cord with sudo nano /boot/config.txt but that hasn't helped, I don't even know what an ALSA is since I'm very new to this whole Pi thing Thanks, Will
Dudej11 (1 month ago)
william turner-ward Were you ever able to figure out a solution? I’m having the same problem
Hacker.gr (3 months ago)
Man I am typing pm2 start MagicMirror , status goes online but the actual smart mirror doesnt open up any idea?
oksound cool (2 months ago)
Me to but this did not fix it
Hacker.gr (3 months ago)
I fixed it by typing cd MagicMirror npm start
Jeromie Yecyec (3 months ago)
amazing. I'm waiting for alexa video :)
MattTheDude339 (3 months ago)
is there a way i could have the same thing but on a windows 10 computer instead of a raspberry pi?
bank america (3 months ago)
Hej, so I need A little help so i have a wakation house with no wifi soo im screwed ? or is there a way to get the wether and time and date ? i was thinking about a pandrive with internet conection but idk can you help me with that ?
bank america (3 months ago)
No the problem is its a wakation house with no internet is there any possible option to get this working ?
Done With Music (3 months ago)
do you have internet at all? you can run a ethernet cable to the pi itself.
william turner-ward (3 months ago)
Great tutorial! Just one problem, whenever I start up my raspberry pi it comes up as booting up the MagicMirror software, then goes straight to the home screen and doesn't boot up, I've already done pm2 start MagicMirror, HELP!
First Timers (1 month ago)
What was your solution? Im having the same issues
Marije (3 months ago)
If you have a google account you can just use his video on setting up the calendar but instead of selecting your personal calender you select the holidays
william turner-ward (3 months ago)
AHA!! Victory! Thank you very much for your help... although it did keep me up till 12am due to the shitty internet... Can't wait for your Spotify update video! (also if it's not too much trouble could you show how to switch from American holidays to, say English holidays, for example? Thanks)
william turner-ward (3 months ago)
Thanks, but when I type pm2 start MagicMirror it doesn't even boot up, I can do it manually using cd Magic mirror then npm start, but it won't autoboot
Grensom (3 months ago)
Try running pm2 start MagicMirror and then running pm2 save. If that doesn’t work try going to my old software video and redownloading the pm2 software at the AutoBoot section of the video: https://m.youtube.com/watch?v=pcmjht0Hqvw
Steven Frazier (3 months ago)
Running this from VNC. If I run DISPLAY=:0 npm start then it does start but this isn't the way it should be set up to autostart, is that correct?
Steven Frazier (3 months ago)
This is with stretch 9.4
Steven Frazier (3 months ago)
I completely re-installed and during the installation I got: Installing dependencies ... npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/patriksimek/vm2.git npm ERR! npm ERR! fatal: Could not change back to '/root/MagicMirror': Permission denied npm ERR! npm ERR! exited with error code: 128 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-06-23T16_34_18_805Z-debug.log Unable to install dependencies! This is without the apt-get update and apt-get upgrade.
Steven Frazier (3 months ago)
The did the apt-get update and apt-get upgrade and then I installed Magic Mirror. It started MagicMirror. When I rebooted it did not. When I tried it manually with: /MagicMirror$ pm2 start MagicMirror I got the following. Is there something in apt-get update or apt-get ugrade that is breaking this? Thanks in advance. [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2 [PM2] PM2 Successfully daemonized [PM2][ERROR] script not found : /home/pi/MagicMirror/MagicMirror script not found : /home/pi/MagicMirror/MagicMirror ââââââââ¬âââââââ¬âââââââââ¬ââââ¬ââââââ¬âââââââââ[39m â Name â mode â status â ⺠â cpu â memory â ââââââââ´âââââââ´âââââââââ´ââââ´ââââââ´âââââââââ
ANGEL (4 months ago)
What kind of mirror is that, I cant find one. especially in my country. And can i use another site for my weather updates?
Prescious E. (4 months ago)
If only Id knew how to build a mirror.. 😭😢
Nathaniel frisco (4 months ago)
is there any chance that you can set up my pi?
INFINIT_THRIVES (4 months ago)
Sorry bro but it was sooo funny the subtitles (caption) miss heard ur name it wrote grunts a mirror instead of Grensom Mirror

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.