feat: add external component and some test configurations
This commit is contained in:
parent
4c612fc462
commit
5b0930d616
11 changed files with 511 additions and 6 deletions
89
wordclock8266.yaml
Normal file
89
wordclock8266.yaml
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
esphome:
|
||||
name: "wordclock"
|
||||
|
||||
esp8266:
|
||||
board: d1_mini
|
||||
framework:
|
||||
version: recommended
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
type: local
|
||||
path: components
|
||||
components: [ wordcl ]
|
||||
|
||||
# substitutions:
|
||||
# devicename: wordclock
|
||||
# friendly_name: "Wordclock"
|
||||
# light_friendly_name: "Wordclock Light"
|
||||
|
||||
# wifi:
|
||||
# ssid: !secret wifi_ssid
|
||||
# password: !secret wifi_password
|
||||
# ap:
|
||||
# ssid: "${devicename}"
|
||||
# password: !secret ap_password
|
||||
# manual_ip:
|
||||
# static_ip: !secret manualip_static_ip
|
||||
# gateway: !secret manualip_gateway
|
||||
# subnet: !secret manualip_subnet
|
||||
# dns1: 1.1.1.1
|
||||
# dns2: 1.0.0.1
|
||||
|
||||
# api:
|
||||
|
||||
# ota:
|
||||
# password: "${devicename}"
|
||||
|
||||
# logger:
|
||||
# # esp8266_store_log_strings_in_flash: false
|
||||
# web_server:
|
||||
# port: 80
|
||||
|
||||
wordclock:
|
||||
|
||||
light:
|
||||
- name: neopixel
|
||||
id: neopixel_1
|
||||
platform: neopixelbus
|
||||
type: GRB
|
||||
variant: WS2812
|
||||
pin: GPIO3
|
||||
num_leds: 30
|
||||
default_transition_length: 0.2s
|
||||
# restore_mode: RESTORE_DEFAULT_ON
|
||||
method:
|
||||
type: esp8266_dma
|
||||
on_turn_on:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: neopixel_1
|
||||
brightness: 35%
|
||||
effect: rainbow
|
||||
effects:
|
||||
# - random:
|
||||
# - pulse:
|
||||
# - strobe:
|
||||
# - flicker:
|
||||
- addressable_rainbow:
|
||||
name: rainbow
|
||||
# - addressable_color_wipe:
|
||||
# - addressable_scan:
|
||||
# - addressable_twinkle:
|
||||
# - addressable_random_twinkle:
|
||||
# - addressable_fireworks:
|
||||
# - addressable_flicker:
|
||||
# - wled:
|
||||
|
||||
|
||||
|
||||
|
||||
# time:
|
||||
# - platform: sntp
|
||||
# id: current_time
|
||||
# timezone: !secret timezone
|
||||
|
||||
# - light.turn_on:
|
||||
# id: light_1
|
||||
# brightness: 100%
|
||||
# effect: addressable_rainbow
|
||||
Loading…
Add table
Add a link
Reference in a new issue