I have three different assist devices. A Wyoming satellite, a voice assist using esp32, and an Atom Echo using microwakeword. So far the echo is by far the most consistant, quickest and most accurate of the three. A caveat of this though is that I send responses to a different speaker or else it would be useless.
One thing I would like to add is a sound when the wake word is heard. Right now with it being so small and across the room I cant usually see the lights to see if it heard me. Can someone point me to directions on how to do this?
#Add wake up sound to Atom Echo
1 messages · Page 1 of 1 (latest)
i do it like this using MWW https://github.com/tetele/onju-voice-satellite/blob/8d6d750cc4f359eee407f8d0b2f62b2c3cfb940f/esphome/onju-voice-microwakeword.yaml#L214
However, the URL of the file should be local, IP based and using HTTP (as opposed to HTTPS) for best results
Thanks. I added the line but am having trouble getting the correct path. The mp3 is in the media folder. I tried
http://media/chime1.mps and http://local/media/chime1.mp3 but it does not validate. If the file is in the media folder what would be the correct path?
Where's your IP?
Do you mean the IP of my HA instance?
Yes, your host that you have sound on. URL should contain schema (http://), host (IP address, as mentioned by @granite acorn , works best, because doesn't waste time on DNS), and path (local/media/chime1.mp3). I don;'t see host in your URLs.
OK I put in this:
http://192.168.1.92/local/media/chime1.mp3
Still doesnt validate.
I get this:
Expected a file scheme or a URL scheme with host.
media_player.play_media: ${http://192.168.1.92/local/media/chime1.mp3}
You forgot port
192.168.1.92:8123
you can try pasting URL into browser to see, if it's accessing your file
For this to work you need your file to be located in config/www/media
the ${var_name} part was used for substitutions. you can drop it if you're not using substitution variables and just go with media_player.play_media: http://192.168.1.92:8123/local/media/chime1.mp3
or uploaded using the media browser, to make it easier
Or that. I don't like it (i love to have control) 🙂 But it'll work
Oh crap, i didn't notice that it's used as var name
Still getting the same error. Here is the line in the file;
micro_wake_word:
on_wake_word_detected:
- voice_assistant.start:
wake_word: !lambda return wake_word;
- media_player.play_media: "media_player.play_media: http://192.168.1.92:8123/local/media/chime1.mp3"
Here is the path to the mp3:
config/www/media/chime1.mp3