-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathESPHome.yaml
83 lines (74 loc) · 1.64 KB
/
ESPHome.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
esphome:
name: xmasstar
platform: ESP8266
board: esp01_1m
on_boot:
priority: -10
then:
- light.turn_on:
id: star
effect: "Random Twinkle"
brightness: 100%
wifi:
ssid: YOUR_SSID
password: YOUR_SECRET
use_address: YOUR_HOSTNAME
mqtt:
broker: YOUR_MQTT_BROKER
web_server:
port: 80
logger:
level: INFO
ota:
safe_mode: True
sensor:
- platform: wifi_signal
name: "xmas star signal"
update_interval: 300s
light:
- platform: neopixelbus
name: star
id: star
type: RGB
pin: 2
num_leds: 20
variant: 800KBPS
method: ESP8266_UART1
effects:
- random:
name: "Fast Random"
transition_length: 4s
update_interval: 5s
- addressable_twinkle:
name: "Twinkle"
twinkle_probability: 5%
progress_interval: 4ms
- addressable_random_twinkle:
name: "Random Twinkle"
twinkle_probability: 5%
progress_interval: 32ms
- addressable_fireworks:
name: "Fireworks"
update_interval: 32ms
spark_probability: 10%
use_random_color: false
fade_out_rate: 120
- addressable_rainbow:
name: "Rainbow"
speed: 10
width: 50
- addressable_color_wipe:
name: "Color Wipe"
colors:
- red: 0%
green: 0%
blue: 0%
num_leds: 2
- random: True
num_leds: 5
add_led_interval: 100ms
reverse: False
- addressable_scan:
name: Scan
move_interval: 100ms
scan_width: 1