diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96a9f8a..12ed870 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,12 @@ jobs: - file: v25board_esp8266_d1_mini_lite_secplusv1.yaml name: V2.5 Board ESP8266 D1 Mini Lite Security+ 1.0 manifest_filename: v25board_esp8266_d1_mini_lite_secplusv1-manifest.json + - file: v25board_esp8266_d1_mini.yaml + name: V2.5 Board ESP8266 D1 Mini Security+ 2.0 + manifest_filename: v25board_esp8266_d1_mini-manifest.json + - file: v25board_esp8266_d1_mini_secplusv1.yaml + name: V2.5 Board ESP8266 D1 Mini Security+ 1.0 + manifest_filename: v25board_esp8266_d1_mini_secplusv1-manifest.json - file: v25board_esp32_d1_mini.yaml name: V2.5 Board ESP32 D1 Mini Security+ 2.0 manifest_filename: v25board_esp32_d1_mini-manifest.json @@ -51,7 +57,7 @@ jobs: - name: Checkout source code uses: actions/checkout@v3.3.0 - name: Build firmware - uses: esphome/build-action@v1.8.0 + uses: ratgdo/esphome-build-action@main id: esphome-build with: yaml_file: ${{ matrix.firmware.file }} diff --git a/README.md b/README.md index 9d87b6f..f71baa5 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ The ESPHome firmware will allow you to open the door to any position after calib - [Security+ 2.0 for v2.0 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp8266_d1_mini_lite.yaml) - [Security+ 2.0 for v2.0 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_d1_mini.yaml) - [Security+ 2.0 for v2.0 board with ESP32 Lolin D2 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_lolin_s2_mini.yaml) +- [Security+ 2.0 for v2.5 board with ESP8266 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini.yaml) +- [Security+ 1.0 for v2.5 board with ESP8266 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_secplusv1.yaml) - [Security+ 2.0 for v2.5 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_lite.yaml) - [Security+ 1.0 for v2.5 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_lite_secplusv1.yaml) - [Security+ 2.0 for v2.5 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp32_d1_mini.yaml) diff --git a/static/v25board_esp8266_d1_mini.png b/static/v25board_esp8266_d1_mini.png new file mode 100644 index 0000000..bf6f461 Binary files /dev/null and b/static/v25board_esp8266_d1_mini.png differ diff --git a/static/v25board_esp8266_d1_mini.yaml b/static/v25board_esp8266_d1_mini.yaml new file mode 100644 index 0000000..d3a4911 --- /dev/null +++ b/static/v25board_esp8266_d1_mini.yaml @@ -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/v25board_esp8266_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: diff --git a/static/v25board_esp8266_d1_mini_secplusv1.png b/static/v25board_esp8266_d1_mini_secplusv1.png new file mode 100644 index 0000000..bf6f461 Binary files /dev/null and b/static/v25board_esp8266_d1_mini_secplusv1.png differ diff --git a/static/v25board_esp8266_d1_mini_secplusv1.yaml b/static/v25board_esp8266_d1_mini_secplusv1.yaml new file mode 100644 index 0000000..0ac92e8 --- /dev/null +++ b/static/v25board_esp8266_d1_mini_secplusv1.yaml @@ -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/v25board_esp8266_d1_mini_secplusv1.yaml@main + +packages: + remote_package: + url: https://github.com/ratgdo/esphome-ratgdo + files: [base_secplusv1.yaml] + refresh: 1s + +# Sync time with Home Assistant. +time: + - platform: homeassistant + id: homeassistant_time + +api: + id: api_server + +ota: + +improv_serial: + +wifi: + ap: + +logger: diff --git a/v25board_esp8266_d1_mini.yaml b/v25board_esp8266_d1_mini.yaml new file mode 120000 index 0000000..85b72a6 --- /dev/null +++ b/v25board_esp8266_d1_mini.yaml @@ -0,0 +1 @@ +static/v25board_esp8266_d1_mini.yaml \ No newline at end of file diff --git a/v25board_esp8266_d1_mini_secplusv1.yaml b/v25board_esp8266_d1_mini_secplusv1.yaml new file mode 120000 index 0000000..ce1d75d --- /dev/null +++ b/v25board_esp8266_d1_mini_secplusv1.yaml @@ -0,0 +1 @@ +static/v25board_esp8266_d1_mini_secplusv1.yaml \ No newline at end of file