Previous: My Smart Home on ESP8266, Part 2
ESP8266 firmware
We will be flashing with ESP Easy firmware . This firmware is simple. There it is intuitively clear what and how to set up. You can immediately see where to register the connection with the MQTT broker. And you can see where to place the devices connected to the microcontroller. It is easy to find a checkbox in the device settings for communicating with the MQTT broker to send signals.
I will not tell you exactly how to flash it. There is a lot of this material on the Internet. Moreover, different modifications of the ESP8266 can be flashed in different ways. Find the firmware guide for your particular device and flash ESP Easy.
On the ESP Easy latest release page download the " espeasy_esp82xx_mega-20210223.zip " file :
The file contains a flasher program. When you launch it, you can select a specific firmware, for example, normal and the COM port on which your device is located. And then click the Flash button. In general, the details of this process can be found on the Internet. If it doesn't work, then contact me.
After flashing and setting up Wi-Fi on the device, you can enter the firmware interface through the browser by directly typing the device address in the browser. Let's start with I2C.
I2C
I2C. 4 5. . Hardware :
MQTT-
Controllers ESP Easy ESP8266 . , MQTT-. .
Home Assistent. ? ESP8266 ESP Easy - WQTT.ru. .
, . Will Retain Enabled. Will Retain .
Devices ESP Easy. :
. . , MQTT-. Node RED.
BMP085
:
, I2C, . . 200 . Send to Controller, 1 (. ).
Pressure ...
DHT11
GPIO14. :
Controllers :
Devices :
Values .
, WQTT.ru , :
Node RED.
,
Node-Red. โฆ
, . , , . - . ( ). ( ) .
, ?
. . , . ESP Easy . - , -, .
DHT11
DHT11 . . - .
which can start to glitch and fall off if you connect a bunch of sensors via WiFi
In the comments, the person who put 11 ESP controllers on his router unsubscribed. And everything works.