A plugin to handle Google AIY Voice Kit V2 button and LED
Project description
PHAL plugin - Google AIY Voice Kit V2
A plugin to handle the button and LED from the famous Google AIY Voice Kit V2
About
This PHAL plugin interacts with the button and the LED connected to AIY Voice Bonnet.
- When a wake word is detected the LED turns on and when the audio output is over the LED turns off.
- When the button is pressed, the default behaviour is to make the assistant listen and turn on the LED.
It also possible to configure the plugin to only turn the LED on and off during the listening (not the audio output).
Installation
pip install ovos-phal-plugin-aiy-v2
Configuration
The plugin configuration file is ~/.config/OpenVoiceOS/ovos-phal-plugin-aiy-v2.json
.
Option | Value | Description |
---|---|---|
color |
green |
Define the color of the LED |
wakeword_only |
false |
Turn on the LED only during the wakeword detection |
pulse |
true |
Make the LED pulse |
button_event |
mycroft.mic.listen |
Which event to send to message bus when the button is pressed |
Example
Configuration sample of ~/.config/OpenVoiceOS/ovos-phal-plugin-aiy-v2.json
.
{
"color": "green",
"wakeword_only": false,
"pulse": true,
"button_event": "mycroft.mic.listen"
}
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ovos-phal-plugin-aiy-v2-0.1.1a1.tar.gz
.
File metadata
- Download URL: ovos-phal-plugin-aiy-v2-0.1.1a1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f9461548aca5093d7483aaaef6d772bae1043a7f3a578029f383daa2c266d6c |
|
MD5 | 1612dca1fd65ff249190fd81026a736c |
|
BLAKE2b-256 | 981e513d765d1e24fa30cf25b335db5ac04bdad6bcec1f0b95b98af35fd6bb1c |
File details
Details for the file ovos_phal_plugin_aiy_v2-0.1.1a1-py3-none-any.whl
.
File metadata
- Download URL: ovos_phal_plugin_aiy_v2-0.1.1a1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c8717ba0a8f6059fc107766c63538c0c290b1c6a8d10289ca8968123481114 |
|
MD5 | bd03b6697297d3c140d7813623a98ff7 |
|
BLAKE2b-256 | a3d17ab11733ed95890e2a4612fba6a602ac426d2a68dd774dbff975016118f7 |