MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. jnstnr
    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 1
    • Posts 9
    • Groups 0

    jnstnr

    @jnstnr

    0
    Reputation
    542
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jnstnr Unfollow Follow

    Latest posts made by jnstnr

    • RE: MMM-awesome-alexa

      @smyvy the config that’s included in the mmm-awesome-alexa repo wasn’t working for me, so I adjusted it to make it look like other modules in my config. here’s my setup, I was actually missing a comma after the closing }, which fixed the black screen:

      {
      module: ‘MMM-awesome-alexa’,
      position: “bottom_bar”,
      config: {
      wakeWord: “Alexa”,
      clientId: “amzn1…”,
      clientSecret: “…”,
      deviceId: “magicmirror”,
      refreshToken: “…”,
      lite: false
      }
      },

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      @smyvy I went to this url:
      https://sakirtemel.github.io/MMM-alexa/

      Put in the Client Id, Device ID & set serial number as 1234. I also added the above url as an allowed return url in the Amazon developer console before I clicked the “Request code” button.

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      @dolanmiu no worries, I totally understand that it’s quite complicated

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      @cowboysdude Thanks. I managed to get this up and running, now trying to tackle my USB mic :) this isn’t the easiest module to get working!

      But thanks for all your help, you’re doing great work for the magic mirror community

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      Scratch that, finally managed to get a refresh token! Added it to the config and getting a black screen now though :/

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      @cowboysdude just got home and tried it, replaced all " with ’

      And now I get another error:
      pi@raspberrypi:~ $ bash auth_code.sh
      auth_code.sh: line 10: syntax error near unexpected token (' auth_code.sh: line 10: perl -MURI::Escape -ne ‘chomp;print uri_escape($_),’\n’‘’

      Pretty sure there’s a simple fix for line 10, but haven’t figured it out yet!

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      @cowboysdude thanks for the scripts! I’m trying to run auth_code.sh but I get the following errors, and no code to put in auth_code2.sh:

      Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
      BEGIN failed–compilation aborted.
      Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
      BEGIN failed–compilation aborted.
      Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
      BEGIN failed–compilation aborted.
      /usr/bin/xdg-open: 1: eval: www-browser: not found
      /usr/bin/xdg-open: 1: eval: links2: not found
      /usr/bin/xdg-open: 1: eval: elinks: not found
      /usr/bin/xdg-open: 1: eval: links: not found
      /usr/bin/xdg-open: 1: eval: lynx: not found
      /usr/bin/xdg-open: 1: eval: w3m: not found
      xdg-open: no method available for opening ‘https://www.amazon.com/ap/oa?client_id=[removed my client id]&scope=&scope_data=&response_type=code&redirect_uri=’

      Any ideas what could be wrong?

      posted in Utilities
      J
      jnstnr
    • RE: MMM-awesome-alexa

      @ezarlive how did you get it to work? I’ve been trying and trying to get this to work nothing works :/

      posted in Utilities
      J
      jnstnr