Skip to content

Instantly share code, notes, and snippets.

@andrewchumchal
Created January 16, 2025 19:11
Show Gist options
  • Save andrewchumchal/fb231daa29cb90a4ff565981df9fc6c4 to your computer and use it in GitHub Desktop.
Save andrewchumchal/fb231daa29cb90a4ff565981df9fc6c4 to your computer and use it in GitHub Desktop.
---
substitutions:
id_prefix: ratgdov25i
friendly_name: "ratgdov2.5i"
uart_tx_pin: D1
uart_rx_pin: D2
input_obst_pin: D7
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:
port: 80
esphome:
name: garage-door
friendly_name: Garage Door
project:
name: ratgdo.esphome
version: "2.5i"
esp8266:
board: d1_mini
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v25iboard.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
# Enable Home Assistant API
api:
encryption:
key: "DEFAULT API "
ota:
platform: esphome
password: !secret ota_password
logger:
improv_serial:
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
hidden: True
# Optional manual IP
manual_ip:
static_ip:
gateway:
subnet:
dns1:
mqtt:
broker: !secret mqtt_broker
username: !secret mqtt_user
password: !secret mqtt_pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment