MMM-MirrorMirrorOnTheWall installation issue



  • 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"
                }
            }
        ]
    }
    


  • 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.



  • Yeap exactly like yours …so does that mean that Lambda is not communicating back with Alexa and why not is the million dollar question question??
    Another thing i noticed when you ask for images or display text no errors get recorded on Lambda …does this mean that our Api are missing for searches we have something wrong
    I really don’t know at this point