@richland007 Hey!
I will try later tonite! Im going to do this from scratch again. I will report back. I have been on vaccation for coupple of weeks in dubai. But now Im back!
So lets try this again!
@richland007 Hey!
I will try later tonite! Im going to do this from scratch again. I will report back. I have been on vaccation for coupple of weeks in dubai. But now Im back!
So lets try this again!
yeah I have installed the image but then when Im trying to configure the folder path, thats when I dont know what to do?
please anyone can help us?
Hey!
I have synology NAS. I would like to run Magic Mirror in docker container. I have some hard time to follow the guide for it.
could someone tell me step by step what do do? and how do I configure the folder path for installation in the docker for magicmirror.
best regards Kim
@richland007 hey mate!
Well no progress here, I have reached out to the code maker without sucess:(
I have tried everything from scratch but no luck. Everything is triggered but not send back to the mirror itself.
I dunno where what to do next. Please report back when you have time even if it’s not successful.
I guess we are kinda stuck here.
@richland007 Hey!
I will try to start all over again. See whats happening. I can see there are some new changes in the files from the github. but im not that optimistic.
what abt u? have u started from scratch?
OK si I checked My CSE again after my test yesterday, I can see its hitting my gse everytime I ask for searching of pictures…but the mirror ansers there is a problem…but the statistics showing its working.
so the bad link is between the mirror and the lamda funtions. Because the video and picture search are all fine. But all functions like ask to turn all modules off etc is not working at all.
I did check my CSE and I have actually 8 sucessful picture search…
Hey!
well I havent tryed for a week or so with this project. Im out of ideas for now =(, I can see that the coder has done some minor changes at github but not likley to help us I guess.
have you seen the new updates at github?
@richland007 Hey!
that is exactly what im trying to figure out. For some reason the lamda is not talking to the mirror.
As you say abt the picture search I have the sam “problem”
Can you check your iot core(the monitor), on my iot core I can see successful connections.
So I guess it means that the root.ca is working and talking to the iot core.
next part, in the alexa skills section where you test the skills you can see logs aswell:
I can see its triggering the :
"name": "ShowVideoIntent",
"confirmationStatus": "NONE",
"slots": {
"searchTermVideo": {
"name": "searchTermVideo",
"value": "how to make slime",
"confirmationStatus": "NONE"
so its looking for the video and then…nothing. check the whole log section for the alexa skill…its ALLOT and maybe you can figure something out from it.
@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"
}
}
]
}
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?
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?
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?
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.
.
I still get lamda error. could you please add your whole index.js and MirrorMirror.js file? just delete your key. So I can see how its all together.
then I can repack the zip and upload to lamda and try it again
One more thing I notice. So Im going to do this from scratch again. when I did the npm install in the src folder(MirrorMirrorOnTheWallSkill)
I did get these infor/error:
npm WARN deprecated alexa-sdk@1.0.25: This version of the Alexa Skills Kit SDK is no longer supported. Please use the v2 release found here: https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs
do you think thats a problem ?
@richland007 So need more info here about this: At the very end of that file right before the very last } bracket
enter the following:
,
‘Unhandled’: function () {
this.emit(‘:ask’, ‘Sorry I didnt understand that. Say help for assistance.’);
}
notice the “,” right after the prior to last } before 'Unhandled" … so it wont give you a syntax error.
So if I copy the last part from the index.js it should look like this with that extra ?
// Send publish attempt to AWS IoT
MirrorMirror.showVideo(result.items[0].id.videoId, searchTerm, alexaEmit);
}
});
} else {
this.emit(‘:askWithCard’, this.t(“SHOW_VIDEO_ERR”), this.t(“SHOW_VIDEO_ERR”), this.t(“ERROR_CARD”), this.t(“SHOW_VIDEO_ERR”))
}
}
,
‘Unhandled’: function () {
this.emit(‘:ask’, ‘Sorry I didnt understand that. Say help for assistance.’);
}
};
Ok cook I will try it. Just one more question. When you zip the files for the first time. Did you hardcode the MirrorMirror.js with the cert paths as well?
And then again hardcoded the cert path for the MMM-MirrorMirrorOnTheWall
Am I understanding it right?