Last Updated or created 2022-04-06
esphome:
name: epaperesp32
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxxxxxxxxxxxxxxxxxxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Epaperesp32 Fallback Hotspot"
password: "xxxxxxxxxxxx"
captive_portal:
font:
- file: 'fonts/tahoma.ttf'
id: font1
size: 16
spi:
clk_pin: 13
mosi_pin: 14
display:
- platform: waveshare_epaper
cs_pin: 15
dc_pin: 27
busy_pin: 25
reset_pin: 26
model: 2.13in-ttgo
full_update_every: 30
lambda: |-
it.print(0, 0, id(font1), "Pruts");