alexa-pi / AlexaPi

Alexa client for all your devices! # No active development. PRs welcome # consider https://github.com/respeaker/avs instead
MIT License
1.33k stars 396 forks source link

Repeatedly saying "Hello" #70

Closed KrunchMuffin closed 8 years ago

KrunchMuffin commented 8 years ago

Not sure what happened, but every 7secs or say it says "Hello". Not sure what you need to see, so let me know and I will post. RPi3

renekliment commented 8 years ago

The app crashes and you've enabled automatic restart on crash. That's why you get Hello multiple times.

See journalctl -u AlexaPi.service for the log. When debugging, it's always useful to run it from command line in debug mode like /opt/AlexaPi/src/main.py -d See the Debugging section in our wiki.

KrunchMuffin commented 8 years ago

Thanks. Never occurred to me that it was crashing. wrong device I had typed in.

On another note, I am trying to use the mic that is in my USB cam but it is not working. Is there a way to test it similar to testing audio? I tried alsamixer, but no luck.

renekliment commented 8 years ago

Try arecord with a proper device parameter. (And aplay to play.) Once you get it right, set that device in AlexaPi config.

KrunchMuffin commented 8 years ago

cool, thanks. All working now. Is there a config somewhere to tell it what city you are in and timezone? I have my timezone in pi set up correctly, but she still gives me PST time. And weather is Seattle when I just ask for weather.

renekliment commented 8 years ago

Great! You have to set it up over at Amazon - https://alexa.amazon.com or a mobile app if the option is there.

KrunchMuffin commented 8 years ago

Thanks!

SurfSound commented 8 years ago

Hi KrunchMuffin can you tell me what you've entered in the config to get the mic working? Cause I have the same setting but I don't know what name I have to type in.

KrunchMuffin commented 8 years ago

I just followed this http://www.g7smy.co.uk/2013/08/recording-sound-on-the-raspberry-pi/

SurfSound commented 8 years ago

thank you :)