forked from klaasnicolaas/home-assistant-glow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Create a GH pages website (klaasnicolaas#90)
* 🚚 Move images to the static directory * Auto build firmware and gh-pages website * Change it to publish workflow * Add some information * Change naming in the CI workflow * Replace !secrets for substitutions * Comment out the wifi credentials
- Loading branch information
1 parent
c065c72
commit a873021
Showing
11 changed files
with
91 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# Can we build firmware check | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
ci: | ||
name: "🛠️ Build check" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⤵️ Check out files from GitHub | ||
uses: actions/checkout@v2 | ||
- name: Test firmware build | ||
uses: esphome/build-action@v1.0.1 | ||
with: | ||
yaml_file: home_assistant_glow.yaml |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# Build the ESPHome binary firmware | ||
# And deploy it to Github Pages. | ||
name: Build firmware | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build: | ||
name: "🛠️ Build ESPHome firmware" | ||
uses: esphome/workflows/.github/workflows/build.yml@main | ||
with: | ||
files: home_assistant_glow.yaml | ||
secrets: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# CHANGEME: Set these variable to your liking | ||
title: Home Assistant Glow 🌟 | ||
description: Powered by ESPHome and ESP Web Tools | ||
theme: jekyll-theme-cayman |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[![GitHub Sponsors][sponsor-shield]][sponsor-url] | ||
|
||
[![GitHub release][release-shield]][release-url] | ||
[![Stargazers][stars-shield]][stars-url] | ||
[![GitHub Last Commit][last-commit-shield]][commits-url] | ||
|
||
# Home Assistant Glow | ||
|
||
<p align="center"> | ||
<img width="80%" src="images/home-assistant-glow.jpg"> | ||
</p> | ||
|
||
Home Assistant Glow makes a *(not so)* smart meter without a P1 port easily readable, reading the pulse LED that is always present in most cases and it works with [ESPHome][esphome]! To neatly hide it all in your meter cupboard, a case has been designed that you can 3D print yourself. | ||
|
||
## Installation | ||
|
||
You can use the button below to install the home assistant glow firmware directly to your device via USB from the browser. | ||
|
||
<esp-web-install-button manifest="./manifest.json"></esp-web-install-button> | ||
|
||
<script type="module" src="https://unpkg.com/esp-web-tools@5.2.0/dist/web/install-button.js?module"></script> | ||
|
||
[esphome]: https://esphome.io/ | ||
|
||
[release-shield]: https://img.shields.io/github/release/klaasnicolaas/home-assistant-glow.svg | ||
[release-url]: https://GitHub.com/klaasnicolaas/home-assistant-glow/releases/ | ||
[stars-shield]: https://img.shields.io/github/stars/klaasnicolaas/home-assistant-glow.svg | ||
[stars-url]: https://github.com/klaasnicolaas/home-assistant-glow/stargazers | ||
[last-commit-shield]: https://img.shields.io/github/last-commit/klaasnicolaas/home-assistant-glow.svg | ||
[commits-url]: https://github.com/klaasnicolaas/home-assistant-glow/commits/main | ||
[sponsor-shield]: https://img.shields.io/github/sponsors/klaasnicolaas?label=Sponsor%20this%20project&style=for-the-badge | ||
[sponsor-url]: https://github.com/sponsors/klaasnicolaas |