Skip to content

Commit

Permalink
Merge pull request #28 from ApolloAutomation/FirmwareRevert
Browse files Browse the repository at this point in the history
Remove New OTA System
  • Loading branch information
TrevorSchirmer authored Jul 5, 2024
2 parents 697a122 + 0fd050a commit a1de303
Show file tree
Hide file tree
Showing 3 changed files with 401 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
matrix:
file:
- Integrations/ESPHome/AIR-1.yaml
- Integrations/ESPHome/AIR-1_BLE.yaml
steps:
- name: Checkout source code
uses: actions/[email protected]
Expand Down
28 changes: 9 additions & 19 deletions Integrations/ESPHome/AIR-1.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Define Project
substitutions:
name: apollo-air-1
version: "24.7.4.1"
version: "24.7.5.1"
device_description: ${name} made by Apollo Automation - version ${version}.

esphome:
Expand Down Expand Up @@ -61,31 +61,25 @@ ota:
- platform: esphome
password: "apolloautomation"
id: ota_default
- platform: http_request
id: ota_managed

http_request:
useragent: esphome/device
timeout: 10s
verify_ssl: false

update:
- platform: http_request
id: firmware_update
name: Firmware Update
source: https://apolloautomation.github.io/AIR-1/artifact/manifest.json

wifi:
on_connect:
- delay: 5s # Gives time for improv results to be transmitted

# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Apollo AIR1 Hotspot"

captive_portal:

safe_mode:

web_server:
port: 80

logger:
level: NONE

i2c:
sda: GPIO1
scl: GPIO0
Expand Down Expand Up @@ -118,7 +112,7 @@ number:
update_interval: never
step: 0.1
mode: box


binary_sensor:
- platform: status
Expand All @@ -128,7 +122,6 @@ binary_sensor:
pin:
number: GPIO9
inverted: true
ignore_strapping_warning: true
mode:
input: true
pullup: true
Expand Down Expand Up @@ -394,6 +387,3 @@ interval:
- light.turn_off:
id: rgb_light
- lambda: 'id(cycleCounter) += 1;'



Loading

0 comments on commit a1de303

Please sign in to comment.