Closed EmadMokhtar closed 3 years ago
First of all, thanks for the great work and the fast reply. Really appreciated.
I installed the driver using the official repo. I wil give the suggested configuration a try and let you know.
Why raspberry pi zero is not adviced? And Waht are the boards you advise me to use?
Raspberry Pi Zero W is ideal for server applications and not for computational task intensive applications like the assistants. I would suggest to use at least Pi 3B. If you are on a budget, then you can use Orange Pi Zero, its under 10 bucks if my memory serves right.
I followed your step and install the driver using your script. The google assistant service is running, I can hear the welcome (Hello) but after that nothing.
pi@raspberrypi:~ $ sudo systemctl status google-assistant.service
● google-assistant.service - Google Assistant Voice Service
Loaded: loaded (/lib/systemd/system/google-assistant.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-01-29 14:38:57 GMT; 2min 37s ago
Main PID: 828 (python)
Tasks: 21 (limit: 881)
CGroup: /system.slice/google-assistant.service
└─828 /home/pi/env/bin/python -u /home/pi/Assistants-Pi/Google-Assistant/src/main.py --project_id peerless-voyage-299414 -
Jan 29 14:39:07 raspberrypi python[828]: jack server is not running or cannot be started
Jan 29 14:39:07 raspberrypi python[828]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Jan 29 14:39:08 raspberrypi python[828]: /home/pi/env/lib/python3.7/site-packages/google/assistant/library/assistant.py:90: Deprecati
Jan 29 14:39:08 raspberrypi python[828]: warnings.warn('Google Assistant Library for Python is deprecated', DeprecationWarning)
Jan 29 14:39:08 raspberrypi python[828]: device_model_id: peerless-voyage-299414-officeamp-m8ak3t
Jan 29 14:39:08 raspberrypi python[828]: device_id: 9E0C8CA68AEDCFDB17FC8862CE8F9A7C
Jan 29 14:39:09 raspberrypi python[828]: ON_MUTED_CHANGED:
Jan 29 14:39:09 raspberrypi python[828]: {"is_muted": false}
Jan 29 14:39:12 raspberrypi python[828]: ON_MEDIA_STATE_IDLE
Jan 29 14:39:12 raspberrypi python[828]: ON_START_FINISHED
For Alexa, it is not running.
pi@raspberrypi:~ $ sudo systemctl status alexa.service
● alexa.service - Amazon Alexa Voice Service
Loaded: loaded (/lib/systemd/system/alexa.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-01-29 14:36:10 GMT; 3min 9s ago
Process: 748 ExecStart=/home/pi/Assistants-Pi/Alexa/start.sh (code=exited, status=203/EXEC)
Jan 29 14:36:10 raspberrypi systemd[1]: alexa.service: Service RestartSec=100ms expired, scheduling restart.
Jan 29 14:36:10 raspberrypi systemd[1]: alexa.service: Scheduled restart job, restart counter is at 5.
Jan 29 14:36:10 raspberrypi systemd[1]: Stopped Amazon Alexa Voice Service.
Jan 29 14:36:10 raspberrypi systemd[1]: alexa.service: Start request repeated too quickly.
Jan 29 14:36:10 raspberrypi systemd[1]: alexa.service: Failed with result 'exit-code'.
Jan 29 14:36:10 raspberrypi systemd[1]: Failed to start Amazon Alexa Voice Service.
Assistants-Pi related issue is to be posted there. Please do not mix issues from two projects.
I will close this issue then
IMPORTANT NOTICE
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Which branch of GassistPi are you using?
master
Board and OS details:
Open a terminal and run
Describe the bug:
I installed the `` on my Raspberry pi zero W It has respeaker 2 mics HAT. There is no issue with the sound but when I try to run the Assistant with push-button I got 2 issues.
Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues)?
Yes
2. Is the issue related to assistant installation ?
No
3. Does the assistant service start normally?
Yes
4. Is the assistant service restarting automatically?
NA. I'm starting the assistant manually.