Add 2.5i board (#116)

This commit is contained in:
J. Nick Koston 2023-11-19 15:33:03 -06:00 committed by GitHub
parent 5a0294f9e3
commit 44ecf15c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 72 additions and 1 deletions

View File

@ -31,6 +31,9 @@ jobs:
- file: v25board_esp32_d1_mini.yaml - file: v25board_esp32_d1_mini.yaml
name: V2.5 Board ESP32 D1 Mini name: V2.5 Board ESP32 D1 Mini
manifest_filename: v25board_esp32_d1_mini-manifest.json manifest_filename: v25board_esp32_d1_mini-manifest.json
- file: v25iboard.yaml
name: V2.5i Board
manifest_filename: v25iboard.json
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout source code - name: Checkout source code

View File

@ -24,6 +24,8 @@ The ESPHome firmware will allow you to open the door to any position after calib
- [ESPHome config for v2.0 board with ESP32 Lolin D2 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_lolin_s2_mini.yaml) - [ESPHome config for v2.0 board with ESP32 Lolin D2 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_lolin_s2_mini.yaml)
- [ESPHome config for v2.5 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_lite.yaml) - [ESPHome config for v2.5 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp8266_d1_mini_lite.yaml)
- [ESPHome config for v2.5 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp32_d1_mini.yaml) - [ESPHome config for v2.5 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25board_esp32_d1_mini.yaml)
- [ESPHome config for v2.5i board](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v25iboard.yaml)
- [Web Installer](https://ratgdo.github.io/esphome-ratgdo/) - [Web Installer](https://ratgdo.github.io/esphome-ratgdo/)
![Home Assistant Screen Shot](static/hass.png) ![Home Assistant Screen Shot](static/hass.png)

View File

@ -158,10 +158,18 @@
<p><em>Note: At the moment ESPHome only supports Security + 2.0 door openers (Yellow learn button). Support for other protocols is coming.</em></p> <p><em>Note: At the moment ESPHome only supports Security + 2.0 door openers (Yellow learn button). Support for other protocols is coming.</em></p>
<h3>v2.5i Board</h3>
<div class="radios">
<label>
<input type="radio" name="type" value="v25iboard" checked />
<img src="./v25iboard.png" alt="ratgdo v2.5i board" />
</label>
</div>
<h3>v2.5 Board</h3> <h3>v2.5 Board</h3>
<div class="radios"> <div class="radios">
<label> <label>
<input type="radio" name="type" value="v25board_esp8266_d1_mini_lite" checked /> <input type="radio" name="type" value="v25board_esp8266_d1_mini_lite" />
<img src="./v25board_esp8266_d1_mini_lite.png" alt="ratgdo v2.5 board with ESP8266 D1 Mini Lite" /> <img src="./v25board_esp8266_d1_mini_lite.png" alt="ratgdo v2.5 board with ESP8266 D1 Mini Lite" />
</label> </label>
<label> <label>
@ -186,6 +194,11 @@
</label> </label>
</div> </div>
<h3>v1.0 Board</h3>
<div>
Not supported
</div>
<p class="button-row" align="center"> <p class="button-row" align="center">
<esp-web-install-button></esp-web-install-button> <esp-web-install-button></esp-web-install-button>
</p> </p>

BIN
static/v25iboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

52
static/v25iboard.yaml Normal file
View File

@ -0,0 +1,52 @@
---
substitutions:
id_prefix: ratgdov25i
friendly_name: "ratgdov2.5i"
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.5i"
esp8266:
board: d1_mini_lite
restore_from_flash: true
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v25iboard.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
v25iboard.yaml Symbolic link
View File

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