2022-11-03 20:58:58 -04:00
|
|
|
esphome:
|
|
|
|
name: "${node_name}"
|
|
|
|
|
|
|
|
# Enable logging
|
|
|
|
logger:
|
|
|
|
|
|
|
|
# Enable Home Assistant API
|
|
|
|
api:
|
|
|
|
encryption:
|
|
|
|
key: !secret api_key
|
|
|
|
|
|
|
|
ota:
|
|
|
|
password: !secret ota_password
|
|
|
|
|
2024-03-02 14:01:59 -05:00
|
|
|
web_server:
|
|
|
|
port: 80
|
|
|
|
auth:
|
|
|
|
username: !secret web_server_username
|
|
|
|
password: !secret web_server_password
|
|
|
|
|
2022-11-03 20:58:58 -04:00
|
|
|
wifi:
|
|
|
|
ssid: "CMS-HVAC"
|
|
|
|
password: !secret wifi_password
|
2023-04-20 00:48:24 -04:00
|
|
|
domain: .hvac.claremontmakerspace.org
|
2023-04-20 00:51:07 -04:00
|
|
|
|
|
|
|
# Sync time with Home Assistant.
|
|
|
|
time:
|
|
|
|
- platform: homeassistant
|
|
|
|
id: homeassistant_time
|
|
|
|
|
|
|
|
# Text sensors with general information.
|
|
|
|
text_sensor:
|
|
|
|
# Expose ESPHome version as sensor.
|
|
|
|
- platform: version
|
|
|
|
name: ${node_name} ESPHome Version
|
|
|
|
# Expose WiFi information as sensors.
|
|
|
|
- platform: wifi_info
|
|
|
|
ip_address:
|
|
|
|
name: ${node_name} IP
|
|
|
|
ssid:
|
|
|
|
name: ${node_name} SSID
|
|
|
|
bssid:
|
|
|
|
name: ${node_name} BSSID
|
|
|
|
|
|
|
|
# Sensors with general information.
|
|
|
|
sensor:
|
|
|
|
# Uptime sensor.
|
|
|
|
- platform: uptime
|
|
|
|
name: ${node_name} Uptime
|