Esp8266 firmware differences
- Esp8266 firmware differences how to#
- Esp8266 firmware differences install#
- Esp8266 firmware differences serial#
- Esp8266 firmware differences code#
The pins for power are labeled as such on the AM2302. If you're using the USB dupont cables I mentioned at the beginning, red is VCC and black is GND. You may now connect the ESP to the AM2302 sensor and power it up. You can use this to create a DHCP reservation for the ESP, if you so wish. If successful, you'll see a similar output to this:Īs you can see, the MAC address of the chip has been printed as part of the ouput.
Esp8266 firmware differences install#
If the result of this command is "pip: command not found", run sudo apt install python-pip and try again. This will install esptool, a Python utility to interact with ESP8366 & ESP32 chips.
Esp8266 firmware differences code#
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 differences 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.
Esp8266 firmware differences serial#
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.