Nav apraksta

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

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.