Skip to content

Commit 3e3c700

Browse files
committed
FW Test
1 parent c30f941 commit 3e3c700

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,13 @@ on:
77
- docs-test
88

99
jobs:
10-
publish-doorman-stock:
11-
name: Publish Doorman Stock Firmware
10+
publish-doorman:
11+
name: Publish Doorman Firmware
1212
uses: ./.github/workflows/esphome-build.yml
1313
with:
14-
files: ./firmware/doorman-stock.yaml
15-
name: Doorman Stock
16-
manifest_filename: doorman-stock-manifest.json
14+
files: ./firmware/doorman-stock.yaml, ./firmware/doorman-nuki-bridge.yaml
15+
name: Doorman
16+
manifest_filename: doorman-manifest.json
1717
clean: false
1818
esphome_version: latest
19-
directory_name: doorman-stock
20-
publish-doorman-nuki-bridge:
21-
name: Publish Doorman Nuki Bridge Firmware
22-
uses: ./.github/workflows/esphome-build.yml
23-
with:
24-
files: ./firmware/doorman-nuki-bridge.yaml
25-
name: Doorman Nuki Bridge
26-
manifest_filename: doorman-nuki-bridge-manifest.json
27-
clean: false
28-
esphome_version: latest
29-
directory_name: doorman-nuki-bridge
19+
directory_name: doorman-firmware

.github/workflows/esphome-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
path: output
7474

7575
publish:
76-
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && github.ref == 'refs/heads/main'
76+
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/docs-test')
7777
name: Publish new firmware and website to GitHub Pages
7878
runs-on: ubuntu-latest
7979
needs: [build]

firmware/base.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ binary_sensor:
239239
- lambda: |
240240
ESP_LOGD("api", "API Disconnected");
241241
242-
# Preconfigured Party Mode Action (Internal)
242+
# Preconfigured Open on ring Action (Internal)
243243
- platform: tcs_intercom
244244
id: doorman_entrance_doorbell
245245
lambda: !lambda "return id(entrance_doorbell_command);"

firmware/doorman-nuki-bridge.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ esp32:
1212
version: 2.0.16
1313
platform_version: 6.7.0
1414

15+
update:
16+
- platform: http_request
17+
id: update_http_request
18+
name: Firmware
19+
source: https://doorman.azon.ai/firmware/doorman-nuki-bridge-manifest.json
20+
1521
# Nuki Lock Bridge
1622
lock:
1723
- platform: nuki_lock

firmware/doorman-stock.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@ packages:
66
device_base: !include base.yaml
77

88
esp32_improv:
9-
authorizer: none
9+
authorizer: none
10+
11+
update:
12+
- platform: http_request
13+
id: update_http_request
14+
name: Firmware
15+
source: https://doorman.azon.ai/firmware/doorman-stock-manifest.json

0 commit comments

Comments
 (0)