Read the statement by Michael Teeuw here.
MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images
-
It sounds like you guys are zipping the src folder itself also.
In terminal navigate to INSIDE the src folder thenzip -r code certs index.js package.json node_modules MirrorMirror.js
-
@savage_gr1nd i think its pretty clear that we’re not zipping the src folder but the contents. I did it form terminal as well as selecting everything inside of it and using right click, compress…
tried names like import.zip export.zip package.json.zip index.zip indexjs.zip nothing worked…
-
Is the error code your getting from the lambda test?
-
@Journeytojah that’s weird, like @savage_gr1nd said, the problem is usually on how you zip the files and folders inside src folder. It has nothing to do with RPi, or your zip file name, mine is the default ‘Archive.zip’. Assume you didn’t change the handler setting in Lambda, which should be ‘index.handler’. So you have to recreate the problem for me, show me how you do it step by step.
-
@joanaz @Journeytojah well also the index calls for cert keys. For safe measure I had my keys come in as MagicMirror so that cert path was perfect and I didn’t have to change it at all. (You don’t put the full path, just edit your personal name on the file inside MirrorMirror.js) and also make sure you have the skill Id inside index.js correct also.
-
@joanaz did you see the alexa module that runs inside magic mirror? I just noticed it. Right now I’m running alexa-avs-sample-app but I was curious if you’ve tested the other to see if it works with no additional booting outside the MagicMirror file
-
That’s the error I always get also. I have the the contents of the folder zipped not the folder I left the keys as MagicMirror also and have index.handler selected.
-
@savage_gr1nd yeah, but it requires a physical pushbutton. I’m using AlexaPi with my own wake word, so I can activate Alexa by saying “Mirror mirror”.
-
@joanaz ahhhh. That sucks. I’m running wake word also. I just liked the idea of not having to run it in terminal. Then run mirror. Would have made rebooting simple and flawless. Lol
-
@joanaz @savage_gr1nd I had my certs both as MagicMirror and other names, made sure everything in the code is correct every time I changed anything.
It just wont take it.
I will go around this another way, I’m starting to lose interest in the whole tts concept and will go with something simpler using text :)
-
@savage_gr1nd you can setup AlexaPi to run automatically after reboot
-
@Journeytojah @zman3 see whether this thread helps you.
https://github.com/lorenwest/node-config/issues/275 -
@joanaz nice. I’ll look at switching over after work.
You need to work on the YouTube functions lol -
I tried all that last time you posted it with the exeption of process.env.NODE_CONFIG_DIR=‘/var/task/config’;
-
@joanaz been there, tried it… nothing worked…
-
@zman3 no, that’s not the point, he uses the config library, we don’t. They mentioned some good points, such as “OSX makes node_modules readable only by the user so AWS cannot read it”, so you need to check the permission of your node_modules folder. And also make sure the node_modules inside the zip file is not empty.
-
@Journeytojah don’t sudo anything in this git. I made that mistake also.
-
@savage_gr1nd will try, i can imagine i had done that without realizing…
I like the response time of alexa, and would love to get this integrated, but like i said with less talking and more text.
Will try again some time and update…
-
I’m just revisiting this project as i was getting nowhere. I think i am now even more confused. Can someone tell me ‘where’ the certs folder needs copying to? Is it into the MagicMirror folder or is it somewhere else??
Thanks anyone :)
-
@Gunwoody I gave up on it too. The git is not user friendly and there’s no step by step guide. Pit that together and I’ll come back.
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