Skip to content
Snippets Groups Projects
Commit 14e321d5 authored by jabertwo's avatar jabertwo
Browse files

Add new file

parent 45ad9a4c
No related branches found
No related tags found
No related merge requests found
{% set devicename = "esphome_obegraensad" %}
{% include "/includes/ansible.inc.yaml" %}
{% include "/includes/board.d1_mini.inc.yaml" %}
{% include "/includes/common.inc.yaml" %}
external_components:
- source:
type: local
path: .
light:
- platform: monochromatic
name: 'Brightness'
output: matrix_brightness
restore_mode: RESTORE_DEFAULT_ON
output:
- platform: esp8266_pwm
# Enables brightness control.
id: matrix_brightness
pin:
number: GPIO14
inverted: True
time:
- platform: sntp
id: ntp_time
timezone: 'Europe/Paris'
font:
- file: "frekvens_panel/04B03.ttf"
id: b03
size: 8
display:
- platform: frekvens_panel
latch_pin: 12
clock_pin: 04
data_pin: 05
lambda: |-
auto time = id(ntp_time).now();
it.printf(0, 0, id(b03), "%d:%d", time.hour, time.minute);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment