This is what mine looks like, see line 10: In the wifi section of the file you just opened, add the following: domain.Unless you're running your own router and/or DNS server, you can skip steps 5-6 and proceed to step 7. Open the following file in HASS: /config/esphome/espName.yaml
This step will depend on how you modify your HASS configuration I use the VS Code plugin.
The access password is the password which will be used by ESPHome to flash updates over the air to the ESP and authenticate with the ESPHome API on the ESP. WiFi and Over-The-Air Updates: WiFi is self-explanatory so I won't explain that.Run through the configuration steps as follows:.Navigate to the ESPHome plugin in HASS.Instructions for installing Raspbian on a Pi can be found here. Home Assistant (HASS) with the ESPHome plugin installed.
#Esp8266 firmware upgrade how to
If you already have your firmware and just want to know how to flash it, you can skip down to the "flashing the firmware" section. In this post I'll run through how to create an ESPHome configuration for an ESP8266-based temperature sensor and how to flash the firmware. It's actually a serial adaptor but since we only need to provide power, it will work. You can get an alternative here, on Amazon UK. I also bought one of these USB dupont cables from AliExpress for each unit since I have a bunch of old USB power blocks lying around, this was the easiest way for me to power them. This is also available here, on Amazon UK, for a little more, if you'd like to get it faster.Īt $4.38/ea (~£3.60) plus shipping I couldn't say no, so I decided to buy a bunch of them to monitor the temperature and humidity in various locations around the house. You'll want the option named "AM2302 ESP-01S". I recently came across a listing on AliExpress for an ESP-01S (an ESP8266-based chip) and AM2302 combination.