Go to advanced search

by sheridat
Mon Nov 20, 2017 10:49 pm
Forum: AIY Projects
Topic: APP: play tracks from youtube !
Replies: 84
Views: 38234

Re: APP: play tracks from youtube !

I can't help with that i'm afraid - I don't use my box to play music - just wanted to help you get that file from google
by sheridat
Mon Nov 20, 2017 10:31 am
Forum: AIY Projects
Topic: APP: play tracks from youtube !
Replies: 84
Views: 38234

Re: APP: play tracks from youtube !

correct there is no longer an action.py. The previous post talks about amending src/assistant_library_with_local_commands_demo.py If that file isn't in your src folder do the following steps which will pull it from google 1. Click on Start dev terminal; 2. Type git checkout voicekit 3. Type git pull...
by sheridat
Mon Nov 20, 2017 10:26 am
Forum: AIY Projects
Topic: Google Now help
Replies: 2
Views: 324

Re: Google Now help

Your right - you need to do a little bit more to make it run automatically without using the start dev terminal window.

The instructions provided by google are here https://aiyprojects.withgoogle.com/voic ... omatically
by sheridat
Sun Nov 19, 2017 9:47 am
Forum: AIY Projects
Topic: Google AIY Voice Kit German Language
Replies: 15
Views: 9723

Re: Google AIY Voice Kit German Language

You can test the TTS software in a terminal as follows

pico2wave --wave sample.wav -l fr-FR "Here is a sample, using the PICO text to speech engine." && aplay sample.wav
by sheridat
Sat Nov 18, 2017 8:20 pm
Forum: AIY Projects
Topic: Google AIY Voice Kit German Language
Replies: 15
Views: 9723

Re: Google AIY Voice Kit German Language

No - The "Assistant" is what deals with things like responding to questions such as what is the time, tell me a joke etc etc. You can't change the voice, language or gender of the assistant on these boxes. There is another voice on the AIY software which is provided by some Text To Speech software (...
by sheridat
Sat Nov 18, 2017 9:22 am
Forum: AIY Projects
Topic: Canceling Alarms and Timers using Google Assistant Library?
Replies: 5
Views: 979

Re: Canceling Alarms and Timers using Google Assistant Library?

How strange: I tried it again as follows: 1. ran src/assistant_library_with_button_demo.py 1.1 said ok google set an alarm for 10 seconds the assistant confirmed and set an alarm which started 10 seconds later. 1.2 After letting it chime for 6o seconds said ok google whats the time - the assistant t...
by sheridat
Fri Nov 17, 2017 2:07 pm
Forum: AIY Projects
Topic: MotionDetector python import ?
Replies: 2
Views: 483

Re: MotionDetector python import ?

I think that code fragment is expecting you to have a motion detection driver that you have written - the voicekit software doesn't have one - you will need to code one to get this to work? See this from the essentials guide "You may design and implement your own triggers. For example, you may have ...
by sheridat
Fri Nov 17, 2017 10:30 am
Forum: AIY Projects
Topic: Disable pulsing LED
Replies: 9
Views: 1872

Re: Disable pulsing LED

Hi, I've had a go at stopping the pulsing led. Amended /home/pi/AIY-voice-kit-python/src/aiy/_drivers/_led.py from elif state == self.BEACON_DARK: self.iterator = itertools.cycle( itertools.chain([0] * 100, range(0, 30, 3), range(30, 0, -3))) self.sleep = 0.05 handled = True to elif state == self.BE...
by sheridat
Fri Nov 17, 2017 9:48 am
Forum: AIY Projects
Topic: Canceling Alarms and Timers using Google Assistant Library?
Replies: 5
Views: 979

Re: Canceling Alarms and Timers using Google Assistant Library?

hi, Not quite sure what your scenario is.

None of the code api's seem to support this.

If you are running the src/assistant_library_with_button_demo.py and a timer or alarm is active just press the button and say "stop" that will cancel the alarm or timer.
by sheridat
Wed Nov 15, 2017 3:57 pm
Forum: AIY Projects
Topic: Google AIY Voice Kit German Language
Replies: 15
Views: 9723

Re: Google AIY Voice Kit German Language

Later. I changed my assistant demo with local commands by adding aiy.i18n.set_language_code('de-DE') just after the import commands I then asked the it to reboot and instead of saying "See you in a bit!" it translated that into German !!!!!!!! Yipppeeee If you don't have a file in your src folder ca...
by sheridat
Wed Nov 15, 2017 3:37 pm
Forum: AIY Projects
Topic: Google AIY Voice Kit German Language
Replies: 15
Views: 9723

Re: Google AIY Voice Kit German Language

Hi, some points: 1. Messing around with /src/aiy/i18n.py only has any effect when you use a local command such as the reboot, shutdown in the assistant with local commands demo. Setting it tells a TTS program to say the words you program with an accent. Later today I will set mine up to check that y...
by sheridat
Wed Nov 15, 2017 12:00 pm
Forum: AIY Projects
Topic: Controlling LED/GPIO pins without the button?
Replies: 5
Views: 1945

Re: Controlling LED/GPIO pins without the button?

Hi, you might want some more assistance with this. See the previous post first at the edit. Following the guide I mentioned in the previous post for wiring up the led, I attached a led to my AIY I then altered the assistant_library_with_local_commands_demo.py as follows 1. Added at the beginning an ...
by sheridat
Wed Nov 15, 2017 10:00 am
Forum: AIY Projects
Topic: AIY Demo and Pi Zero W Help
Replies: 17
Views: 4302

Re: AIY Demo and Pi Zero W Help

@Jinkama- turned out I had the original may image on a usb drive. Just to be cautious I also downloaded the one you pointed me to. I then hashed it and compared a hash of the image I already had. They are identical - so it's pukka (slang for good, solid)
by sheridat
Tue Nov 14, 2017 11:14 pm
Forum: AIY Projects
Topic: Anyone got UK voice working on Assistant API?
Replies: 9
Views: 1086

Re: Anyone got UK voice working on Assistant API?

Raised an issue today on the Assistant SDK site - https://github.com/googlesamples/assistant-sdk-python/issues/128#issuecomment-344353014 The response was "Right now there's no ability to change the locale the Assistant responds with" - we already knew that but I wanted a quote from the horses mouth.
by sheridat
Tue Nov 14, 2017 11:08 pm
Forum: AIY Projects
Topic: Controlling LED/GPIO pins without the button?
Replies: 5
Views: 1945

Re: Controlling LED/GPIO pins without the button?

You need to adapt the "assistant_library_with_local_commands_demo.py" code to mess about with leds and gpio. That file shows you the structure for adding your own code to a demo that can be triggered with ok google rather than by button If you wan't to mess around with the button light you can figur...
by sheridat
Tue Nov 14, 2017 11:06 am
Forum: AIY Projects
Topic: A question about AIY & HTTP 80 port being used
Replies: 4
Views: 519

Re: A question about AIY & HTTP 80 port being used

The instructions topguy refers to are in this file in the github repo https://github.com/google/aiyprojects- ... HACKING.md
by sheridat
Tue Nov 14, 2017 8:59 am
Forum: AIY Projects
Topic: Anyone got UK voice working on Assistant API?
Replies: 9
Views: 1086

Re: Anyone got UK voice working on Assistant API?

@mpember - doesn't setting "aiy.i18n.set_language_code('en-GB')" just change the TTS voice that you hear when you use aiy.audio.say in a local command? I'm in the UK and have the assistant on my phone and tablet and both respond to any answer served up by Google's servers in a "british" rather than ...
by sheridat
Mon Nov 13, 2017 8:28 pm
Forum: AIY Projects
Topic: Controlling LED/GPIO pins without the button?
Replies: 5
Views: 1945

Re: Controlling LED/GPIO pins without the button?

If you do the following steps - the result will be that you will pull from the google repository some additional files - one of those files is called src/assistant_library_with_local_commands_demo.py (which is a modified version of the assistant_library_demo,py) - that has had some local commands ad...
by sheridat
Mon Nov 13, 2017 5:51 pm
Forum: AIY Projects
Topic: AIY Demo and Pi Zero W Help
Replies: 17
Views: 4302

Re: AIY Demo and Pi Zero W Help

That is great news. If you have details of where you downloaded the image from, please post the url.
by sheridat
Mon Nov 13, 2017 2:48 pm
Forum: AIY Projects
Topic: Voice Hat pins
Replies: 1
Views: 257

Re: Voice Hat pins

0.1" (2.54mm)
by sheridat
Sun Nov 12, 2017 7:58 pm
Forum: AIY Projects
Topic: AIY Demo and Pi Zero W Help
Replies: 17
Views: 4302

Re: AIY Demo and Pi Zero W Help

Hi, I replicated your experience and got exactly the same error. I don't have the expertise to diagnose further. There are two versions of the "AIY" software or more correctly two branches: 1. The original branch - which is the master branch and can be found here https://github.com/google/aiyproject...
by sheridat
Sun Nov 12, 2017 2:50 pm
Forum: AIY Projects
Topic: AIY Demo and Pi Zero W Help
Replies: 17
Views: 4302

Re: AIY Demo and Pi Zero W Help

Hi, The old version of the software certainly did work with the W. You couldn't use the later version of the Assistant SDK because it requires an Arm V7 processor so the install.deps script didn't install the latest version. I burnt an SD card using the new image - but I gave up after a couple of ho...
by sheridat
Sun Nov 12, 2017 12:07 pm
Forum: AIY Projects
Topic: Precise Servo Control with AIY
Replies: 1
Views: 522

Re: Precise Servo Control with AIY

Not my area but google reveals angular control? perhaps using a different class from gpiozero - see http://gpiozero.readthedocs.io/en/stable/api_output.html section 12.7 AngularServo that extends Servo Also saw this http://www.toptechboy.com/raspberry-pi/raspberry-pi-lesson-28-controlling-a-servo-on...

Go to advanced search