Read the statement by Michael Teeuw here.
MMM-awesome-alexa
-
I am struggling since 4 hours getting this module to work. 😩
When I say ‘Alexa’ the module seems to wake up, but then after ie a question nothing happens.
There’s no evidence of errors when running MM by
npm start.All the setup went fine so I am out of ideas now…
-
@Cr4z33 how does the module play audio? I had an alexa module that used mpg321, which wasn’t installed… so it never made any sound
looks like the awesome alex debug says to test play with
omxplayer -o alsa myAudioFile.mp3https://github.com/dolanmiu/MMM-awesome-alexa/blob/master/docs/audio-setup.md
now that the author has one lined the source, it is hard to help as much…
-
@sdetweil said in MMM-awesome-alexa:
@Cr4z33 how does the module play audio? I had an alexa module that used mpg321, which wasn’t installed… so it never made any sound
looks like the awesome alex debug says to test play with
omxplayer -o alsa myAudioFile.mp3https://github.com/dolanmiu/MMM-awesome-alexa/blob/master/docs/audio-setup.md
now that the author has one lined the source, it is hard to help as much…
I actually didn’t check that part yet because every other module using sound (ie. MMM-AssistantMk2, MMM-Spotify, etc.) is already working perfectly.
Also I see there’s no option in the module to set the audio output so… :man_shrugging_medium_skin_tone:
-
@Cr4z33 said in MMM-awesome-alexa:
every other module using sound (ie. MMM-AssistantMk2, MMM-Spotify, etc.) is already working perfectly.
yes, doesn’t mean anything… every module can use their own methods to make sound…
let us know if/when u get there
-
@sdetweil sure.
I might have some spare time later today and I definitely need a working Alexa module ASAP.
-
@sdetweil so I followed the Audio guide, but immediately had to go to the Audio Troubleshooting section because no sound was coming out.
Created the suggested audio settings file, rebooted, but the module keeps working like in my first post here…
I am using HDMI output and a USB mic.
They work perfectly with other modules or ie. with VLC playing.Edit
My fault I didn’t run MM into dev mode so now I notice there’s actually an error when waking up the module, but I don’t know what it means.Does anybody have please a clue about what’s written below?
MMM-awesome-alexa.js:1 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD -
yep, not your fault… new browser restriction…
fix in next version july
workaround
edit
MagicMirror/js/electron.js
add the line marked belowlet mainWindow; function createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- addedsave, and restart Mm
-
@sdetweil cheers going to try it now! :thumbs_up_medium_skin_tone:
-
@Canterrain said in MMM-awesome-alexa:
Trying to finish setup of the module.
I’m in the helper config, and when I get to the point of supplying a return URL I enter:
https://localhost:3000/authresponse
But terminal tells me that’s an invalid URL.I’ve put https://localhost:3000/authresponse as my return URL and https://localhost:3000/ as my authorized URL on the Amazon developer site. What I am I doing wrong here?
Bump on this question, still can’t get past the local url section. Any help would be appreciated.
-
@Canterrain follow this guide.
It worked for me.
-
@sdetweil finally I could hear the sound output of Alexa in my mirror!
However for some reason it plays like if in slow motion. :persevering_face:
-
@Cr4z33
Oddly that’s not working for me either. Maybe I’m doing something wrong?What should I be using for the Device ID? I’ve been using the product ID, but maybe that’s wrong.
-
@Canterrain no that is correct. ;)
-
@Cr4z33
Well dang. I’m doing something wrong here. Whether I use the helper config or the tool above, I get a broken error page.And I know an error page is expected, but it’s not a long url with a code in it.
It’s like… amazon.com/wpaand that’s it.
Was the right choice “device with alexa built in” and “no companion app” ? I figure I must have done something wrong on the Amazon developer page, since that’s the part with no guide and it’s working for other people.
-
So does anyone actually have a step by step directions on how to set this up? Sorry i’m a huge noob, and I’m lost (which is probably due to the noob part). I do understand this is a difficult set up, but i’m kind of hoping there might be a detailed guide on this or even a youtube video (including how Amazon Developer should be set up).
EDIT:
I’m able to get to the auth request as most people, and I get the error: We’re sorry!
An error occurred when we tried to process your request. Rest assured, we’re already working on the problem and expect to resolve it shortly.I understand this could either by my settings, or something on the amazon side, but has anyone gotten past this recently? Or is there another module I should be using?
-
This post is deleted! -
@dolanmiu i am done install this, havet test it yet,
but i got the code for config.jsBut i allso got this:
Full response from Amazon
{ "_body": "{\"error_description\":\"Client authentication failed\",\"error\":\"invalid_client\"}", "status": 401, "ok": false, "statusText": "Unauthorized", "headers": { "pragma": [ "no-cache" ], "date": [ "Mon", " 12 Aug 2019 08:06:35 GMT" ], "x-amzn-errortype": [ "OA2InvalidClientException:http://internal.amazon.com/coral/com.amazon.panda/" ], "x-amzn-requestid": [ "sdsdfgergegegege0e" ], "content-type": [ "application/json;charset=UTF-8" ], "cache-control": [ "no-cache", " no-store", " must-revalidate" ], "content-length": [ "85" ] }, "type": 2, "url": "https://api.amazon.com/auth/o2/token" }```` Do i need to do anything with this? or what does this go, and what does i do? Regards -
First I’ve to say awesome work @dolanmiu ! I’ve installed as described in your documentation. For auto start I’m still using PM2 with the mm.sh script and can’t get the wake word to trigger. ALSA ist configured and recording. Any ideas what could be the problem? Do I have to get rid completely of PM2? Many thanks in advance for your help!
-
Can you please add the wake word “Mirror Mirror On The Wall”?
-
what mic are people using, i have this: USB MIC
but cant get it to work so looking for a new one
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login