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.

    How do i setup Alexa for mirror.

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 2 Posters 4.2k Views 2 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.
    • S Offline
      sdetweil @nkchokshi
      last edited by

      @nkchokshi use MMM-GoogleAssistant (by bugsounet). forget that old junk.

      what’s wrong w Alexa code?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil I cant get refresh_token in Awesome Alexa. And same way if i AlexaPi i am getting 404 error. and in alexa-sample-app also same issue cant get authenticated. even updating multiple times the ip in security settings.

        GAssistPi was looking new and updated on youtube so tried that, but in the very end i got error “name ‘GPIO’ is not defined”
        and that one was looking perfect as it supports youtube,spotify and GPIO controls. thats why tried it.

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @nkchokshi
          last edited by

          @nkchokshi Alexa, u run the little app, which asks for codes, device is, and generates a url for you to copy/paste, press enter.
          click allow on the web page that comes up,
          then get an error display, right?

          and u copy the refresh token from the address field on that error page. code=
          right?

          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 @nkchokshi
            last edited by

            @nkchokshi gpio, sounds like they forgot to include it in the dependencies

            cd ~/MagicMirror/modules/GAssistPi
            npm install gpio --save
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S N 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by sdetweil

              @sdetweil MMM-GoogleAssistant also does YouTube and Spotify. have seen any reports of gpio, but it shouldn’t be that hard.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil 2020-07-27-000052_1920x1080_scrot.png

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

                  i have installed npm install gpio --save but still no luck

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

                    @nkchokshi some problem w python. folder missing,

                    sorry, don’t know.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil hi thank you for all the help, one more query though, how do i authenticate in MMM-GoogleAssistant node auth_and_test.js? I am trying to run but its not opening in browser.

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

                        @nkchokshi u have a terminal window open, and go to ~/MagicMirror/modules/MMM-GoogleAssistant
                        u enter
                        node auth_and_test.js
                        and press enter
                        u provide some of the auth info from your step on the Google page at the prompts, and then it will open a web page window asking you to allow access

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        N 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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