MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Last bit of issue with MirrorMirrorOnTheWall...

  • So the Alexa skill is working, it gives me the correct responses, I’m pretty sure I installed the module correctly (using git clone), and I set the key paths in MirrorMirror.js, but I’m getting an error in the console when I run MagicMirror.

    Any help would be greatly appreciated. I’m so close here and I’m sure its something silly. I ran npm install from the MirrorMirrorOnTheWall folder and the Magic Mirrorfolder as well as added the entry to config.js for the module. Alexa is responding just fine, the mirror looks good, just this error, and nothing on the mirror during responses.

    Whoops! There was an uncaught exception...
    Error: Invalid connect options supplied.
        at new DeviceClient (/home/pi/MagicMirror/modules/MMM-MirrorMirrorOnTheWall/node_modules/aws-iot-device-sdk/device/index.js:406:13)
        at Object.DeviceClient [as device] (/home/pi/MagicMirror/modules/MMM-MirrorMirrorOnTheWall/node_modules/aws-iot-device-sdk/device/index.js:201:14)
        at (/home/pi/MagicMirror/modules/MMM-MirrorMirrorOnTheWall/MirrorMirror.js:12:23)
        at Class.alexa_start (/home/pi/MagicMirror/modules/MMM-MirrorMirrorOnTheWall/node_helper.js:12:18)
        at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-MirrorMirrorOnTheWall/node_helper.js:35:12)
        at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:103:11)
        at emitTwo (events.js:106:13)
        at Socket.emit (events.js:191:7)
        at /home/pi/MagicMirror/node_modules/
        at _combinedTickCallback (internal/process/next_tick.js:67:7)
    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub:

  • Ok, so I added the custom endpoint line to the Mirror.js file I had in the MMM-MirrorMirrorOnTheWall folder, and now it displays text when asked, but when I ask “play a video by radiohead” it simply shows the text “radiohead”, though alexa does say she is playing a video by radiohead. The console seems to connect to MirrorOnTheWall images video and text just fine… I’m so close here…lol.

    app.setup = function() {
      app.device = awsIot.device({
        keyPath: __dirname + "/certs/MagicMirror.private.key",
        certPath: __dirname + "/certs/MagicMirror.cert.pem",
        caPath: __dirname + "/certs/root-CA.crt",
        clientId: "MirrorMirror" + (new Date().getTime()),
        region: "us-east-1",
    #add the line below
        host: "your-custom-endpoint",

Log in to reply