Web tools for ESP devices
npm install tasmota-esp-web-toolsAllow flashing Tasmota or other ESP-based firmwares via the browser. Will automatically detect the board type and select a supported firmware. See website for full documentation.)
``html`
>
Example manifest:
`json`
{
"name": "Tasmota",
"new_install_prompt_erase": true,
"funding_url": "https://paypal.me/tasmota",
"new_install_improv_wait_time": 10,
"builds": [
{
"chipFamily": "ESP32",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-C2",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32c2.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-C3",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32c3.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-C5",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32c5.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-C6",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32c6.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-C61",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32c61.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-S2",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32s2.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP32-S3",
"improv": true,
"parts": [
{ "path": "../firmware/tasmota32/tasmota32s3.factory.bin", "offset": 0 }
]
},
{
"chipFamily": "ESP8266",
"improv": true,
"parts": [{ "path": "../firmware/tasmota/tasmota.bin", "offset": 0 }]
}
]
}
For chips with multiple hardware revisions (like ESP32-P4), you can specify different firmware builds for each variant:
`json`
{
"name": "My Firmware",
"builds": [
{
"chipFamily": "ESP32-P4",
"chipVariant": "rev0",
"parts": [{ "path": "firmware_p4_old.bin", "offset": 0 }]
},
{
"chipFamily": "ESP32-P4",
"chipVariant": "rev300",
"parts": [{ "path": "firmware_p4_new.bin", "offset": 0 }]
}
]
}
The chipVariant field is optional. If omitted, the build will match any variant of that chip family.
See manifest-example-p4-variants.json for a complete example.
ESP Web Tools supports configurable baud rates for flashing. By default, it uses 115200 baud for maximum compatibility. You can increase the baud rate for significantly faster flashing speeds.
You can customize the baud rate using the baud-rate attribute:
`html
baud-rate="2000000">
baud-rate="460800">
`
Available baud rates: 230400, 460800, 921600, 1500000, 2000000
Run script/develop`. This starts a server. Open it on http://localhost:5004.