Commit graph

12 commits

Author SHA1 Message Date
Michael Hansen
054a63c3a2
Add option to save Assist pipeline audio ()
* Add pipeline option to save wake/stt audio to media

* Add debug_recording_dir to assist_pipeline YAML config

* Clean up and additional tests

* Remove I/O in event loop

* Organize saved audio by pipeline name and device id

* Record wake/stt debug audio in separate thread

* Fix after rebase

* Use timestamp instead of pipeline id for directory name

* Add WAV write error test

* Join thread in executor
2023-08-29 23:07:27 -04:00
Michael Hansen
7ea2998b55
Add wake word integration ()
* Add wake component

* Add wake support to Wyoming

* Add helper function to assist_pipeline (not complete)

* Rename wake to wake_word

* Fix platform

* Use send_event and clean up

* Merge wake word into pipeline

* Add wake option to async_pipeline_from_audio_stream

* Add start/end stages to async_pipeline_from_audio_stream

* Add wake timeout

* Remove layer in wake_output

* Use VAD for wake word timeout

* Include audio metadata in wake-start

* Remove unnecessary websocket command

* wake -> wake_word

* Incorporate feedback

* Clean up wake_word tests

* Add wyoming wake word tests

* Add pipeline wake word test

* Add last processed state

* Fix tests

* Add tests for wake word

* More tests for the codebot
2023-08-07 22:22:16 -04:00
Paulus Schoutsen
65b62d877d
Keep track what devices support Assist features () 2023-06-03 08:26:28 -05:00
Erik Montnemery
30d9d7d905
Minor adjustment of tts typing () 2023-05-24 21:02:55 +02:00
Erik Montnemery
68379dd55a
Improve TTS cache dir mocking () 2023-05-24 21:00:35 +02:00
Erik Montnemery
f8f7de5d5a
Remove homeassistant from conversation dependencies ()
* Remove homeassistant from conversation dependencies

* Fix tests
2023-04-28 18:17:48 +02:00
Erik Montnemery
b601fb17d3
Create a default assist pipeline on start ()
* Create a default assist pipeline on start

* Minor adjustments

* Address review comments

* Remove tts.async_get_agent

* Fix bugs, improve test coverage
2023-04-24 14:00:52 -04:00
Paulus Schoutsen
a203149133
Allow entity names for STT entities ()
* Allow entity names for STT entities

* Fix tests
2023-04-23 23:06:34 -04:00
Martin Hjelmare
1a18dc7425
Add tts entity ()
* Add tts entity

* Allow passing engine id to url view

* Update async_resolve_engine

* Add and update more tests

* Fix assist pipeline tests temporarily

* Move fixtures

* Update notify platform

* Complete legacy tests

* Update media source tests

* Update async_get_text_to_speech_languages

* Address comment

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-20 22:55:46 -04:00
Erik Montnemery
a98be9dc84
Test specifying pipeline in calls to async_pipeline_from_audio_stream () 2023-04-20 09:01:31 -04:00
Paulus Schoutsen
bd22e0bd43
Allow picking a pipeline for voip devices ()
* Allow picking a pipeline for voip device

* Add tests

* Fix test

* Adjust on new pipeline data
2023-04-17 12:09:11 -05:00
Erik Montnemery
4e80154ebe
Rename voice_assistant to assist_pipeline ()
* Rename voice_assistant to assist_pipeline

* Fix tests

* Fix voip test

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-04-13 17:25:38 -04:00
Renamed from tests/components/voice_assistant/conftest.py (Browse further)