← Back to wiki
Recover with USB flashing.
Use this when the Kiri Bridge web UI will not open, an OTA update failed, the device is in a bad state, or support asks you to restore the installer firmware.
When to use this
- The device does not show up on your network.
- The local portal at http://IP:8080/ does not load after rebooting.
- An OTA update failed and the device no longer behaves normally.
- Support tells you to restore or re-flash the installer.
This process writes firmware over USB. It is safe for Kiri Bridge hardware, but you should not use it on random ESP32 boards.
Before you start
- Use Chrome or Edge on a computer.
- Use a USB data cable, not a charge-only cable.
- Download the latest kiri_installer_... .kiri file from GitHub Releases.
- Close serial monitor tools, Arduino IDE, ESP-IDF monitor, or anything else using the same USB port.
1. Connect and verify the board
- Connect Kiri Bridge to your computer with USB.
- Open Firmware recovery.
- Click Select & verify.
- In the browser's serial picker, select the Kiri Bridge USB serial device.
- Wait for the page to show the chip and MAC address summary.
If the serial device is missing
- Try a different USB cable.
- Try a different USB port.
- Unplug Kiri Bridge, wait 5 seconds, plug it back in, and click Select & verify again.
2. Choose the installer package
- Click Choose firmware.
- Select the kiri_installer_... .kiri file.
- Read the package summary. It should say installer, Kiri Bridge, and ESP32.
- If the browser rejects the file, download it again from GitHub Releases and retry.
Do not choose a .bin file. The recovery page expects a .kiri package.
3. Write the package
- Check the confirmation box that says this is Kiri Bridge hardware.
- Click Write package.
- Do not unplug the device while the progress bar is moving.
- When the success dialog appears, the browser has released the USB port.
- Restart the device manually by pressing reset, unplugging and plugging it back in, or moving it to the heat pump.
4. After recovery
- Wait for the LED to blink blue.
- Open WiFi setup.
- Send WiFi credentials again.
- Open the portal at the reported http://IP:8080/ address.
- Install the latest production kiri_bridge_... .kiri file through OTA.