Installation
Last updated
Last updated
To be able to use the Brautomat, the firmware must be flashed. The ESP microcontroller must also be connected to the local WLAN.
The firmware is installed using the included “Flashen.cmd” script. To do this, the archive Firmware.zip is unpacked in any folder. The ESP microcontroller is connected to the PC/notebook via USB cable. Double-click on the Flashen.cmd script to start 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, no serial COM port is automatically provided under MS Windows. USB drivers for ESP microcontrollers are available on the following websites: (MS Win and macOS).
Script Flashen.cmd uses esptool.exe https://github.com/igrr/esptool-ck/releases. ESPtool-ck Copyright (C) 2014 Christian Klippel ck@atelier-klippel.de. This code is licensed under GPL v2.
If the script cannot be used, the firmware can be transferred manually to the ESP microcontroller.
ESP32 Step 1 erase flash:
ESP32 Step 2 flash firmware
ESP32 Step 1 erase flash:
ESP32 Step 2 flash firmware:
ESP8266 Step 1 erase flash:
ESP8266 Step 2 flash firmware:
Download: pyflasher
With macOS, flashing the firmware is divided into two steps. In the first step, the firmware firmware.bin is installed on the Wemos using the pyflasher tool.
The brautomat must then be connected to the WLAN. As soon as the brautomat is connected to the WLAN, the file system must be installed. Open in browser: http://brautomat.local/update
After clicking on the "Filesystem" button, the file brautomat.mklittlefs.bin is selected and installed by clicking on Update Filesystem.
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. This works from a PC or notebook as well as with a smartphone. As soon as the connection is established, the web browser opens the Wi-Fi configuration portal. If the portal does not open automatically, the address http://192.168.4.1 must be entered manually.
The WLAN configuration is displayed using the “Configure WiFi” button
The WLAN (SSID) and the password must be configured here. When you save, the brautomat restarts and connects to the WiFi. The Brautomat web interface can be accessed via 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 section Basic setup. The following section Update can be skipped for the time being.
Updates can be installed via the ‘Update’ menu. New firmware can be installed via ‘WebUpdate’ or ‘File Update’. When updating the firmware via WebUpdate, the firmware loads 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 operation, configurations, recipes and other files can only be saved or changed in the file system. The firmware area can only be accessed read-only. During an update, the firmware area is completely reinstalled and individual files are replaced in the file system.
The WebUpdate restarts the Brautomat several times. Firstly, the firmware is updated. After a further restart, the framework is updated. The WebUpdate process is logged in the webUpdateLog.txt file.
If the option WebUpdate with test version is activated, the WebUpdate is 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. Test versions are not recommended for productive use.
Updating the firmware via the FileUpdate selection takes just a few steps:
Firstly, the current firmware must be downloaded. The ZIP archive is then unpacked. In the Brautomat web interface, select the Update menu item and then FileUpdate. A simple update web page is displayed (Fig. 1):
Under Firmware with the ‘Select file’ button, the file firmware.bin must now be selected from the ZIP archive (in Fig. 2). Click on Update Firmware to start the update.
The file system of the Brautomat can also be updated.
note: The Update FileSystem function recreates the file system. Update FileSystem overwrites all settings and configurations. In addition to the configuration, this also includes MashSud boiler profiles and recipes. In almost all cases, a FileUpdate Firmware followed by a WebUpdate is the right choice because the WebUpdate updates individual files in the file system after the Update Firmware.