Last active
March 8, 2023 20:44
-
-
Save tubit/88bf2b56f0f6fdc549bca61600643a45 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: esphome-web-XXX | |
friendly_name: MatrixClock | |
esp8266: | |
board: esp01_1m | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
encryption: | |
key: "XXX" | |
ota: | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: | |
ssid: "Esphome-Web-XXXX" | |
password: "XXXX" | |
captive_portal: | |
# Download the font here: | |
# https://www.dafont.com/pixelmix.font | |
font: | |
- file: "pixelmix.ttf" | |
id: digit_font | |
size: 8 | |
spi: | |
clk_pin: 14 | |
mosi_pin: 13 | |
# More info here: | |
# https://esphome.io/components/display/max7219digit.html | |
display: | |
- platform: max7219digit | |
cs_pin: 15 | |
num_chips: 4 | |
intensity: 2 | |
lambda: |- | |
it.strftime(5, 0, id(digit_font), "%H:%M", id(hass_time).now()); | |
time: | |
- platform: homeassistant | |
id: hass_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment