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 391.7k 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.
    • H Offline
      HabibA
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • H Offline
        HabibA
        last edited by

        I solved my problems with that now.
        https://github.com/dolanmiu/MMM-awesome-alexa/issues/184#issuecomment-584215826

        1 Reply Last reply Reply Quote 0
        • V Offline
          vlatko_jordanov
          last edited by

          Hi @dolanmiu awesome job with the Alexa I must say!!

          I have set it up however I think it’s behaving weird or I am missing some bits and pieces to make it work! I’ve added MMM-NowPlayingOnSpotify and google calendar however when I try to ask Alexa to add event on the calendar or to play Spotify it has no idea, what am I missing here, please let me know what logs I can provide to troubleshoot!

          Cheers,
          Vlatko

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @vlatko_jordanov
            last edited by sdetweil

            @vlatko_jordanov said in MMM-awesome-alexa:

            MMM-NowPlayingOnSpotify

            this module shows what is playing somewhere else.

            I don’t think alexa can start playing anywhere, i stand corrected
            https://www.spotify.com/us/amazonalexa/

            now to make spotify play ON the PI
            https://www.raspberrypi.org/forums/viewtopic.php?t=215857

            how to integrate those, I don’t know.

            calendar

            can alexa add to your google calendar? it doesn’t know anything about what is on the mirror,
            and the cal on the mirror is a download from some other location(google, apple…) . (ie , its read only)

            https://www.techradar.com/how-to/how-to-connect-your-google-calendar-to-amazon-echo

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              vlatko_jordanov @sdetweil
              last edited by

              @sdetweil

              Hey Sam!

              Thanks for coming coming back on this! Well I must say I was thinking the same that it could be due to something like that and the name of the Spotify module says it all doesn’t it :)

              I was tricked by this video on youtube: https://www.youtube.com/watch?v=q7wqm8h3PnA
              He didn’t mentioned anywhere how he controls Spotify, so I assumed Alexa somehow knew how to reach spotify and the module just to display the now playing.

              So I need client is what you say right?
              And about the calendar I already gave alexa rights through the Alexa app on my android phone but the funny thing is that when I go to devices it says that it’s offline?

              Cheers,
              Vlatko

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @vlatko_jordanov
                last edited by sdetweil

                @vlatko_jordanov said in MMM-awesome-alexa:

                I was tricked by this video on youtube: https://www.youtube.com/watch?v=q7wqm8h3PnA
                He didn’t mentioned anywhere how he controls Spotify, so I assumed Alexa somehow knew how to reach spotify and the module just to display the now playing.
                here is how to control potify with alexa, https://www.spotify.com/us/amazonalexa/, unrelated to mirror

                So I need client is what you say right? if u want to PLAY on mirror system yes,
                https://www.raspberrypi.org/forums/viewtopic.php?t=215857

                And about the calendar I already gave alexa rights through the Alexa app on my android phone but the funny thing is that when I go to devices it says that it’s offline?

                alexa rights through the Alexa app on my android phone
                rights to what? again, the local ‘calendar’ is a read only copy of a cal somewhere else…
                maybe on google?

                offline? that is between alexa account(cloud) and google (cloud)
                has nothing to do with mirror app

                I rechecked and resynched my google calendar with my alexa account…
                and then using my echo asked alexa to add an event to my calendar and it worked and shows on the mirror calendar display…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @sdetweil
                  last edited by sdetweil

                  @vlatko_jordanov I am trying to set this up but my brain cannot figure out what I am supposed to put in as the return url in the AVS setup…

                  my device is not known outside my home.
                  i can use my public url redirect to make it known

                  localhost doesn’t work

                  my public return url DOES get a callback into my browser, but there is no ‘web page’ served at that url… so it ‘times out’…

                  the setup app doesn’t use request to MAKE a web server there… (I have had to do this on other oauth apps…)

                  edit: DOAH… read the instructions!!! lol… it is EPEXCTED to FAIL to connect… read the text from the failing url

                  got that… BUT then next step fails for me…

                   Enter your Authorization code (from previous step): ANMJShcLPpSKjJkKLbzj
                    ◡ Getting response from Amazon...(node:2772) UnhandledPromiseRejectionWarning: StatusCodeError: 400 - {"error_description":"The request has an invalid grant parameter : code","error":"invalid_grant"}
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  V B 2 Replies Last reply Reply Quote 0
                  • V Offline
                    vlatko_jordanov @sdetweil
                    last edited by

                    @sdetweil

                    Hi Sam,

                    Alright that’s cool I think I’ve put my question wrong, is it possible to have the mmm-awesome-alexa (standalone app) linked with alexa(cloud) without owning any amazon echo dot in my household i.e. the rapsi to be my first and only device with the awesome-alexa module? :)

                    I did heard that from a friend that his echo dot couldn’t be seen from the WAN side but he could still drop in and announce messages to it which I believe is using different callback settings/ports than the actual device communication, haven’t gone into details as yourself but that’s good to know :)

                    Thanks,
                    Vlatko

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @vlatko_jordanov
                      last edited by

                      @vlatko_jordanov sorry. I do not know if u can have mirror BE a full function Alexa node. It seems that should be possible, as I have an automobile Alexa.

                      Now, can this module do all that?

                      Don’t know

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      V 1 Reply Last reply Reply Quote 0
                      • V Offline
                        vlatko_jordanov @sdetweil
                        last edited by

                        @sdetweil

                        Cheers Sam,

                        I hope someone else could provide me that answer here as I am really confused to how this guy has full control over his calendar, spotify etc. via the alexa module on the mirror! Feeling helpless here as my mirror won’t even appear in my alexa app(cloud) as a device (well I did tried something but it says offline as described previously) :)

                        Reference: https://www.youtube.com/channel/UC1HROb1JCteiftaWwq7Hhhg/videos

                        Thanks,
                        Vlatko

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @vlatko_jordanov
                          last edited by

                          @vlatko_jordanov yeh, I went thru his videos, and I don’t see the actual alexa setup ON the mirror…

                          I have sent him a message…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil
                            last edited by

                            I can’t get the alexa module to do much… (on pi4)

                            I have to say ‘Alexa’ then the black circle appears… but no voice reco
                            I have to say ‘Alexa’ again, then the black circle goes to white, and SOME things are recognized.

                            it looks like the module does not support conversational mode (add an event, sure, what date and time, xxx yyy, what do you want to call it, some test, ok adding some test at xxx on yyy)

                            the main guts of the module haven’t been updated in 2 years… and they are minified, which makes debugging them almost impossible…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            V 1 Reply Last reply Reply Quote 0
                            • V Offline
                              vlatko_jordanov @sdetweil
                              last edited by vlatko_jordanov

                              @sdetweil I think that could be down to having the old snowboy modules which can be updated following this guide here: https://www.howtogeek.com/423233/how-to-add-alexa-to-your-smart-mirror/

                              It would suck if the videos the dude made were misleading and all that effort invested is in vain… well not entirely as there are other cool features to be implemented on the mirror but this was one of my main reasons, to have Alexa.

                              Funny enough is that I have it linked it with AVS but as you said other modules are out of date and are probably not functional by now so yeah…

                              Any suggestion to use other modules such as this but providing the full experience? Google assistant modules perhaps?

                              EDIT:

                              Alright this guy is busted… he never had any sort of module to control alexa over the mirror, here’s the parts he used which he never mention in his videos (ECHO DOT)

                              http://gregensom.com/Build/SmartMirror/

                              So yeah, hit me up with suggestions on this one, I either buy echo dot or I find a module and do it myself which I would prefer more :)

                              EDIT2: Of which I am really confused by this bit in the video: https://youtu.be/aa3VVZA0e5Y?t=429 HOW?!!?

                              Thanks,
                              Vlatko

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                mr190e
                                last edited by

                                Hey guys,
                                I run Awesome-Alexa on my RPi3. So far everything seems to work. The only problem is I cannot access my Smart Home devices. Same with Alexa Skills. Any idea why? Do I need an Echo device to make it work?

                                M 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  joel_afonso
                                  last edited by

                                  You are not the only one… i can’t control smartphone devices nor amazon music…

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    joel_afonso @Canterrain
                                    last edited by

                                    @Canterrain u need to do it quick. U have like 10 seconds to answer the questions. I had the same issue as well. Or maybe ur not typing the right device name.

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mr190e @mr190e
                                      last edited by mr190e

                                      @joel_afonso &
                                      I struggled like you to access my smart home devices. I’m German and my amazon account was bound to the German Amazon store. I knew that Alexa is working very limited outside the US. Some skills I wanted to use didn’t even exist the German skill store… very stupid thing. So I changed my Amazon Kindle Store region to the US-region, using this guide: https://intercom.help/wantboard/en/articles/1571875-transferring-your-amazon-kindle-store
                                      After that, I re-added the skills for Philips HUE and BluOS Voice Control and voila, it works. The only thing what still doesn’t work is using reminders and alarms.
                                      By the way: I already used Awesome-Alexa on my MagicMirror for quite some time (when it still run via the German Amazon store), so after I changed to the US store I had to re-configure Awesome-Alexa using this guide: https://www.howtogeek.com/423233/how-to-add-alexa-to-your-smart-mirror/
                                      Remark: in this guide they forget to mention to add “https://magic-mirror-avs.github.io/Alexa-Web-Helper/authresponse” to the allowed return urls in your AVS-product settings.
                                      To make sure I don’t carry over some old mistakes, I actually created a complete new AVS product on my developer account, so new client ID and secret, and so on.

                                      I can’t use Amazon music on my Magic Mirror, but I anyway play music via a NAD receiver in my living room. So its safe to say that Awesome-Alexa can control smart home devices (so it has access to skills), but almost no other capability which a real Amazon Echo would have.

                                      edit: I read a bit in the AVS console. what is funny: my MagicMirror can read Audible books. In chapter Entertainment you can see that Audible is approved:
                                      https://imgur.com/7uE7iEg
                                      In order to make Amazon Music (and other services) running on your Mirror, you technically have to submit your application for review to Amazon. So I guess its safe to say that you will probably never get this approved.

                                      Try it :)

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        PHAGE.GOV @dolanmiu
                                        last edited by

                                        @dolanmiu Hello, i know you probably get asked this alot, but i got the client id and client secret, but I can’t figure out what to put for the allowed return urls, or how to find/make them on the amazon dev side and on the magic mirror side

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bumrocks @sdetweil
                                          last edited by bumrocks

                                          @sdetweil said in MMM-awesome-alexa:

                                          @vlatko_jordanov I am trying to set this up but my brain cannot figure out what I am supposed to put in as the return url in the AVS setup…
                                          …
                                          edit: DOAH… read the instructions!!! lol… it is EPEXCTED to FAIL to connect… read the text from the failing url

                                          got that… BUT then next step fails for me…

                                           Enter your Authorization code (from previous step): ANMJShcLPpSKjJkKLbzj
                                            ◡ Getting response from Amazon...(node:2772) UnhandledPromiseRejectionWarning: StatusCodeError: 400 - {"error_description":"The request has an invalid grant parameter : code","error":"invalid_grant"}
                                          

                                          @sdetweil , man am I happy to see you in here…First things first, I searched within your github page for a way to make a donation to you fir your help and efforts but found nothing…Point me in the right direction to do so please! Once you do, I will gladly show some appreciation to you ;)

                                          Once that is done I hope you might help in the above situation. I get to this point in the Configuration Helper Tool and have no clue as to what I should enter for a Redirect uri and I never read anywhere about it supposed to fail. And then in advance I’ll ask about the next part you mention where you say the next step fails for you. Did you figure that out?

                                          Thank you!

                                          Note: I do have an echo dot device in my home and from reading numerous comments, this seems to help in some way…

                                          Also, when adding the recommended line to the elctron.js file is it supposed to simply look like this?

                                          });
                                          
                                          // Start the core application if server is run on localhost
                                          // This starts all node helpers and starts the webserver.
                                          if (["localhost", "127.0.0.1", "::1", "::ffff:127.0.0.1", undefined].indexOf(config.address) > -1) {
                                          	core.start(function(c) {
                                          		config = c;
                                          	});
                                          app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
                                          }
                                          
                                          

                                          It does not appear so…As if it is too simple…

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @bumrocks
                                            last edited by

                                            @bumrocks you don’t need that line anywhere, we added it back in 2.9 as part of the base.

                                            as for the alexa thing, the way the process works, you use the client id/and secret, and some uri to call back to when the authorization is comnplete…

                                            but there is nothing running on your pi to call, so it errors out,

                                            BUT the url it is trying to call is right there with the code you need to copy

                                            SO, knowing there is nothing to call back to, just use http://localhost:1234

                                            then the web page will come up, you give permission, and then it tries to call http://localhost:1234 with the access code, and fails, but the code is show on the address bar line

                                            ps… I don’t take contributions… I do this cause I like it.

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            B 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 12
                                            • 13
                                            • 5 / 13
                                            • 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