Compare commits

...

2 Commits

2 changed files with 26 additions and 41 deletions

View File

@ -1 +1 @@
2021.12.7
2021.12.10

View File

@ -43,32 +43,28 @@ binary_sensor:
inverted: True
name: "Refresh screen"
internal: True
on_click:
then:
- logger.log:
level: INFO
format: 'Button pressed, refreshing screen!'
- component.update: epaper
on_multi_click:
- timing:
- ON for at most 1s
- OFF for at most 0.3s
- ON for at most 1s
- OFF for at least 0.2s
then:
- logger.log:
level: INFO
format: 'Button doubleclick, rendering next page!'
- display.page.show_next: epaper
- component.update: epaper
- timing:
- ON for at most 1s
- OFF for at least 0.5s
then:
- logger.log:
level: INFO
format: 'Button click, refreshing screen!'
- component.update: epaper
# Switch to next page
- platform: gpio
pin:
number: GPIO13
mode: INPUT_PULLUP
inverted: True
name: "Next page"
internal: True
on_click:
then:
- logger.log:
level: INFO
format: 'Button pressed, rendering next page!'
- display.page.show_next: epaper
- component.update: epaper
# DHT22 sensor
sensor:
# WiFi signal strength
- platform: wifi_signal
name: "WiFi Signalstärke"
@ -165,17 +161,6 @@ text_sensor:
entity_id: sensor.wohnzimmer_feinstaub_warnstufe
id: wzpm
# Webserver configuration
web_server:
port: 80
# css_include: "esphome-docs/_static/webserver-v1.min.css"
# css_url: ""
# js_include: "../../../esphome-docs/_static/webserver-v1.min.js"
# js_url: ""
auth:
username: admin
password: !secret web_server_password
time:
- platform: homeassistant
id: homeassistant_time
@ -312,15 +297,15 @@ image:
spi:
clk_pin: 23
mosi_pin: 32
mosi_pin: 22
display:
- platform: waveshare_epaper
id: epaper
cs_pin: 27
dc_pin: 26
busy_pin: 33
reset_pin: 25
cs_pin: 19
dc_pin: 21
busy_pin: 16
reset_pin: 17
model: 7.50in
# full_update_every: 30 # not supported on this display
update_interval: never