Read the statement by Michael Teeuw here.
Where to run a Script?
-
This post is deleted! -
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 yoursettings.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.
-
This post is deleted! -
This post is deleted! -
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 saysREFRESH_TOKEN= ``
so it will say something like
REFRESH_TOKEN= `yourTokenGoesHere`
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
This post is deleted! -
This post is deleted!