cleaned for new home
This commit is contained in:
100
esphome/archive/wekker.yaml
Normal file
100
esphome/archive/wekker.yaml
Normal file
@@ -0,0 +1,100 @@
|
||||
substitutions:
|
||||
device_name: "wekker"
|
||||
friendly_name: "wekker"
|
||||
comment: "esp32, lcd wt32-sc01"
|
||||
location: "slaaplamer"
|
||||
api_password: !secret wekker_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret wekker_ip
|
||||
# pin_bl: GPIO23
|
||||
# pin_clk: GPIO14
|
||||
# pin_mosi: GPIO13
|
||||
# pin_miso: GPIO12
|
||||
# pin_cs: GPIO15
|
||||
# pin_dc: GPIO21
|
||||
# pin_lcdrst: GPIO22
|
||||
# pin_sda: GPIO18
|
||||
# pin_scl: GPIO19
|
||||
|
||||
esphome:
|
||||
name: ${device_name}
|
||||
esp32:
|
||||
board: esp-wrover-kit
|
||||
framework:
|
||||
type: arduino
|
||||
|
||||
# packages:
|
||||
# device_base: !include includes/common_settings.yaml
|
||||
|
||||
#esp32_ble_tracker:
|
||||
|
||||
#bluetooth_proxy:
|
||||
# active: true
|
||||
|
||||
# time:
|
||||
# - platform: homeassistant
|
||||
# id: homeassistant_time
|
||||
|
||||
# output:
|
||||
# - platform: gpio
|
||||
# pin: GPIO23
|
||||
# id: tst_Backlight
|
||||
|
||||
# light:
|
||||
# - platform: binary
|
||||
# name: "${friendly_name} Back Light"
|
||||
# output: tst_Backlight
|
||||
# id: ${id_prefix}_backlight
|
||||
# restore_mode: ALWAYS_ON
|
||||
|
||||
# spi:
|
||||
# clk_pin: GPIO14
|
||||
# mosi_pin: GPIO13
|
||||
# miso_pin: GPIO12
|
||||
|
||||
# display:
|
||||
# - platform: ili9xxx
|
||||
# id: ${id_prefix}_display
|
||||
# model: ST7796
|
||||
# cs_pin: GPIO15
|
||||
# dc_pin: GPIO21
|
||||
# reset_pin: GPIO22
|
||||
# rotation: 270
|
||||
# pages:
|
||||
# - id: page1
|
||||
# lambda: |-
|
||||
# it.printf(64,0, id(my_font), TextAlign::TOP_CENTER, "WT32-SC01");
|
||||
# it.strftime(64, 40, id(my_font), TextAlign::BASELINE_CENTER, "%I:%M:%S %p", id(homeassistant_time).now());
|
||||
# it.printf(64, 60, id(my_font), TextAlign::BOTTOM_CENTER, "Time");
|
||||
# - id: page2
|
||||
# lambda: |-
|
||||
# it.printf(64,0, id(my_font), TextAlign::TOP_CENTER, "WT32-SC01");
|
||||
# it.printf(64, 40, id(my_font), TextAlign::BASELINE_CENTER, "Hello Loryan!");
|
||||
# it.printf(64, 60, id(my_font), TextAlign::BOTTOM_CENTER, "Hi from down here");
|
||||
|
||||
# font:
|
||||
# - file:
|
||||
# type: gfonts
|
||||
# family: "Open Sans"
|
||||
# id: my_font
|
||||
# size: 20
|
||||
|
||||
# color:
|
||||
# - id: my_red
|
||||
# red: 100%
|
||||
# green: 3%
|
||||
# blue: 5%
|
||||
# - id: my_white
|
||||
# red: 100%
|
||||
# green: 100%
|
||||
# blue: 100%
|
||||
|
||||
# interval:
|
||||
# - interval: 5s
|
||||
# then:
|
||||
# - display.page.show_next: wt32_sc01_display
|
||||
# - component.update: wt32_sc01_display
|
||||
Reference in New Issue
Block a user