Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Configuring LED signals? #15

Closed
gleonard3 opened this issue May 8, 2017 · 8 comments
Closed

Configuring LED signals? #15

gleonard3 opened this issue May 8, 2017 · 8 comments
Labels

Comments

@gleonard3
Copy link

What is the syntax for modifying the configuration file in ~/voice-recognizer-raspi/config/status-led.ini.default?? I need to turn off the "device ready" blinking, before my wife stabs me.

@drigz
Copy link
Member

drigz commented May 9, 2017

Does ensonic's answer on #2 help?

@drigz drigz added the question label May 10, 2017
@gleonard3
Copy link
Author

gleonard3 commented May 11, 2017 via email

@drigz
Copy link
Member

drigz commented May 11, 2017

Glad you've responded - I was terrified you'd fallen victim to mariticide. Have fun with the kit!

@drigz drigz closed this as completed May 11, 2017
@LegoChicken
Copy link

I've tried modify the latest version of led.py to change "ready":
https://github.com/google/aiyprojects-raspbian/blob/master/src/led.py#L50
"ready": aiy.common.LED.LED_BEACON_DARK,
to
"ready": aiy.common.LED.LED_OFF
I then restarted the service:
sudo service voice-recognizer restart
(note: from memory so may not have got exact syntax right)
It seemed to make no difference. Any ideas what is wrong? I would really like to stop it pulsing when just sitting there.

@drigz
Copy link
Member

drigz commented Jul 12, 2017

You need to restart the LED service:

sudo service status-led restart

@LegoChicken
Copy link

Oh, I'll give that a try at home. Are there any other services associated with the project. I'll create a short script in to restart all of them.

@LegoChicken
Copy link

I can see the list in:
https://github.com/google/aiyprojects-raspbian/tree/master/systemd
Would be useful to install a script (e.g. /usr/bin) that restarts everything, so those changing the code can experiment easily. I'll raise another issue for this.

@addamm1
Copy link

addamm1 commented Dec 31, 2017

Just found something in /AIY-voice-kit-python/src/aiy/_drivers. If you go into _status_ui.py, you can change what the actions do. I changed the ready one to "aiy.voicehat.LED.OFF" because i didn't like the led blinking all the time. Someone else probably found this, but just wanted to share. If you want, you can just change them all to off to do what you want.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants