Go to advanced search

by sheridat
Fri Dec 29, 2017 1:11 pm
Forum: AIY Projects
Topic: Hardware drivers
Replies: 4
Views: 354

Re: Hardware drivers

Hi, I wonder if your aware that the cloudspeech api is just one of the methods by which you can program this thing?

Have a look at this post viewtopic.php?f=114&t=199470&p=1244558#p1244558
by sheridat
Sat Dec 23, 2017 8:02 pm
Forum: AIY Projects
Topic: Volume low after google assistant installation
Replies: 9
Views: 5504

Re: Volume low after google assistant installation

Cheers - that is the answer
by sheridat
Sat Dec 23, 2017 3:09 pm
Forum: AIY Projects
Topic: Volume low after google assistant installation
Replies: 9
Views: 5504

Re: Volume low after google assistant installation

The google team who look after they AIY software are in the process of implementing a patch to upgrade to the new version of the assistant. https://github.com/google/aiyprojects-raspbian/pull/207 It has yet to be merged I've patched my AIY voicekit with the new files and yep the volume of the assist...
by sheridat
Fri Dec 22, 2017 1:38 pm
Forum: AIY Projects
Topic: Voicekit - Cloudspeech - update
Replies: 7
Views: 1552

Voicekit - Cloudspeech - update

The Voicekit branch cloudspeech demo has suddenly stopped working. Google has fixed it. You need to do the following 1. Start your virtual env - if using the desktop click on Start dev terminal 2. Type git checkout voicekit 3. Type git pull origin voicekit you should get something like this remote: ...
by sheridat
Fri Dec 22, 2017 12:06 pm
Forum: AIY Projects
Topic: how would you send udp packets with voice commands?
Replies: 2
Views: 351

Re: how would you send udp packets with voice commands?

Ummh - I was surprised that subprocess etc didn't work or the variants of it. I got the same result. I used another pi to test that this works Amended a copy of the assistant library with local command demo import socket def test_udp(): UDP_IP = "192.168.0.xxx" UDP_PORT = 2390 MESSAGE = "0.0.0" prin...
by sheridat
Thu Dec 21, 2017 9:45 am
Forum: AIY Projects
Topic: Using AIY voice for email notifications
Replies: 2
Views: 692

Re: Using AIY voice for email notifications

Hi, Perhaps I am missing something - all you need to do to your script is import aiy.audio and then change the two print commands for aiy.audio.say commands from print ('From : ' + email_from + '\n') print ('Subject : ' + email_subject + '\n') to aiy.audio.say('From ' + email_from) aiy.audio.say('Su...
by sheridat
Thu Dec 21, 2017 9:23 am
Forum: AIY Projects
Topic: Trouble getting RPi3 AIY voicekit working
Replies: 2
Views: 450

Re: Trouble getting RPi3 AIY voicekit working

Hi,

I would suspect hardware rather than software. See for example https://github.com/google/aiyprojects-r ... issues/198 which whilst not exactly the same does show that hardware problems can occur with the kit - the microphone has been an issue in the past. Return it if you can.
by sheridat
Thu Dec 14, 2017 4:11 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

there might be a reason why you need to do sudo - so instead just put sudo in front so for example


ssh -lpi 192.168.1.13 sudo /home/pi/k12.py
or
ssh -lpi 192.168.1.13 sudo python /home/pi/k12.py
by sheridat
Thu Dec 14, 2017 2:50 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

type ssh -lpi 192.168.1.13 date do you get back something like this??? ssh -lpi 192.168.0.16 date Thu 14 Dec 14:48:25 UTC 2017 then do ssh -lpi 192.168.1.13 cp k12.py k12copy.py what happens if it seems to work do ssh -lpi 192.168.1.13 ls k12*.* do you get k12copy.py k12.py when you run k12.py do yo...
by sheridat
Thu Dec 14, 2017 2:31 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

I think you amended your post. your now doing ssh pi@192.168.1.13 "python ./k12.py" the reason that works is that your telling bash to use python if you add the shebang to your script (as the very first line) #!/usr/bin/python and make the script executable chmod +x k12,py you will not need to put "...
by sheridat
Thu Dec 14, 2017 2:18 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

All of this: The authenticity of host '192.168.1.13 (192.168.1.13)' can't be established. ECDSA key fingerprint is ed:60:1c:fb:59:1d:83:48:2e:c7..rest of code. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added '192.168.1.13' (ECDSA) to...
by sheridat
Thu Dec 14, 2017 1:55 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

Your not doing anything wrong - my mistake - I've changed the post above (still using example ip address of 192.167.1.2)

Change that to be In a terminal type the following - using the real ip address

ssh -lpi 192.167.1.13 /home/pi/k12.py
by sheridat
Thu Dec 14, 2017 12:55 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

just stay with what you have
by sheridat
Thu Dec 14, 2017 12:37 pm
Forum: AIY Projects
Topic: any examples playing stereo wav files on AIY kit?
Replies: 2
Views: 1210

Re: any examples playing stereo wav files on AIY kit?

Hi, I believe that in general what is important is the size of the file rather than the length I downloaded a few largish ones and they wouldn't play. I found some small ones here http://www.findsounds.com/ISAPI/search.dll?keywords=monkey I downloaded this one http://web.tiscali.it/gherda-wolit/vers...
by sheridat
Thu Dec 14, 2017 10:54 am
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

Ok to sum up the situation 1. You have a pi on which you run the google assistant - we will call that pi A 2. You have another pi to which you have a lot of stuff connected (seen the picture) we will call that B 3. Both Pi's are on the same local network. 4. Your using a web page to control B 5. You...
by sheridat
Wed Dec 13, 2017 9:10 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

I was afraid of that - your using the old version of the software - it has changed dramatically I assume you have a file called action.py I can't test it but something like this should work - the key part of it is the subprocess call to your python file. Try amending action.py like this class Invoke...
by sheridat
Wed Dec 13, 2017 3:16 pm
Forum: AIY Projects
Topic: google home assistant / run phuton script by voice
Replies: 18
Views: 5301

Re: google home assistant / run phuton script by voice

We can help with that but can you advise - do you have a folder called /home/pi/AIY-voice-kit-python/src and if you do is there a file called assistant_library_with_local_commands_demo.py in that folder?
by sheridat
Tue Dec 12, 2017 10:18 pm
Forum: AIY Projects
Topic: Make pi xmas tree work with aiy
Replies: 1
Views: 483

Re: Make pi xmas tree work with aiy

Hi, I use my AIY to run things in my home including other pi's. I use the AIY to start and stop the radio software I have on another py One fairly easy technique is to run a python program on computer B from computer A. It looks scary but isn't See this post that basically explains what you do https...
by sheridat
Tue Dec 12, 2017 1:21 pm
Forum: AIY Projects
Topic: Located in the UK - Are you getting weather info in a British accent?
Replies: 4
Views: 514

Located in the UK - Are you getting weather info in a British accent?

I live in the UK...... In the past if I asked the assistant for weather information - the responses were given in an American accent. For the first time in perhaps a month I asked the assistant "will it rain today" - I fell out of my high chair when the response was given in a British rather than Am...
by sheridat
Mon Dec 11, 2017 4:05 pm
Forum: AIY Projects
Topic: authentication errors with demo files
Replies: 5
Views: 801

Re: authentication errors with demo files

Ahhh I use mine to control stuff - it might be that cloudspeech is good for your particular needs - it's main virtue seems to be that you can tell it to expect certain words/phrases. Enjoy.
by sheridat
Mon Dec 11, 2017 3:20 pm
Forum: AIY Projects
Topic: authentication errors with demo files
Replies: 5
Views: 801

Re: authentication errors with demo files

Great news. Your right about things only working if you run them inside the virtual environment. No-one on the forum has posted anything about running the demos using Thonny or Geany and maintaining a virtual env isn't something I know much about. Have you thought about perhaps installing Thonny ins...
by sheridat
Mon Dec 11, 2017 11:13 am
Forum: AIY Projects
Topic: authentication errors with demo files
Replies: 5
Views: 801

Re: authentication errors with demo files

Hi, It really sounds like your not running these files in the virtual environment. To try and help - can you explain the steps you take to run one of the demo files? The Check Cloud thing is currently broken - hilariously because it isn't running in the virtual environment and therefore can't find t...
by sheridat
Mon Dec 11, 2017 10:58 am
Forum: AIY Projects
Topic: STICKY: Welcome to the AIY Projects forum!
Replies: 42
Views: 40317

Re: STICKY: Welcome to the AIY Projects forum!

Hi, There are 2 ways to go about getting this software: 1. You use the Google image - The google image is basically a full blown copy of the Desktop version of Raspberry Jessie so you would have all the different programming languages, libre office, minecraft and python games etc. In addition it has...
by sheridat
Mon Dec 11, 2017 9:54 am
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 using the desktop? Are you trying to setup VNC using the GUI Raspberry Pi Configuration using the menu system? If that is causing a problem try opening a terminal window and doing

sudo raspi-config

That provides an old style interface and you set VNC enabled using it.

Go to advanced search