MMM-awesome-alexa icon indicating copy to clipboard operation
MMM-awesome-alexa copied to clipboard

Alexa hears me just once, then goes idle and "dies"

Open NapoleoneIV opened this issue 4 years ago • 11 comments

after the first "alexa" it doesn't pick up my voice anymore, unless i restart magicmirror

  • [ pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ npm start

[email protected] start /home/pi/MagicMirror ./run-start.sh

[17:36:42.745] [LOG] Starting MagicMirror: v2.10.0 [17:36:42.774] [LOG] Loading config ... [17:36:42.798] [LOG] Loading module helpers ... [17:36:42.803] [LOG] No helper found for module: alert. [17:36:45.848] [LOG] Initializing new module helper ... [17:36:45.849] [LOG] Module helper loaded: MMM-awesome-alexa [17:36:45.961] [LOG] Initializing new module helper ... [17:36:45.962] [LOG] Module helper loaded: updatenotification [17:36:45.963] [LOG] No helper found for module: clock. [17:36:45.965] [LOG] No helper found for module: currentweather. [17:36:45.966] [LOG] No helper found for module: weatherforecast. [17:36:45.967] [LOG] All module helpers loaded. [17:36:45.969] [LOG] Starting server on port 8080 ... [17:36:45.986] [LOG] Server started ... [17:36:45.987] [LOG] Connecting socket for: MMM-awesome-alexa [17:36:45.990] [LOG] Connecting socket for: updatenotification [17:36:45.991] [LOG] Sockets connected & modules started ... [17:36:46.326] [LOG] Launching application. [17:37:33.122] [LOG] transiting to state: listening [17:37:37.886] [LOG] transiting to state: busy ALSA lib pcm.c:8507:(snd_pcm_set_params) Channels count (1) not available for PLAYBACK: Argomento non valido [17:37:48.050] [LOG] transiting to state: idle ] Before submitting your issue add logs from your MagicMirror by running command pm2 log MagicMirror

NapoleoneIV avatar Jan 05 '20 16:01 NapoleoneIV

I get now the same problem :-(

[17:58:51.316] [LOG] transiting to state: listening [17:59:48.235] [LOG] transiting to state: busy [18:00:02.486] [LOG] transiting to state: idle

The first connection needs a long time (1 minute or so) after that it answers one time and thenthe service going into a idle state and never comes back again until next startup of magicmirror

HabibA007 avatar Feb 10 '20 17:02 HabibA007

me too :(

Clement78785 avatar May 27 '20 21:05 Clement78785

I meet the same issue. Did somebody solve it?

vivian0239 avatar Aug 08 '20 22:08 vivian0239

Experiencing the same issue here as well, first command works fine, and reponse is fine, get "transisting to state: idle" in the log, then the same errors as in issue #92.

No joy solving yet, will post back if i find anything

matteggleton89 avatar Aug 17 '20 16:08 matteggleton89

Yep, same Issue for me too. goes to listening -> busy -> idle and stops.

Ameyalgudkar avatar Sep 21 '20 14:09 Ameyalgudkar

Same here , any lead on this will be very useful

arunfruity avatar Sep 22 '20 18:09 arunfruity

Same here , any lead on this will be very useful

Did you get any errors or warnings? while installing any module? especially at the snowboy -> npm install?

Ameyalgudkar avatar Sep 23 '20 06:09 Ameyalgudkar

@Ameyalgudkar I am sure it said some error during a long list of installation and dependencies. Issue #211 is what I saw during installation. Other than that I can't think of any.

arunfruity avatar Sep 23 '20 11:09 arunfruity

Got this working. When I try to listen to recorded voice in /temp it is too loud. Application is thinking that that user is not yet done talking due to noises. The fix is to adjust your capture device and playback device using alsamixer. run alsamixer in CLI and press up to adjust playback volume, then press F4, to adjust volume press down. Hope this helps

ocelino avatar Sep 25 '20 04:09 ocelino

@ocelino Thanks a lot that worked like a charm One more questions : Why is there a small delay after hearing my question example : Alexa, what's the weather Then there is a 5 seconds gap n then Alexa answers me , do you know how to fix the delay ?

arunfruity avatar Sep 26 '20 13:09 arunfruity

Also, for anyone experiencing problem of Alexa not listening for the second time , check if ur connected via Bluetooth speaker if yes then u might need to use Aux connection to make it work consistently

arunfruity avatar Sep 26 '20 13:09 arunfruity