Read the statement by Michael Teeuw here.
MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images
-
I have those installed still not seeing where i would get a host to put in there .
if I say alexa, on the wall. she says theres a problem with the requested skills respones the lambda cloud watch error shows the following17:21:45 START RequestId: 931bbc00-e710-11e6-b7a7-b3bf469e814d Version: $LATEST 17:21:45 Unable to import module 'index': Error at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/var/task/MirrorMirror.js:1:76) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module. 17:21:45 END RequestId: 931bbc00-e710-11e6-b7a7-b3bf469e814d 17:21:45 REPORT RequestId: 931bbc00-e710-11e6-b7a7-b3bf469e814d Duration: 36.31 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 17 MB 17:21:45 START RequestId: 9342f35b-e710-11e6-872c-f9454aa4f261 Version: $LATEST 17:21:45 Unable to import module 'index': Error at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/var/task/MirrorMirror.js:1:76) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (modul 17:21:45 END RequestId: 9342f35b-e710-11e6-872c-f9454aa4f261 17:21:45 REPORT RequestId: 9342f35b-e710-11e6-872c-f9454aa4f261 Duration: 0.61 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 17 MB -
so another thing in your skill code theres
var MirrorMirror = require(‘./MirrorMirror’); does that expect the MMM-MirrorMirrorOnTheWall module folder to be called MirrorMirror because mines call MMM-MirrorMirrorOnTheWall -
This post is deleted! -
I can’t get the module to work, I get this error:
{ Error: getaddrinfo ENOTFOUND data.iot.us-east-1.amazonaws.com data.iot.us-east-1.amazonaws.com:8883 at errnoException (dns.js:28:10) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26) code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'data.iot.us-east-1.amazonaws.com', host: 'data.iot.us-east-1.amazonaws.com', port: 8883 } -
@joanaz I really want to get excited about this but the install info is confusing at best. Could you please post a video demo of how it’s working currently and a more step-by-step installation guide? This sound like exactly what I’m looking for, but… I just don’t need more info.
-
I’ve updated my readmes and code, you can do a git pull to get the latest files.
-
@joanaz I have AlexaPi working great right now. I’m a bit reluctant to stop it and try something else right now. Can you post a video of how it’s currently working?
-
Okay, i will try again with the new instructions.
Do you have any advice regarding names for the certs or other names that would need changing?
-
@lucallmon Where do I say you have to use something else? You definitely need AlexaPi to get it working.
-
@Journeytojah I think names do not matter, but make sure the names in MirrorMirror.js match with your certs. I called my AWS IoT Device “MagicMirror”.
-
@joanaz Okay, thanks.
Do you have any idea why i got that error? The function runs in lambda when testing but in the logs i see that application ID is missing.
I made sure to put my app ID in the js script and update the lambda function.
It would get an error on 3s timeout so i set it to 15.
Ill try setting it up from scratch again and let you know how it goes. Thanks!
-
So i have to have alexapi?
Because I’m running this
https://github.com/alexa/alexa-avs-sample-app
Which works great you said earlier that it should work with that. Do I need both -
@Journeytojah do you still have the same error? I thought you got it running.
-
@zman3 no you just need one Alexa app running. The Alexa sample app is perfectly fine.
-
So my orginal error was when I said Alex on the wall she would say there was a problem with the skill, I redid the version right before you added YouTube now when I say alexa on the wall it dings then freezes and I have to reboot the raspberry to get her to work again. I did Amazon’s hello world skill example and that one works fine. I’ll try your newest version again tonight after work.
-
@joanaz I’m cloning my SD card because i ran out of free space installing AlexaPi last night.
Will start fresh and let you know if it works.
-
Setting up the AWS IoT service… what support plan to choose? Basic is free right? I’m not paying $30 for developer. Is this even required?
-
@lucallmon yes you must setup an AWS IoT device, it should be free, I don’t know where you are seeing basic or developer whatever.
You should see something like this

-
@lucallmon afaik you get 12 months for free, you just need to use a credit card to register, and they “use” 1$ to confirm its your account, kinda like PayPal does.
-
@joanaz Now i get this error for the Lambda function… tried 3/10/15 seconds.
{ "errorMessage": "2017-02-04T20:11:41.538Z 1b87c832-eb16-11e6-a281-33f14ad1f615 Task timed out after 15.00 seconds", "errorType": "Error" } This is the error in the Amazon Skill : Lambda Response 1 The remote endpoint could not be called, or the response it returned was invalid. Cloud watch log 20:46:58 START RequestId: 11e4a442-eb1b-11e6-a7b3-3361f5194998 Version: 1 20:46:58 Unable to import module 'index': Error at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/var/task/index.js:24:22) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load ( 20:46:58 2017-02-04T20:46:58.805Z 11e4a442-eb1b-11e6-a7b3-3361f5194998 connect 20:47:13 END RequestId: 11e4a442-eb1b-11e6-a7b3-3361f5194998 20:47:13 REPORT RequestId: 11e4a442-eb1b-11e6-a7b3-3361f5194998 Duration: 15003.64 ms Billed Duration: 15000 ms Memory Size: 128 MB Max Memory Used: 26 MB 20:47:13 2017-02-04T20:47:13.618Z 11e4a442-eb1b-11e6-a7b3-3361f5194998 Task timed out after 15.00 seconds Error Unable to import module 'index': Error at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/var/task/index.js:24:22) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17)
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