Nenhuma descrição

Paulus Schoutsen a8dfa54dd5 Use latest web flasher 4 anos atrás
.devcontainer fc4df1c8bb Drop yarn in favor of npm 4 anos atrás
.github ae45ddc30e Last bit of yarn bye 4 anos atrás
firmware_build 031e7718ce Initial commit 4 anos atrás
script fc4df1c8bb Drop yarn in favor of npm 4 anos atrás
src a8dfa54dd5 Use latest web flasher 4 anos atrás
.gitignore fc4df1c8bb Drop yarn in favor of npm 4 anos atrás
.npmignore 7cf91fa76b Prepare release 4 anos atrás
.prettierignore 43ef1358f3 Add prettier ignore 4 anos atrás
README.md e20c21ba1a Use NPM package 4 anos atrás
index.html 7cf91fa76b Prepare release 4 anos atrás
package-lock.json a8dfa54dd5 Use latest web flasher 4 anos atrás
package.json a8dfa54dd5 Use latest web flasher 4 anos atrás
rollup.config.js 357b5f9303 Rewrite log element 4 anos atrás
tsconfig.json 031e7718ce Initial commit 4 anos atrás

README.md

ESP Web Tools

Allow flashing ESPHome or other ESP-based firmwares via the browser. Will automatically detect the board type and select a supported firmware.

<esp-web-install-button
  manifest="firmware_esphome/manifest.json"
></esp-web-install-button>

Manifest definition:

{
  "name": "ESPHome",
  "builds": [
    {
      "chipFamily": "ESP32",
      "improv": true,
      "parts": [
        { "filename": "bootloader.bin", "offset": 4096 },
        { "filename": "partitions.bin", "offset": 32768 },
        { "filename": "ota.bin", "offset": 57344 },
        { "filename": "firmware.bin", "offset": 65536 }
      ]
    },
    {
      "chipFamily": "ESP8266",
      "parts": [
        { "filename": "esp8266.bin", "offset": 0 },
      ]
    }
  ]
}

Allows for optionally passing an attribute to trigger an erase before installation.

<esp-web-install-button
  manifest="firmware_esphome/manifest.json"
  erase-first
></esp-web-install-button>

All attributes can also be set via properties (manifest, eraseFirst)

Development

Run script/develop. This starts a server. Open it on http://localhost:5000.