Files
OpenMQTTGateway/docs/upload/binaries.md
melyux 1de93d3f1d Enable the BME280 options to be settable using PlatformIO build flags, add and organize documentation (#942)
* Allow BME280 options to be build flaggable

* Update and clarify documentation for configurations and builds
2021-05-07 05:50:55 -05:00

2.3 KiB

(Option 1) Upload ready-to-go binaries

This section is useful if you want to directly flash your ESP from your desktop. Once flashed you can change wifi and broker settings. Nevertheless you will not be able to change advanced parameters; if you want to do so, refer to Upload your configurations section.

Download the binary corresponding to your board and gateway here from github and uncompress it.

ESP32

  • Download the bootloader here
  • Download the boot_app0 from here
  • Download the flash tool utility from espressif: https://www.espressif.com/en/products/hardware/esp32/resources
  • Uncompress the package
  • Execute flash_download_tools
  • Choose Developper mode
  • Choose ESP32 DownloadTool
  • Set the files and the address as below: Flash download tool And set the parameters used by arduino IDE, we are able to upload to ESP32 a binary file containing OpenMQTTGateway.
  • Set the config as above
  • Connect your ESP32 board and select the COM port
  • Click on erase if it is your first upload
  • If you see SYNC (above the START button) for more than 5 seconds, press the boot button of your ESP32
  • Once done you can click on START button
  • If you see SYNC (above the START button) for more than 5 seconds, press the boot button of your ESP32 The upload details appears in the rear shell windows, you can see also the progress bar changing.
  • Once done the flash tool display "FINISH" like below Flash download tool 2

ESP8266

With an ESP if you did not set your network and mqtt parameters manually you can now open the web portal configuration.

Note that to reset the wifi and mqtt settings you can check yes, wipes all data