-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
71 additions
and
1,153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,22 @@ | |
</head> | ||
<body> | ||
<p>ESPHome Web is a set of tools to allow working with ESP devices in the browser.</p> | ||
<p>To flash the XX firmware, connect an ESP to your computer and hit the button:</p> | ||
<esphome-web-install-button | ||
<p>To flash the ESPHome firmware, connect an ESP to your computer and hit the button:</p> | ||
<esp-web-install-button | ||
manifest="firmware_build/manifest.json" | ||
></esphome-web-install-button> | ||
></esp-web-install-button> | ||
<p><i>Note, this only works in desktop Chrome and Edge. Android support has not been implemented yet.</i></div> | ||
<p> | ||
This works by combining Web Serial with a <a href="firmware_build/manifest.json">manifest</a> which describes the firmware. It will automatically detect the type of the connected ESP device and find the right firmware files in the manifest. | ||
</p> | ||
<script module> | ||
import( | ||
// In development we import locally. | ||
window.location.hostname === "localhost" | ||
? "/dist/web/install-button.js" | ||
: "https://unpkg.com/[email protected]/dist/web/install-button.js?module" | ||
); | ||
</script> | ||
<script src="./dist/web/install-button.js" type="module"></script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.