Go to advanced search

by sheridat
Mon Dec 11, 2017 9:10 am
Forum: AIY Projects
Topic: Google AIY Voice kit doesn't start
Replies: 5
Views: 1789

Re: Google AIY Voice kit doesn't start

@Banyanss The software has changed dramatically. To set it up to run automatically see https://aiyprojects.withgoogle.com/voice/
by sheridat
Sun Dec 10, 2017 4:27 pm
Forum: AIY Projects
Topic: Google AIY Voice kit doesn't start
Replies: 5
Views: 1789

Re: Google AIY Voice kit doesn't start

Hi, Are you ABSOLUTELY sure you have renamed the clients secret correctly - /home/pi/assistant.json? I ask this because if I rename my /home/pi/assistant.json file to be /home/pi/wasassistant.json and then click on Start dev terminal and then type src/assistant_library_demo.py i get the following wh...
by sheridat
Sat Dec 09, 2017 5:59 pm
Forum: AIY Projects
Topic: How to use AIY kit voice recognition in Europe
Replies: 11
Views: 2777

Re: How to use AIY kit voice recognition in Europe

The third api is called grpc - There is a demo for it in the src folder. I know nothing about it other than it doesn't support hotword detection and therefore is of no obvious use to me. See https://developers.google.com/assistant/sdk/develop/grpc/ Regarding snowboy please note that all of the posts...
by sheridat
Sat Dec 09, 2017 11:28 am
Forum: AIY Projects
Topic: How to use AIY kit voice recognition in Europe
Replies: 11
Views: 2777

Re: How to use AIY kit voice recognition in Europe

Hi, 1. I've thought about piping some of the text strings I use through programs that let you capture a wav file and playing those wav files as a respone rather than using TTS. Trouble is if you have variable content (i do - I have a bunch of temperature sensors that resolve to 2 significant digits)...
by sheridat
Fri Dec 08, 2017 3:47 pm
Forum: AIY Projects
Topic: How to use AIY kit voice recognition in Europe
Replies: 11
Views: 2777

Re: How to use AIY kit voice recognition in Europe

Yes there are three different apis and there is at least one demo for each api.
Using the assistant library costs nothing.
by sheridat
Fri Dec 08, 2017 3:10 pm
Forum: AIY Projects
Topic: Voice Kit: Cloud Speech API ImportError 'opentype'
Replies: 4
Views: 2228

Re: Voice Kit: Cloud Speech API ImportError 'opentype'

@Prof.Techs
The original poster might not be using the same version of software as you.

Unless you have a directory projects/voice-recognizer-raspi/ you probably shouldn't be following this advice.
by sheridat
Fri Dec 08, 2017 2:24 pm
Forum: AIY Projects
Topic: How to use AIY kit voice recognition in Europe
Replies: 11
Views: 2777

Re: How to use AIY kit voice recognition in Europe

Hi Again, Here is an example of running a bash script using the assistant_library_with_local_commands_demo.py 1. Created a bash script called dosomething.sh and made it executable chmod +x /home/pi/dosomething.sh The script content is #!/bin/bash env > /home/pi/env.txt 2. Amended assistant_library_w...
by sheridat
Fri Dec 08, 2017 1:42 pm
Forum: AIY Projects
Topic: Running files on voice command
Replies: 1
Views: 320

Re: Running files on voice command

Hi, Do you have a voicekit and have you used a google image to build it? If you did see the second and third entries in this post https://www.raspberrypi.org/forums/viewtopic.php?f=114&t=199470 To run a python script you would just change the function to call a python script as follows def run_my_sc...
by sheridat
Fri Dec 08, 2017 1:32 pm
Forum: AIY Projects
Topic: How to use AIY kit voice recognition in Europe
Replies: 11
Views: 2777

Re: How to use AIY kit voice recognition in Europe

Assuming you used an image called aiyprojects-2017-09-11.img.xz to build it Do the following 1. Click on Start dev terminal 2. type - git checkout voicekit 3. type - git pull origin voicekit Look in the src folder - you will have a file called something like assistant_library_with_local_commands_dem...
by sheridat
Thu Dec 07, 2017 10:09 am
Forum: AIY Projects
Topic: Start Dev Terminal and starting my own terminal question.
Replies: 6
Views: 1536

Re: Start Dev Terminal and starting my own terminal question.

Instructions to autostart are here https://aiyprojects.withgoogle.com/voice/#makers-guide-3-4--run-your-app-automatically Those instructions assume you have read the preceding material. If you don't you might be wondering about src/my_assistant.py The idea is that you have modified one of the demos ...
by sheridat
Wed Dec 06, 2017 6:29 pm
Forum: AIY Projects
Topic: Start Dev Terminal and starting my own terminal question.
Replies: 6
Views: 1536

Re: Start Dev Terminal and starting my own terminal question.

Yes there is a world of difference. When you click of Start Dev Terminal your "loading/creating" a virtual environment which has the specific libraries that the AIY software needs If you run the demo's in an ordinary terminal window - they won't work - you will get import errors because the standard...
by sheridat
Wed Dec 06, 2017 6:22 pm
Forum: AIY Projects
Topic: New version of AIY questions
Replies: 5
Views: 1406

Re: New version of AIY questions

The voice you hear when you use a local command is not the very clear american female voice you hear when you use the Google Assistant. The voice you hear is a robotic Text To Speech (TTS) voice. You can make it a little better by adjusting the language setting. One of the ways to do that is, for ex...
by sheridat
Mon Dec 04, 2017 11:49 pm
Forum: AIY Projects
Topic: What is the JP6 connector for
Replies: 1
Views: 344

Re: What is the JP6 connector for

Hi, the JP6 connector thingy allows you to add another DAC (digital-to-analogue-converter) so that if you want to - you can add another speaker and have stereo rather than mono output - only really of interest to those who use the AIY kit to play music. If that is what you wan't to do there are a co...
by sheridat
Mon Dec 04, 2017 11:43 pm
Forum: AIY Projects
Topic: New version of AIY questions
Replies: 5
Views: 1406

Re: New version of AIY questions

Some very quick answers 1, You can do the same but the answer comes later 2, No - no config file any longer 3,The action.py file has gone as well. In the /home/pi/AIY-voice-kit-python/src folder you will find some files with assistant_library and demo in their name. If you look at them they don't re...
by sheridat
Mon Dec 04, 2017 1:41 pm
Forum: AIY Projects
Topic: General question about the AIY kit
Replies: 8
Views: 2979

Re: General question about the AIY kit

Ultimately the AIY kit is really just a button, a microphone and a speaker with the pcb providing a DAC that drives the speaker. None of those components are tied into Google's software. The driver for the DAC is in your /boot/config.txt so you will probably wan't to use that
by sheridat
Sun Dec 03, 2017 11:29 am
Forum: AIY Projects
Topic: Demo App with errors
Replies: 3
Views: 763

Re: Demo App with errors

Hi, Are you absolutely sure there is something in your assistant.json file?

The error your getting can be recreated by providing a file called /home/pi/assistant.json that has nothing in it.
by sheridat
Sat Dec 02, 2017 9:56 am
Forum: AIY Projects
Topic: Latest SD image google voice kit not working
Replies: 38
Views: 12327

Re: Latest SD image google voice kit not working

p7742777 see post 8 https://www.raspberrypi.org/forums/viewtopic.php?f=114&t=197470&p=1235034#p1235034 I downloaded it a couple of weeks ago and checked the hash - it was the same as the original I have Original aiyprojects-2017-05-03.img.xz has values md5 8c37a75866469864cff4b02c41dd2b43 sha1 023f7...
by sheridat
Thu Nov 30, 2017 7:22 pm
Forum: AIY Projects
Topic: Check Cloud strange behavior
Replies: 4
Views: 456

Re: Check Cloud strange behavior

@pendragn32 I just checked out what you said - interesting. I will raise an issue regarding this.
by sheridat
Wed Nov 29, 2017 1:44 pm
Forum: AIY Projects
Topic: voice command
Replies: 5
Views: 926

Re: voice command

The aiy implementation Google Assistant only responds to "Ok Google" and "hey Google"
It usually recognises slight variations of these such as "Ok Googles", "Ok Googley", "Ok Goog"

What you can't do with the AIY software is to get it to respond to something like "jasper" or "alexa"
by sheridat
Wed Nov 29, 2017 12:44 pm
Forum: AIY Projects
Topic: voice command
Replies: 5
Views: 926

Re: voice command

Hi, it looks like your not using the aiy.audio.say() function correctly. The correct way to use it is as per the following the examples aiy.audio.say('hello welcome') or output = 'hello welcome' aiy.audio.say(output) I am assuming that spreken in your error is a string such as 'hello welcome' in whi...
by sheridat
Tue Nov 28, 2017 4:14 pm
Forum: AIY Projects
Topic: Convert AIY voice kit into battery powered megaphone with offline voice command
Replies: 1
Views: 256

Re: Convert AIY voice kit into battery powered megaphone with offline voice command

@haley_mitt

Someone posted this
For 1. refer to this. https://www.raspberrypi-spy.co.uk/2017 ... y-pi-zero/
For 2. You can use CMU Sphinx, which works offline.
For 3. Get a Lithium Ion HAT.
on the issue you raised on the github site
by sheridat
Mon Nov 27, 2017 12:58 pm
Forum: AIY Projects
Topic: Pimoroni AIY kit sale - £21 - SALE NOW OVER
Replies: 0
Views: 156

Pimoroni AIY kit sale - £21 - SALE NOW OVER

Pimoroni have some money off the AIY Voicekit in their sale which ends at midnight today 27/11/17. Down from £25 to £21. See https://shop.pimoroni.com/collections/special-offers/products/google-aiy-voice-kit?utm_source=Shopify&utm_campaign=42b92284bb-EMAIL_CAMPAIGN_2017_11_27&utm_medium=email&utm_te...
by sheridat
Sat Nov 25, 2017 12:01 pm
Forum: AIY Projects
Topic: Change Locale Units (if not language)
Replies: 3
Views: 430

Re: Change Locale Units (if not language)

Perhaps not - It seems that this will get the assistant to give you temperatures in Celsius - you will still get distance in imperial units. See this post https://www.raspberrypi.org/forums/viewtopic.php?f=114&t=186302 You can say to the assistant "how many kilometers is it to xyz" and you will get ...
by sheridat
Sat Nov 25, 2017 10:03 am
Forum: AIY Projects
Topic: How do I git Google assistant to always use metric?
Replies: 4
Views: 4952

Re: How do I git Google assistant to always use metric?

are you driving with an AIY kit in your car??????

You can ask it "how many kilometers to xyz" if km rather than miles is important to you.

I live in the UK so celsius and miles is the correct combination
by sheridat
Thu Nov 23, 2017 6:11 pm
Forum: AIY Projects
Topic: Unable to get the locale encoding
Replies: 2
Views: 1061

Re: Unable to get the locale encoding

My suggestion is you start again using an image whose name is aiyprojects-2017-09-11.img.xz. When you have installed it - test it. If it works - do not follow the instructions in the eric duncan post(*) AND don't upgrade to stretch Instead just do the following 1. Click on Start dev terminal, 2. Typ...

Go to advanced search