Repository navigation
v2.0.0
What's Changed
Breaking Changes 🛠
- Wake word directory layout with internal, downloaded and custom by @florian-asche in #591
More info for breaking changes here: https://github.com/OHF-Voice/linux-voice-assistant/blob/main/breaking_change.md
Exciting New Features 🎉
- [3/8] Control a Sendspin player through its control socket and duck its PulseAudio stream by @florian-asche in #638
- Expose the detection score and slot in the wake_word_detected event by @florian-asche in #504
- Add 32-bit ARM (armv7) support by @mzramna in #344
- Dual audio channel enhancement (sent to HA) by @omaramin-2000 in #515
- Add ESPHome API encryption by @miguelangel-nubla in #488
- Gate idle stop-word inference behind active_wake_words by @Joldiges in #526
- Pause wake word detection during a pipeline and extract it into its own module by @florian-asche in #573
- Save the preferences file on the first start by @florian-asche in #577
- Add a hint to the incorrect preamble log on the ESPHome API port by @florian-asche in #581
- Duck the music for media player announcements instead of pausing it by @florian-asche in #602
- Offer wake words to Home Assistant by their plain phrase by @florian-asche in #644
- Add --wake-model-2 to select the second default wake word by @florian-asche in #575
- Add option to disable mDNS discovery by @florian-asche in #585
- Version the peripheral API and add version 2 by @florian-asche in #614
- Add option to pause the music instead of lowering it while ducking by @florian-asche in #603
Other Changes
- Change the default Sendspin control directory to /run/sendspin-cli by @florian-asche in #653
- Bump docker/login-action from 4.7.0 to 4.8.0 by @dependabot[bot] in #507
- Fix the default image of fix-permissions in docker-compose.dev.yml by @florian-asche in #517
- Document who ends audio streaming to Home Assistant by @florian-asche in #520
- Do not log the API encryption key when its file is created by @miguelangel-nubla in #518
- Remove the build cache from the image build workflows by @florian-asche in #524
- Extend Dependabot to Docker, Compose and example peripherals by @florian-asche in #529
- Limit Dependabot to the repository root by @florian-asche in #547
- Bump pymicro-wakeword from 2.4.1 to 2.5.0 by @dependabot[bot] in #536
- Bump docker/login-action from 4.7.0 to 4.8.0 by @dependabot[bot] in #525
- Build the armv7 Docker image in a separate job by @florian-asche in #555
- Document MUSIC_OUTPUT_DEVICE in .env.example and debugging guide by @florian-asche in #571
- Add code structure guidance for new logic to CLAUDE.md by @florian-asche in #572
- Ignore the local .claude folder by @florian-asche in #574
- Keep the stored Mic Volume unless --mic-volume is given by @florian-asche in #579
- Add a communication and process overview document by @florian-asche in #580
- Document PipeWire clock rate, pipewire group and WirePlumber setup by @florian-asche in #582
- Convert bundled FLAC sounds to 44.1 kHz by @florian-asche in #583
- Revert "Show the Mute switch under Controls in Home Assistant (#587)" by @florian-asche in #588
- Document how the wake word is named towards Home Assistant by @florian-asche in #593
- Collect breaking change migration notes in breaking_change.md by @florian-asche in #594
- Document where the default of a CLI option belongs by @florian-asche in #596
- Keep the music ducked until every reason for ducking is over by @florian-asche in #598
- Name the mpv players in the log and log the effective volume by @florian-asche in #597
- Route peripheral volume and media commands through the media player entity by @florian-asche in #599
- Add a bug report issue template by @florian-asche in #610
- Ignore commands for other entities silently in the media player entity by @florian-asche in #609
- Forbid AI agents from ticking the tested-locally checkbox by @florian-asche in #605
- Forbid AI agents from committing or pushing directly to main by @florian-asche in #612
- Fix the link to the license file in the README by @florian-asche in #613
- Add end-to-end tests with virtual audio and a fake Home Assistant by @florian-asche in #607
- Rename the Unit Tests workflow to Unit-Tests by @florian-asche in #615
- Wait 30 s for LVA in the end-to-end tests and show failures readably in the summary by @florian-asche in #616
- Cancel a running nightly build when a newer push to main arrives by @florian-asche in #617
- Raise the LVA start timeout in the end-to-end tests to 3 minutes by @florian-asche in #618
- Recover the Home Assistant connection after a Wi-Fi drop or an address change by @florian-asche in #604
- Add a remote mute for peripherals by @miguelangel-nubla in #489
- Save the mute state in the preferences and restore it at startup by @florian-asche in #622
- Call the remote unmute feature in the README a software mute by @florian-asche in #623
- List more existing features in the README feature list by @florian-asche in #627
- Cancel the running PR image build when a new commit arrives by @florian-asche in #629
- Rework the README installation section and restructure the documentation by @florian-asche in #628
- Bump aioesphomeapi from 45.3.1 to 46.30.1 by @dependabot[bot] in #570
- Update actions/upload-artifact to v7 to run on Node.js 24 by @florian-asche in #634
- Run the end-to-end tests on pull_request instead of pull_request_target by @florian-asche in #633
- Update documentation for aioesphomeapi 46.30.1 by @florian-asche in #635
- Keep an own timer list that follows the Home Assistant timer_list by @omaramin-2000 in #417
- Download wake words from Home Assistant without blocking LVA by @florian-asche in #643
- Remove container_name from the Compose files by @florian-asche in #647
- Stop the Fontconfig cache errors in the Docker log by @florian-asche in #648
- Log end-to-end test changes in the PR template by @florian-asche in #645
- Stop loading .env into the VS Code terminal and document the Compose files by @florian-asche in #658
- Send audio settings when starting a voice pipeline so Home Assistant does not mute the audio by @florian-asche in #656
- Add a Docker Compose smoke test to the pull request pipeline by @florian-asche in #663
- Add VS Code tasks to stop and start the Docker dev setup by @florian-asche in #661
- Merge the duplicate bug entry and add an issue template for finished features by @florian-asche in #668
- Explain the ESPHome option needed for the timer list request by @florian-asche in #659
- Finish short sounds when their audio has been played out by @florian-asche in #654
- Say what a spoken reply is in the stop word section by @florian-asche in #673
- Stop playing silence around every sound in the mpv players by @florian-asche in #660
- Test ducking a Sendspin player in pulse mode end to end by @florian-asche in #678
- Add end-to-end scenarios for spoken replies, announcements and continued conversation by @florian-asche in #679
- Take missing wake word sensitivities from the model files and replace them when the wake word changes by @florian-asche in #683
- Keep the docker-compose.yml of 1.1.18 working and check the Compose version at start by @florian-asche in #684
New Contributors
Full Changelog: v1.1.18...v2.0.0
Breaking change migration
#591 Wake word directory layout with internal, downloaded and custom
Wake words are now read from wakewords/internal, wakewords/downloaded and wakewords/custom, each with a microwakeword and an openwakeword folder. WAKE_WORD_DIR (--wake-word-dir) and DOWNLOAD_DIR (--download-dir) are replaced by WAKE_WORD_ROOT_DIR (--wake-word-root-dir). WAKE_WORD_DIR and the command line options are ignored with a warning in the log, DOWNLOAD_DIR is ignored without one, and LVA starts with the bundled wake words. Move your own wake words to custom/microwakeword or custom/openwakeword (in Docker the volume wakeword_custom). In your own compose file, replace the volume wakeword_data (/app/local) with wakeword_downloaded:/app/wakewords/downloaded. Wake words that Home Assistant sent before are downloaded again. In Home Assistant the wake words have new names such as Internal - MWW - Hey Jarvis. Home Assistant remembers the text of its wake word selects itself, so a select may show "No wake word" or an old name although LVA has the wake word active. Choose the wake word again in each select. If a select keeps showing the old name, set it to "No wake word" once and then choose the wake word.
All migration notes: breaking_change.md