feat(esp8266): random changes to now abandonned esp8266 platform.
This commit is contained in:
parent
3e31b32853
commit
4e9041aec5
1 changed files with 25 additions and 0 deletions
|
|
@ -5,6 +5,11 @@ esp8266:
|
||||||
board: d1_mini
|
board: d1_mini
|
||||||
framework:
|
framework:
|
||||||
version: recommended
|
version: recommended
|
||||||
|
# esp32:
|
||||||
|
# board: ttgo-t7-v13-mini32
|
||||||
|
# framework:
|
||||||
|
# type: arduino
|
||||||
|
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|
@ -34,6 +39,23 @@ ota:
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
|
|
||||||
|
select:
|
||||||
|
- platform: template
|
||||||
|
name: "Template select"
|
||||||
|
restore_value: true
|
||||||
|
set_action:
|
||||||
|
- lambda: |-
|
||||||
|
return id(wordclock_1)->set_effect_active(false);
|
||||||
|
optimistic: true
|
||||||
|
options:
|
||||||
|
- effect
|
||||||
|
- color
|
||||||
|
initial_option: effect
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
version: 1
|
||||||
|
|
||||||
time:
|
time:
|
||||||
- platform: sntp
|
- platform: sntp
|
||||||
id: current_time
|
id: current_time
|
||||||
|
|
@ -46,10 +68,12 @@ light:
|
||||||
type: GRB
|
type: GRB
|
||||||
variant: WS2812
|
variant: WS2812
|
||||||
pin: GPIO3
|
pin: GPIO3
|
||||||
|
# pin: GPIO22
|
||||||
num_leds: 198
|
num_leds: 198
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
method:
|
method:
|
||||||
type: esp8266_dma
|
type: esp8266_dma
|
||||||
|
# type: esp32_i2s
|
||||||
|
|
||||||
effects:
|
effects:
|
||||||
- addressable_random_twinkle:
|
- addressable_random_twinkle:
|
||||||
|
|
@ -86,6 +110,7 @@ color:
|
||||||
blue: 0%
|
blue: 0%
|
||||||
|
|
||||||
wordclock:
|
wordclock:
|
||||||
|
id: wordclock_1
|
||||||
time_id: current_time
|
time_id: current_time
|
||||||
display_id: led_matrix_display
|
display_id: led_matrix_display
|
||||||
addressable_light_id: neopixel_strip_1
|
addressable_light_id: neopixel_strip_1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue