Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Assistant unrecognized #167

Open
mikecheng2626 opened this issue May 8, 2021 · 10 comments
Open

Google Assistant unrecognized #167

mikecheng2626 opened this issue May 8, 2021 · 10 comments

Comments

@mikecheng2626
Copy link

Alex installation is perfect ! Thank you

Google installation:

  1. Stuck at the final step: the manual startup of google assistant
  2. main.py: error: unrecognized arguments: model ID and project ID
  3. I copied from the modelID text file and input them into ReadMe file. Copy and pasted the manual command in terminal and the terminal said they're unrecognized
@shivasiddharth
Copy link
Owner

You definitely have a typo in the command that you used. Post the screenshot here. I will tell you what the typo is.

@mikecheng2626
Copy link
Author

Ok! Here you go!

2021-05-08-203610_1920x1080_scrot

@shivasiddharth
Copy link
Owner

There is no space between the end of your project id and the start of model id

@mikecheng2626
Copy link
Author

now it's saying missing device model id option

2021-05-08-205440_1920x1080_scrot

@shivasiddharth
Copy link
Owner

Please carefully go through my suggestion. I said that you need to add a space between the end of project id and start of model id. Instead, you have removed the space after --device_model_id.

@mikecheng2626
Copy link
Author

The first picture. There was a space between project id and model id and I thought you meant remove the space, so I removed it and showed it in 2nd picture. With a space between project id and model id, I get the same result just like the 1st time

Below is what I copied directly from your Assistant-Pi github:

/home/pi/env/bin/python -u /home/pi/Assistants-Pi/Google-Assistant/src/main.py --project_id 'replace this with the project id '--device_model_id 'replace this with the model id'

It looks like there's no space between project id and model id

@shivasiddharth
Copy link
Owner

As far as I can see, there is no space between the project id and the model id in both your pics. The prompts from the assistant also tells the same thing. If you see the README you can clearly see the space. If you still find it difficult to format the command, type your model id and project id here I will format and attach.

@mikecheng2626
Copy link
Author

Ok. It didn't work when I added a space in terminal. I'm not sure why, but I added a space in README and copy/paste into terminal and it worked.

But, I didn't hear any intro music and Google is not responsive. Alexa is doing well.

@shivasiddharth
Copy link
Owner

Check the README about setting pulseaudio systemwide

@wgtneth
Copy link

wgtneth commented May 19, 2021

hi shivasiddharth
I do not have a config.json file. Can you give me this config.json file?

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

No branches or pull requests

3 participants