Read the statement by Michael Teeuw here.
How do i setup Alexa for mirror.
-
@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. -
@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? -
@nkchokshi gpio, sounds like they forgot to include it in the dependencies
cd ~/MagicMirror/modules/GAssistPi npm install gpio --save
-
@sdetweil MMM-GoogleAssistant also does YouTube and Spotify. have seen any reports of gpio, but it shouldn’t be that hard.
-
-
i have installed npm install gpio --save but still no luck
-
@nkchokshi some problem w python. folder missing,
sorry, don’t know.
-
@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.
-
@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 -
@sdetweil thank you so much its working now. But just a question though, i tried to set an alarm but even after passing that time it didnt go on. The time, weather its reporting correctly, even started youtube playback. Anything i am missing?
Also anyway i can config GPIO with it?
the awesome-alexa still not working, it just doesnt generating code in the end.