2021-06-10 15:17:51 -07:00
2021-05-30 22:44:21 -07:00
2021-06-09 23:01:36 -07:00
2021-05-30 22:44:21 -07:00
2021-06-08 17:04:47 +00:00
2021-05-30 22:44:21 -07:00
2021-06-04 00:41:17 -07:00
2021-05-27 07:57:20 -07:00
2021-06-10 15:17:51 -07:00
2021-06-10 15:17:18 -07:00
2021-06-10 15:17:18 -07:00
2021-05-30 22:27:47 -07:00
2021-05-27 07:54:10 -07:00

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)

Styling

The following attributes are automatically added to <esp-web-install-button>:

Attribute Description
install-supported Added if installing firmware is supported
install-unsupported Added if installing firmware is not supported

Development

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

Description
Open source tools to allow working with ESP devices in the browser
Readme Apache-2.0 12 MiB
Languages
TypeScript 63.7%
Python 17.5%
HTML 17.2%
JavaScript 0.9%
Dockerfile 0.7%