Simple GUI tool to flash ESPs over USB
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
dependabot[bot] df73bb5585
Bump actions/cache from 2 to 3.0.1 (#118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
.github Bump actions/cache from 2 to 3.0.1 (#118) 12 months ago
esphomeflasher Bump version to 1.4.0 1 year ago
.gitignore gitignore vscode 1 year ago
LICENSE Initial commit 4 years ago
MANIFEST.in Update build system (#24) 3 years ago
README.md Fix typo (#41) 2 years ago
build-instructions.md Add build instructions 4 years ago
icon.icns Add build instructions 4 years ago
icon.ico Add build instructions 4 years ago
partitions.bin Update partitions (#67) 1 year ago
pyproject.toml Add python linting (#80) 1 year ago
requirements.txt Bump requests from 2.24.0 to 2.26.0 (#81) 1 year ago
requirements_build.txt Bump pyinstaller from 3.6 to 4.5.1 (#72) 1 year ago
requirements_test.txt Bump pylint from 2.12.2 to 2.13.4 (#119) 12 months ago
setup.cfg Add python linting (#80) 1 year ago
setup.py Bump python for assets to 3.9 (#79) 1 year ago

README.md

ESPHome-Flasher

ESPHome-Flasher is a utility app for the ESPHome framework and is designed to make flashing ESPs with ESPHome as simple as possible by:

  • Having pre-built binaries for most operating systems.
  • Hiding all non-essential options for flashing. All necessary options for flashing (bootloader, flash mode) are automatically extracted from the binary.

This project was originally intended to be a simple command-line tool, but then I decided that a GUI would be nice. As I don't like writing graphical front end code, the GUI largely is based on the NodeMCU PyFlasher project.

The flashing process is done using the esptool library by espressif.

Installation

It doesn't have to be installed, just double-click it and it'll start. Check the releases section for downloads for your platform.

Installation Using pip

If you want to install this application from pip:

  • Install Python 3.x
  • Install wxPython 4.x manually or run pip3 install wxpython (see also linux notes below)
  • Install this project using pip3 install esphomeflasher
  • Start the GUI using esphomeflasher. Alternatively, you can use the command line interface ( type esphomeflasher -h for info)

Build it yourself

If you want to build this application yourself you need to:

  • Install Python 3.x
  • Install wxPython 4.x manually or run pip3 install wxpython
  • Download this project and run pip3 install -e . in the project's root.
  • Start the GUI using esphomeflasher. Alternatively, you can use the command line interface ( type esphomeflasher -h for info)

Linux Notes

Installing wxpython for linux can be a bit challenging (especially when you don't want to install from source). You can use the following command to install a wxpython suitable with your OS:

# Go to https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ and select the correct OS type
# here, we assume ubuntu 18.03 bionic
pip3 install -U \
    -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 \
    wxPython

License

MIT © Marcel Stör, Otto Winter