Skip to main content

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

Metadata

Release files for ovos-phal-plugin-aiy-v2 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-phal-plugin-aiy-v2 0.1.0
File Size Uploaded
ovos-phal-plugin-aiy-v2-0.1.0.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-phal-plugin-aiy-v2 0.1.0
File Interpreter ABI Platform
ovos_phal_plugin_aiy_v2-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / ovos-phal-plugin-aiy-v2-0.1.0.tar.gz

Download URL ovos-phal-plugin-aiy-v2-0.1.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c35029fcc2a79e43e8a65e9565c9393000daa61aca31a0842c7f6ff5562253c0
BLAKE2b-256 checksum
How to use checksums
d91dad249648d9326d31e81cdbb81e07d0204298535931c7ed8a721e1b306bd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / ovos_phal_plugin_aiy_v2-0.1.0-py3-none-any.whl

Download URL ovos_phal_plugin_aiy_v2-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e75a49f6202b8df2cc4796f58ca603a4e968b42ab5b4d2704d59b0d911ad63c
BLAKE2b-256 checksum
How to use checksums
d259a26df83ec6a5ff1ffa671ec24a4ce90dafb9a20eba2b49f81300c363a82f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page