# PHAL plugin - Wakeword LED
A light _(LED)_ indicator when Open Voice OS is listening and/or speaking.
[![Video](https://img.youtube.com/vi/u3cftkais9s/maxresdefault.jpg)](https://www.youtube.com/watch?v=u3cftkais9s)
## About
This PHAL plugin interacts with a LED connected to a GPIO to let you know if Open Voice OS is listening. When a wake word is detected the LED turns on and when the audio output is over the LED turns off.
It also possible to configure the plugin to only turn the LED on and off during the listening _(not the audio output)_.
## Installation
```shell
pip install ovos-phal-plugin-ww-led
```
## Configuration
The plugin configuration file is `~/.config/OpenVoiceOS/ovos-phal-plugin-ww-led.json`.
| Option | Value | Description |
| --------------- | ------- | -------------------------------------------------- |
| `gpio_pin` | `N/A` | GPIO PIN where the LED is connected |
| `wakeword_only` | `false` | Turn on the LED only during the wakeword detection |
| `pulse` | `true` | Make the LED pulse |
### Example
Configuration sample of `~/.config/OpenVoiceOS/ovos-phal-plugin-ww-led.json`.
```json
{
"gpio_pin": 25,
"wakeword_only": false,
"pulse": true
}
```
## Credits
- [Smart'Gic](https://smartgic.io/)
Raw data
{
"_id": null,
"home_page": "https://github.com/smartgic/ovos-phal-plugin-ww-led",
"name": "ovos-phal-plugin-ww-led",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Ga\u00ebtan Trellu (goldyfruit)",
"author_email": "gaetan.trellu@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ef/d9/1fac5da28ec3bf07bb2ac2b99ab81628085a23b0039c9d8cf60c9b7e7ce3/ovos-phal-plugin-ww-led-1.0.0.tar.gz",
"platform": null,
"description": "# PHAL plugin - Wakeword LED\n\nA light _(LED)_ indicator when Open Voice OS is listening and/or speaking.\n\n[![Video](https://img.youtube.com/vi/u3cftkais9s/maxresdefault.jpg)](https://www.youtube.com/watch?v=u3cftkais9s)\n\n## About\n\nThis PHAL plugin interacts with a LED connected to a GPIO to let you know if Open Voice OS is listening. When a wake word is detected the LED turns on and when the audio output is over the LED turns off.\n\nIt also possible to configure the plugin to only turn the LED on and off during the listening _(not the audio output)_.\n\n## Installation\n\n```shell\npip install ovos-phal-plugin-ww-led\n```\n\n## Configuration\n\nThe plugin configuration file is `~/.config/OpenVoiceOS/ovos-phal-plugin-ww-led.json`.\n\n| Option | Value | Description |\n| --------------- | ------- | -------------------------------------------------- |\n| `gpio_pin` | `N/A` | GPIO PIN where the LED is connected |\n| `wakeword_only` | `false` | Turn on the LED only during the wakeword detection |\n| `pulse` | `true` | Make the LED pulse |\n\n### Example\n\nConfiguration sample of `~/.config/OpenVoiceOS/ovos-phal-plugin-ww-led.json`.\n\n```json\n{\n \"gpio_pin\": 25,\n \"wakeword_only\": false,\n \"pulse\": true\n}\n```\n\n## Credits\n\n- [Smart'Gic](https://smartgic.io/)\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A plugin to turn a LED on when a wakeword is detected",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/smartgic/ovos-phal-plugin-ww-led"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c5c22f3a2077112d0ff80311b03b89746d859809586aa10a2c5b834ebc1d9871",
"md5": "a245a08450814f3219fe3f660a75cfaf",
"sha256": "cd278e6a5925640ae08aade314516ff25387bfa51ca60fe68d028d0eb9f420f1"
},
"downloads": -1,
"filename": "ovos_phal_plugin_ww_led-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a245a08450814f3219fe3f660a75cfaf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8296,
"upload_time": "2024-01-24T21:33:17",
"upload_time_iso_8601": "2024-01-24T21:33:17.488164Z",
"url": "https://files.pythonhosted.org/packages/c5/c2/2f3a2077112d0ff80311b03b89746d859809586aa10a2c5b834ebc1d9871/ovos_phal_plugin_ww_led-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "efd91fac5da28ec3bf07bb2ac2b99ab81628085a23b0039c9d8cf60c9b7e7ce3",
"md5": "adc6ebbc36bb4d2c93a12b9323b1d3b1",
"sha256": "33b253af5e9693d0e7af3bea369aca2cde0575bbb7a08693abc6389e765e550f"
},
"downloads": -1,
"filename": "ovos-phal-plugin-ww-led-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "adc6ebbc36bb4d2c93a12b9323b1d3b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7993,
"upload_time": "2024-01-24T21:33:19",
"upload_time_iso_8601": "2024-01-24T21:33:19.057665Z",
"url": "https://files.pythonhosted.org/packages/ef/d9/1fac5da28ec3bf07bb2ac2b99ab81628085a23b0039c9d8cf60c9b7e7ce3/ovos-phal-plugin-ww-led-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-24 21:33:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "smartgic",
"github_project": "ovos-phal-plugin-ww-led",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "json_database",
"specs": []
},
{
"name": "ovos-bus-client",
"specs": []
},
{
"name": "ovos-plugin-manager",
"specs": []
},
{
"name": "RPi.GPIO",
"specs": []
}
],
"lcname": "ovos-phal-plugin-ww-led"
}