Lolin s2 mini support (#54)

* Create main.yml

* test 1

* test 2

* test 3

* test 4

* test 5

* another test

* made it a link

* change the pins

* made the pins strings

* try yet again to get pages working

* minor change for testing

* get ready for PR

* preparing for PR V2
This commit is contained in:
Craig Maher 2023-10-02 14:10:30 -07:00 committed by GitHub
parent d2ae60e6ed
commit dee9f3d616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 2 deletions

View File

@ -22,6 +22,9 @@ jobs:
- file: v2board_esp32_d1_mini.yaml - file: v2board_esp32_d1_mini.yaml
name: V2 Board ESP32 D1 Mini name: V2 Board ESP32 D1 Mini
manifest_filename: v2board_esp32_d1_mini-manifest.json manifest_filename: v2board_esp32_d1_mini-manifest.json
- file: v2board_lolin_s2_mini.yaml
name: V2 Board lolin S2 mini
manifest_filename: v2board_lolin_s2_mini-manifest.json
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout source code - name: Checkout source code

View File

@ -168,6 +168,10 @@
<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 board with ESP32 D1 Mini" /> <img src="./v2board_esp32_d1_mini.png" alt="ratgdo v2 board with ESP32 D1 Mini" />
</label> </label>
<label>
<input type="radio" name="type" value="v2board_lolin_s2_mini" />
<img src="./v2board_lolin_s2_mini.jpg" alt="ratgdo v2 board with lolin s2 mini" />
</label>
</div> </div>
<p class="button-row" align="center"> <p class="button-row" align="center">

Binary file not shown.

View File

@ -0,0 +1,51 @@
---
substitutions:
id_prefix: ratgdov2
friendly_name: "RATGDOv2"
uart_tx_pin: "16"
uart_rx_pin: "33"
input_obst_pin: "11"
status_door_pin: "5"
status_obstruction_pin: "12"
dry_contact_open_pin: "7"
dry_contact_close_pin: "9"
dry_contact_light_pin: "18"
web_server:
esphome:
name: ${id_prefix}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: ratgdo.esphome
version: "2.0"
esp32:
board: lolin_s2_mini
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v2board_lolin_s2_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:

1
v2board_lolin_s2_mini.yaml Symbolic link
View File

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