Build a voice assistant for Home Assistant with a $15 Speaker

Поділитися
Вставка
  • Опубліковано 16 лют 2024
  • In this video I show how to build a voice assistant speaker for Home Assistant with a $15 Wal Mart speaker
    Everything Smart Home Video ‪@EverythingSmartHome‬ :
    • Building a Local Smart...
    The code I used:
    github.com/rich33584/voice_as...
    Person I got the code from:
    github.com/ubergeek10/My-ESP3...
    Speaker Assembly:
    www.walmart.com/ip/onn-Small-...
    Dev Board:
    www.amazon.com/gp/product/B09...
    Amp:
    www.amazon.com/gp/product/B0B...
    Microphone:
    www.amazon.com/gp/product/B09...
    LED's-3.2ft 144led
    www.amazon.com/gp/product/B09...
  • Спорт

КОМЕНТАРІ • 33

  • @MyHeap
    @MyHeap 3 місяці тому +2

    Great hack. I may just give this one a go, but will need to order the amp and BT speaker first. Thanks for sharing!
    Joe

  • @dkickelbick
    @dkickelbick 4 місяці тому +1

    Thank you very much for showing.

  • @albastien4990
    @albastien4990 3 місяці тому +6

    Great overview but: Can you post the wiring diagram. Which pins from mic and speaker to the ESP32. And the ESP is a standard WROMM32, no S3 or anything?

  • @jacquesdupontd
    @jacquesdupontd Місяць тому

    Wonderful. Exactly what i was looking for. Now i hope i'm gonna managed to build this. I first have to find a similar Bluetooth speaker here in France. Thx for the video

  • @MatthewN8OHU
    @MatthewN8OHU 4 місяці тому +3

    That looks interesting. I may do a few of these and put my Raspberry Pi Zero 2 Ws running the Wyoming Satellite software (plus Snapcast Client) inside a couple of the Onn powered PC speakers.

    • @danieljansen1987
      @danieljansen1987 4 місяці тому

      Even better, make a video. Would love to see how you do that and if it works good.

    • @MatthewN8OHU
      @MatthewN8OHU 4 місяці тому

      @@danieljansen1987 I plan on doing that once I clean up my work area and get few more things done to make the demonstration work to my satisfaction.

    • @MatthewN8OHU
      @MatthewN8OHU 4 місяці тому

      ​@@danieljansen1987I plan to at some point. I just need to do a few things first.

  • @umloginqualquer
    @umloginqualquer 4 місяці тому +1

    Is the far field mic enough? I've seen on some other builds they use a combination of far field and near field mic, I'm not sure how much does that improve the performance, precision or reliability of the voice recognition. Also, what are you using for your HA server?

    • @Rich33527
      @Rich33527  4 місяці тому

      The mic works OK. Its really sensitive to background noise. I am using a bare metal I7 Machine with 16gb RAM.

  • @lucaswong7412
    @lucaswong7412 Місяць тому

    Thank you for your sharing. may i know your home assistant backend hardware info? Pi5 or another hardware. I found that your device response time very fast 😮 nice work.

    • @Rich33527
      @Rich33527  Місяць тому +1

      Bare metal machine with an I7 processor and 16gb RAM.

  • @StuartEdick
    @StuartEdick 3 місяці тому

    Thanks. Appreciate the "why" explanations, too.

  • @manfredzimmer1199
    @manfredzimmer1199 4 місяці тому

    Good Job 👍 but i miss the ‚Micro Wake Word‘ or the on-device wake word. The Esp32-S3-Box is sould out evrywhare.

    • @Cabinlab
      @Cabinlab 3 місяці тому +1

      You could get MicroWakeWord functionality with a build like this. Swap in something like a Lolin S3 board with 8mb PSRAM

  • @BenvanBroekhuijsen
    @BenvanBroekhuijsen 4 місяці тому

    That's a nice mod, a shame there is no Wallmart in Europe :D

  • @mumbles1justin
    @mumbles1justin 4 місяці тому

    Was there a reason why you didn’t wire directly to the aux port on the speaker to keep the full function of the speaker, amp, and controls?

    • @Rich33527
      @Rich33527  4 місяці тому +2

      The board that controls the volume and such wont operate without the battery installed. The battery needs to be removed to make room inside. Im sure its possible to get it to work, I just didnt want to spend the time on it.

  • @dturco6057
    @dturco6057 4 місяці тому +1

    Just starting out with Home Assistant and ESP32s; would this speaker also work for media output? There would be more automation steps in HA; but after proper configurations, I could also say: "nabu, play spotify playlist ABC;" and would it play from the speaker, or does this turn the speaker into only a Voice assistant box?

    • @Rich33527
      @Rich33527  4 місяці тому +2

      This particular config does not have a media player component.

    • @dylan_00
      @dylan_00 4 місяці тому

      This is exactly what I want out of a smart speaker (for Home Assistant). I believe the best way to do this is with a Pi Zero 2 W running the Wyoming Satellite alongside the Snapcast software so it can do both.

    • @Rich33527
      @Rich33527  4 місяці тому

      @00 Thats actually my next move. I have components for 7 Wyoming Satellites coming. 3 are going to be used in these.

    • @dylan_00
      @dylan_00 4 місяці тому

      Sweet! Honestly I would probably be willing to just buy these pre-made, any interest in selling ready-made units? @@Rich33527

  • @slimkheli5449
    @slimkheli5449 3 місяці тому

    Very Nice, but how do you connect it to Home Assistant ?

    • @Rich33527
      @Rich33527  3 місяці тому

      That question is answered in the Everything Smart Home video I liked in the description.

  • @truongngoc6901
    @truongngoc6901 22 дні тому

    how to ask about the weather,

  • @MATTSCOTTR
    @MATTSCOTTR 4 місяці тому +1

    Could you apply this to an Alexa speaker or Google speaker?

    • @Rich33527
      @Rich33527  4 місяці тому +3

      Im sure you could. I dont know if you can make room for the components inside. Ive not pulled one apart to see. It just seems like a higher monetary risk using one of those though.

    • @TheHellis
      @TheHellis 4 місяці тому +1

      There is a custom PCB you can order to replace the Nest 2 and make it local.

    • @MatthewN8OHU
      @MatthewN8OHU 4 місяці тому

      @@TheHellis You're talking about the Onju Voice board, if I'm not mistaken. If someone had four or five of the Google Home Mini units, that would be a worthwhile investment because you can't seem to buy in smaller quantities unless you set up a group buy for it. Im not aware as of yet of a counterpart for the Amazon Alexa, although I suppose the basic design might be similar enough to work.

  • @shannonbreaux8442
    @shannonbreaux8442 Місяць тому

    Does the buttons still work?

    • @Rich33527
      @Rich33527  Місяць тому

      No. You remove the board with the buttons.

  • @fjrevoredo
    @fjrevoredo 26 днів тому

    damn