---
title: Flashing Firmware with Command Line Tools
description: Use the CLI to flash new firmware on a Konnected device
---

[Skip to content](https://support.konnected.io/flashing-firmware-with-command-line-tools#main-content)

English

Show submenu for translations

[Submit a Ticket](https://support.konnected.io/kb-tickets/new?hsLang=en) [Customer portal](https://support.konnected.io/tickets-view?hsLang=en)

![Refreshed Logo Blue (HQ)](https://support.konnected.io/hs-fs/hubfs/Refreshed%20Logo%20Blue%20(HQ).png?width=250&height=45&name=Refreshed%20Logo%20Blue%20(HQ).png)

- [Tickets](https://22554404.hs-sites.com/tickets-view)
- [Sign out](https://22554404.hs-sites.com/_hcms/mem/logout)

Open main navigation

Close main navigation

- [Tickets](https://22554404.hs-sites.com/tickets-view)
- [Sign out](https://22554404.hs-sites.com/_hcms/mem/logout)
- English
  
  Show submenu for translations
- [Submit a Ticket](https://support.konnected.io/kb-tickets/new)
- [Customer portal](https://support.konnected.io/tickets-view)
- [Shop Now](https://konnected.io/collections/shop-now)

[Shop Now](https://konnected.io/collections/shop-now)

 Konnected Knowledge Base

- There are no suggestions because the search field is empty.

1. [Help & Support](https://support.konnected.io/?hsLang=en)
2. [Konnected Devices in General](https://support.konnected.io/konnected-devices-in-general?hsLang=en)
3. [Firmware and Updates](https://support.konnected.io/konnected-devices-in-general?hsLang=en#firmware-and-updates)

# 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)](https://github.com/konnected-io/konnected-esphome/releases) |
| --- | --- |
| Alarm Panel Pro (legacy firmware) | [Alarm Panel Pro releases](https://support.konnected.io/alarm-panel-pro-release-notes?hsLang=en) |
| Alarm Panel (legacy firmware) | [konnected-security Releases (GitHub)](https://github.com/konnected-io/konnected-security/releases) |
| GDO White v1 (legacy firmware) | [garage-door-opener Releases (GitHub)](https://github.com/konnected-io/garage-door-opener/releases) |

#### 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](https://www.python.org/downloads/) (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

[esptool](https://docs.espressif.com/projects/esptool/en/latest/esp32/installation.html) is the command-line tool provided by Espressif for communicating with the ESP chips in Konnected devices.

On Mac, install esptool using [Homebrew](https://brew.sh/)

```
brew install esptool
```

On Windows or Linux, install esptool using pip:

```
pip3 install esptool
```

Verify that esptool is installed correctly:

```
esptool version
```

#### Flash the downloaded firmware

In Terminal, run the `esptool write-flash` command from the directory that you downloaded the firmware binary:

```
esptool --port=COM3 --baud 460800 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 v5.1.0Connected to ESP32 on /dev/cu.usbserial-2130:Chip type:          ESP32-D0WD (revision v1.1)Features:           Wi-Fi, BT, Dual Core + LP Core, 240MHz, Vref calibration in eFuse, Coding Scheme NoneCrystal frequency:  40MHzMAC:                3c:8a:1f:1f:a9:c4Stub flasher running.Changing baud rate to 460800...Changed.Configuring flash size...Flash will be erased from 0x00000000 to 0x0008efff...Wrote 585344 bytes (334167 compressed) at 0x00000000 in 8.7 seconds (538.0 kbit/s).Hash of data verified.Hard resetting via RTS pin...
```

- [Konnected Devices in General](https://support.konnected.io/konnected-devices-in-general?hsLang=en#main-content)

    - [Intro to Konnected](https://support.konnected.io/konnected-devices-in-general?hsLang=en#intro-to-konnected)
    - [Power](https://support.konnected.io/konnected-devices-in-general?hsLang=en#power)
    - [WiFi and Networking](https://support.konnected.io/konnected-devices-in-general?hsLang=en#wifi-and-networking)
    - [Firmware and Updates](https://support.konnected.io/konnected-devices-in-general?hsLang=en#firmware-and-updates)
    - [Security Best Practices](https://support.konnected.io/konnected-devices-in-general?hsLang=en#security-best-practices)
- [Alarm Panel](https://support.konnected.io/alarm-panel?hsLang=en#main-content)

    - [Installation Guide Table of Contents](https://support.konnected.io/alarm-panel?hsLang=en#installation-guide-table-of-contents)
    - [Wiring and Connection Guides](https://support.konnected.io/alarm-panel?hsLang=en#wiring-and-connection-guides)
    - [Interfacing In-parallel with a Traditional Alarm System](https://support.konnected.io/alarm-panel?hsLang=en#interfacing-in-parallel-with-a-traditional-alarm-system)
    - [Alarm Panel Pro](https://support.konnected.io/alarm-panel?hsLang=en#alarm-panel-pro)
    - [6-Zone Alarm Panel & Alarm Panel Add-on (discontinued)](https://support.konnected.io/alarm-panel?hsLang=en#6-zone-alarm-panel-alarm-panel-add-on-discontinued)
    - [Standalone Alarm System](https://support.konnected.io/alarm-panel?hsLang=en#standalone-alarm-system)
- [GDO blaQ](https://support.konnected.io/gdo-blaq?hsLang=en#main-content)

    - [Getting Started with the GDO blaQ](https://support.konnected.io/gdo-blaq?hsLang=en#getting-started-with-the-gdo-blaq)
    - [Platform Integrations](https://support.konnected.io/gdo-blaq?hsLang=en#platform-integrations)
    - [Device Features](https://support.konnected.io/gdo-blaq?hsLang=en#device-features)
- [GDO White](https://support.konnected.io/gdo-white?hsLang=en#main-content)

    - [Garage Door Opener White Installation and Setup Guide](https://support.konnected.io/gdo-white?hsLang=en#garage-door-opener-white-installation-and-setup-guide)
    - [Detailed Wiring Guide](https://support.konnected.io/gdo-white?hsLang=en#detailed-wiring-guide)
    - [Garage Door Opener v1 Installation and Setup Guide](https://support.konnected.io/gdo-white?hsLang=en#garage-door-opener-v1-installation-and-setup-guide)
- [Accessories](https://support.konnected.io/accessories?hsLang=en#main-content)

    - [Backup Batteries](https://support.konnected.io/accessories?hsLang=en#backup-batteries)
    - [Sensors](https://support.konnected.io/accessories?hsLang=en#sensors)
- [SmartThings](https://support.konnected.io/smartthings?hsLang=en)
- [Home Assistant](https://support.konnected.io/home-assistant?hsLang=en)
- [Hubitat](https://support.konnected.io/hubitat?hsLang=en#main-content)

    - [GDO White](https://support.konnected.io/hubitat?hsLang=en#gdo-white)
    - [Legacy drivers](https://support.konnected.io/hubitat?hsLang=en#legacy-drivers)
    - [Alarm Panels](https://support.konnected.io/hubitat?hsLang=en#alarm-panels)
    - [Troubleshooting](https://support.konnected.io/hubitat?hsLang=en#troubleshooting)
- [Control4](https://support.konnected.io/control4?hsLang=en)
- [ESPHome](https://support.konnected.io/esphome?hsLang=en#main-content)

    - [ESPHome](https://support.konnected.io/esphome?hsLang=en#esphome)
    - [Konnected Device API](https://support.konnected.io/esphome?hsLang=en#konnected-device-api)
    - [openHAB](https://support.konnected.io/esphome?hsLang=en#openhab)
- [Matter](https://support.konnected.io/matter?hsLang=en)
- [Frequently Asked Questions (FAQ)](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#main-content)

    - [Garage Door Opener](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#garage-door-opener)
    - [General](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#general)
    - [Pre-Purchase Guides](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#pre-purchase-guides)
- [Troubleshooting](https://support.konnected.io/troubleshooting?hsLang=en#main-content)

    - [Hardware issues](https://support.konnected.io/troubleshooting?hsLang=en#hardware-issues)
    - [Frequently Asked Questions (FAQs)](https://support.konnected.io/troubleshooting?hsLang=en#frequently-asked-questions-faqs)
    - [Device Discovery](https://support.konnected.io/troubleshooting?hsLang=en#device-discovery)
    - [Konnected Device Firmware & Software](https://support.konnected.io/troubleshooting?hsLang=en#konnected-device-firmware-software)
    - [Legacy: HASS Install](https://support.konnected.io/troubleshooting?hsLang=en#legacy-hass-install)
    - [Legacy: Wiring Info](https://support.konnected.io/troubleshooting?hsLang=en#legacy-wiring-info)
    - [Garage Door Opener](https://support.konnected.io/troubleshooting?hsLang=en#garage-door-opener)
- [Orders, Shipping & Returns](https://support.konnected.io/orders-shipping-returns?hsLang=en#main-content)

    - [Refund and Return Policies](https://support.konnected.io/orders-shipping-returns?hsLang=en#refund-and-return-policies)
    - [Shipping Information and Policies](https://support.konnected.io/orders-shipping-returns?hsLang=en#shipping-information-and-policies)
- [Safety Information](https://support.konnected.io/safety-information?hsLang=en#main-content)

    - [Standards & Certifications](https://support.konnected.io/safety-information?hsLang=en#standards-certifications)
    - [Warnings & Disclosures](https://support.konnected.io/safety-information?hsLang=en#warnings-disclosures)
- [Products](https://support.konnected.io/products?hsLang=en#main-content)

    - [Depreciated Support Articles](https://support.konnected.io/products?hsLang=en#depreciated-support-articles)
- [FAQs](https://support.konnected.io/faqs?hsLang=en#main-content)

    - [Additional Wiring Guides](https://support.konnected.io/faqs?hsLang=en#additional-wiring-guides)
- [SmartThings Steps](https://support.konnected.io/smartthings-steps?hsLang=en)
- [Noonlight](https://support.konnected.io/noonlight?hsLang=en)
- [Alexa](https://support.konnected.io/alexa?hsLang=en)
- [Google Home](https://support.konnected.io/google-home?hsLang=en)

[![Konnected](https://support.konnected.io/hubfs/konnected-logo-white.svg "Konnected")](http://konnected.io)

<https://www.facebook.com/konnected.io> <https://www.youtube.com/c/konnected-io> <https://www.instagram.com/konnected.io/> <https://www.linkedin.com/company/konnected-io> [mailto:help@konnected.io](mailto:help@konnected.io)

Copyright © 2025, Konnected Inc.