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

    Posts

    Recent Best Controversial
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @elblogbruno You can find them here: https://wikileaks.org/ciav7p1/cms/index.html

      And you can read about what this means pretty much anywhere online.

      Also see this : https://www.youtube.com/watch?v=tNGFp2tUweI .

      PS: for a long time I’ve been an advocate of security on IoT devices, shortly after the realease of Shodan serach engine; I cannot stress enough how important it is to keep your devices safe from prying eyes or ears, or keep them from being part of a botnet.

      I will not hijack this thread and @joanaz’s work any more. Great job for the module, it’s just not what i need :)

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      Just a quick and final update.

      Considering the recent revelations made by Wikileaks #Vault7, I have decided to stay away from Alexa; at least for now.

      Already found two possible alternatives, I will not compromise my or anyone else’s privacy.

      Best of luck,

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @savage_gr1nd will try, i can imagine i had done that without realizing…

      I like the response time of alexa, and would love to get this integrated, but like i said with less talking and more text.

      Will try again some time and update…

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz been there, tried it… nothing worked…

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz @savage_gr1nd I had my certs both as MagicMirror and other names, made sure everything in the code is correct every time I changed anything.

      It just wont take it.

      I will go around this another way, I’m starting to lose interest in the whole tts concept and will go with something simpler using text :)

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @savage_gr1nd i think its pretty clear that we’re not zipping the src folder but the contents. I did it form terminal as well as selecting everything inside of it and using right click, compress…

      tried names like import.zip export.zip package.json.zip index.zip indexjs.zip nothing worked…

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @jdiggity I have the same problem. Started over again at least 5 times, even on a fresh install of Raspbian.

      The index.js and mirrormirror.js are not missing any commas or brackets, would have to wait for @joanaz to get back to us …

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      Well, i get the same error when entering a sample utterance:

      The remote endpoint could not be called, or the response it returned was invalid.
      

      and in Lambda when i test:

      START RequestId: a70ecb9c-efe6-11e6-b979-693b99b365f9 Version: $LATEST
      END RequestId: a70ecb9c-efe6-11e6-b979-693b99b365f9
      REPORT RequestId: a70ecb9c-efe6-11e6-b979-693b99b365f9	Duration: 3003.26 ms	Billed Duration: 3000 ms 	Memory Size: 128 MB	Max Memory Used: 15 MB	
      2017-02-10T23:14:23.605Z a70ecb9c-efe6-11e6-b979-693b99b365f9 Task timed out after 3.00 seconds
      
      

      any help would be welcomed, its keeping me awake at night, would love to get it working :)

      Interesting enough, when i run it locally it connects…
      http://imgur.com/aecZ8af

      Still playing around, no luck…

      Saw this in the log now…

      Unable to import module 'index': Error
      at Function.Module._resolveFilename (module.js:325:15)
      at Function.Module._load (module.js:276:25)
      at Module.require (module.js:353:17)
      at require (internal/module.js:12:17)
      at Object.<anonymous> (/var/task/index.js:27:17)
      at Module._compile (module.js:409:26)
      at Object.Module._extensions..js (module.js:416:10)
      at Module.load (module.js:343:32)
      at Function.Module._load (module.js:300:12)
      at Module.require (module.js:353:17)
      

      Much later edit: so i notice that Lambda runs NodeJS 4.3, i am running 7.5 on the RPi, could that be it?

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz said in MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images:

      @Journeytojah I think the region is why some people couldn’t get it to work. Right now, Lambda only works with US East regions. So better use US East for every AWS services needed here.

      I had US East selected, but maybe because I am not physically located in the US it somehow gets blocked by some ISP somewhere along the way.

      To me thats what it looked like, a connectivity issue.

      And I know Alexa Skills with Lambda are only supported in some regions, but that includes one European one, the one in Ireland, so ill try that one.

      Anyway, after seeing how impossible it is to work with Jaster/So.nus and so on, I will go back and give this another try…

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      I still didn’t get mine to work, I haven’t tried again to be honest…

      I am in Spain, if that makes a difference.

      I was trying out other options for voice control like Jasper, etc; no luck so far.

      I might come back to this module tonight and try to get it running.

      Should I try to set it up for the European region that supports Alexa skills? (which is Ireland afaik)

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz Thats what I did… I will try again.

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      By the way, I was unable to upload the .zip from the RPi, it would just say “must not exist”, so i did it from my laptop, could this be the issue?

      I ran the .sh script and downloaded dependencies on the raspberry, archived the src folder contents and used my laptop to upload them.

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz Now i get this error for the Lambda function… tried 3/10/15 seconds.

      {
        "errorMessage": "2017-02-04T20:11:41.538Z 1b87c832-eb16-11e6-a281-33f14ad1f615 Task timed out after 15.00 seconds",
        "errorType": "Error"
      }
      
      This is the error in the Amazon Skill :
      Lambda Response
      
      
      1
      The remote endpoint could not be called, or the response it returned was invalid.
      
      Cloud watch log 
      
      20:46:58
      START RequestId: 11e4a442-eb1b-11e6-a7b3-3361f5194998 Version: 1
      
      20:46:58
      Unable to import module 'index': Error at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/var/task/index.js:24:22) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (
      
      20:46:58
      2017-02-04T20:46:58.805Z	11e4a442-eb1b-11e6-a7b3-3361f5194998	connect
      
      20:47:13
      END RequestId: 11e4a442-eb1b-11e6-a7b3-3361f5194998
      
      20:47:13
      REPORT RequestId: 11e4a442-eb1b-11e6-a7b3-3361f5194998	Duration: 15003.64 ms	Billed Duration: 15000 ms Memory Size: 128 MB	Max Memory Used: 26 MB
      
      20:47:13
      2017-02-04T20:47:13.618Z 11e4a442-eb1b-11e6-a7b3-3361f5194998 Task timed out after 15.00 seconds Error
      
      
      Unable to import module 'index': Error
      at Function.Module._resolveFilename (module.js:325:15)
      at Function.Module._load (module.js:276:25)
      at Module.require (module.js:353:17)
      at require (internal/module.js:12:17)
      at Object.<anonymous> (/var/task/index.js:24:22)
      at Module._compile (module.js:409:26)
      at Object.Module._extensions..js (module.js:416:10)
      at Module.load (module.js:343:32)
      at Function.Module._load (module.js:300:12)
      at Module.require (module.js:353:17)
      
      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @lucallmon afaik you get 12 months for free, you just need to use a credit card to register, and they “use” 1$ to confirm its your account, kinda like PayPal does.

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz I’m cloning my SD card because i ran out of free space installing AlexaPi last night.

      Will start fresh and let you know if it works.

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      @joanaz Okay, thanks.

      Do you have any idea why i got that error? The function runs in lambda when testing but in the logs i see that application ID is missing.

      I made sure to put my app ID in the js script and update the lambda function.

      It would get an error on 3s timeout so i set it to 15.

      Ill try setting it up from scratch again and let you know how it goes. Thanks!

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      Okay, i will try again with the new instructions.

      Do you have any advice regarding names for the certs or other names that would need changing?

      posted in System
      J
      Journeytojah
    • RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

      I can’t get the module to work, I get this error:

      { Error: getaddrinfo ENOTFOUND data.iot.us-east-1.amazonaws.com data.iot.us-east-1.amazonaws.com:8883
          at errnoException (dns.js:28:10)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
        code: 'ENOTFOUND',
        errno: 'ENOTFOUND',
        syscall: 'getaddrinfo',
        hostname: 'data.iot.us-east-1.amazonaws.com',
        host: 'data.iot.us-east-1.amazonaws.com',
        port: 8883 }
      
      posted in System
      J
      Journeytojah
    • 1 / 1