Code
unknown
yaml
2 years ago
1.1 kB
29
Indexable
esphome:
name: aqua-temp
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "znxaTDcSffQ5Xlj8SAUWPvi/+eS/dU70ac+Ib+Tkyl4="
ota:
password: "1907bd1950d2ea27354d2eed3ff00d63"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Aqua-Temp Fallback Hotspot"
password: "YLsawESewxfk"
captive_portal:
# WEB Server
web_server:
port: 80
dallas:
- pin: GPIO12
sensor:
- platform: dallas
address: 0x30000008c83a2828
name: "Temperature_Aquarium"
id: tempaqua
- platform: wifi_signal
name: "a_master_mini_d1 Signal Wi-Fi"
update_interval: 60s
font:
- file: 'slkscr.ttf'
id: font1
size: 48
- file: 'BebasNeue-Regular.ttf'
id: font2
size: 48
i2c:
sda: D1
scl: D2
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
# reset_pin: D0
address: 0x3C
lambda: |-
it.printf(0, 0, id(font2), "%.1f°", id(tempaqua).state);Editor is loading...