Created
July 5, 2023 05:05
-
-
Save mischief/5e6c5bad266bdf429282ab04d4fc4bbc to your computer and use it in GitHub Desktop.
epaper esphome config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: epaper | |
friendly_name: epaper | |
esp8266: | |
board: d1_mini | |
# Enable logging | |
logger: | |
api: | |
ota: | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
captive_portal: | |
font: | |
# gfonts://family[@weight] | |
- file: "gfonts://Roboto" | |
id: roboto | |
size: 20 | |
spi: | |
clk_pin: D5 | |
mosi_pin: D7 | |
miso_pin: D6 | |
display: | |
- platform: waveshare_epaper | |
cs_pin: D8 | |
dc_pin: D0 | |
# produces 'Timeout while displaying image' | |
# busy_pin: D2 | |
reset_pin: D1 | |
model: 2.90inv2 | |
reset_duration: 2ms | |
full_update_every: 30 | |
update_interval: 1s | |
rotation: 90 | |
lambda: |- | |
it.print(0, 0, id(roboto), "Hello World!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment