Read the statement by Michael Teeuw here.
MMM-MirrorMirrorOnTheWall installation issue
-
As far as the “alexa-skills-kit-sdk-for-nodejs” goes… it wont hurt to try i guess… but i remember i have gone before and “npm install” individually all those 4 most important dependencies listed on section 2 of instructions (granted that we had many other errors before that would have ruined anything good) but that made no difference than.
As far as hard coding the paths of certs in the mirrormirro.js file in the Skill before zipping it up…i have read it too that it should be done there also but it makes absolutely no sense to me. Because when the zip file gets unzipped in Lambda servers everything gets stored in “/var/task/…” (node_modules or etc etc directories) after /task/ so basically we are telling it to look at /pi/home/MirrorMirrorskill or whatever that does not exist. That does not exist in Lambda, unless it mirrors a mini Rpi server or whatever, but i doubt it because if you look at the other previous error logs the node_modules and its under diretories are now at /var/task/ not where we all have it locally respectively. However that syntax __dirname + “/certs/MagicMirror.private.key” in our case, means the directory stored plus the file name in nodejs as far as i can tell from a quick search since i do not know nodejs other than from here. So what i am trying to say it seems to me like its the right thing to have.
D -
I tried your index file and replaced my key but I still get errors from the lamda test. So strange!
I have to check more when I get home.
. -
This post is deleted! -
hey again!
I googled for some info abt this part in the index.js
let alexa = Alexa.handler(event, context);
alexa.appId = appId;I found a site from 2018 7th march stating this:
alexa.appId = APP_ID;
so what do you think abt that?
-
OK!
so now I have exatly like you. My lamda functions are OK. I test my alexa skill. She answers “what can I do for you my queen”
I then ask to turn off all modules. And then square on, there is a pronlem with the skill response!!! GAAAAH!
when you ask for videon on how to make slime for example. can you check your cloudwatch?
is yours looking on youtube for video but then error on throwing it back to the mirror?
-
I have to check when i get home but i have been tired, long work hours and no patience left on me anymore lol but i feel optimistic like we are getting close like our keys are not matching now or the api
i will check and let you know -
Without testing anything new today …still at work. just from the old ones i went on google developer console where we got our api and cse key and i find absolutely no logs whatsoever the api and keys have never been used so they are not being hit by Alexa or the mirror the data tables have no data at all all clean and clear
so that means that there is no communication between them i will verify again once i get home if i am not to tired -
yes you are correct. I checked mine aswell, nothing.
interesting though, I cheked my IoT core and that has been hit 8 times sucessfully.
so that would mean that the connection kit we used to create the cert and root.ca woorks right?
-
@oceank Where on cloudWatch do you see the error or the log for youtube videos throwing an error??
-
@richland007 OK! so first you need to sign into your skills site for alexa. you know where you test the skill, on the wall.
typ on the wall
and then she replys back …Hello etc…then type Find video of how to make slime for example. Then head over to cloudwatch in the log section.
search for video content it should look like this:
09:12:37 2018-09-09T09:12:37.673Z 7e6f7486-b410-11e8-a41b-3fa2ca23765c { "kind": "youtube#searchListResponse", "etag": "\"XI7nbFXulYBIpL0ayR_gDh3eu1k/trfpcxzuGVnn32QncnihWoxjjgs\"", "nextPageToken": "CAEQAA", "regionCode": "US", "pageInfo": { "totalResults": 1000000, "resultsPerPage": 1 }, "items": [ { "kind": "youtube#searchResult", "etag": "\"XI7nbFXulYBIpL0ayR_gDh3e 2018-09-09T09:12:37.673Z 7e6f7486-b410-11e8-a41b-3fa2ca23765c { "kind": "youtube#searchListResponse", "etag": "\"XI7nbFXulYBIpL0ayR_gDh3eu1k/trfpcxzuGVnn32QncnihWoxjjgs\"", "nextPageToken": "CAEQAA", "regionCode": "US", "pageInfo": { "totalResults": 1000000, "resultsPerPage": 1 }, "items": [ { "kind": "youtube#searchResult", "etag": "\"XI7nbFXulYBIpL0ayR_gDh3eu1k/BqgWo2mCqNCYN8WncT1NMhRM7VE\"", "id": { "kind": "youtube#video", "videoId": "eaALjlyKDZI" }, "snippet": { "publishedAt": "2017-04-11T19:00:03.000Z", "channelId": "UCIze4Pldy_KjXhYHqBwMLDQ", "title": "How to Make SLIME for Beginners! Best EASY Way to Make Slime!", "description": "YOU CAN NOW BUY MY SLIME ON ETSY: https://goo.gl/9GMmWA Hey guys! Today I'll be showing you the best, easiest way to make slime. Check out my other ...", "thumbnails": { "default": { "url": "https://i.ytimg.com/vi/eaALjlyKDZI/default.jpg", "width": 120, "height": 90 }, "medium": { "url": "https://i.ytimg.com/vi/eaALjlyKDZI/mqdefault.jpg", "width": 320, "height": 180 }, "high": { "url": "https://i.ytimg.com/vi/eaALjlyKDZI/hqdefault.jpg", "width": 480, "height": 360 } }, "channelTitle": "Courtney Lundquist", "liveBroadcastContent": "none" } } ] }