feat: add YAML files and binaries for v2.5 boards (#72)

This commit is contained in:
J. Nick Koston 2023-10-23 17:32:28 -05:00 committed by GitHub
parent 7da1282ecb
commit 89e2910762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 114 additions and 3 deletions

View File

@ -17,14 +17,20 @@ jobs:
matrix:
firmware:
- file: v2board_esp8266_d1_mini_lite.yaml
name: V2 Board ESP8266 D1 Mini Lite
name: V2.0 Board ESP8266 D1 Mini Lite
manifest_filename: v2board_esp8266_d1_mini_lite-manifest.json
- file: v2board_esp32_d1_mini.yaml
name: V2 Board ESP32 D1 Mini
name: V2.0 Board ESP32 D1 Mini
manifest_filename: v2board_esp32_d1_mini-manifest.json
- file: v2board_esp32_lolin_s2_mini.yaml
name: V2 Board ESP32 lolin S2 mini
name: V2.0 Board ESP32 lolin S2 mini
manifest_filename: v2board_esp32_lolin_s2_mini-manifest.json
- file: v25board_esp8266_d1_mini_lite.yaml
name: V2.5 Board ESP8266 D1 Mini Lite
manifest_filename: v25board_esp8266_d1_mini_lite-manifest.json
- file: v25board_esp32_d1_mini.yaml
name: V2.5 Board ESP32 D1 Mini
manifest_filename: v25board_esp32_d1_mini-manifest.json
fail-fast: false
steps:
- name: Checkout source code

View File

@ -0,0 +1,51 @@
---
substitutions:
id_prefix: ratgdov25
friendly_name: "RATGDOv2.5"
uart_tx_pin: D1
uart_rx_pin: D2
input_obst_pin: D7
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3
web_server:
esphome:
name: ${id_prefix}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: ratgdo.esphome
version: "2.5"
esp32:
board: wemos_d1_mini32
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v2board_esp32_d1_mini.yaml@main
packages:
remote_package:
url: https://github.com/ratgdo/esphome-ratgdo
files: [base.yaml]
refresh: 1s
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
api:
id: api_server
ota:
improv_serial:
wifi:
ap:
logger:

View File

@ -0,0 +1,52 @@
---
substitutions:
id_prefix: ratgdov25
friendly_name: "ratgdov2.5"
uart_tx_pin: D1
uart_rx_pin: D2
input_obst_pin: D7
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3
web_server:
esphome:
name: ${id_prefix}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: ratgdo.esphome
version: "2.5"
esp8266:
board: d1_mini_lite
restore_from_flash: true
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v2board_esp8266_d1_mini_lite.yaml@main
packages:
remote_package:
url: https://github.com/ratgdo/esphome-ratgdo
files: [base.yaml]
refresh: 1s
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
api:
id: api_server
ota:
improv_serial:
wifi:
ap:
logger:

1
v25board_esp32_d1_mini.yaml Symbolic link
View File

@ -0,0 +1 @@
static/v25board_esp32_d1_mini.yaml

View File

@ -0,0 +1 @@
static/v25board_esp8266_d1_mini_lite.yaml