Initial Firmware Installation


Initial Firmware Installation

The first preparation step you need to complete is the installation of the firmware onto the controllers. This process is called flashing. Historically, this was one of the steps that caused the most frustration due to the need for specific desktop utilities and complex settings.

To make this process as simple as possible, we now use a modern, browser-based tool called ESPConnect.

03_02_ESPConnLogo

ESPConnect is a free, open-source web tool for interacting with ESP32-based microcontrollers. It allows you to flash firmware directly from your browser using the same technology found in tools for WLED, Tasmota, and ESPHome. This is what will be shown in this guide for the firmware installation step, but other alternatives will also be covered.


Prerequisites

To complete the installation, you will need:

  • Hardware: A computer with an available USB port and a microUSB Data Cable. (Note: “Power-only” cables will not work).
  • Firmware: A copy of the firmware .bin files (available in the Releases area of the repository).
  • Software: A Chromium-based browser (Chrome, Edge, Brave, or Arc) version 89 or newer.

🖥️ Browser Alternatives
If you do not wish to use a Chromium-based browser, you must use traditional desktop flashing utilities. For guidance on that method, you can refer to my Beginner’s Guide to Flashing Custom Firmware video (skip to the 8:08 mark).


Kauf RGBW Wi-Fi Bulb

No installation is necessary for the bulb! The device comes pre-installed with the required firmware.

Do not attempt to flash any other firmware to the bulb. Replacing the official Kauf ESPHome firmware will cause the device to fail within this project. If you wish to make minor changes (such as the device name), use the official ESPHome code provided by the manufacturer.


Primary and Display Controllers

The process for both controllers is identical. The only difference is the firmware .bin file used:

  • Primary Controller: Use Primary_Ctrl_vx.xx.bin
  • Display Controller: Use Display_Ctrl_vx.xx.bin

(Note: vx.xx represents the version number. Always use the most recent versions found in the assets section of the latest release.

Step 1: Connect to ESPConnect

Open a Chromium-based browser and navigate to the ESPConnect Tool.

ESPConnect Tool Interface

If you haven’t done so yet, connect the controller (the ESP32 for primary, or the Cheap Yellow Display for display) and click the Connect button in the upper-left corner.

03_04_ESPConnect

Select the appropriate COM Port.

🖥️ USB Drivers: The Invisible Gatekeepers
If your computer treats your ESP32 like an unrecognized alien artifact, you might be using a charge-only USB cable. Don’t feel bad; even the most seasoned developers have spent an hour troubleshooting a board only to realize they were using a “charge-only” USB cable they found in the back of a drawer. If you don’t see a new COM port appear, try a different cable before you start questioning your life choices.

🔍 Troubleshooting COM Ports
If you aren’t sure which port to pick, disconnect the ESP32 and check the list; the port that disappears is your device. If no ports appear (and you are using a known, good USB data cable), you may need to install the CP2102 or CH340 USB-to-Serial drivers for your specific hardware.

Step 2: Configure Flash Settings

Once connected, complete the following steps.

03_05_ESPConnect

  1. Select Flash Tools: Select the Flash Tools option from the sidebar menu.
  2. Select Firmware: Click the Firmware Binary box and select the proper .bin file for the controller you are flashing.
  3. Flash Offset: Leave this at the default 0x0.
  4. Erase Flash*: Check the Erase entire flash checkbox to ensure a clean installation.
  5. Install: Click the large blue “Flash Firmware” button to start the upload process.

⚠️ *Only Erase Flash for New Installs!
If you are using this method to upgraded the firmware on an existing controller, clear the ‘Erase enttire flash’ checkbox or your existing configuration, WiFi connection info, etc. will be lost and you will have to onboard and configure the controller again. See Installing Updates for details.

Step 3: Flash and Verify

ESPConnect will show a progress bar during the flashing process:

!03_06_ESPConnect

Once the flashing is complete, power cycle the ESP32 by unplugging and reconnecting it to the USB port. Wait a few moments, then use your phone or computer to scan for available Wi-Fi networks:

03_07_ESPConnect

Success Criteria: If you see a Wi-Fi hotspot named BedsideLamp01_AP (or BL_Display01_AP for the display), the flash was successful.

⏹️Hotspot Name
Note that the hotspot shown may use the assigned device name followed by ‘AP’ (e.g. _MyDeviceName_AP) instead of the defaults. This is likely if onboarding a previously used controller, but may happen with new installs as well if initial onboarding fails. The correct AP should be obvious as long as you use a descriptive device name.


Next Steps

Repeat the above steps for the second controller. Once both are flashed and broadcasting their respective hotspots, you are ready to join them to your Wi-Fi network. This is covered in the next section, Onboarding and First Time Setup.

<- Previous: Getting Started Next: Onboarding ->

Copyright © 2026 Resinchem Tech. Firmware documentation for personal use. Commercial use, republishing or embedding prohibited.

This site uses Just the Docs, a documentation theme for Jekyll.