• 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.

Where to run a Script?

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 2 Posters 4.8k 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.
  • J Offline
    johnnyboy
    last edited by johnnyboy Apr 28, 2017, 6:19 PM Apr 3, 2017, 10:22 PM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • M Offline
      mochman Module Developer
      last edited by Apr 3, 2017, 10:38 PM

      Are you physically connected or VNC’ed to the raspberryPi? If so, open up a terminal window and then type
      sudo python /path/to/your/alexapi/folder/auth_web.py
      then open up your browser (the one in the pi) and go to http://localhost:3000
      log in with your Amazon login/pass. The script should update your settings.py file for you.

      If you are using an ssh program to access the pi. Run the first command as normal, then open up a browser and go to http://your.pi.ip.addr:3000

      The rest should be the same.

      J 2 Replies Last reply Apr 3, 2017, 10:54 PM Reply Quote 2
      • J Offline
        johnnyboy @mochman
        last edited by johnnyboy Apr 28, 2017, 6:18 PM Apr 3, 2017, 10:54 PM

        This post is deleted!
        J 1 Reply Last reply Apr 3, 2017, 11:15 PM Reply Quote 0
        • J Offline
          johnnyboy @johnnyboy
          last edited by johnnyboy Apr 28, 2017, 6:18 PM Apr 3, 2017, 11:15 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M Offline
            mochman Module Developer
            last edited by Apr 3, 2017, 11:50 PM

            Okay I thought you were using alexaPi, looks like alexa-client. In that case, have you run

            cd /home/pi/MagicMirror/alexa-client/
            pip install -r requirements.txt
            python setup.py install
            sudo pip install -r auth_web_requirements.txt
            

            already? If so, try

            cd /home/pi/MagicMirror/alexa-client/
            python auth_web.py
            

            In this application you will need to add the token you get from the website to your settings.py file. After you get the token, run nano settings.py and paste the token where it says

            REFRESH_TOKEN= ``
            

            so it will say something like

            REFRESH_TOKEN= `yourTokenGoesHere`
            
            J 2 Replies Last reply Apr 4, 2017, 10:17 AM Reply Quote 1
            • J Offline
              johnnyboy @mochman
              last edited by johnnyboy Apr 28, 2017, 6:16 PM Apr 4, 2017, 10:17 AM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • J Offline
                johnnyboy @mochman
                last edited by johnnyboy Apr 28, 2017, 6:16 PM Apr 4, 2017, 10:46 AM

                This post is deleted!
                J 1 Reply Last reply Apr 4, 2017, 10:51 AM Reply Quote 0
                • J Offline
                  johnnyboy @johnnyboy
                  last edited by johnnyboy Apr 28, 2017, 6:16 PM Apr 4, 2017, 10:51 AM

                  This post is deleted!
                  J 1 Reply Last reply Apr 4, 2017, 10:56 AM Reply Quote 0
                  • J Offline
                    johnnyboy @johnnyboy
                    last edited by johnnyboy Apr 28, 2017, 6:15 PM Apr 4, 2017, 10:56 AM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      johnnyboy
                      last edited by johnnyboy Apr 28, 2017, 6:15 PM Apr 4, 2017, 9:04 PM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/11
                        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