Installation
In order to use the Brautomat, the firmware must be flashed. Additionally, the ESP microcontroller needs to be connected to the local WiFi.
Flash firmware with MS Windows
The Brautomat32 version is for ESP32 and is based on the IDF5 framework.
ESP32 IDF5: Brautomat32.zip
The firmware is installed using the “Flashen.cmd” script contained in the ZIP archive. The ZIP archive is unpacked in any folder. The ESP microcontroller is connected to the PC/notebook via a USB cable. Double-clicking on the Flashen.cmd script starts flashing the firmware.
The MS Windows operating system automatically creates a serial COM port when connecting the ESP microcontroller to a USB port on the PC or notebook.

An ESP device was found on COM7 in the image. In rare cases, a serial COM port is not automatically provided under MS Windows. USB drivers for ESP microcontrollers are available on the following websites: (MS Win and macOS)
The Flashen.cmd script uses the tool esptool.exe https://github.com/espressif/esptool. ESPTool is freely available for various operating systems (macOS, Linux). The Windows version 64bit is included in the ZIP archive. ESPTool is licensed under GPL v2. See the accompanying LICENSE file for a copy.
Manual flashing MS Windows, macOS and Linux
If the script cannot be used, the firmware can be transferred manually to the ESP microcontroller.
ESP32 Step 1 Delete Flash:
ESP32 Step 2 Flash firmware:
Flashing firmware with macOS
Download: pyflasher
On macOS, flashing the firmware is divided into two steps. In the first step, the firmware Brautomat.ino.bin is installed on the ESP using the pyflasher tool.

The Brautomat must then be connected to the WLAN. Once the Brautomat is connected to the WiFi, the file system must be installed. Open in browser: http://Brautomat.local/update
After clicking on the “File system” button, the file LittleFS.bin is selected and installed by clicking on Update file system.
WLAN configuration
After flashing the firmware, the Brautomat starts in AccessPoint Mode. An open WLAN with the name Brautomat becomes visible. A connection must be established with this WLAN. Once the connection is established, the web browser opens the WLAN configuration portal. If the portal does not open automatically, the address http://192.168.4.1 must be entered manually in the web browser.

The WLAN configuration is displayed using the “Configure WiFi” button

The WLAN (SSID and password) must be entered here. With Save the Brautomat restarts and connects to the WLAN. The web interface of Brautomat can be reached in the local WLAN via the address http://Brautomat.local.
This completes the basic installation. The firmware flashing and WLAN configuration process only needs to be carried out once. The Brautomat must now be configured. The configuration is described in the Basic Setup section. The following section Update can be skipped initially.
Note: The Brautomat32 tries to establish a connection with the WLAN configuration (SSID and password) for up to 20 seconds. If a connection cannot be established, for example if the password is entered incorrectlywas used, then the Brautomat32 starts again in AccessPoint Mode. In rare cases and usually only when the WLAN signal is weak, the Brautomat32 does not find a suitable WLAN and also starts in AccessPoint Mode after approx. 20 seconds. In this case, only restarting the Brautomat32 will help.
##Updates
Updates can be installed in Brautomat via the “Update” menu. A new firmware can be imported via “WebUpdate” or “File Update”. When updating the firmware via WebUpdate, the firmware downloads the current version from the Internet from the github repository. When updating via file update, the firmware is uploaded from the local PC. A USB cable or the script from the installation are not required.
The memory area of an ESP microcontroller is divided into firmware and file system. During ongoing operation, configurations, recipes and other files can only be saved or changed in the file system. The Firmware area can only be accessed for reading purposes. During an update, the firmware area is completely reinstalled and individual files are replaced in the file system.
WebUpdate

The WebUpdate restarts the Brautomat several times. First, the firmware is updated. After another restart, the framework will be updated. The WebUpdate process is logged in the webUpdateLog.txt file.
If the WebUpdate with trial version option is activated, the WebUpdate will be carried out with the current developer version. These are test versions. New functions in the firmware are (usually) initially stored as a test version in the github repository. Trial versions are not recommended for productive use.
FileUpdate
An update of the firmware via the FileUpdate selection takes place in just a few steps:
First, the current firmware must be downloaded. The ZIP archive will then be unpacked. In the web interface Brautomat, select the Update menu item and then FileUpdate. A simple update website (picture 1) is displayed:

Under Firmware with the "Select file" button, the file firmware.bin must now be selected from the ZIP archive (in Figure 2). Clicking on Update Firmware starts the update.
The file system of Brautomat can also be updated.
Note: The Update FileSystem function rebuilds the file system. Update FileSystem overwrites all settings and configurations. In addition to the configuration, this also includes mash brew boiler profiles and recipes. In almost all cases, a file update firmware followed by a WebUpdate is the right choice because the WebUpdate updates individual files in the file system after the firmware update.
Last updated