-
Notifications
You must be signed in to change notification settings - Fork 183
Implement push-to-talk functionality #5
Description
Now that wyoming-satellite gives you more control over the satellite (similarly to esphome satellites), it would be very useful (and relatively easy to implement) to add "push-to-talk" functionality to it. I can imagine countless applications of starting a pipeline either by a physical button, or by various automations.
We could have a button or service on the HA that starts a pipeline directly at the STT stage, skiping wake word completely.
-
When the satellite is disabled (and ideally idle, see also Stop recording/streaming when disabled #4), the button/service could be used to manually run a single pipeline. The server could send
RunSatellitewith an argument to instruct the satellite to go directly to STT (a send back a correspondingRunPipeline(start_stage=STT)to the server). -
When the satellite is enabled, it still makes sense to use the button/service, to skip wake word and go straight to STT. Since there might be an active pipeline at this point, we should stop it and start a new one (or maybe completely stop the satellite and restart it the same way as (1) above).
I might give it a try at some point, but I'd like to hear @synesthesiam 's thoughts on this.