UchihaYuki
(Uchiha Yuki)
October 4, 2023, 4:27am
1
This file has been updated several hours ago:
It seems we can use wake word now.
But when I try to understand this file, it seems it uses some new options of voice_assistant which are not document already. For example:
noise_suppression_level: 2
auto_gain: 31dBFS
volume_multiplier: 2.0
vad_threshold: 3
This is the old doc:
https://esphome.io/components/voice_assistant.html?highlight=voice+assistant
Where can I find the descriptions of these new options?
2 Likes
UchihaYuki
(Uchiha Yuki)
October 4, 2023, 5:51am
3
It seems I can have a test of it before October 13th through external_components. I have compiled and flashed it to M5Stack Atom Echo. But I havenât found the wake word to wake it up.
Following are the pull requests corresponding to the wake word in external_components:
esphome:dev
â esphome:jesserockz-2023-255
opened 08:01PM - 10 Aug 23 UTC
# What does this implement/fix?
- Adds support for wake word pipeline in ⌠HA
- Adds support for using vad and ringbuffer from esp-adf
Related PRs:
- https://github.com/esphome/aioesphomeapi/pull/556
- home-assistant/core#100894
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Related issue or feature (if applicable):** fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#3152
## Test Environment
- [ ] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
## Example entry for `config.yaml`:
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR. Furthermore, for new integrations, it gives an impression of how
the configuration would look like.
Note: Remove this section if this PR does not have an example entry.
-->
```yaml
# Example config.yaml
```
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
esphome:dev
â esphome:jesserockz-2023-284
opened 08:03PM - 10 Aug 23 UTC
# What does this implement/fix?
This imports esp-adf as an esp-idf compon⌠ent allowing auto configuration of the speaker and microphone drivers for specific boards (ESP32-S3-BOX is the only supported board in ESPHome for now)
Requires #5322
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Related issue or feature (if applicable):** fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Test Environment
- [ ] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
## Example entry for `config.yaml`:
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR. Furthermore, for new integrations, it gives an impression of how
the configuration would look like.
Note: Remove this section if this PR does not have an example entry.
-->
```yaml
# Example config.yaml
```
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
Do you have any clue?
UchihaYuki
(Uchiha Yuki)
October 4, 2023, 6:13am
4
Do I need to update my HA somehow to test this new setup, I kept getting errors even when I turned off use_wake_word template button.
nickrout
(Nick Rout)
October 4, 2023, 9:03am
5
It doesnât seem to be documented yet, indeed it may not even be finished.
j_d
(JD)
October 6, 2023, 6:34am
6
I tried to find some information on the wake word detection. There is a new docker image for a wake word addon: Docker
It might be necessary to add this to HA, so that your wake can be detected. This means esphome is streaming all your audio to the addon until this detects a wake word.
I found another hint about possible wake words in GitHub - rhasspy/wyoming-openwakeword: Wyoming protocol server for openWakeWord wake word detection system
docker run -it -p 10400:10400 rhasspy/wyoming-openwakeword \
--model 'ok_nabu' \
--model 'hey_jarvis' \
--model 'hey_rhasspy' \
--model 'hey_mycroft' \
--model 'alexa' \
--preload-model 'ok_nabu'
I think this is the list of pre-trained wake words.
Sangoku
(Sinisa Culic)
October 6, 2023, 6:43am
7
Noice! canât wait to dich my Alexa⌠on second thought⌠i will gut it and sing song while doing it!
j_d
(JD)
October 6, 2023, 6:52am
8
I dug a little bit more into the dev branch of HA and noticed that the wake word detection is already available:
The Wake-word-detection entity was introduced in Home Assistant 2023.9, and itâs used by 0 active installations.
I think I missed something
I hope I can find some free time on the weekend to have a deeper look into it
Lakini
October 6, 2023, 7:02am
9
Wow, now that would be an interesting situation, with esphome devices across the apartment, and one in every room constantly streaming audio to the âmothershipâ for wakeword detection. But letâs see what the announcement brings, maybe there is more to this. Curious anyway
1 Like
tom_l
October 6, 2023, 7:04am
10
Geez you folks are impatient. All will be revealed in a week.
7 Likes
Lakini
October 6, 2023, 7:51am
11
You canât have a tech-driven product like HA without a community that is highly motivated by âsolving riddles and problemsâ and people who eat curiosity for breakfast
7 Likes
But itâs right theeere!
Itâs working awesome with my atom echo and âhey nabuâ using openWakeWord! Sweet!
1 Like
Lakini
October 9, 2023, 9:21am
14
Well, finally ordered the echo now afterall
amrut
October 10, 2023, 10:51pm
15
How did you get this option?
I configured openwakeword and also set in the assist pipeline. But I donât see this option in the entity
pcwii
(Pcwii)
October 10, 2023, 11:36pm
16
I think you will need to wait 43 hours or so.
2 Likes
tom_l
October 12, 2023, 2:18pm
18
0 sleeps, 4 hours to goâŚ
3 Likes
pcwii
(Pcwii)
October 12, 2023, 8:19pm
19
Year of the Voice Chapter 4 was very impressive. Going to need to play with my Atom M5 now and create my own wake word.
Kinvaras
(Bruno Silva)
October 13, 2023, 10:09am
20
Iâm a bit confused with this, using the atom echo we need to plug it directly to our home assistant machine right?
Is there any wireless solution?