Build Instructions - HomeKidd/ESP8266-HomeKit-Irrigation-System-Eve-Aqua Wiki



Backup the Original Firmware

For Safety reasons I highly recommend to read the original firmware from the Smart Valve, that way you can always re-flash it and have a safe backup firmware in case something goes wrong!

Tasmota has a great guide how you can read the original firmware from the device!


For Windows you can use the official Firmware Download Tool by Espressif!


  • Baud rate 115200
  • Flash size 1MB (megabyte) or 8mbit (megabit)
  • Flash Mode DOUT
  • 0x0000 rboot.bin
  • 0x1000 blank_config.bin
  • 0x2000 irrigation.bin (or main.bin)
  • 40MHz


For MacOS you can use this flasher tool!


  • Erase flash - yes
  • Baud rate 115200
  • Flash size 1MB (megabyte) or 8mbit (megabit)
  • Flash Mode DOUT
  • 0x2000 irrigation.bin (or main.bin)
  • 40MHz

Manually Flash

We have to install on our Mac in order to be able to flash our ESP module. To work with, you’ll need either Python 2.7, Python 3.4 or a newer Python installation on your system. We recommend using the latest Python version, so go to Python’s website and install it in your computer.

With Python installed, open a Terminal window and install the latest stable release with pip:

pip install esptool

Note: with some Python installations that command may not work and you’ll receive an error. If that’s the case, try to install with:

pip3 install esptool
python -m pip install esptool
pip2 install esptool

After installing, you will have installed into the default Python executables directory and you should be able to run it with the command In your Terminal window, run the following command:

With installed on your computer, you can easily flash your ESP8266 board with the firmware.

Bin Files

At first you need to download three bin files: rboot.bin and blank_config.bin. and the latest release. The rboot.bin contains the bootloader for the ESP8266 and the blank_config.bin in just a blank config file and ledstrip.bin contains the firmware. Now connect your device to your FTDI adapter in flash-mode.

Mirror links:

GitHub tag (latest by date)

Putting Device Into Flash Mode

To enable ESP8266 firmware flashing GPIO0 pin must be pulled low while powering the device. Conversely, for a normal boot, GPIO0 must be pulled high or floating. Start in FLASH MODE

Go to the directory you made where you put the previously downloaded rboot.bin blank_config.bin files (e.g Downloads)

Open the Terminal app. Click the Finder icon in your dock. Click Go. Click Utilities. Double-click Terminal. Change to the downloads directory.

You'll need an USB TTL adapter for connecting to the ESP8266.

cd downloads

Note: If You using an another library for storing the three .bin files, navigate into that library using cd command :

Use to flash your device. First we need to erase the flash: -p /dev/<your_ESPPort> erase_flash

Normally, your ESPPort will be something like /dev/cu.usbserial-xxxxxx. Then, set your device in flash-mode again, and flash the new firmware: -p /dev/cu.wchusbserial1420 --baud 115200 write_flash -fs 8m -fm dout -ff 40m 0x0 rboot.bin 0x1000 blank_config.bin 0x2000 irrigation.bin


⚠️ ** Fallback** ⚠️