Feature requests
Hi,
Is it possible to add music streaming like in? https://www.hackster.io/vvanhee/internet-streaming-radio-with-google-aiy-1edff3
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.
music streaming and news feature and even google assistant sdk prebuilt features like increase volume, set a timer, set an alarm.
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 , 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.
Any news on the neopixel connected direct to the GPIO on the PI without Audrino?
@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..
Is it possible to use Custom wakeword without gRPC module
@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..
a top stories feature. I am trying to work it out on my own, but i cant seem to figure it out.
@mpskierbg , Am adding it in this update
@mpskierbg , i have added the top stories/news rss feed streaming. checkout the git or the video..https://youtu.be/WOyYL46s-q0
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.
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
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
@tkent42 , I have updated the project (Git) now with actions for controlling Kodi. Ref: https://youtu.be/ahc6XKYriHo
Kodi series commands to play the next unwatched episode or a specific episode by saying the name of the season and episode. Thanks
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.
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
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 @Enzoinventor , Currently i am using pico2wave, I shall include GTTS in the next update.
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.
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 , 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 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
@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.
@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.
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 , 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: LEDs: yes i know but i need the leds to be always on and just blink when gassist listens/responds..
thanx
@shivasiddharth awesome, you are the best!