GassistPi icon indicating copy to clipboard operation
GassistPi copied to clipboard

Feature requests

Open aceycv8 opened this issue 8 years ago • 58 comments

Hi,

Is it possible to add music streaming like in? https://www.hackster.io/vvanhee/internet-streaming-radio-with-google-aiy-1edff3

aceycv8 avatar Sep 24 '17 02:09 aceycv8

An official update of the SDK is long overdue. I am just waiting to see as to what new features that update brings. I am expecting smart home control and music streaming options to be included in the new update. if google does not update the SDK in the upcoming weeks, i shall include this feature.

shivasiddharth avatar Sep 24 '17 09:09 shivasiddharth

music streaming and news feature and even google assistant sdk prebuilt features like increase volume, set a timer, set an alarm.

ChetanaP76 avatar Oct 02 '17 16:10 ChetanaP76

I'm kind of new to this but will it update itself or will I need start by cloning and then doing everything again or just update by using the one-line installer again

Alex9premium avatar Oct 09 '17 17:10 Alex9premium

@Alex9premium , there two updates that we need to address. First update is the updation to the project that i do and second update is the updation that google does to the sdk. Unless i do a major overhaul, you can delete the folder and clone the updated project and keep using it. For google's updates, you need to run the one-line installer again.

shivasiddharth avatar Oct 09 '17 20:10 shivasiddharth

Any news on the neopixel connected direct to the GPIO on the PI without Audrino?

patts75 avatar Oct 10 '17 07:10 patts75

@patts75 , This update already required a good amount of work. Moreover, its just one person working on this, so Neopixel hopefully in the next update..

shivasiddharth avatar Oct 10 '17 16:10 shivasiddharth

Is it possible to use Custom wakeword without gRPC module

ChetanaP76 avatar Oct 25 '17 11:10 ChetanaP76

@patts75 , I was doing some testing with Neopixels. They seem to interfere with Pi's audio (because Pi's audio works on PWM) and I2S. So in all likely hood, neopixels have to be replaced with some APA102 RGB Leds..

shivasiddharth avatar Nov 11 '17 01:11 shivasiddharth

a top stories feature. I am trying to work it out on my own, but i cant seem to figure it out.

mpskierbg avatar Nov 29 '17 21:11 mpskierbg

@mpskierbg , Am adding it in this update

shivasiddharth avatar Dec 01 '17 19:12 shivasiddharth

@mpskierbg , i have added the top stories/news rss feed streaming. checkout the git or the video..https://youtu.be/WOyYL46s-q0

shivasiddharth avatar Dec 03 '17 16:12 shivasiddharth

Dear Mr. Sid, you may consider adding the Status report of Room temperature, Garage door opened or closed etc., by monitoring the ADC input of ESP8266 and convert that text into speech.

rarenu avatar Dec 08 '17 02:12 rarenu

Hello Sid, I have enjoyed playing with your installs on my AIY setup. I keep up with your updates and saw on your youtube comments that you were considering a integration of Kodi control. I have implemented the IFTTT solution below but something more integrated and local to my network would be easier and probably a bit faster. Thanks for your hard work. https://github.com/OmerTu/GoogleHomeKodi

tkent42 avatar Dec 12 '17 18:12 tkent42

hello sid , great work on EVERYTHING already! is very cool and usefull. i thought a feature where after a song is played using ur play functiion it plays the next one based on the current song , like youtube's "next video" feature. this can come in handy when u dont wanna keep saying song after song

dendiee avatar Dec 16 '17 14:12 dendiee

@tkent42 , I have updated the project (Git) now with actions for controlling Kodi. Ref: https://youtu.be/ahc6XKYriHo

shivasiddharth avatar Dec 19 '17 10:12 shivasiddharth

Kodi series commands to play the next unwatched episode or a specific episode by saying the name of the season and episode. Thanks

Alex9premium avatar Dec 19 '17 14:12 Alex9premium

Hi, I saw that you could change the text to speech in question by watching this video: https://www.youtube.com/watch? v = GMaeY_dmknA I followed all the steps but I could not make it work. it would be nice to integrate it into your project to get smoother responses compared to pico.

Enzoinventor avatar Dec 26 '17 13:12 Enzoinventor

I managed to get a decent voice for the speech and I share with you how: Google’s Text to Speech engine is a little different to Festival and Espeak. Your text is sent to Google’s servers to generate the speech file which is then returned to your Pi and played using mplayer. This means you will need an internet connection for it to work, but the speech quality is superb.

I used used ax206geek’s bash script to access the Google Text to Speech engine (this is an updated version of that script):

Create a file speech.sh with:

nano speech.sh #the language must be set in speech.sh (tl=en) Add these lines to the file and save it (in nano editor use CTRL-O writeOut)

#!/bin/bash say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols"http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$&tl=en"; } say $ Add execute permissions to your script with:

chmod u+x speech.sh Test it using:

./speech.sh Look Dave, I can see you're really upset about this.

just open the action.py file and modify for example: say (content) with subprocess.call (["./ speech.sh", content)

the code could be improved and suggestions are accepted willingly

Enzoinventor avatar Dec 26 '17 22:12 Enzoinventor

Fantastic Project!!! What TTS are You using for notification before comands execution? It sounds a little "robotic". Google TTS is more natural. Is this possible to use Google TTS?

Pancer1 avatar Dec 30 '17 21:12 Pancer1

@Pancer1 @Enzoinventor , Currently i am using pico2wave, I shall include GTTS in the next update.

shivasiddharth avatar Dec 30 '17 23:12 shivasiddharth

Great, thanks! I'm using it in coaxistance with Home Assistant and it's doing great job. One more question, how to change hot word? I was searching in main.py and actions.py but didn't find.

Pancer1 avatar Dec 31 '17 11:12 Pancer1

One more request. It'll be cool if will be possible to control local alsamixer with voice (local volume up/down). It's usefull if i want control music streaming from YouTube played locally in GassistPi. Now it's only possible to controll Google Assistant and Kodi volume by voice (or i missed it).

Pancer1 avatar Dec 31 '17 11:12 Pancer1

@Pancer1 , After the SDK update, snowboy was sending the CPU usage of Pi Zero boards sky rocketing. To avoid confusions, i removed the snowboy completely. When you say volume control of music streaming, it actually means the volume control of VLC (music is played through VLC). In the next update, i will include google music streaming and in the update after, voice control of VLC (that is how i have planned).

shivasiddharth avatar Dec 31 '17 13:12 shivasiddharth

@shivasiddharth Epic project thx alot!!!, Do you have any plan for adding autoplay to the youtube streaming feature? Also can't wait for the google music streaming feature :D

nicusorflorin avatar Jan 02 '18 17:01 nicusorflorin

@shivasiddharth Thank you for great project. This makes life so much easier for non-developers who like DIY projects. I really would love to get that Google Play Music update. Any timetable on that project? Can I sign up to test it? Also, is there anyway to connect it to Google Cast SDK to allow streaming of music to different chromecast enabled speakers in home.

Again, thank you for all the time you spend helping others with Google Assistant SDK.

tstasevych avatar Jan 03 '18 02:01 tstasevych

@nicusorflorin , In autoplay, the links are dynamically generated. Its quite some some work to implement, i can try, but cannot guarantee implementation. @tstasevych , its just one person working on this, so there is no ETA for updates. I shall let you know, once the pre-release branch is available for testing. Google Cast SDK is meant for Android platforms, for linux python, there is something called pychromecast. On two previous occasions, when i started working on the casting, google enabled the casting on the server side, so i am a bit reluctant to spend time on casting feature.

shivasiddharth avatar Jan 03 '18 17:01 shivasiddharth

i want to add led blinking when gassist responds.. and a motor start to run. should this be an action=? oder is it possible to change the main/actions/putbutton.py?

thanx

hezzzzz avatar Jan 03 '18 22:01 hezzzzz

@hezzzzz , I have already made provisions for LED indicators. Please go through the README. For controlling stepper motor, you can use the function that i have already created in the actions.py file. @nicusorflorin, Managed to get autoplay working. Will release it in the next update.

shivasiddharth avatar Jan 05 '18 15:01 shivasiddharth

@shivasiddharth: LEDs: yes i know but i need the leds to be always on and just blink when gassist listens/responds..

thanx

hezzzzz avatar Jan 05 '18 16:01 hezzzzz

@shivasiddharth awesome, you are the best!

nicusorflorin avatar Jan 06 '18 13:01 nicusorflorin