The WiFi thermostat project exists in several versions, which are available on Githube in the repository of the whole project. Versions differ in functionality only in advanced usage options and remote firmware update options. The firmware is available in compiled - binary form, which is executable for the target platform. Therefore, it is tested in advance, compiled for you. The firmware is universal, which guarantees that it will work with the cloned binary program on all microcontrollers in the same way.
|The name of the firmware folder||Firmware features|
|WiFi_TERMOSTAT||Thermostat project. Possibility to set and control domestic heating in automatic mode|
|WiFi_TERMOSTAT_mDNS||Thermostat project. Possibility to set and control home heating in automatic mode. mDNS record for the possibility of starting the thermostat on the local domain within the LAN network|
|WiFi_TERMOSTAT_MANUAL_experimental||Thermostat project. Possibility to set and control home heating in automatic mode. Experimental possibility of manual control of SW output by a button from a web server. Automatic / manual mode switching.|
|WiFi_TERMOSTAT_OTA||Thermostat project. Possibility to set and control home heating in automatic mode. mDNS record for the possibility of starting the thermostat on the local domain within the LAN network with the possibility of updating the firmware via the Web OTA Updater service.|
To upload a binary program to the ESP platform, it is necessary to use the ESPTOOL tool. For example, the tool also uses the Arduino IDE environment to load the program after compilation, or the development framework from Espressif Systems - ESP-IDF. With the ESP32 platform, it is necessary to hold down the BOOT button or start a pulldown on GPIO 0 until the beginning of the recording process (if the board does not have a BOOT button output). An automated - executable .bat script (example for the COM7 port) is prepared in the folder of each firmware, which runs the enclosed ESPTOOL and loads the program with the specific firmware located in the given folder. The destination port must be changed based on the COM port on which your board / microcontroller will log in. The program implementation assumes that the board has loaded the basic parts of the flash memory - the partition table and the like ... The binary program is exclusively a thermostat application without other bundled parts of the program. After loading the program, the ESPTOOL program window will automatically close and perform a software restart of the ESP platform, which will then boot the new firmware and prepare the WiFi thermostat for use.
If the data on the existing WiFi network is not stored in its flash memory (for example, also from a sketch recorded before), it will start broadcasting its own SSID - WiFi_TERMOSTAT_AP . After connecting to a WiFi network with a smartphone / computer, the WiFi Manager web interface is available at 192.168.4.1 , which provides the option of configuring a WiFi thermostat for your home WiFi network. In the interface it is possible to enter the name and password of the existing WiFi network to which the WiFi thermostat will connect.