ubergeek10 / My-ESP32-Assistant

7 stars 3 forks source link

VA is always thinking while watching TV #2

Open MStapelfeldt opened 7 months ago

MStapelfeldt commented 7 months ago

Hey, I tested your code and it's a really great solution with the lambda to control the LED. But I'm having trouble with it while watching TV. The voice_assist_thinking_phase_id case is triggered way to often. Could you help me find where you got the IDs from? I would like to make it more individual and less blinking. Thanks in advance!

ubergeek10 commented 7 months ago

When you ask about the IDs, what IDs do you mean? "extra_slow_pulse", "slow_pulse",... or voice_assist_idle_phase_id, voice_assist_listening_phase_id, voice_assist_thinking_phase_id...? I suspect you mean the latter and they are defined at the very top of the file. If you want you can group multiple states together so that they all have the same effect, or just change the set_effect line for a given state to "none" or whatever you want.