Hi have set up a voice assist with esphome.
I use the wakeword so the pipeline is running continuosly.
I would like to add a LED light that stays on when the pipeline is actually running and therefore the microphone is actually listening for the wakeword, and turns off if the pipeline isn’t running.
Sometimes (very rarely to be honest) the pipeline hangs/freezes, and the microphone stops listening for the wakeword, but:
- I cannot use the “on_error” trigger, because no error is thrown in the logs
- I cannot use “on_listening” and “on_idle” triggers, because (for some obscure reasons) they still evalute to true
- I cannot use the condition “voice_assistant.is_running” because it evaluate to true too
Basically the system seems to think that the pipeline is still running, but in reality is not.
I wonder if this has happen to some of you too. How could I solve?