googlesamples / assistant-sdk-python

Samples and bindings for the Google Assistant API
http://developer.google.com/assistant/sdk
Apache License 2.0
916 stars 320 forks source link

Google Assistant Hotword - NOT RESPONDING? #316

Open Maggedelle opened 5 years ago

Maggedelle commented 5 years ago

Okay, so i have a pretty weird problem with my Google Assitant. My Google ASsistant Hotword will not answer, to OK google or hey google. 

The SSH looks like this:  ON_MUTED_CHANGED:   {"is_muted": false} ON_MEDIA_STATE_IDLE ON_START_FINISHED

And it just stays this way till i reboot it..

The device is registered succesfully, everything is - no error. Even the PushToTalk service is running just fine!

I already tried changing my .asoundrc and asound.conf to seval different things..

I currently use a USB mic, and the speaker in my monitor which is connected via HDMI. I tried searching on Google, but i can't find anything that will help me. I also tried tweaking the microphone sensability. 

Can anyone  help?

Fleker commented 5 years ago

Which version of the google-assistant-library are you using?

Maggedelle commented 5 years ago

Which version of the google-assistant-library are you using?

Newest one, 1.01

Doomic commented 5 years ago

same issue here... audio and microphone tests are working fine.. no errors with the installation, run the sample code and got the same output as Maggedelle... but no responding to "ok google". If someone has a suggestion or Meggedelle already fixed it, please let me know

malko commented 5 years ago

almost same here but the last output line are in reverse order

ON_MUTED_CHANGED:
  {"is_muted": false}
ON_START_FINISHED
ON_MEDIA_STATE_IDLE
LordTyrion123 commented 5 years ago

Same issue here. The assistant worked till 1.0.0. But after updating to 1.0.1 it refuses to respond.

luckyteos commented 5 years ago

Am facing the same issue. Would appreciate some help as to what could possibly be done to resolve it. Thanks

aheschl1 commented 5 years ago

Same, worked fine but then I edited the hotword.py sample to add custom code... It stopped working after. I reverted it and still nothing. This is not the first time I've done this editing. Not sure if this is what caused the issue but I think it's worth mentioning.

bonofaber commented 5 years ago

same issue on me, googlesamples-assistant-hotword --project-id oo --device-model-id oo device_model_id: oo device_id: oo

ON_MUTED_CHANGED: {"is_muted": false} ON_START_FINISHED ON_MEDIA_STATE_IDLE .. not responding to Ok Google or Hey Google.

But pushtotalk sample work fine.

aheschl1 commented 5 years ago

I believe that the problem is to do with audio setup and files. I tried to use Alexa after giving up on the assistant SDK and that didn't work. I reset the raspbian OS, put in the same code as I had before and it worked.