Compare commits

..

No commits in common. "f9f9a11eb9904255fd09fa583359a4ddbffe8d20" and "8d6c5737b017d7d930c68fac7c15ee81bc60bed9" have entirely different histories.

2 changed files with 41 additions and 26 deletions

View File

@ -1 +1 @@
2021.12.10
2021.12.7

View File

@ -43,28 +43,32 @@ binary_sensor:
inverted: True
name: "Refresh screen"
internal: True
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
on_click:
then:
- logger.log:
level: INFO
format: 'Button pressed, 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"
@ -161,6 +165,17 @@ 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
@ -297,15 +312,15 @@ image:
spi:
clk_pin: 23
mosi_pin: 22
mosi_pin: 32
display:
- platform: waveshare_epaper
id: epaper
cs_pin: 19
dc_pin: 21
busy_pin: 16
reset_pin: 17
cs_pin: 27
dc_pin: 26
busy_pin: 33
reset_pin: 25
model: 7.50in
# full_update_every: 30 # not supported on this display
update_interval: never