feat: add v2 board with d1_mini (#165)

This commit is contained in:
J. Nick Koston 2024-01-02 22:33:35 -10:00 committed by GitHub
parent efeb5998dd
commit f0dda92908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 61 additions and 0 deletions

View File

@ -19,6 +19,9 @@ jobs:
- file: v2board_esp8266_d1_mini_lite.yaml - file: v2board_esp8266_d1_mini_lite.yaml
name: V2.0 Board ESP8266 D1 Mini Lite name: V2.0 Board ESP8266 D1 Mini Lite
manifest_filename: v2board_esp8266_d1_mini_lite-manifest.json manifest_filename: v2board_esp8266_d1_mini_lite-manifest.json
- file: v2board_esp8266_d1_mini.yaml
name: V2.0 Board ESP8266 D1 Mini
manifest_filename: v2board_esp8266_d1_mini-manifest.json
- file: v2board_esp32_d1_mini.yaml - file: v2board_esp32_d1_mini.yaml
name: V2.0 Board ESP32 D1 Mini name: V2.0 Board ESP32 D1 Mini
manifest_filename: v2board_esp32_d1_mini-manifest.json manifest_filename: v2board_esp32_d1_mini-manifest.json

View File

@ -19,6 +19,7 @@ The ESPHome firmware will allow you to open the door to any position after calib
## ESPHome config ## ESPHome config
- [ESPHome config for v2.0 board with ESP8266 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp8266_d1_mini.yaml)
- [ESPHome config for v2.0 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp8266_d1_mini_lite.yaml) - [ESPHome config for v2.0 board with ESP8266 D1 Mini lite](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp8266_d1_mini_lite.yaml)
- [ESPHome config for v2.0 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_d1_mini.yaml) - [ESPHome config for v2.0 board with ESP32 D1 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_d1_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.0 board with ESP32 Lolin D2 Mini](https://github.com/RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_lolin_s2_mini.yaml)

View File

@ -196,6 +196,10 @@
<input type="radio" name="type" value="v2board_esp8266_d1_mini_lite" /> <input type="radio" name="type" value="v2board_esp8266_d1_mini_lite" />
<img src="./v2board_esp8266_d1_mini_lite.png" alt="ratgdo v2.0 board with ESP8266 D1 Mini Lite" /> <img src="./v2board_esp8266_d1_mini_lite.png" alt="ratgdo v2.0 board with ESP8266 D1 Mini Lite" />
</label> </label>
<label>
<input type="radio" name="type" value="v2board_esp8266_d1_mini" />
<img src="./v2board_esp8266_d1_mini.png" alt="ratgdo v2.0 board with ESP8266 D1 Mini" />
</label>
<label> <label>
<input type="radio" name="type" value="v2board_esp32_d1_mini" /> <input type="radio" name="type" value="v2board_esp32_d1_mini" />
<img src="./v2board_esp32_d1_mini.png" alt="ratgdo v2.0 board with ESP32 D1 Mini" /> <img src="./v2board_esp32_d1_mini.png" alt="ratgdo v2.0 board with ESP32 D1 Mini" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

View File

@ -0,0 +1,52 @@
---
substitutions:
id_prefix: ratgdov2
friendly_name: "ratgdov2"
uart_tx_pin: D4
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.0"
esp8266:
board: d1_mini
restore_from_flash: true
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v2board_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:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 338 KiB

View File

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