Far as I can tell, there is a black screen when you made a mistake in the config.js file or if you made a mistake in the code of module.
Did you wrote the module you want to use yourself ?
Read the statement by Michael Teeuw here.
![](/assets/uploads/profile/uid-3107/3107-profileavatar.png)
Posts
-
RE: Black Screen after Launching application.
-
MMM-Alexa No Media Stream connected
Hello, I try to make MMM-Alexa work (I don’t have a button, so I use another module to send the start recording notification for now).
But I got an exeptionUncaught (in promise) Error: No Media Stream connected. :8080/modules/MMM-alexa//alexaRunner.babel.js:527 at Promise (:8080/modules/MMM-alexa//alexaRunner.babel.js:527) at AVS.startRecording (:8080/modules/MMM-alexa//alexaRunner.babel.js:525) at alexaRunner.notificationReceived (:8080/modules/MMM-alexa//alexaRunner.babel.js:4326) at Class.notificationReceived (:8080/modules/MMM-alexa//MMM-alexa.js:59) at sendNotification (main.js:87) at Object.sendNotification (main.js:454) at Class.sendNotification (module.js:301) at Class.notificationReceived (:8080/modules/shemur//shemur.js:43) at sendNotification (main.js:87) at Object.sendNotification (main.js:454) TypeError: Cannot read property 'byteLength' of undefined alexaRunner.babel.js:4468 at Promise (alexaRunner.babel.js:670) at AVS.sendAudio (alexaRunner.babel.js:601) at alexaRunner.avs.stopRecording.then.dataView (alexaRunner.babel.js:4435)
The color of the square is red.
I receive the following notification in that Order :
ALL_MODULES_STARTED
DOM_OBJECTS_CREATED
ALEXA_CREATED
ALEXA_TOKEN_SET (When I receive this one I send the ALEXA_START_RECORDING notification)
ALEXA_VAD_VOICE_DETECTION_START
ALEXA_VAD_VOICE_DETECTION_STOP (I receive this one immediatly after the start one)
ALEXA_RECORD_STOP
ALEXA_STOP_RECORDINGIf I don’t send the alexa start recording notification, I have no exception so It must be related to the recording right ? I do have a mic and I can record a sound with arecord and play that sound with aplay or play in my terminal.
So why is the vad voice detection stoping immediatly ? why do I receive the “No media stream connected” exception ? Is the module dosn’t detect my mic ?
How can I solve this?Little update: If I send the notification again (with about 30 second spacing) I am able to have an answer from Alexa.if I speak quickly enough at the moment the notification is send. So… I’m guessing the first time is for initialization and after that it’s ok to talk. Still not sure why I got exception but I guess it’s fine…
I need to find a way to trigger it with a wake up world now.
Also, Is there a way to see when it’s ok to talk ? (kinda like the MMM-AlexaPi module that show you the mic status and a little symbole that show Alexa is processing your request) -
RE: MMM-AlexaPi
@johnnyboy Yeah I saw, I installed it in my home folder the first time before facepalming
-
RE: 3 different Alexa modules, which one is the best?
@lucallmon Great, what is your timezone ? when am I the most likely to find you ? Even though you not available to gitter us your magic right now, I’ll like to be ready when you are
-
RE: MMM-AlexaPi
@lucallmon Ok, I will try it tomorrow. I have already installed AlexaPi. I though it was for the MMM-alexa module though. Anyway, thanks for the input.
-
RE: MMM-AlexaPi
@lucallmon Oh. My mistake then. So… AlexaPi is for MMM-alexa or MMM-alexapi ?
I am confused. -
RE: MMM-AlexaPi
Well, I have the same issue as johnnyboy. I reset my pi once already. I have the same message from the AlexaPi service. Also launching the mirror in dev mode show me the following error related to MMM-Alexa : " Failed to load resource: the server responded with a status of 400 (Bad Request) https://api.amazon.com/auth/o2/token "
And the color indicator is yellow. I have a lot of trouble with setting my sound card to use a mic so I wouldn’t be surprise If I had a mic issue. But this is completely unrelated to the sound. the “token” is the thing we got when we connected to the raspberypi ip adress port 5050 right ? Is there a reason it would expire ? could it be the issue ? -
RE: 3 different Alexa modules, which one is the best?
Well, good luck. I try to make Alexa work from quite sometime now and I still getting any result. I tryed both MMM-Alexa and MMM-MirrorMirrorOnTheWall . Both module have incomplete instruction to me. They explain how to setup some stuff but not how to test it. So… even after following all the instruction I could find, I just end up stupidly talking in my mic with no answer or whatever. And no instruction on what should happen. How to know if AlexaPi is correctly installed ? no clue. How do I know that the module is well config within the mirror ? I guess you’ll know when you figure it out by yourself.
I would like a step by step video from someone doing it to see if my “issues” are hardware related or software related (I mean, if the issue is my mic not being picked up or if my config is wrong.) If I could “see” someone doing it, I could see what I am doing wrong.Anyway. Best of luck
-
RE: PM2 startup Autostart didn't work
I think the issue is that the command you need to run isn’t “sudo pm2 startup”.
If you run “pm2 startup”, the real command you’ll need to run appearpi@raspberrypi:~ $ pm2 startup [PM2] Init System found: systemd [PM2] You have to run this command as root. Execute the following command: sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
-
RE: MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images
Hello. I have follow the guide multiple time now. At first I had trouble to get an answer from the Alexa skill (turned out it was because of the region, choosing us east Virginia wasn’t doing the trick for me. I needed to creat my lambda as eu ireland and to change the region value to eu-west-1 within the MirrorMirror.js in both folder).
Now my issue is that nothing is happening even though there is no error what so ever in the log.
I read this entire thread so I may have an idea on what the issue is but I rather ask to be sure.
Is the module isn’t enough by itself ? do I to install some third party thing in order to use it ? (I saw “AlexaPi” mention here and there). Is it why I can’t use this module ?