diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c30d176..9672dbd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,9 @@ jobs: - file: v2board_esp8266_d1_mini_lite.yaml name: V2 Board ESP8266 D1 Mini Lite 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 fail-fast: false steps: - name: Checkout source code diff --git a/README.md b/README.md index 3f0eb2c..c60c271 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ This project is not affiliated with ratgdo or Paul Wieland. Please buy his board # ESPHome config - [ESPHome config for v2 board with ESP8266 D1 Mini lite](https://github.com/ESPHome-RATGDO/esphome-ratgdo/blob/main/static/v2board_esp8266_d1_mini_lite.yaml) +- [ESPHome config for v2 board with ESP32 D1 Mini](https://github.com/ESPHome-RATGDO/esphome-ratgdo/blob/main/static/v2board_esp32_d1_mini.yaml) - [Web Installer](https://esphome-ratgdo.github.io/esphome-ratgdo/) ![Home Assistant Screen Shot](static/hass.png) diff --git a/static/index.html b/static/index.html index 1b2e5b5..fe90709 100644 --- a/static/index.html +++ b/static/index.html @@ -164,6 +164,10 @@ ratgdo v2 board with ESP8266 D1 Mini Lite +

diff --git a/static/v2board_esp32_d1_mini.png b/static/v2board_esp32_d1_mini.png new file mode 100644 index 0000000..c59c947 Binary files /dev/null and b/static/v2board_esp32_d1_mini.png differ diff --git a/static/v2board_esp32_d1_mini.yaml b/static/v2board_esp32_d1_mini.yaml new file mode 100644 index 0000000..d23c169 --- /dev/null +++ b/static/v2board_esp32_d1_mini.yaml @@ -0,0 +1,50 @@ +--- +substitutions: + id_prefix: 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: + +esphome: + name: ${id_prefix} + friendly_name: ${friendly_name} + name_add_mac_suffix: true + project: + name: ratgdo.esphome + version: "2.0" + +esp32: + board: wemos_d1_mini32 + +dashboard_import: + package_import_url: github://esphome-ratgdo/esphome-ratgdo/v2board_esp32_d1_mini.yaml@main + +packages: + remote_package: + url: https://github.com/esphome-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_esp32_d1_mini.yaml b/v2board_esp32_d1_mini.yaml new file mode 120000 index 0000000..6eccb9d --- /dev/null +++ b/v2board_esp32_d1_mini.yaml @@ -0,0 +1 @@ +static/v2board_esp32_d1_mini.yaml \ No newline at end of file