Skip to content
English
  • There are no suggestions because the search field is empty.

Flashing Firmware with Command Line Tools

Use the CLI to flash new firmware to your Konnected device

The latest Konnected firmware binaries are distributed for free and available to download from GitHub or from our website. These are the "factory default" firmware builds and are the same generic firmware images that are pre-loaded on Konnected devices at the factory.

Download Firmware

Download the bin file for your product and desired platform:

All products (ESPHome platform)
Latest generation (recommended)

konnected-esphome Releases (GitHub)
Alarm Panel Pro (legacy firmware) Alarm Panel Pro releases
Alarm Panel (legacy firmware) konnected-security Releases (GitHub)
GDO White v1 (legacy firmware) garage-door-opener Releases (GitHub)

Install Python 

Python 3.7 or newer is a prerequisite. If you're not sure if you have python installed, open a Terminal window and type:

python --version
or 
python3 --version

If you have python installed, this command should output Python 3.12.3 or similar. If not, install Python before continuing. Download Python for Windows (be sure to select add Python to PATH option) . Mac users can use the Python that comes with Xcode command line tools by running xcode-select --install in a Terminal window.

Install esptool.py

esptool.py is the command-line tool provided by Espressif for communicating with the ESP chips in Konnected devices.

Install esptool using pip:
pip install esptool

Verify that esptool is installed correctly:

esptool.py version

Flash the downloaded firmware

In Terminal, run the esptool.py write_flash command from the directory that you downloaded the firmware binary:

esptool.py --port=COM3 --baud 46800 write_flash --flash_mode dio 0x0 konnected-firmware-X-X-X.bin

The --port option is your serial port. Usually like COM3 on Windows or /dev/cu.usbserial-XXXX on Mac.

The konnected-firmware-X-X-X.bin is the full path to the downloaded firmware binary.

The output should look something like this:

esptool.py v4.7.0
Serial port /dev/cu.usbmodem21201
Connecting...
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded Flash 8MB (GD)
Crystal is 40MHz
MAC: 64:e8:33:60:87:20
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 1.9s
Compressed 1390960 bytes to 859228...
Wrote 1390960 bytes (859228 compressed) at 0x00000000 in 8.2 seconds (effective 1357.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...