Hey all, I currently have Faster-Whisper set up on my local PC via Docker for use with my Home Assistant VPE, which works fairly well. Besides just using Faster-Whisper exclusively for my VPE pipeline however, I would also like to use it in parallel for my other project which transcribes my voice into text.
Therefore, would it be possible to setup a webhook automation that accomplishes this (by receiving voice input and generating text output via HTTP)? I've stumbled across this github issue thread (https://github.com/rhasspy/wyoming-piper/issues/9) on Wyoming-Piper that shows that it is possible to setup such a webhook for Piper, but I'm not sure if there's an equivalent solution for Faster-Whisper. Any advice or suggestions are greatly appreciated, thanks in advance.
(solution for piper below, hoping there is a similar webhook possible for whisper)
description: ""
trigger:
- platform: webhook
allowed_methods:
- POST
- PUT
local_only: true
webhook_id: speak
condition: []
action:
- service: tts.speak
target:
entity_id: tts.piper
data:
cache: true
media_player_entity_id: media_player.snapcast_tts
message: |
{{ trigger.json.text }}
mode: queued