• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-awesome-alexa

Scheduled Pinned Locked Moved Utilities
241 Posts 43 Posters 296.3k Views 47 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.
  • C Offline
    cowboysdude Module Developer
    last edited by cowboysdude Nov 26, 2017, 12:05 AM Nov 25, 2017, 11:44 PM

    Well I have figured this out…it’s VERY simple.

    IF You need the sh files to generate your info please go to my fork of this module…I’ve included them.

    https://github.com/cowboysdude/MMM-awesome-alexa

    J 1 Reply Last reply Dec 15, 2017, 12:44 PM Reply Quote 1
    • G Offline
      g_nandagpl
      last edited by Dec 15, 2017, 7:04 AM

      Thanks for this module. It works.
      If we have visualization, it would be better.

      D G 2 Replies Last reply Dec 15, 2017, 10:21 AM Reply Quote 0
      • D Offline
        dolanmiu @g_nandagpl
        last edited by Dec 15, 2017, 10:21 AM

        @g_nandagpl Thank you for the feedback, glad you got this working

        As for visualization, it turned out really laggy on Raspberry Pi, so I postponed it

        I might re-visit this feature, maybe figure out a way to speed it up if there is enough interest

        C 1 Reply Last reply Dec 15, 2017, 12:42 PM Reply Quote 0
        • C Offline
          cowboysdude Module Developer @dolanmiu
          last edited by Dec 15, 2017, 12:42 PM

          @dolanmiu OH there’s interest. I"m using a real computer to run mine so not an issue :)

          1 Reply Last reply Reply Quote 0
          • J Offline
            jnstnr @cowboysdude
            last edited by Dec 15, 2017, 12:44 PM

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

            C 1 Reply Last reply Dec 15, 2017, 12:46 PM Reply Quote 0
            • C Offline
              cowboysdude Module Developer @jnstnr
              last edited by Dec 15, 2017, 12:46 PM

              @jnstnr Yes I may have an idea…

              open up both sh files and using your keyboard replace all the double quotes … for some reason they do not copy well. I did that and it ran great! :)

              J 1 Reply Last reply Dec 15, 2017, 6:50 PM Reply Quote 0
              • J Offline
                jnstnr @cowboysdude
                last edited by Dec 15, 2017, 6:50 PM

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

                J S M H 4 Replies Last reply Dec 15, 2017, 7:12 PM Reply Quote 0
                • J Offline
                  jnstnr @jnstnr
                  last edited by Dec 15, 2017, 7:12 PM

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

                  C 1 Reply Last reply Dec 15, 2017, 7:45 PM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @jnstnr
                    last edited by Dec 15, 2017, 7:45 PM

                    @jnstnr Well past that I cannot help you…just double check your config and make it look like the example if that doesn’t solve it msg @dolanmiu He created this module :)

                    J 1 Reply Last reply Dec 15, 2017, 7:47 PM Reply Quote 0
                    • J Offline
                      jnstnr @cowboysdude
                      last edited by Dec 15, 2017, 7:47 PM

                      @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

                      C D 2 Replies Last reply Dec 15, 2017, 7:50 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 24
                      • 25
                      • 3 / 25
                      • 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