This commit is contained in:
J. Nick Koston 2023-06-13 11:40:12 -10:00
parent 313b5c823f
commit 7ea069cd79
No known key found for this signature in database
13 changed files with 34 additions and 39 deletions

View File

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

View File

@ -160,8 +160,12 @@
<div class="radios"> <div class="radios">
<label> <label>
<input type="radio" name="type" value="v2board" checked /> <input type="radio" name="type" value="v2board_esp8266_d1_mini_lite" checked />
<img src="./v2board.png" alt="RATGDO v2 board" /> <img src="./v2board_esp8266_d1_mini_lite" alt="RATGDO v2 board with ESP8266 D1 Mini Lite" />
</label>
<label>
<input type="radio" name="type" value="v2board_esp32_d1_mini" checked />
<img src="./v2board_esp32_d1_mini" alt="RATGDO v2 board with ESP32 D1 Mini" />
</label> </label>
</div> </div>

View File

@ -1 +0,0 @@
v2board_esp8266_d1_mini.png

View File

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

View File

Before

Width:  |  Height:  |  Size: 288 KiB

After

Width:  |  Height:  |  Size: 288 KiB

View File

@ -13,14 +13,26 @@ esphome:
name: ratgdo.esphome name: ratgdo.esphome
version: "2.0" version: "2.0"
esp32:
board: d1_mini32
substitutions:
uart_tx_pin: D4
uart_rx_pin: D2
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3
dashboard_import: dashboard_import:
package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo.yaml@main package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo_v2board_esp32_d1_mini.yaml@main
packages: packages:
# Git repo examples # Git repo examples
remote_package: remote_package:
url: https://github.com/esphome-ratgdo/esphome-ratgdo url: https://github.com/esphome-ratgdo/esphome-ratgdo
files: [v2board_esp32_d1_mini_include.yaml, base.yaml] files: [base.yaml]
refresh: 1s # optional refresh: 1s # optional
# Sync time with Home Assistant. # Sync time with Home Assistant.

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

View File

@ -2,6 +2,13 @@
substitutions: substitutions:
id_prefix: ratgdov2 id_prefix: ratgdov2
friendly_name: "RATGDOv2" friendly_name: "RATGDOv2"
uart_tx_pin: D4
uart_rx_pin: D2
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: web_server:
@ -13,14 +20,18 @@ esphome:
name: ratgdo.esphome name: ratgdo.esphome
version: "2.0" version: "2.0"
esp8266:
board: d1_mini_lite
restore_from_flash: true
dashboard_import: dashboard_import:
package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo_v2board_esp8266_d1_mini.yaml@main package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo_v2board_esp8266_d1_mini_lite.yaml@main
packages: packages:
# Git repo examples # Git repo examples
remote_package: remote_package:
url: https://github.com/esphome-ratgdo/esphome-ratgdo url: https://github.com/esphome-ratgdo/esphome-ratgdo
files: [v2board_esp8266_d1_mini_include.yaml, base.yaml] files: [base.yaml]
refresh: 1s # optional refresh: 1s # optional
# Sync time with Home Assistant. # Sync time with Home Assistant.

View File

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

View File

@ -1,13 +0,0 @@
---
esp32:
board: d1_mini32
substitutions:
uart_tx_pin: D4
uart_rx_pin: D2
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3

View File

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

View File

@ -1,15 +0,0 @@
---
esp8266:
board: d1_mini_lite
restore_from_flash: true
substitutions:
uart_tx_pin: D4
uart_rx_pin: D2
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3

View File

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