home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.14k stars 607 forks source link

Ability to use Google voice typing instead of speech to text service when making assist requests #4279

Open S0ulf3re opened 3 months ago

S0ulf3re commented 3 months ago

Is your feature request related to a problem? Please describe. I'm starting to grow a bit frustrated with the accuracy of faster-whisper, and the general UX around the home assistant assist microphone button.

Describe the solution you'd like I would personally like to just bring up Google voice typing automatically instead when I pull up the assistant, and send the input once I'm finished.

Describe alternatives you've considered, if any I just made another voice assistant for My Wear OS smartwatch within the home assistant settings that is essentially the same as the default. But does not have a speech to text service set. This setup works flawlessly to what I want because it brings up the wear OS keyboard in microphone mode, and I would love to have the same thing, but now on regular android.

Additional context

patienttruth commented 2 months ago

I have Google Keyboard with the internet blocked optionally (GrapheneOS), however you can download the offline speech recognition component prior to blocking. I think it would work just fine for what you're looking to do. Hit the keyboard icon when you pull up the assist window.

Screenshot_20240416-190737

Screenshot_20240416-190454