diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9672dbd..32b8669 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,10 @@ jobs: manifest_filename: v2board_esp8266_d1_mini_lite-manifest.json - file: v2board_esp32_d1_mini.yaml 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 steps: - name: Checkout source code diff --git a/static/index.html b/static/index.html index 98f3d98..3d427b2 100644 --- a/static/index.html +++ b/static/index.html @@ -167,7 +167,11 @@ + +

diff --git a/static/v2board_lolin_s2_mini.jpg b/static/v2board_lolin_s2_mini.jpg new file mode 100644 index 0000000..1272cbb Binary files /dev/null and b/static/v2board_lolin_s2_mini.jpg differ diff --git a/static/v2board_lolin_s2_mini.yaml b/static/v2board_lolin_s2_mini.yaml new file mode 100644 index 0000000..c052b35 --- /dev/null +++ b/static/v2board_lolin_s2_mini.yaml @@ -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: diff --git a/v2board_lolin_s2_mini.yaml b/v2board_lolin_s2_mini.yaml new file mode 120000 index 0000000..abee0f2 --- /dev/null +++ b/v2board_lolin_s2_mini.yaml @@ -0,0 +1 @@ +./static/v2board_lolin_s2_mini.yaml \ No newline at end of file