Read the statement by Michael Teeuw here.
MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images
-
I’ve also got Alexa-avs running with sensory wakeword engine - so i’m not a complete idiot :)
-
@Gunwoody Hold the front page - i may have cracked it :)
-
@Gunwoody OK - getting closer.
Upload of zip to Lambda finally worked ok.
I can now enter Utterances in the service simulator on developer console and get a Lambda response
I can see the response properly logged in Cloudwatch logs with no errorsBut i must be missing something fundamental because when i load Magic Mirror ir run perfectly but doesn’t seem to be listening for the Alexa wake words etc.
Oh well getting closer all the time :)
-
@Gunwoody mmm is in modules folder inside magicmirror. Sdk is inside mmm and also inside the skill located in the root. Certs is inside mmm and skill.
Iot runs on its own. Alexa-as you need to run your three terminal executions. Then npm start magic mirror after that.
Add mmm to magicmirror config and voila. :) -
Thanks Savage - all that seems to be ok as far as i can see. I’ve got new problem now (that didn’t exist before) and i can’t seem to get to the bottom of it. When i start the wakeword engine i get this.
INFO:main: Starting Wake Word Agent
INFO:WakeWordAgent: State set to IDLE(2)
INFO:Initializing Sensory library | library name: TrulyHandsfree | library version: 5.0.0-avs.1 | model file: …/ext/resources/spot-alexa-rpi.snsr
WARNING:Library expires on: License expires on 28 May 2017 00:00:00 GMT
wakeWordAgent: pcm.c:694: snd_pcm_close: Assertion `pcm’ failed.
Aborted -
OK fixed the sound issue. So i can talk to Alexa but it doesn’t seem to invoke the Mirror at all - any ideas??
-
@Gunwoody it only invokes mirror if you ask her to ask mirror.
Alexa, ask mirror to show me a video of…
Alexa, ask mirror to close calendar…
Etc. -
I’m missing something fundamental - I can talk to Alexa (with the three terminals running). I can start Magic Mirror but they don’t seem to be connected. If i ask the question “alexa ask mirror find snow white” on the developer console i get the correct response "“ssml”: " Yes, my Queen, showing images of snow white. "
Some where i’m missing a link?? Back to the drawing board!!
-
I’ve got
MMM-MirrorMirrorOntheWall in MagicMirror modules - check
Certs inside MMM-MirrorMirrorOntheWall - checkIs the Skill supposed to be inside the MagicMirror module somewhere???
Is npm install for aws-iot-device-sdk run in 2 places???
MirrorMirrorOnTheWallSkill/src
and where else???
Sorry for all the questions :)
-
@Gunwoody also inside MMM-Mirrormirroronthewall located inside magicmirror/modules
-
@Gunwoody sorry and no. Skill stays in your root. I was just saying the other thing about installing IoT
-
Does the skill in your root actually get referenced or is it just a workspace to create the certs and zip file?
-
@Gunwoody I belive a workspace. Because everything in it is essentially code to import to lambda. So opening a YouTube video runs the youtube-node imported into the function itself.
-
Hi Savage, that’s what i figured. I need to figure out a way to test connectivity between all the different elements.
Do you know where the wake word is set?
-
@Gunwoody there too many moving parts I think to see it all in one spot. But could be wrong lol
And where wake word runs depends on which program/version of alexa-sdk you’re using. Like I use alexa-avs-sample-app so mine runs in its own terminal. But that’s soon to change. Gonna run Alexapi so it runs right off of boot instead. That’s my project for tonight lol -
I’m using the same. You’ll have to let me know how it goes with AlexaPi - might be an easier route to take :)
-
@Gunwoody will do :)
-
holy crap I finally got the skill part working. took me doing the whole install npm and everything and uploading the zip all from windows instead of the raspberry. weird
-
of course now i have the problem of it not doing anything with the mirror :/
-
Exactly the same here
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login