Skip to content

WebFlasher_Introduction

Manos1966 edited this page Jul 11, 2024 · 11 revisions

If you are using OpenDTUonBattery, you have already had experience with the normal OpenDTU beforehand thus, you know how to install the programm on a ESP32-board.

Updating an existing OpenDTU-board to OpenDTUonBattery is easy, just a OTA Firmware Update. It is explained here: https://github.com/helgeerbe/OpenDTU-OnBattery/wiki/Upgrade-from-OpenDTU-to-OpenDTUonBattery

We notice lately new users landing directly to OpenDTUonBattery without having programmed an OpenDTU-board before.

For these users we have prepared a Web-based Installation programm (Web-Flasher), available for the following platforms: Generic, ESP32, ESP32-S3, OpenDTU Fusion (Retail & Community Edition)

Important Note: "You only need to connect your ESP32 to your PC via the USB" may require that you have a "Virtual COM Port (VCP)" installed on your PC in order to transfer (flash) the data from your PC into the ESP32! You will need a "CP210x USB to UART Bridge"

What is a CP210x usb to uart bridge? The Silicon Labs CP210x USB-to-UART bridges are devices that communicate over the Universal Serial Bus (USB) to perform Universal Asynchronous Receiver/Transmit- ter (UART) data transfers. These devices have many programmable options that can be configured via USB The CP210x USB to UART Bridge Virtual COM Port (VCP) drivers are required for device operation as a Virtual COM Port to facilitate host communication with CP210x products. https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers


Quick guide: Please connect the ESP module to be flashed to a Mac, Linux PC or Windows PC using a USB cable (for Windows, please wait until the drivers have been installed, this may take a few minutes). / Kurzanleitung: Bitte das zu flashende ESP-Modul per USB-Kabel an einen Mac, Linux PC, oder Windows PC anstecken (bei Windows bitte warten, bis die Treiber installiert wurden, dies kann einige Minuten dauern).

Select the desired firmware version (Stable Release/Dev) and the language (if available) / Die gewünschte Firmware Version wählen (Stable Release/Dev) sowie die Sprache auswählen (falls verfügbar)

After the selection, a list of compatible ESP boards appears at the top. / Nach der Auswahl erscheint oben eine Liste der kompatiblen ESP Boards.

If the existing ESP board appears in the list, click on the Install Release/Development Build button. / Wenn das vorhandene ESP Board in der Liste erscheint, auf den Release/Development Build installieren Button klicken.

Select the appropriate USB Serial Port and click Connect. / den zutreffenden USB Serial Port auswählen, und auf Verbinden klicken.

Note: For OpenDTU Fusion boards, the pin_mapping.json is installed automatically, and does not need to be uploaded to OpenDTU afterwards. / Anmerkung: Bei OpenDTU Fusion Boards wird die pin_mapping.json automatisch installiert, und muss nicht nachträglich in die OpenDTU hochgeladen werden.

WebFlasher Page 01

Subsequent Updates

You can update the Firmware of your OpenDTU-OnBattery "Over The Air" by selecting Settings, Firmware Upgrade, Choose File and selecting the Firmware you have downloaded beforehand on your PC.

Firmware Upgrade

Where to find the Firmware to download:

The pre-compiled binary files can be found on the GitHub Releases Page (under "Assets").

Currently there are pre-compiled binaries for ESP32 and ESP32-S3 MCUs.

Select the appropriate OTA ("Over The Air") file.

Overview PRe-Compiled Binaries STD OpenDTU

Clone this wiki locally