Comments (29)
Ok sir. Here is it.
In this image the last line is repeating again and again.
from assistants-pi.
Just reinstall with a new config.json file(create another product).
from assistants-pi.
I had also tried setup PulseAudio as a system wide service.
from assistants-pi.
- Check the status of the assistant services on boot.
- Check the status of pulseaudio system wide service on boot.
Syntax for checking the sttaus of service is:
sudo systemctl status NAME_OF_THE_SERVICE
from assistants-pi.
Sir what should I replace in place of NAME_OF_THE_SERVICE?
I don't know much about this. I am a beginner in raspberry pi.
from assistants-pi.
For alexa it will be:
alexa.service
For Google Assistant it will be:
google-assistant.service
For pulse audio system wide it will be:
pulseaudio.service
All the details are in the README document.
from assistants-pi.
Sir I did this first for alexa it shows like this
alexa.service - Amazon Alexa Voice Service
Loaded: loaded (/lib/systemd/system/alexa.service; enabled; vendor preset: en
Active: active (running) since Sun 2021-07-11 19:00:10 IST; 2min 14s ago
Main PID: 537 (screen)
Tasks: 41 (limit: 2062)
CGroup: /system.slice/alexa.service
├─537 SCREEN -dm sudo python3 /home/pi/Assistants-Pi/Alexa/alexa.py
├─539 sudo python3 /home/pi/Assistants-Pi/Alexa/alexa.py
├─540 python3 /home/pi/Assistants-Pi/Alexa/alexa.py
├─721 sudo /home/pi/Assistants-Pi/Alexa/startsample.sh
├─727 sh /home/pi/Assistants-Pi/Alexa/startsample.sh
└─729 ./SampleApp /home/pi/Assistants-Pi/Alexa/build/Integration/Alex
Jul 11 19:00:09 raspberrypi sudo[478]: pam_unix(sudo:session): session opened fo
Jul 11 19:00:10 raspberrypi sudo[533]: root : TTY=unknown ; PWD=/home/pi/Ass
Jul 11 19:00:10 raspberrypi sudo[533]: pam_unix(sudo:session): session opened fo
Jul 11 19:00:10 raspberrypi sudo[533]: pam_unix(sudo:session): session closed fo
Jul 11 19:00:10 raspberrypi sudo[478]: pam_unix(sudo:session): session closed fo
Jul 11 19:00:10 raspberrypi sudo[539]: root : TTY=pts/1 ; PWD=/home/pi/Assis
Jul 11 19:00:10 raspberrypi sudo[539]: pam_unix(sudo:session): session opened fo
Jul 11 19:00:10 raspberrypi systemd[1]: Started Amazon Alexa Voice Service.
Jul 11 19:00:14 raspberrypi sudo[721]: root : TTY=pts/1 ; PWD=/home/pi/Assis
Jul 11 19:00:14 raspberrypi sudo[721]: pam_unix(sudo:session): session opened fo
And for Google assistant,
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
Active: active (running) since Sun 2021-07-11 19:00:08 IST; 5min ago
Main PID: 479 (python)
Tasks: 22 (limit: 2062)
CGroup: /system.slice/google-assistant.service
└─479 /home/pi/env/bin/python -u /home/pi/Assistants-Pi/Google-Assist
Jul 11 19:00:23 raspberrypi python[479]: jack server is not running or cannot be
Jul 11 19:00:23 raspberrypi python[479]: JackShmReadWritePtr::~JackShmReadWriteP
Jul 11 19:00:23 raspberrypi python[479]: /home/pi/env/lib/python3.7/site-package
Jul 11 19:00:23 raspberrypi python[479]: warnings.warn('Google Assistant Libra
Jul 11 19:00:25 raspberrypi python[479]: device_model_id: assistant-5d0d6-prasan
Jul 11 19:00:25 raspberrypi python[479]: device_id: D746B566ADC28701F865678C10F6
Jul 11 19:00:27 raspberrypi python[479]: ON_MUTED_CHANGED:
Jul 11 19:00:27 raspberrypi python[479]: {"is_muted": false}
Jul 11 19:00:29 raspberrypi python[479]: ON_START_FINISHED
Jul 11 19:00:29 raspberrypi python[479]: ON_MEDIA_STATE_IDLE
And for Pulse audio,
pi@raspberrypi:~ $ sudo systemctl status pulseaudio.service
● pulseaudio.service - PulseAudio system server
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor prese
Active: active (running) since Sun 2021-07-11 19:00:12 IST; 6min ago
Main PID: 371 (pulseaudio)
Tasks: 4 (limit: 2062)
CGroup: /system.slice/pulseaudio.service
└─371 /usr/bin/pulseaudio --daemonize=no --system --realtime --log-ta
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Running in system mode, but --disal
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Running in system mode, forcibly di
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Running in system mode, forcibly di
Jul 11 19:00:08 raspberrypi pulseaudio[371]: OK, so you are running PA in system
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Please read http://www.freedesktop.
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to open cookie file '/var/ru
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to load authentication key '
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to open cookie file '/var/ru
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to load authentication key '
Jul 11 19:00:12 raspberrypi systemd[1]: Started PulseAudio system server.
All of them shows active but I did not not hear the Hi sound and music from any of them and also not responding for wakeword.
Alexa is not responding or say hi even I start manually.
But google assistant works well when I start manually but one problem is its voice is low sound.
Please help me sir.
from assistants-pi.
Did you authenticate Alexa ? Start alexa manually and share the screenshot.
First time when you start Google Assistant, you need to give the command to set volume to maximum.
from assistants-pi.
from assistants-pi.
Also now the google assistant is also not responding.
I shared the screen shot sir.
It says on the code cannot to server jack.
please help me out.
from assistants-pi.
Did you authenticate Alexa ? Start alexa manually and share the screenshot.
First time when you start Google Assistant, you need to give the command to set volume to maximum.
I authenticated alexa already sir.
Here's the screenshot.
from assistants-pi.
I need to see the last part of Alexa screen. First half does not help.
from assistants-pi.
Its not detecting your mic. Post output of:
aplay -l
arecord -l
from assistants-pi.
from assistants-pi.
Share the output of:
sudo nano ./.asoundrc
sudo nano /etc/asound.conf
from assistants-pi.
Sir it shows like this for sudo nano ./.asoundrc
And for sudo nano /etc/asound.conf like this
from assistants-pi.
Its an issue with your Mic. Try changing the Mic.
from assistants-pi.
Ok sir but assistants not starting on boot.
Help with this issue.
from assistants-pi.
Ok sir but assistants not starting on boot.
Help with this issue.
Assistants are indeed starting. The "active" that you see in the status means that the assistants are starting on boot. They are not able to utilize the Mic. So there is some issue with the Mic (Issue is the MIC). It could be a software or hardware issue. To see if it is a hardware issue I asked you to change the Mic. If the new Mic also does not work, then its a software issue.
I dont understand as to what more you want me to do.
from assistants-pi.
Ok sir thankyou. I am going to try configure the mic.
from assistants-pi.
Hi Sir I installed alexa only this time. It turns on when I on the raspberry pi 3b(I can hear the hi from alexa also) but not responding to Alexa wake word.
Mic is not the problem as it is working finely in Gassist pi. Gassist pi is greatly working sir. Is Gassist pi conflict with Alexa?
from assistants-pi.
If you have Pulseaudio as systemwide there will be no conflict. Manually start the Alexa and post the output of the last part.
from assistants-pi.
Thankyou sir. After I had set Pulse audio as system wide, Both google and alexa responds for my command. But Alexa voice is not good. It's voice sounds like a radio static. Like broken voice. Also its voice is like in the speed of 0.5x(Slow Speed). What is causing this issue sir?
There is no problem in speakers as Gassist pi's voice is good.
Please help sir.
from assistants-pi.
Unfortunately, I have no control as to how the voice sounds.
from assistants-pi.
Ok sir.
from assistants-pi.
Finally, After a whole complete reinstall, everything works fine.
Thank you sir.
from assistants-pi.
Finally, After a whole complete reinstall, everything works fine.
Thank you sir.
Hey, can u help me with the same. Which version of rasbian os are you using? And how did you solve the broken voice issue?
from assistants-pi.
Just reinstall with a new config.json file(create another product).
Just reinstall alexa and assistant or I need to reinstall the rasbian as well?
from assistants-pi.
Reinstall rasbian also to delete old assistant files fully.
from assistants-pi.
Related Issues (20)
- Google Assistant is not responding to voice input HOT 1
- hey please help me HOT 1
- satrtsample.sh file not found HOT 1
- Support Raspberry Pi Zero
- Google Assistant on Raspberry Pi Zero HOT 5
- how to use Kitt Ai for default amazon alexa wake engine HOT 9
- how to use Kitt Ai in raspberry pi alexa?
- Alexa is not responding to my voice (Wake word) HOT 5
- Wake word seems broken on auto startup HOT 2
- audio-test.sh problem HOT 6
- arecord: main:828: audio open error: No such file or directory HOT 2
- Google Assistant unrecognized HOT 10
- I installed the google assistant on rasp 3 and it was working fine for the first 2 days..but then it stopped botting up by itself...I tried to run it manually but it shows this... HOT 4
- cant perform step 10 HOT 8
- Alexa not playing Music HOT 3
- RPI4 AUX output not listed after prep.sh HOT 2
- Sensory repository no longer available which breaks Alexa build. HOT 1
- Authorisation error
- board not supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assistants-pi.