This commit is contained in:
J. Nick Koston 2023-06-08 11:50:39 -05:00
parent 5ba19acbcb
commit 89c3714d76
No known key found for this signature in database
3 changed files with 39 additions and 6 deletions

View File

@ -19,11 +19,12 @@ This is a port of the ratgdo software for the v2 board to esphome.
substitutions: substitutions:
id_prefix: ratgdo id_prefix: ratgdo
friendly_name: "Garage" friendly_name: "Garage"
wifi_ssid: <FILL IN SSID>
wifi_password: <FILL IN PASSWORD>
web_server: web_server:
dashboard_import:
package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo.yaml@main
packages: packages:
# Git repo examples # Git repo examples
remote_package: remote_package:
@ -42,10 +43,8 @@ api:
ota: ota:
wifi: wifi:
ssid: ${wifi_ssid} ap:
password: ${wifi_password}
logger: logger:
level: VERBOSE level: VERBOSE
``` ```

View File

@ -72,7 +72,9 @@ uart:
button: button:
- platform: restart - platform: restart
name: "${friendly_name} Restart" name: "${friendly_name} Restart"
- platform: safe_mode
name: "${friendly_name} Safe Mode Boot"
entity_category: diagnostic
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_sync id: ${id_prefix}_sync
type: sync type: sync

32
ratgdo.yaml Normal file
View File

@ -0,0 +1,32 @@
substitutions:
id_prefix: ratgdo
friendly_name: "Garage"
web_server:
dashboard_import:
package_import_url: github://esphome-ratgdo/esphome-ratgdo/ratgdo.yaml@main
packages:
# Git repo examples
remote_package:
url: https://github.com/esphome-ratgdo/esphome-ratgdo
files: [base.yml]
refresh: 1s # optional
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
api:
id: api_server
ota:
wifi:
ap:
logger:
level: VERBOSE