소스 검색

Use manifest from firmware.esphome.io directly

Paulus Schoutsen 2 년 전
부모
커밋
e25b30551d
2개의 변경된 파일3개의 추가작업 그리고 60개의 파일을 삭제
  1. 3 7
      index.html
  2. 0 53
      static/firmware_build/manifest.json

+ 3 - 7
index.html

@@ -245,10 +245,7 @@
           </div>
           <div class="name">2Smart</div>
         </a>
-        <a
-          href="https://clockwise.page"
-          target="_blank"
-          class="project">
+        <a href="https://clockwise.page" target="_blank" class="project">
           <div class="logo">
             <img src="static/logos/clockwise.png" alt="Clockwise logo" />
           </div>
@@ -259,8 +256,7 @@
       <h2>How it works</h2>
       <p>
         ESP Web Tools works by combining
-        <a
-          href="https://developer.mozilla.org/docs/Web/API/Web_Serial_API"
+        <a href="https://developer.mozilla.org/docs/Web/API/Web_Serial_API"
           >Web Serial</a
         >, <a href="https://www.improv-wifi.com/">Improv Wi-Fi</a> (optional),
         and a manifest which describes the firmware. ESP Web Tools detects the
@@ -349,7 +345,7 @@
       </p>
       <pre>
 &lt;esp-web-install-button
-  manifest="/static/firmware_build/manifest.json"
+  manifest="https://firmware.esphome.io/esphome-web/manifest.json"
 >&lt;/esp-web-install-button></pre
       >
       <p>

+ 0 - 53
static/firmware_build/manifest.json

@@ -1,53 +0,0 @@
-{
-  "name": "ESPHome",
-  "version": "2022.12.8",
-  "home_assistant_domain": "esphome",
-  "funding_url": "https://esphome.io/guides/supporters.html",
-  "builds": [
-    {
-      "chipFamily": "ESP32",
-      "parts": [
-        {
-          "path": "https://firmware.esphome.io/esphome-web/esp32/esphome-web-esp32.bin",
-          "offset": 0
-        }
-      ]
-    },
-    {
-      "chipFamily": "ESP32-C3",
-      "parts": [
-        {
-          "path": "https://firmware.esphome.io/esphome-web/esp32c3/esphome-web-esp32c3.bin",
-          "offset": 0
-        }
-      ]
-    },
-    {
-      "chipFamily": "ESP32-S2",
-      "parts": [
-        {
-          "path": "https://firmware.esphome.io/esphome-web/esp32s2/esphome-web-esp32s2.bin",
-          "offset": 0
-        }
-      ]
-    },
-    {
-      "chipFamily": "ESP32-S3",
-      "parts": [
-        {
-          "path": "https://firmware.esphome.io/esphome-web/esp32s3/esphome-web-esp32s3.bin",
-          "offset": 0
-        }
-      ]
-    },
-    {
-      "chipFamily": "ESP8266",
-      "parts": [
-        {
-          "path": "https://firmware.esphome.io/esphome-web/esp8266/esphome-web-esp8266.bin",
-          "offset": 0
-        }
-      ]
-    }
-  ]
-}