-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
51 changed files
with
9,684 additions
and
29,818 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,42 @@ | ||
name: Bug Report | ||
description: File a bug report or get help with an issue. | ||
labels: ["bug"] | ||
assignees: | ||
- AzonInc | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Please describe the bug you encountered, and what you expected to happen instead. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs | ||
description: Please copy and paste any relevant log output. | ||
render: plain text | ||
- type: input | ||
id: config-version | ||
attributes: | ||
label: Which version of the ESPHome Doorman firmware config are you running? | ||
placeholder: "1.0.0" | ||
- type: dropdown | ||
id: update-management | ||
attributes: | ||
label: How do you manage your Doorman's updates? | ||
options: | ||
- OTA Updates | ||
- ESPHome YAML Config | ||
- type: input | ||
id: esphome-version | ||
attributes: | ||
label: If you're using an ESPHome YAML config, which version of ESPHome are you running? | ||
placeholder: "2024.3.0" | ||
- type: textarea | ||
id: esphome-config | ||
attributes: | ||
label: ESPHome Config | ||
description: If you have your own ESPHome YAML configuration, please paste it here. Remember to redact any sensitive information like encryption keys or passwords. | ||
render: 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,42 @@ | ||
name: Build Stock Firmware | ||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
build: | ||
name: Build Firmware | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.9" | ||
|
||
- name: Install ESPHome | ||
run: pip install --user esphome | ||
|
||
- name: Compile Release Firmware | ||
working-directory: firmware | ||
run: | | ||
esphome compile doorman-stock.yaml | ||
mkdir -p bin | ||
cp .esphome/build/doorman-s3/.pioenvs/doorman-s3/firmware-factory.bin bin/firmware-factory.bin | ||
cp .esphome/build/doorman-s3/.pioenvs/doorman-s3/firmware.bin bin/firmware.bin | ||
- name: Compile Nuki Bridge Firmware | ||
working-directory: firmware | ||
run: | | ||
rm -rf .esphome/build/doorman-s3 | ||
esphome compile doorman-nuki-bridge.yaml | ||
mkdir -p bin | ||
cp .esphome/build/doorman-s3/.pioenvs/doorman-s3/firmware-factory.bin bin/nuki-bridge-firmware-factory.bin | ||
cp .esphome/build/doorman-s3/.pioenvs/doorman-s3/firmware.bin bin/nuki-bridge-firmware.bin | ||
- name: Upload Firmware | ||
uses: skx/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
args: "firmware/bin/*.bin" |
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,40 @@ | ||
name: Nightly Stock Firmware Build | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build: | ||
name: Build Firmware | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.9" | ||
|
||
- name: Install ESPHome | ||
run: pip install --pre --user esphome | ||
|
||
- name: Compile Release Firmware | ||
working-directory: firmware | ||
run: | | ||
esphome compile doorman-stock.yaml | ||
mkdir -p bin | ||
cp .esphome/build/doorman-s3/.pioenvs/doorman-s3/firmware-factory.bin bin/firmware-factory.bin | ||
cp .esphome/build/doorman-s3/.pioenvs/doorman-s3/firmware.bin bin/firmware.bin | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: firmware-bin | ||
path: firmware/bin | ||
|
||
- name: Send Discord failure notification | ||
if: failure() | ||
uses: appleboy/discord-action@master | ||
with: | ||
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} | ||
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} | ||
color: "#FF6961" | ||
message: "The latest nightly build failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
doorman-backups | ||
manufacturing | ||
manufacturing | ||
*.lck | ||
*autosave* | ||
*auto_save* | ||
.vscode |
Oops, something went wrong.