Read the statement by Michael Teeuw here.
MMM-awesome-alexa
-
I would LOVE to get this work… i have done everything that is written in the guide:
and of course in your normal regular guide…
i have testet my microphone and my speaker… everything is okay. but when i set up the config and a try tu say something… NOTHING works.
even with wireshark i dont see, that everything is trying to do something. -
Okay, little Update, why i think the module dont work.
I saw that the part:
rm -rf node_modules npm install nan --save npm install node-pre-gyp@0.12.0 --save npm install npm run prepublish
throws some erros:
Found 2 errors. npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! snowboy@1.3.1 prepublish: `tsc --listFiles` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the snowboy@1.3.1 prepublish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-09-11T20_53_08_308Z-debug.log
after a bit googeling i found this: https://www.gitmemory.com/issue/eouia/MMM-Hotword/65/507582634
so i editet the package.json and set up the typescript version ti 3.5.2 and gor this errors by npm run prepublish:
> snowboy@1.3.1 prepublish /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy > tsc --listFiles node_modules/@types/node/index.d.ts:43:11 - error TS2300: Duplicate identifier 'IteratorResult'. 43 interface IteratorResult<T> { } ~~~~~~~~~~~~~~ node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>; ~~~~~~~~~~~~~~ 'IteratorResult' was also declared here. node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'. 41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>; ~~~~~~~~~~~~~~ node_modules/@types/node/index.d.ts:43:11 43 interface IteratorResult<T> { } ~~~~~~~~~~~~~~ 'IteratorResult' was also declared here.
i think this is a current problem, that snowboy is not correct installed… can anyone confiorm this?
-
This post is deleted! -
I solved my problems with that now.
https://github.com/dolanmiu/MMM-awesome-alexa/issues/184#issuecomment-584215826 -
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 -
@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=215857how 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
-
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 -
@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 mirrorSo 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=215857And 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 appI 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… -
@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 knownlocalhost 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"}
-
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