Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 16 18:18

    shivasiddharth on master

    Update README.md (compare)

  • May 16 18:17

    shivasiddharth on master

    Update README.md (compare)

  • May 16 18:14

    shivasiddharth on master

    Update README.md (compare)

  • May 16 18:13

    shivasiddharth on master

    Update README.md (compare)

  • May 14 15:30
    piassist111 opened #1164
  • Apr 29 19:18
    close-issue-app[bot] closed #1163
  • Apr 29 19:18
    close-issue-app[bot] commented #1163
  • Apr 29 19:18
    dony71 opened #1163
  • Apr 29 19:02
    close-issue-app[bot] closed #1162
  • Apr 29 19:02
    close-issue-app[bot] commented #1162
  • Apr 29 19:02
    dony71 opened #1162
  • Apr 29 00:05
    JAVAB3ANS opened #1161
  • Apr 13 03:07
    PrikolMen closed #1160
  • Apr 13 03:07
    PrikolMen commented #1160
  • Apr 13 02:43
    PrikolMen edited #1160
  • Apr 13 02:42
    PrikolMen opened #1160
  • Apr 11 18:20
    SebbyBB commented #134
  • Apr 11 11:37
    w7boz commented #1039
  • Mar 22 15:35
    shivasiddharth closed #1159
  • Mar 22 15:06
    Harry989 commented #1159
moehamid73
@moehamid73
This is your instruction if you scroll up just a little bit "Use 1.21.5 then. You need to get the old releases from the archives. Its just a Google search away". Just following your instructions
Also, in your instructions that you linked to me: "pip3 install numpy==1.22.1", i dont see 1.16.6 anywhere in the link
shivasiddharth
@shivasiddharth

This is your instruction if you scroll up just a little bit "Use 1.21.5 then. You need to get the old releases from the archives. Its just a Google search away". Just following your instructions

I do not appreciate sarcasm here. Which was the latest instruction 1.20.3 or 1.21.5 ? 1.20.3 is a May release which has a better prospect of working with Buster than 1.21.5 which was released much later.

moehamid73
@moehamid73
image.png
What sarcasm?? Now getting issue with futures
moehamid73
@moehamid73
This is a great project and i appreciate your efforts tremendously. I wouldnt put you down when you are providing an open source project for us newbies. I just want it to work on my side.
shivasiddharth
@shivasiddharth
Manually install futures==3.3.0 within the environment.
source env/bin/activate
pip3 install futures==3.3.0
3.1.1 was killed by the developers that's why this error.
moehamid73
@moehamid73
image.png
shivasiddharth
@shivasiddharth
My bad ! Manual install of futures will not work. Forgot about that. Try manually installing the samples.
source env/bin/activate
pip install google-assistant-sdk==0.6.0
pip install google-assistant-sdk[samples]==0.6.0
moehamid73
@moehamid73
that failed too. attached is the terminal
shivasiddharth
@shivasiddharth
I am not sure if this will work, but worth giving a shot. Download this file https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl and save it some where.
try and install that using:
source env/bin/activate
pip install PATH_TO_THAT_FILE
shivasiddharth
@shivasiddharth
@moehamid73 Did that work ?
1 reply
Shubhansh2003
@Shubhansh2003
Hey @shivasiddharth I am facing the same issues while cloning to gassitpi master please give some solution. It is showing an error: no matching distribution found for futures=3.3.0 . And I am using Debian buster
shivasiddharth
@shivasiddharth

Hey @shivasiddharth I am facing the same issues while cloning to gassitpi master please give some solution. It is showing an error: no matching distribution found for futures=3.3.0 . And I am using Debian buster

Please go through the above posts. I have already discussed it

Shubhansh2003
@Shubhansh2003
I tried all the things mentioned above but i am unable to fix the problem please help @shivasiddharth . can you please provide me the link of the OS i should use to install this google assistant smoothly. one thing more i want to ask that which code of yours is in working condition Gassitpi master , just googleassistant or assistants-pi. Moreover before new year when i was installing assistants-pi ,the googleassistant was installed successfully but when i was installing both it was saying fatal:repository not found and the next line it was saying finished installing alexapi . howcome the googleassistant was successfully installed before new year and now why it is giving error? lastly i want to thankyou for such a brilliant mind that you have created the opensource code for all to make others learn that how it actually works. THANKYOU
shivasiddharth
@shivasiddharth
moehamid73
@moehamid73
@shivasiddharth that solution didnt work. i ended up installing the one from AIY project and using it.
Stephan69
@Stephan69

@shivasiddharth installed latest Gassispi on raspian buster and somewhere at the end of the script it returns this failure because of that he does not proceed with google specific setup....
Checking OS Compatability

You are running the installer on Buster

Your board supports Ok-Google Hotword. You can also trigger the assistant using custom-wakeword

GPIO pins can be used with the assistant

Copying Snowboy files to GassistPi directory

The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/home/pi/env/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

shivasiddharth
@shivasiddharth
@/all I have ported the project to Bullseye. If you run into any issues, I am happy to assist.
Stephan69
@Stephan69
can we install Bullseye via the raspberry pi manager ?
shivasiddharth
@shivasiddharth
If you mean upgrading from Buster to Bullseye, then its a No ! If you mean Downloading the OS using the Raspberry Pi imager, then it is a Yes.
Stephan69
@Stephan69
ok
Stephan69
@Stephan69
Collecting click<7,>=6.7
Downloading https://www.piwheels.org/simple/click/click-6.7-py2.py3-none-any.whl (71 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.2/71.2 KB 1.6 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement futures<4,>=3.1.1; extra == "samples" (from google-assistant-sdk[samples]) (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
ERROR: No matching distribution found for futures<4,>=3.1.1; extra == "samples"
Stephan69
@Stephan69
source env/bin/activate
pip3 install futures==3.1.1. worked for me on Bullseye
then it works on a charm on Bullseye
Changing particulars in service files......
Changing particulars in service files for Ok-Google hotword.......
Finished installing Google Assistant.......
Please reboot........
Stephan69
@Stephan69
when running the assistant via the service or directly it outputs the following error on grpc. any ideas does it work for you @shivasiddharth ?
/home/pi/env/bin/python -u /home/pi/GassistPi/src/main.py --project_id 'xx' --device_model_id 'xx'
Traceback (most recent call last):
File "/home/pi/GassistPi/src/main.py", line 25, in <module>
from google.cloud import speech
File "/home/pi/env/lib/python3.9/site-packages/google/cloud/speech.py", line 19, in <module>
from google.cloud.speech_v1 import SpeechClient
File "/home/pi/env/lib/python3.9/site-packages/google/cloud/speech_v1/init.py", line 17, in <module>
from google.cloud.speech_v1.gapic import speech_client
File "/home/pi/env/lib/python3.9/site-packages/google/cloud/speech_v1/gapic/speech_client.py", line 22, in <module>
import google.api_core.gapic_v1.client_info
File "/home/pi/env/lib/python3.9/site-packages/google/api_core/gapic_v1/init.py", line 18, in <module>
from google.api_core.gapic_v1 import config
File "/home/pi/env/lib/python3.9/site-packages/google/api_core/gapic_v1/config.py", line 23, in <module>
import grpc
File "/home/pi/env/lib/python3.9/site-packages/grpc/init.py", line 22, in <module>
from grpc import _compression
File "/home/pi/env/lib/python3.9/site-packages/grpc/_compression.py", line 15, in <module>
from grpc._cython import cygrpc
ImportError: /home/pi/env/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8
(env) pi@seeedberry-ko97:~/env $ ldd /home/pi/env/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so
linux-vdso.so.1 (0xbefbe000)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb695c000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb691b000)
libstdc++.so.6 => /lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6793000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6724000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb65d0000)
/lib/ld-linux-armhf.so.3 (0xb6fa3000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb65a3000)
Stephan69
@Stephan69

when downgrading to (env) pi@seeedberry-ko97:~/env $ pip install grpcio-tools==1.32.0 it returns

(env) pi@seeedberry-ko97:~/env $ /home/pi/env/bin/python -u /home/pi/GassistPi/src/main.py --project_id 'xx' --device_model_id 'xx'
Initializing GPIOs 5 and 6 for assistant activity indication
/home/pi/env/lib/python3.9/site-packages/google/assistant/library/assistant.py:90: DeprecationWarning: Google Assistant Library for Python is deprecated
warnings.warn('Google Assistant Library for Python is deprecated', DeprecationWarning)
device_model_id: xx
device_id: xx

2022-02-05 22:38:25,473 : ERROR : Failed to register device INVALID_ARGUMENT (400): Request contains an invalid argument.
Traceback (most recent call last):
File "/home/pi/GassistPi/src/main.py", line 1109, in <module>
Myassistant().main()
File "/home/pi/GassistPi/src/main.py", line 1089, in main
register_device(args.project_id, credentials,
File "/home/pi/env/lib/python3.9/site-packages/google/assistant/library/device_helpers.py", line 88, in register_device
raise RegistrationError(r, device_model_id)
google.assistant.library.device_helpers.RegistrationError: Failed to register device INVALID_ARGUMENT (400): Request contains an invalid argument.
(env) pi@seeedberry-ko97:~/env $ pip install grpcio-tools==1.32.0

moehamid73
@moehamid73
I installed bullseye and entered the following commands when i got the future error
source env/bin/activate
pip3 install futures==3.1.1 . Everything worked for me on Bullseye
Shubhansh2003
@Shubhansh2003
Hey @shivasiddharth please give me the link to download bullseye os for raspberry 🙏
@moehamid73 which assistant hsve you installed gassitpi master
shivasiddharth
@shivasiddharth
@Shubhansh2003 Downloading and installing Pi OS is one of the basic things to do.
Shubhansh2003
@Shubhansh2003
Hey @shivasiddharth after successful installation of gassitpi and Authorization there is no output at all via speaker why it is happening?
shivasiddharth
@shivasiddharth
@Shubhansh2003 Check your audio setup. Do the sound playback test as I have mentioned in the documentation.
shivasiddharth
@shivasiddharth
Your questions are really vague. The documentation is easy to follow even for newbies and it contains step by step instructions. Did you configure the audio like how it is mentioned in the documentation ? Did you do the speaker-test like how it is given ? Did the speaker test work ? What hardware are you using ? Is your audio device in the list of supported audio configurations ? These are the kind of things that you need to look into and provide info. If you just say "there is no sound whats happening ?". I would have to guess all the possibilities and it will take an eternity.
Shubhansh2003
@Shubhansh2003

Sorry to disturb you @shivasiddharth but i am facing problem in audio rest all things are successfully done ✔ the instructions are damn easy to understand i am cursing myself for disturbing you again n again . I have done speaker-test , it is also working with discrete sound . I am using usb mic and 3.5 mm audio jack . Yes the audio device is in the list of supported audio configurations . In that, add the following lines and save:

load-module module-alsa-source device = hw: 0,0
load-module module-alsa-sink

What does this line says we have to change this hw account to the device profile or not you haven't mentioned.

shivasiddharth
@shivasiddharth
Oh God ! You have a USB Mic and you are playing around with Audio config that I have given for I2S WM8960 HATs ! Why???????? The heading clearly says the HAT type !
Stephan69
@Stephan69
has anybody an idea how to integrate a Calendar question with Google Assistant ? "e.g. Hey Google which appointments do i have today ?"
shivasiddharth
@shivasiddharth
@Stephan69 Its done automatically. Its built into the assistant by Google ! Check and let me know. If the function has been scrapped I will add it as a feature.
Stephan69
@Stephan69
@shivasiddharth the assistant says it needs permission to give personal results to me. It also says it can be done on my phone?
Stephan69
@Stephan69
Shubhansh2003
@Shubhansh2003
@shivasiddharth then please let me know the solution to configure audio configuration using usb mic and 3.5 mm audio jack . There is no output even afer installing gassitpi in raspberry.
shivasiddharth
@shivasiddharth
@Stephan69 Yes !
imamboedi
@imamboedi
@shivasiddharth I had installed gassistpi once before and it was working well, recently I verify spotify redirect to url and done, but now I dont get the welcome sound or the beep when gassist pi is ready to listen to command after hotword.
help me please sir thanks
shivasiddharth
@shivasiddharth
@/all I thought this time would never come, but has come today. I am saddened to announce that, I am pulling the plug on the GassistPi project with effect from today. Its no longer going to be developed and maintained. I started it in May 2017 and after 5 years, I am no longer in a position to keep this going. I have run out of resources and time to keep this alive. The codebase will still be available for anyone to work or modify and if someone is interested in taking ownership of the repo, I am happy to transfer it.
mcv93us
@mcv93us
@shivasiddharth Thanks for everything you did, the project is great !!!
On my Raspi 4 I will continue to use it until Google removes support for voice activation.
Rijo Raj P
@RijoRajP1_twitter
@shivasiddharth Thank you Sir for all your effort that you have put into this project for the past years. Your determination in developing the simple google assistant to a powerful one is suerly appreciatable. Its sad for all of us to hear this action. The entire GassistPi community is lucky because of a persorn like you. Lets hope that this project will be alive forever and someone with a good mind and determination like you would volunteer to take up its responsibility and maintain and develop it further.
Again thank you Sir for all these 🙏🙏🙏🙏🙏🙏