Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

AlexaPi working fine in debug-mode but not listening while started normally? #502

Open
londer1995 opened this issue Jul 27, 2020 · 1 comment

Comments

@londer1995
Copy link

londer1995 commented Jul 27, 2020

Output of the [audio debugging script]:


ALSA Information Script v 0.4.65
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  rpm, dpkg
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See 'alsa-info.sh --help' for command line options.

cat: /tmp/alsa-info.Sjaq9X0fcj/acpidevicestatus.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=8c055428dde7d2c0942544b80de4504128f93f75
Please inform the person helping you.

Your OS (including version) where you are running AlexaPi:

latest version of raspberry os, updated/upgraded

Your hardware platform and model you are running on:

raspberry pi 4 model b

Python release (python3 --version):

Python 3.7.3 (default, Dec 20 2019, 18:57:59) 

Description of problem:

While I run AlexaPi in debug mode it works fine.
**I need to call Alexa a few times before she gets to wake**, but still she's working.
When I try to use "sudo systemctl start AlexaPi.service" there are no errors,
but AlexaPi will no longer answer to me. 

Expected:

I expect Alexa to work also in normal mode, not only in debug mode!

Problem-relevant config.yaml entries:

I used [reccomended solution for PA and config.yaml](https://github.com/alexa-pi/AlexaPi/wiki/Audio-setup-&-debugging).

Additional info:

I'm using a jabra 510 as external device, connected with USB.
It's working, I can play my own voice and even play Alexa's records
(from /tmp/alexapi_runtime_xxx[...]/record).

Additional question: seems like I can't play music from amazon,
but also I can't set a simple timer. What am I doing wrong?

@jacobkaufman
Copy link

Have tried adding the specific device for your capture device?

pcm.input { type hw card 2 device 0 }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants