Skip to content

Commit a1de303

Browse files
Merge pull request #28 from ApolloAutomation/FirmwareRevert
Remove New OTA System
2 parents 697a122 + 0fd050a commit a1de303

3 files changed

Lines changed: 401 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
matrix:
1212
file:
1313
- Integrations/ESPHome/AIR-1.yaml
14+
- Integrations/ESPHome/AIR-1_BLE.yaml
1415
steps:
1516
- name: Checkout source code
1617
uses: actions/checkout@v4.1.7

Integrations/ESPHome/AIR-1.yaml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Define Project
22
substitutions:
33
name: apollo-air-1
4-
version: "24.7.4.1"
4+
version: "24.7.5.1"
55
device_description: ${name} made by Apollo Automation - version ${version}.
66

77
esphome:
@@ -61,31 +61,25 @@ ota:
6161
- platform: esphome
6262
password: "apolloautomation"
6363
id: ota_default
64-
- platform: http_request
65-
id: ota_managed
6664

67-
http_request:
68-
useragent: esphome/device
69-
timeout: 10s
70-
verify_ssl: false
71-
72-
update:
73-
- platform: http_request
74-
id: firmware_update
75-
name: Firmware Update
76-
source: https://apolloautomation.github.io/AIR-1/artifact/manifest.json
7765

7866
wifi:
67+
on_connect:
68+
- delay: 5s # Gives time for improv results to be transmitted
69+
70+
# Enable fallback hotspot (captive portal) in case wifi connection fails
7971
ap:
8072
ssid: "Apollo AIR1 Hotspot"
8173

8274
captive_portal:
8375

84-
safe_mode:
8576

8677
web_server:
8778
port: 80
8879

80+
logger:
81+
level: NONE
82+
8983
i2c:
9084
sda: GPIO1
9185
scl: GPIO0
@@ -118,7 +112,7 @@ number:
118112
update_interval: never
119113
step: 0.1
120114
mode: box
121-
115+
122116

123117
binary_sensor:
124118
- platform: status
@@ -128,7 +122,6 @@ binary_sensor:
128122
pin:
129123
number: GPIO9
130124
inverted: true
131-
ignore_strapping_warning: true
132125
mode:
133126
input: true
134127
pullup: true
@@ -394,6 +387,3 @@ interval:
394387
- light.turn_off:
395388
id: rgb_light
396389
- lambda: 'id(cycleCounter) += 1;'
397-
398-
399-

0 commit comments

Comments
 (0)