Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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