Turn an ESP8266 WemosD1Mini into an audio notifier for Home Assistant: Play MP3, TTS & RTTL

How do we get this to be part of esphome? Also can I use it as a mic as well?

Asking the real question here :slight_smile:

1 Like

Please, some guidance on the saving of the wifi password? I cannot get it so save at all…

Wow! Enough from the haters! If you don’t like watching 10 minute YouTube videos, then don’t. Some people here may not be as advanced as you are and find some value in it. This is a great idea complete with documentation and a video. Thanks Onada.

9 Likes

I really need to know how to save the wifi consistently!

I really LOVE this! I have barking dos when on holiday and the door opens :slight_smile:

image

Just to be clear, I liked nick’s post for linking the source and I thought the 5 minute video was well paced and edited to be succinct without the revenue padding I was explaining to Wibbly.

I’m certainly going to give this a try to replace my Chromecast Audio so as to have one less big-data collecting device (I’ll have none actually, if this works for me).

1 Like

@MrDIY This looks great, I’m certainly interested in the Google Mini conversion you are doing.

If you are able to utilise the microphones from the Google Mini then maybe it could be used with something like rhasspy (with rhasspy running remotely obviously) as a mic/speaker so that you have a fully offline smart speaker…

1 Like

By the way, I uploaded a new bin file that uses MQTT topics as shown in the video, with the leading “/”.

Since I can’t fix the video, I did the change in the bin file.

It is difficult to help without seeing the logs.

I tried it on 3 different D1 minis and they all worked fine. There could be an issue with yourEEPROM, maybe try another d1 mini?

Yes, at ESP8266Audio, Earle did a great job squeezing an MP3 decoder out the tiny ESP8266.

That is an intersting idea. I thought about utilizing the LED opening on the google mini for visual notifications and maybe the touch sensor as button intpus… but the mic didn’t click in. I will keep that in mind. Thanks.

How to share logs?

And this brings me to another question…

I I would have like 10 of these D1 minis with your bin?

How would I be able to send to the correct one?

Tried another one…

but not saving… what i do:

  1. tasmotizer it with your firmware
  2. connect to the ssid by phone
  3. fill all fields and (also your password (mrdiy.ca)
  4. it tells me to disconnect wifi (I do).
  5. I can see the device, ping it and it works.
  6. I pull the power, wait, replug an then it is not connected to my wifi but sending out the MrDIY Notifier ssid again…
    And then I can start at 3.

I have also tried multiple D1’s now, same behaviour.

Maybe… what are the fields for:

I tried both:
Access point name and password:
MrDIY Notifier - mrdiy.ca

WiFi name and password
my ssid and password

both not working… (saving)

EDIT: it is very reproducable on both mini’s

Can you go to the local IP address of the device and share a screenshot? I want to see what info is/not being saved.

Great project, I’m gonna give this a go.

1 Like

Edit: this is where it is still connected to my own wifi

Did you tried to turn off cellular data when connecting to D1? I used to have strange problems with my esp devices with cellular data on.

Thank you for your tip. that is not an issue since routing is gone well to the device (hence it is connected to my wifi).

Nevertheless I tried, same behaviour. - not working as well…

Extra info: After I thus configure via mobile and i önnect to my own wifi, I get this “plump” sound and then it works. On the mobile I get this:

BUT to avoid misunderstanding: it is never saved to the device.

EDIT: tried the latest bin…

also not working. I noticed that the mqtt topic changed there in deed with a “/”