MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images
By the way, I was unable to upload the .zip from the RPi, it would just say “must not exist”, so i did it from my laptop, could this be the issue?
I ran the .sh script and downloaded dependencies on the raspberry, archived the src folder contents and used my laptop to upload them.
@Journeytojah it usually happens when you zip the src folder, you have to go inside the src folder, and select all the files and folder, including node_modules, and certs, and compress them to a zip file.
@joanaz Thats what I did… I will try again.
lucallmon last edited by
Ok. So, I’ve decided to give up on this. The Readme files are not user-friendly. There is no step-by-step guide for install. I originally got very excited about this and if I could see it working, I might still again. However, I’m no programmer; I’m just the end user. So, good luck and let me know if you ever put out a video demo of it working and create a more user-friendly step-by-step install guide.
I’ve succeeded in succesfully linking Alexa to the smart mirror. When I issue a command, the mirror responds automatically. It has automatic wake word detection, audio feedback, automatic authentication using a refresh token, connection through a mirror interface. In the background it uses Alexa Skills kit and DynamoDB to make the communication happen. Read about it on my blog :
Go ahead and follow the blog to find out on the progression and further development.
Tips and suggestions welcome of course.
@bartalluyn really nice work! but since you have to change the Alexa Java client app to get it to work, it wouldn’t work for our application, since we need to get it to work with off-the-shelf Alexa or Alexa Echo. Right now my Alexa skill can only be used by one user, so I’m thinking about how to get it to work with multiple users so I can publish this skill, so people don’t need to worry about setting up Lambda and Alexa skill.
@joanaz That’s indeed something that wouldn’t work in that case.
It sounds like you would need something like account linking. What if the smart mirror would publish a service that takes and gives account credentials to hook on using the account linking functionality of a custom skill?
Thinking out of the box right now?
Also, suppose it works. When people start to install your module, and use your skill, your 1 million free lambda calls might expire sooner than you think? That’s one of the reasons why I’m not considering putting any of my skills out there.
zman3 last edited by
well just went through the whole thing again she still says there was a problem with the requested skills response and when i type hello into the service simulator the output is
The remote endpoint could not be called, or the response it returned was invalid.
zman3 last edited by
this is in the logs
START RequestId: cc7bfdd1-ebfd-11e6-8d16-b56e041c9162 Version: $LATEST
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/index.js:23:14) at Module._compile (module.js:409:26) at Object.Module._extensions…js (module.js:416:10) at Module.load (
2017-02-05T23:49:58.043Z cc7bfdd1-ebfd-11e6-8d16-b56e041c9162 connect
@joanaz Hi, when i zip all those files and folders up and try to upload them to Lambda i get "The deployment package of your Lambda function “xxxxxxxxx” is too large to enable inline code editing. However, you can still invoke your function right now. any ideas - it’s driving me mad. I thought it must be that i shouldn’t include the node_modules folder - can you confirm exactly what should be in the zip. Thanks