MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. OceanK
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    O
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 79
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      @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"
                  }
              }
          ]
      }
      
      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      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?

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      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?

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      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?

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

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

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      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

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      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 ?

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      @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.’);
      }
      };

      posted in Troubleshooting
      O
      OceanK
    • RE: MMM-MirrorMirrorOnTheWall installation issue

      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?

      posted in Troubleshooting
      O
      OceanK
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 6 / 8