firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Wake Word and PTT - Best of both worlds

Open timmo001 opened this issue 2 years ago • 2 comments

Is there a way to be able to use the push to talk whilst wake word is enabled? I've been experimenting but couldnt find a way other than disabling wake word and turning it back on after a 30 seconds or so

      - if:
          condition:
            switch.is_off: use_wake_word
          then:
            - if:
                condition: voice_assistant.is_running
                then:
                  - voice_assistant.stop:
                  - delay: 1s
                  - script.execute: reset_led
                  - script.wait: reset_led
            - voice_assistant.start:
          else:
            - voice_assistant.stop:
            - switch.turn_off: use_wake_word
            - delay: 1s
            - voice_assistant.start:
            - delay: 30s
            - switch.turn_on: use_wake_word

timmo001 avatar Oct 21 '23 17:10 timmo001

Desperately need this, and most importantly, the ability to toggle a sensor to have the microphone listen.

Eg. Press a button on my living room zigbee controller, so the atom echo that's 5ft away starts listening.

rwjack avatar Dec 01 '23 13:12 rwjack

I'm devising a similar thing with a template button its not how I like it though. would be good if there was a nicer way to override the wake word without a script like the above

timmo001 avatar Dec 01 '23 14:12 timmo001