Customizable wakeword & timer finished sounds selection in HA for the LVA? , rather than a config.json file edit? #74
Replies: 3 comments 6 replies
-
|
Hey @so8488943-star, let me take a look. |
Beta Was this translation helpful? Give feedback.
-
|
@so8488943-star, I have made the following changes to the thinking_sound branch. Add event sounds, thinking sound, stable device identity, and MQTT sound selection Add thinking_sound config option with looping support (thinking_sound_loop) Stable device identity — Enhancement 1 Persist MAC address to preferences.json on first boot MQTT sound selection — Enhancement 2 Three new select entities: Sound Wakeup, Sound Thinking, Sound Timer Bug fix Disable mpv ytdl_hook to prevent 20-second timeout on HA TTS proxy URLs Files changed: config.py, config.json.example, models.py, main.py, satellite.py, mqtt_controller.py, zeroconf.py, mpv_player.py If you pull these changes, the sounds/ folder will include the needed sub-directories. If you have custom files in the root of your sounds/ folder, you will need to move them to the correct sub-directories to be able to list and select them in HA. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Imonlinux, I also put a polite request in on the OHF LVA project to
merge your work . I think you've left them behind, somewhat in your dust
trail.
Your work is very much appreciated.
I'll probably get some time to integrated your recent enhancements in the
next couple of days, will keep you posted.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Imonlinux,
Any chance we can have this as a drop down selection or point and click to a custom wav/flac/mp3 file (in the HA /media? folder) via the Configuration section for the LVA in HA, rather than an edit of the config.json file?
`
"name": "My Linux Voice Assistant", -- // Optional: Wake word triggered sound (relative to repo root) "wakeup_sound": "sounds/wake_word_triggered.flac", // Optional: Timer finished sound (relative to repo root) "timer_finished_sound": "sounds/timer_finished.flac", `Beta Was this translation helpful? Give feedback.
All reactions