@sdetweil — ok, so it’s not a full “version” of alexa I’m working with then? for instance – if i tell her to set a timer or alarms (something that is actually pretty useful) she says she’s doing it – but it never “goes off”. that’s the part that’s confusing. it feels like i’m getting the voice recognition but still missing … part of alexa?
Latest posts made by flipfloplife
RE: Alexa, AVS, AWS, devices
Alexa, AVS, AWS, devices
I got my magic mirror working. I got a few other modules working besides default. What I really want to do is: 1) control the mirror with alexa 2) be able to query alexa for general stuff, “tell me about abraham lincoln” and 3) use alexa home stuff (lightbulbs, linked devices, etc). I installed Awesome-Alexa and I think it works (she will tell me about Abraham Lincoln); but she won’t play music (even though the account I used for sign up on amazon is my parents prime account) and when I read through the installs for some of the accompanying modules i want (like MirrorMirrorOnTheWall) it seems like maybe I need to have AWS instead of AVS? I’ve gotten a bit tangled up on this. The amazon site has been a tough part for me, I follow the tutorials and when they aren’t current or aren’t pretty much exactly worded the same way … i have to find another one or go a different way. This started as an 8th grade engineering project (already turned it in but i have more i want to do) so longer easier answers help me a bit more. Thanks!
RE: Webcam instead of mirror?
@helmi — yes, that’s exactly it. sometimes i might want a mirror, but sometimes perhaps i want it to be a cool live picture, then voice activate (or PIR activate) to a mirror. what I’m saying is that the glass is both the expense point and the “weak point” in terms of the screen. if the object of the mirror is to see myself, well that should be something I can accomplish with a “webcam reflection” - and in that instance I should be able to lay stuff on top (still having that “mirror” feel) — but other times I might not care to see myself, I just want whatever functionality is built into the mirror (weather, calendar, headlines, etc). This started in my brain because i’m trying to figure out why I would shell out $150 to put a mirror in front of a high res screen to make this image … “worse” in quality? a webcam can give a perfect “reflection” on the screen.
So what i’ve been looking at is figuring out how to set the raspi cam to just webstream locally, and then display as the “background”. my cam should come today. someone has already pointed out that the pi may not have the processing power to do this visual loop very quickly ---- and that may be true. if that’s the case then a mirror does make sense. but my macbook air will do it pretty easily using VLC (yes there was lag, but I may have had things set up very inefficiently). But the look of it was cool, no fuzziness, the background image was crisp and the stuff on top was also crisp.
I may be crazy, this may be a dumb idea. It may be semantics, but I think this is still a functional mirror in that it can show me a mirror’d effect if desired.
Perhaps this notion is a magic “frame”. That could be a mirror, or other things. in my head you could combo this up with some 12v flush buttons on the side for different “modes” – outside weather, local undersea webcam, live shot from space station, etc.
RE: i think i'm close?
@sdetweil HEY !! IT WORKS!!! THANKS @sdetweil !!! ha – first pi project – working ! (had no idea that being in console mode (now i know that word) was different than being in a console “window” (?) inside the graphical desktop — THAT clicked it) – neat
i think i'm close?
ok – followed instructions here: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6 by kirash4
new pi3. everything from format card through mirror install went seemingly well (no errors that i could see) – until i type npm start. then i get
(electron:4392): Gtk-WARNING **: cannot open display: :0
npm ERR! code ELIFECYCLE
npm ERR! code errno 1
npm ERR! email@example.com start: ‘sh run-start.sh’
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-22T18+03_34_626Z-debug.log
so. i used the google. and i did the following:
npm cache clean --force
delete node_modules folder
delete package-lock.json file
this did not change the error I’m getting. thoughts?
RE: Webcam instead of mirror?
Right – no – you’d still get your mirror. Instead of being reflected in glass it would be a digital reflection (the webcam would constantly display it’s video feed). Does this make sense? I mean one way or another you have to have some kind of screen/monitor/display behind your mirror. if you have that going, and you have a webcam… then perhaps you could do this w/o the physical glass part of the sandwich?
Webcam instead of mirror?
What a fantastic forum! Been lurking like crazy. Trying to figure out which of several different paths to go down.
And right off the bat — here’s a dumb question. Why do we need a mirror for this project? Given a decent sized screen, and a webcam, why do we need a mirror for this? Couldn’t the webcam simply broadcast what it’s seeing onto the screen all the time? Like a live wallpaper? Then perhaps a second webcam for facial rec, microphone, etc?
Is there a previously established way to do this?
Trying to nail down big pic architecture before committing down a path…