LOCAL VOICE CONTROL of Home Assistant with the M5Stack Atom Echo

Ғылым және технология

Another in a series of videos on local voice control for Home Assistant. Ths time I use the M5Stack Atom Echo. Configuration and demo.
Links:
Blog: www.mostlychris.com/more-voic...
Atom Echo Github: github.com/esphome/media-play...
I2S Audio Component: esphome.io/components/i2s_aud...
ESPHome: esphome.io/
Support this channel by becoming a member:
/ @mostlychris
Discord: / discord
If you would like to support me:
Buy me a beverage: ko-fi.com/mostlychris
Become a patron: / mostlychris
Products I reference in my videos (contains affiliate links)
www.mostlychris.com/my-smart-...
My Website: www.mostlychris.com
DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.
Want to send me something? Send it here!
Mostlychris
24165 IH-10 West
STE 217 Box 164
San Antonio, TX 78257
#HomeAssistant
#HomeAutomation
#SmartHome
#yearofthevoice
00:00 Intro
00:45 M5Stack Atom Echo Specs
02:44 What You Need
04:30 Add the Echo to ESPHome
05:40 Add Configuration Code
11:12 Validate and Install
12:48 Troubleshooting an issue
14:00 Logs and testing
15:33 Final thoughts and wrap

Пікірлер: 67

  • @Markyboy767
    @Markyboy767 Жыл бұрын

    Love that you did this video. Been wanting to dabble with this device. I wish it was more smart speaker like and we didn’t need to press a button. I’d love to have a wake word so I don’t have to be right next to it.

  • @Teleport73
    @Teleport7311 ай бұрын

    Very interesting. I'll be ordering one. My idea is to perhaps use it for 2-way communication, in conjunction with a camera and Zigbee button, as an out of the cloud video doorbell.

  • @mikesmods317
    @mikesmods317 Жыл бұрын

    As always awesome video Chris thank you.

  • @LeiChat
    @LeiChat Жыл бұрын

    Thanks for sharing this tutorial. Would be cool to use an Atom Echo as both a HA Bluetooth Proxy and local HA voice control device.

  • @JaneTaubman
    @JaneTaubman Жыл бұрын

    BTW The latest update for the Echo has improved things as you only need to click the button not hold it, which means the microphone does not tend to be blocked by your fingers. Also to make the device portable you can get a M5 TailBat which is a rechargeable battery, which also makes it much easier to hold.

  • @asek2

    @asek2

    Жыл бұрын

    Does not work for me, need to hold the button down

  • @JaneTaubman

    @JaneTaubman

    Жыл бұрын

    @@asek2 you probably have an older version of the script make sure you have used esphome with the included option, when upgrading.

  • @nytram76

    @nytram76

    Жыл бұрын

    What script are you using please? I can't get mine working as such when I press the button but EspHome on latest version 👍

  • @jaygeorge9393

    @jaygeorge9393

    Жыл бұрын

    Tailbat, genius, I didn’t know this was a thing. I got an atom set it up then never used it because I didn’t want it wired up. Perfect

  • @darknessblades

    @darknessblades

    11 ай бұрын

    Personally I would prefer them to release the speaker module as a standalone module, this way you can add a external MIC and speakerset.

  • @Roedy_Coedy
    @Roedy_Coedy Жыл бұрын

    It would be cool if you could go through creating one of these from scratch (using a I2S Dac, cheapy speaker from something, I2S mic, any old button and a RGB LED on an esp32). I imagine it would be louder, would hear your clearer and would get around the fact people are raiding that device as and when it's coming into stock, I imagine it would be a similar sort of price? Potentially a little more... It will also teach people more about ESPhome if this (or other videos) has got their interest - and there aren't many (up to date) ESPhome/HomeAssistant videos really so could do well for the channel...

  • @jmr
    @jmr Жыл бұрын

    I bet you could make this portable if you optimized it with functions like sleep. An ESP can do very well on battery power if it's set up right. Andreas Spiess has some great videos on making ESP work efficiently. I want to use an off the shelf voice remote with Home Assistant. I'm trying to figure out all ins and outs of that but it may be complicated.

  • @mostlychris

    @mostlychris

    Жыл бұрын

    Agreed. It would be nice if it was portable. I've tried a few things with ESP devices and batteries but haven't had great success.

  • @jmr

    @jmr

    Жыл бұрын

    @@mostlychris Have you seen OMOTE - DIY Universal Remote? I think that project could potentially add a voice assist. It's ESP and MQTT.

  • @johnbrisbin3626
    @johnbrisbin362611 ай бұрын

    For some reason this video is in max 480p which makes it really hard to read the prompts and other text. Obviously, the second one installed will not have the overhead of the basic configuration, but will the text config setup be as tedious as it appears for each subsequent device? Other than the entityID, what changes for the additional device installs? The atom-echo-3.yaml file looks like it should 'just work' for the second instance as soon as it works for the first. Is this correct?

  • @jackfruit123
    @jackfruit12310 ай бұрын

    great info, thank you ! I have a problem. I have an esphome switch that turn on light based on sunset and sunrise. The problem is, if the hass automation run while switch is disconnected, the switch wont change state even after it is reconnected to hass. My idea is to add sunrise and sunset state check on script and call it every time the switch connect to hass in addition to existing automation. Is there on_connect event in esphome or somewhere else that can trigger script execution in hass?

  • @sej84
    @sej849 ай бұрын

    Great video, and great device. Sorry if the question was already asked but "what is the average and optimal distance for a correct speech recognition?". Rgds

  • @rickz6006
    @rickz60067 ай бұрын

    Thanks for the video, going through the motions now and I ran into a question about the encryption_key, you put in your secrets, can all esp devices use this sam key or should it be named in a way that ties it to the device it belongs to? Thanks.

  • @elmonte7834
    @elmonte7834 Жыл бұрын

    When home assistant adds support for wake words, can this device be configured to monitor for the wake words instead pressing the button?

  • @juliafinarovsky5357

    @juliafinarovsky5357

    Жыл бұрын

    bump on this question

  • @charliedgabriel
    @charliedgabriel Жыл бұрын

    could you add a linke where to buy? thanks

  • @elmonte7834
    @elmonte7834 Жыл бұрын

    U had device near your face when u spoke. How accurate will it be if it’s farther away?

  • @normswan5806
    @normswan58065 ай бұрын

    It's avaliable on Mouser. Lots of M5stack stuff. A $6 temp humidity pressure sensor. Able to flash for home assistant?

  • @ArsStarhawk
    @ArsStarhawk Жыл бұрын

    Sorry if I missed it in your video, but does one need to set up these "commands" in HA first? For example, your "Turn on Guest Lamp" command, is that just automatically parsed by HA? Or do you have to have all these commands predetermined inside HA somewhere?

  • @mostlychris

    @mostlychris

    Жыл бұрын

    This is using the assist pipeline. In the video card (top of screen at the beginning of this one) there is a video in which I use the phone and I talk through some of the assist stuff. It will parse basic commands and can be used in multiple languages.

  • @jimpeterson2593
    @jimpeterson25939 ай бұрын

    any way to adjust the volume?

  • @FrankAhrens-hm1sy
    @FrankAhrens-hm1sy5 ай бұрын

    Hello, I have integrated two "M5Stack Atom Echo" in my HomeAssistant via ESPHome. My HomeAssistant runs Wyoming protocol with Whisper, Piper and OpenWakeWord. It works very well. Unfortunately, it is not possible to use both AtomEcho in parallel. Commands are only ever accepted by one of the devices. I can switch the active device if I select the device in the ESPHome integration (under Devices and Services) and then start the "Reload" function via the "three-dot menu". Then it changes the device. What do I have to do so that both devices are active and usable in two different rooms at the same time? Both devices are always connected to the same HomeAssistant instance Frank

  • @DeKiesel
    @DeKiesel11 ай бұрын

    So this works only if you press the button? No wake word?

  • @michaelmenzie2806
    @michaelmenzie2806 Жыл бұрын

    i purchased 2 of these and i find them to be super slow to respond and recognizes what i say to it maybe 30% of the time I find them to be pretty useless

  • @AlanTuringWannabe

    @AlanTuringWannabe

    Жыл бұрын

    For me I hate having to push a button to give a command.

  • @michaelmenzie2806

    @michaelmenzie2806

    Жыл бұрын

    @@AlanTuringWannabe I do as well

  • @JonathanYankovich

    @JonathanYankovich

    8 ай бұрын

    If you’re on raspberry pi, you may want to switch to x86 or add a GPU or Google Coral to accelerate detection. The issue with having to push a button is fixed with Wake Words.

  • @michaelmenzie2806

    @michaelmenzie2806

    8 ай бұрын

    @@JonathanYankovich I am not in a pi. I use a VM that has plenty of horsepower

  • @NoSoloHacking

    @NoSoloHacking

    6 ай бұрын

    @@michaelmenzie2806 I use a VM too, and with the wake up word, it takes about 1 minute to process the order. I bought 3 and I regret it big time. EXTREMELY slow. NOT Worth it.

  • @nytram76
    @nytram76 Жыл бұрын

    My esphome doesn't allow spaces in name and doesn't offer an encryption key. It also says the indentations are incorrect and what has stopped me getting this device working since I bought it 😢 Any advice as esphome is the same addon as you. Things like friendly_name is an invalid option for esphome. Thanks

  • @TomRBeck
    @TomRBeck6 ай бұрын

    Is it possible to make a tutorial to output the sound not on the Atom Echo, but on a specific media player (which is integrated in HA)?

  • @TGC1775
    @TGC1775 Жыл бұрын

    Neat, but a more “echo” like device would be great. Maybe a 3D printed desk mount would work for this?

  • @mostlychris

    @mostlychris

    Жыл бұрын

    That would be cool

  • @MyNomis1
    @MyNomis16 ай бұрын

    Hello great video thanks for it , do you know how or if i can make a switch in esphome yaml so i will get a switch on my home as. dashboard so i don?t have to call it all the time when i`m working on it ?

  • @mostlychris

    @mostlychris

    6 ай бұрын

    Not exactly sure what you are asking but there is an assist button on dashboards that you can click on. It will bring up a dialog screen.

  • @MyNomis1

    @MyNomis1

    6 ай бұрын

    @@mostlychris i mean a switch that i can activate on my dashboard that will do the same as calling the "ok nabu" so it`s starts listning ,i`m stiitng by my selt and felling a litle stupid shouting "ok nabu" 30 times, just to see if some thing i just exposes work , i know i can`t write ,but my spelling is bad ,as you can see.

  • @stmohir
    @stmohir9 ай бұрын

    Thank you for this video, I am getting an error in the log file when pressing the bottom: [E][voice_assistant:441]: No API client connected Please help

  • @Johnyshmit
    @Johnyshmit7 ай бұрын

    So previously I only had to touch the button to control my lights, now I have to touch it and speak to it for the same result

  • @asek2
    @asek2 Жыл бұрын

    Got this semi working after many tries. During evry speech input i get "[E][voice_assistant:231]: Error: speech-timeout - No speech detected" in the logs, but then it can still "semi" detect what I sayd? Also I get no response thru the Atom Echo device speaker "Light turned on" as I was expected, Ideas? Still every command take about 5 tries before working, so not usable yet :(

  • @dping2856

    @dping2856

    11 ай бұрын

    Same. I get that error every time even though it is detecting speech just not very accurately. Have to try about 4 to 5 times to get it to understand the word office. I also hear nothing from the device it self.

  • @WINGNUT307
    @WINGNUT30710 ай бұрын

    My first experience with ESPHome. All went well as per the video but when I press the button the log shows an error - [W][voice_assistant:134]: Could not request start. Help appreciated. Edit: Looked at your blog page and found that after flashing the Echo successfully I needed to Configure the "new device"; this is not mentioned in the video! Done that OK now. I now get the following error whenever I speak to it:- [23:30:40][E][voice_assistant:231]: Error: stt-no-text-recognized - No text recognized.

  • @JohnMacGuy
    @JohnMacGuy6 ай бұрын

    Great tutorial! Sadly (as many others have experienced), When I try to use it on my PC, I get the error that I must have HTTPS for it to work. I can get it to work on my phone, presumably using HTTPS. Has any one found a simple way to get HTTPS to work with HA locally, no subscriptions? The M5 needs this to work in the house.

  • @normswan5806

    @normswan5806

    5 ай бұрын

    I think SpaceRex showed some free ways. It was for Synology but didn't look unique to that platform

  • @mvrck-pb5pk
    @mvrck-pb5pk11 ай бұрын

    Please adjust video quality to 1080p, your screencap texts are unreadable. Cheers

  • @TechySpeaking
    @TechySpeaking11 ай бұрын

    first

  • @jakobholzner
    @jakobholzner9 ай бұрын

    followed the tutorial but sadly doesn't work anymore

  • @Fireheadman
    @Fireheadman Жыл бұрын

    should increase your quality.... all very grainy on video

  • @manuelmatus2959
    @manuelmatus2959 Жыл бұрын

    So, I have received my Atom device today. I added the device to my ESPHOME without any issues. When uploading the code, it uploads and it becomes available on HA and online on ESPHOME. When I press the button and hold it, I give it a voice command but it does not work. On the ESPHOME log, I see the following message: [18:31:48][D][binary_sensor:036]: 'Button': Sending state ON [18:31:48][D][voice_assistant:132]: Requesting start... [18:31:48][D][voice_assistant:111]: Starting... [18:31:50][D][binary_sensor:036]: 'Button': Sending state OFF [18:31:50][D][voice_assistant:144]: Signaling stop... The lights do not turn blue nor green (as seen in the video). I can reproduce a TTS from HA directly from the ATOM Media Player, but that's about all. Any ideas?

  • @JohnJoeMorganTheNorthernOffice

    @JohnJoeMorganTheNorthernOffice

    Жыл бұрын

    Similar here ... can't get it working. Tried to 2 straight days. Best I get is a solid blue on press and then a time out. I have to press the device a second time to get rid of the blue LED. [11:36:23][D][light:036]: 'Atom Echo' Setting: [11:36:23][D][light:047]: State: ON [11:36:23][D][light:051]: Brightness: 50% [11:36:23][D][light:059]: Red: 0%, Green: 0%, Blue: 100% [11:36:23][D][voice_assistant:132]: Requesting start... [11:36:24][D][voice_assistant:111]: Starting... [11:36:24][D][light:036]: 'Atom Echo' Setting: [11:36:24][D][light:051]: Brightness: 50% [11:36:24][D][light:059]: Red: 0%, Green: 0%, Blue: 100% [11:36:54][E][voice_assistant:231]: Error: speech-timeout - Timed out waiting for speech [11:36:54][D][voice_assistant:144]: Signaling stop... [11:36:54][D][light:036]: 'Atom Echo' Setting: [11:36:54][D][light:051]: Brightness: 100% [11:36:54][D][light:059]: Red: 100%, Green: 0%, Blue: 0% [11:36:55][D][light:036]: 'Atom Echo' Setting: [11:36:55][D][light:047]: State: OFF

  • @bsem68
    @bsem68 Жыл бұрын

    Thanks for going through the setup in detail. I purchased a few of these a month or two ago and got hooked up to HA. I find that the voice recognition is not very good though. All the other videos and "propaganda" I have seen around this seems to be made in such a way so it appears to work much better than it actually does. They have a long way to go on better voice recognition, and even further to go before we have an always listening device that works as good like google, alexa, or siri! But you have to start somewhere so it may happen... however one of their (home assistant) recent videos, they pretty much try to say it is better to carry around a watch or phone that is with you all the time and press a button rather than always listening, which tells me they know that this is a difficult thing to do!

  • @saltwell
    @saltwell Жыл бұрын

    I wasted a huge amount of time trying to get this gadget to install and eventually put it in the bin. I must have tried to install at least 15 times, saw a raft of different errors and ended up with " invalid encryption key" - a problem the developers say is fixed. I don't blame the hardware but the software seems to have huge issues.

  • @nytram76

    @nytram76

    Жыл бұрын

    What version was your EspHome? I was same and found to be on an old version and it never told me. Found a link and it installed EspHome at the side of my older EspHome (both were in add-ons), so something went a miss at some point but I'm all working all ok now and removed my old version

  • @saltwell

    @saltwell

    Жыл бұрын

    @@nytram76 I don't know. I've removed ESPHome and hope I never need it again! I've never seen so many cryptic errors from a software installation.

  • @rolandtemmerman1100
    @rolandtemmerman110010 ай бұрын

    I replicated this and my housemates gleefully laughed at me for the sake of this most useless thing in the house, as they all have smartphones that allow them to control everything that concerns them. This is at least five years behind in home automation development.

  • @boyesjeffrey

    @boyesjeffrey

    8 ай бұрын

    Sounds like you need new roommates.

  • @bigmak40
    @bigmak40 Жыл бұрын

    Most ESPs are micro USB, not mini USB as stated several times.

  • @MagivaIT
    @MagivaIT11 ай бұрын

    so you just demoed that its rubbish ? i dont understand the point of the video. how does "just set it up properly" help anyone ? how did you resolve it ? why didnt it detect what you said ? what did you do to resolve it ?

  • @gumby2241
    @gumby2241 Жыл бұрын

    480p? seriously.

  • @pavolholes

    @pavolholes

    Жыл бұрын

    I was amazed by that too… 😖

  • @d_sellers1

    @d_sellers1

    Жыл бұрын

    I'm assuming KZread messed up when he uploaded the video. His last video is 1080p60. YT probably didn't do all the conversions.

  • @RolandG-y3w
    @RolandG-y3w11 ай бұрын

    so a voice control device that you need to push first... why?! Wouldnt it be easier to push the switch?! I don t get the purpose of this device at all, the essence of voice control is that you wouldnt have to go to a switch!

Келесі