Skip to content

Instantly share code, notes, and snippets.

@cerebrate
Created Oct 1, 2021
Embed
What would you like to do?
Non-device specific ESPHome package
# Common features for all our device nodes.
# Enable logging
logger:
# Enable wireless networking
wifi:
ssid: "Arkane Systems"
password: "<REDACTED>"
fast_connect: true
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${deviceName} Fallback Hotspot"
password: "<REDACTED>"
captive_portal:
# Enable over-the-air updates.
ota:
password: '<REDACTED>'
# Enable Home Assistant API
api:
password: '<REDACTED>'
# Binary Sensors
binary_sensor:
# Node state.
- platform: status
name: ${deviceFriendlyName}
# Sensors
sensor:
# Uptime sensor
- platform: uptime
name: ${deviceFriendlyName} Uptime
# Wireless strength signal
- platform: wifi_signal
name: ${deviceFriendlyName} Wireless
# Switches
switch:
# Restart node.
- platform: restart
name: ${deviceFriendlyName} Restart
# Shutdown node.
- platform: shutdown
name: ${deviceFriendlyName} Shutdown
# Text sensors
text_sensor:
# Version
- platform: version
name: ${deviceFriendlyName} ESPHome Version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment