MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-MirrorMirrorOnTheWall installation issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    138 Posts 11 Posters 171.0k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      OceanK
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • O Offline
        OceanK
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • O Offline
          OceanK
          last edited by

          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?

          richland007R 1 Reply Last reply Reply Quote 0
          • richland007R Offline
            richland007
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • richland007R Offline
              richland007
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • O Offline
                OceanK
                last edited by

                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?

                1 Reply Last reply Reply Quote 0
                • richland007R Offline
                  richland007 @OceanK
                  last edited by

                  @oceank Where on cloudWatch do you see the error or the log for youtube videos throwing an error??

                  O 1 Reply Last reply Reply Quote 0
                  • O Offline
                    OceanK @richland007
                    last edited by yawns

                    @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"
                                }
                            }
                        ]
                    }
                    
                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      OceanK
                      last edited by yawns

                      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.

                      1 Reply Last reply Reply Quote 0
                      • richland007R Offline
                        richland007
                        last edited by

                        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

                        O 1 Reply Last reply Reply Quote 0
                        • O Offline
                          OceanK @richland007
                          last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • richland007R Offline
                            richland007
                            last edited by

                            Any progress on this at all i have not done anything i was out of town since last Wednesday.
                            I don’t know which direction we should look towards … maybe the api keys and requests are the one messing up
                            i went back on the google developer console and i see my YouTube api hit a few times and with zero errors i also see the CSE (custom search engine) api hit also but with 100% errors …why ??
                            Since it is presenting the data by api numbers that means that the keys are working right but what is the error about??? where do you read more info about that???

                            D

                            1 Reply Last reply Reply Quote 0
                            • richland007R Offline
                              richland007
                              last edited by

                              Well here it is the 100% Error on CSE is this
                              "400 badRequest

                              Indicates that the query was invalid. E.g., parent ID was missing or the combination of dimensions or metrics requested was not valid.

                              Do not retry without fixing the problem. You need to make changes to the API query in order for it to work."

                              How do we fix this??

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                OceanK
                                last edited by

                                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?

                                1 Reply Last reply Reply Quote 0
                                • O Offline
                                  OceanK
                                  last edited by

                                  I did check my CSE and I have actually 8 sucessful picture search…

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    OceanK
                                    last edited by

                                    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.

                                    1 Reply Last reply Reply Quote 0
                                    • richland007R Offline
                                      richland007
                                      last edited by

                                      Ok so may be it is the Magic Mirrors configuration fault the keys copied to the magic mirror config etc?? maybe we need to redo that one more time
                                      have you tried reinstalling (delete completely, download again and reinstall) the MMM- MirrorMirrorOnTheWall part only?? than play around with the key paths and files again etc.
                                      Because there is zero communication back with the mirror… all we are doing so far is fine tuning a skill within Alexa…but what worries me the most is why isn’t Alexa showing any videos or images on my Echo Spot …although now that i think about it is that i have not tested it with the Echo Spot since I made the code changes.

                                      If you got the MMM module on github the readme file was updated 15 hours ago but i see no other changes since the 3 months ago for mirrormirror.js file
                                      anyhow all we got to do is keep trying

                                      O 1 Reply Last reply Reply Quote 0
                                      • O Offline
                                        OceanK @richland007
                                        last edited by

                                        @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?

                                        1 Reply Last reply Reply Quote 0
                                        • richland007R Offline
                                          richland007
                                          last edited by

                                          @OceanK Any news my friend??? I am so upset that we are not progressing with this module…it is exactly what i need and we can not get it to work.
                                          I am going to try to mess with it a bit next week and see whats up
                                          D

                                          O 1 Reply Last reply Reply Quote 0
                                          • O Offline
                                            OceanK @richland007
                                            last edited by

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

                                            richland007R 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 3 / 7
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy