Commit graph

20 commits

Author SHA1 Message Date
Michael Hansen
d73cc1eecd
Use wake word description if available (#101079) 2023-09-28 15:30:43 -05:00
Michael Hansen
af8367a8c6
Send Wyoming Detect message during wake word detection (#100968)
* Send Detect message with desired wake word

* Add tests

* Fix test
2023-09-26 19:24:02 -05:00
Erik Montnemery
734c4e8e32
Rename WakeWord.ww_id to WakeWord.id (#100903)
* Rename WakeWord.ww_id to WakeWord.wake_word_id

* Revert unrelated changes

* Rename to id

* Correct rebase
2023-09-26 19:12:16 +02:00
Paulus Schoutsen
23b239ba77
Allow passing a wake word ID to detect wake word (#100832)
* Allow passing a wake word ID to detect wake word

* Do not inject default wake words in wake_word integration
2023-09-25 15:33:54 +02:00
Michael Hansen
07884026c6
Detect wake word services in hassio discovery (#98827) 2023-08-22 11:31:09 -04:00
Marc Mueller
8b0fdd6fd2
Use asyncio.timeout [s-z] (#98452) 2023-08-15 14:34:18 +02:00
Michael Hansen
7ea2998b55
Add wake word integration (#96380)
* 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
Michael Hansen
8ad37d7640
Send language to Wyoming STT (#97344) 2023-08-01 10:05:01 +02:00
Michael Hansen
8cccfcc946
Bump wyoming to 1.1 (#96778) 2023-07-17 15:58:05 -05:00
Michael Hansen
afdded58ee
Wyoming Piper 1.1 (#96490)
* Add voice/speaker options to Piper TTS

* Use description if available

* Fix tests

* Clean up if
2023-07-14 08:56:27 -04:00
Michael Hansen
5c3ec8774d
Fix async_timeout deprecation warning (#94594)
* Fix async_timeout deprecation warning

* Combine async with
2023-06-14 14:26:24 -05:00
c0ffeeca7
c3a3ddcfa4
Standardize spelling of TTS and STT (#93857)
* Standardize spelling of TTS and STT

* Apply suggestions from code review

* Update homeassistant/components/tts/media_source.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-05-31 11:00:19 -04:00
Erik Montnemery
30d9d7d905
Minor adjustment of tts typing (#93450) 2023-05-24 21:02:55 +02:00
Franck Nijhof
ac21f69ad0
Add add-on discovery URL and title to Wyoming integration (#92129) 2023-04-27 19:51:26 +02:00
Franck Nijhof
565b26e884
Fix tts add-on discovery for Wyoming (#92064) 2023-04-26 08:04:46 -05:00
Erik Montnemery
64cbc91697
Use addon uuid as wyoming config entry unique id (#92008) 2023-04-25 21:04:11 +02:00
Paulus Schoutsen
c8c8e4dede
Remove duplicate name from Wyoming TTS entity (#91930) 2023-04-23 20:13:32 -05:00
Michael Hansen
b6f2b29a99
Wyoming tts (#91712)
* Add tts entity

* Add tts entity and tests

* Re-add name to TextToSpeechEntity

* Fix linting

* Fix ruff linting

* Support voice attr (unused)

* Remove async_get_text_to_speech_entity

* Move name property to Wyoming TTS entity

* Fix id

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-23 13:06:56 -05:00
Franck Nijhof
fd3aa5338c
Add Supervisor add-on discovery to Wyoming integration (#91761) 2023-04-20 20:38:39 +02:00
Michael Hansen
85d57a046c
Add wyoming integration with stt (#91579)
* Add wyoming integration with stt/tts

* Forward config entry setup

* Use SpeechToTextEntity

* Add strings to config flow

* Move connection into config flow

* Add tests

* On load/unload used platforms

* Tweaks

* Add unload test

* Fix stt

* Add missing file

* Add test for no services

* Improve coverage

* Finish test coverage

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-19 06:10:59 -04:00