暫無描述

Paulus Schoutsen 43ef1358f3 Add prettier ignore 4 年之前
.devcontainer 031e7718ce Initial commit 4 年之前
.github 031e7718ce Initial commit 4 年之前
firmware_build 031e7718ce Initial commit 4 年之前
script 031e7718ce Initial commit 4 年之前
src 031e7718ce Initial commit 4 年之前
.gitignore 031e7718ce Initial commit 4 年之前
.prettierignore 43ef1358f3 Add prettier ignore 4 年之前
README.md 3ec7986fec Add dev instructions to README 4 年之前
example.html 031e7718ce Initial commit 4 年之前
package.json 031e7718ce Initial commit 4 年之前
rollup.config.js 031e7718ce Initial commit 4 年之前
tsconfig.json 031e7718ce Initial commit 4 年之前
yarn.lock 031e7718ce Initial commit 4 年之前

README.md

JavaScript SDK for ESPHome

Allow flashing ESPHome or other ESP-based firmwares via the browser.

Defined using a manifest.

{
  "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 }
      ]
    }
  ]
}

Development

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