|
11 ماه پیش | |
---|---|---|
.devcontainer | 1 سال پیش | |
.github | 1 سال پیش | |
script | 11 ماه پیش | |
src | 1 سال پیش | |
static | 1 سال پیش | |
.gitignore | 4 سال پیش | |
.npmignore | 4 سال پیش | |
.prettierignore | 4 سال پیش | |
LICENSE | 1 سال پیش | |
README.md | 3 سال پیش | |
index.html | 1 سال پیش | |
package-lock.json | 1 سال پیش | |
package.json | 1 سال پیش | |
rollup.config.mjs | 1 سال پیش | |
tsconfig.json | 1 سال پیش |
Allow flashing ESPHome or other ESP-based firmwares via the browser. Will automatically detect the board type and select a supported firmware. See website for full documentation.
<esp-web-install-button
manifest="firmware_esphome/manifest.json"
></esp-web-install-button>
Example manifest:
{
"name": "ESPHome",
"version": "2021.10.3",
"home_assistant_domain": "esphome",
"funding_url": "https://esphome.io/guides/supporters.html",
"builds": [
{
"chipFamily": "ESP32",
"parts": [
{ "path": "bootloader_dout_40m.bin", "offset": 4096 },
{ "path": "partitions.bin", "offset": 32768 },
{ "path": "boot_app0.bin", "offset": 57344 },
{ "path": "esp32.bin", "offset": 65536 }
]
},
{
"chipFamily": "ESP32-C3",
"parts": [
{ "path": "bootloader_dout_40m.bin", "offset": 0 },
{ "path": "partitions.bin", "offset": 32768 },
{ "path": "boot_app0.bin", "offset": 57344 },
{ "path": "esp32-c3.bin", "offset": 65536 }
]
},
{
"chipFamily": "ESP32-S2",
"parts": [
{ "path": "bootloader_dout_40m.bin", "offset": 4096 },
{ "path": "partitions.bin", "offset": 32768 },
{ "path": "boot_app0.bin", "offset": 57344 },
{ "path": "esp32-s2.bin", "offset": 65536 }
]
},
{
"chipFamily": "ESP32-S3",
"parts": [
{ "path": "bootloader_dout_40m.bin", "offset": 4096 },
{ "path": "partitions.bin", "offset": 32768 },
{ "path": "boot_app0.bin", "offset": 57344 },
{ "path": "esp32-s3.bin", "offset": 65536 }
]
},
{
"chipFamily": "ESP8266",
"parts": [
{ "path": "esp8266.bin", "offset": 0 }
]
}
]
}
Run script/develop
. This starts a server. Open it on http://localhost:5001.