Use ESP Web Tools in the Home Assistant ESPHome add-on to flash an ESP32 and ESP8266 directly from your web browser. I also show how to program the ESP32 with a Xiaomi LYWSD03MMC code block from esphome.io to measure temperature and humidity. #esphome #espwebtools

LINKS:
– ESPHome: https://esphome.io/
– LYWSD03MMC Video: https://youtu.be/l5ea7lQWpMk
– ESP Web Tools: https://esphome.github.io/esp-web-tools/

Discord: https://discord.gg/XmFqucu

If you would like to support me:
Buy me a beverage: https://ko-fi.com/mostlychris
Become a patron: https://www.patreon.com/mostlychris

My home automation gear (may contain affiliate links):
https://kit.co/mcyoutube/home-assistant-gear

My video creation and productivity gear (may contain affiliate links):
https://kit.co/mcyoutube/live-stream-and-productivity

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.

00:00 Intro
00:25 Program an ESP32
03:49 Program an ESP8266
06:38 ESP Device discussion
07:28 Xiamoi LYWSD03MMC Sensor
08:33 Add sensor code in ESP32
11:02 Install (update) code on ESP32
12:38 View ESP32 logs
13:42 View entities in Home Assistant
14:29 Wrap up

, https://i.ytimg.com/vi/mj-24SZLQKk/hqdefault.jpg

source

14 Comments

  1. Hey Everyone. I'm getting a lot of questions about SSL because this process requires that you connect via SSL to use all the features. You need to install DuckDNS or Let's Encrypt. The DuckDNS add-on includes Let's Encrypt now so I'd go with that one. Apologizes that I didn't make that clear in the video.

  2. Hey Chris, I really enjoy your videos, they are very informative. I'm having an issue I hope you can help me with. I can seem to get Windows to recognize any of my ESP32 or ESP8266 project boards. I have 1 x Espressif ESP32-DevKitC V4, 5 x ESP-WROOM-32, 3 x ESP8266MON D1 mini, plus several USB programming tools and none of them will connect. I have tried using 4 different computers, 2 laptops and 2 workstations, running either Windows 10 20H2 or Windows 7, with the most recent version of Silicon Labs CP210x driver and several different USB micro cables. I have used several of these boards in the past, without any problems, until now.

    Can you offer any suggestions as to what the problem might be? I can understand 1 or 2 dead boards, but not all of them and the same with the cables. Thanks

  3. Why is this being touted as something new my interface for ESPhome is on my browser and I have been loading firmware (installing) for some time now. Please what am I missing in the new round of updates?

  4. im having an issue in the latest release. I cannot complete initial flash over COM due to my Hass not running local https "limited functionality because youre not browsing the dashboard over a secure connection". I noted in your video you also are not using https yet it somehow works for you?

  5. I would like to use this with an ESP32-CAM which control a fan and a few LEDs.
    A smartphone connects to The ESP32-CAM as a wi-fi access point. A web server is implemented on the ESP32-CAM. Its web page allows turning the fans and LEDs on and off.
    It also display the camera feed and some measurements such as battery state and temperature.
    I don't know if this could be used for my project.

  6. Excellent tutorial. If only I could sort out the SSL thingy.
    I use http for local access and https/duckdns/nginx for remote access.

  7. Did you delete the part when you drop the sensor?? Hihihi… only in live video. Thanks for your video.

  8. for me it takes me to Home assistant Integration page and ask for a Host Ip. which I don't know

  9. How are you doing this? I see your URL to your home assistant shows as "Not secure" which I am assuming means your server is not SSL. but when I try it I get this and cannot run the Web tools. "Limited functionality because you're not browsing the dashboard over a secure connection (HTTPS)."

Leave a Reply

Your email address will not be published. Required fields are marked *