Skip to content

Instantly share code, notes, and snippets.

@jamesfed
Created May 8, 2021 16:32
Show Gist options
  • Save jamesfed/ee7df967e5ab7a77f979bc8226a1f0e2 to your computer and use it in GitHub Desktop.
Save jamesfed/ee7df967e5ab7a77f979bc8226a1f0e2 to your computer and use it in GitHub Desktop.
esphome:
name: hallway_epaper
platform: ESP32
board: esp32dev
wifi:
ssid: "YOURSSIDGOESHERE"
password: "YOURPSKGOESHERE"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Hallway Fallback Hotspot"
password: "FALLBACKDPSKGOESHERE"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# Example configuration entry
spi:
clk_pin: 13
mosi_pin: 14
font:
- file: "segoeui.ttf"
id: segoe
size: 64
display:
- platform: waveshare_epaper
cs_pin: 15
dc_pin: 27
busy_pin: 25
reset_pin: 26
model: 7.50inv2
update_interval: 30s
lambda: |
it.print(0, 0, id(segoe), "E-Paper is awesome!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment