Skip to content

Instantly share code, notes, and snippets.

@jamesfed
Created May 8, 2021 16:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesfed/cb9092b2108d794d75cabdbc24cd1cc7 to your computer and use it in GitHub Desktop.
Save jamesfed/cb9092b2108d794d75cabdbc24cd1cc7 to your computer and use it in GitHub Desktop.
esphome:
name: study_epaper
platform: ESP8266
board: nodemcuv2
wifi:
ssid: "YOURSSIDGOESHERE"
password: "YOURPSKGOESHERE"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Study Fallback Hotspot"
password: "FALLBACKDPSKGOESHERE"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# Example configuration entry
spi:
clk_pin: D5
mosi_pin: D7
font:
- file: "segoeui.ttf"
id: segoe
size: 32
display:
- platform: waveshare_epaper
cs_pin: D8
dc_pin: D2
busy_pin: D1
reset_pin: D4
model: 4.20in
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