-
Notifications
You must be signed in to change notification settings - Fork 35
/
Holiday_Lights_2.0.yaml
81 lines (79 loc) · 3.03 KB
/
Holiday_Lights_2.0.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
##This version of the holiday lights code does not require the node red portion
##The "W" slider under the main "holiday LED" light modifies each effect
##The "W" slider under "Glitter" light modifies the frequency of glitter, the RGB selection changes the color of the glitter
##The "W" slider under "Lightning" switch modifies the frequency of lightning.
##You must replace the [MQTT_CLIENT_ID] with the USER_MQTT_CLIENT_NAME you specified in the arduino USER CONFIGURATION section
sensor:
- platform: mqtt
name: "Current LED"
state_topic: "[MQTT_CLIENT_ID]/locator"
light:
- platform: mqtt
name: "Holiday Lights"
command_topic: "[MQTT_CLIENT_ID]/power"
state_topic: "[MQTT_CLIENT_ID]/powerState"
brightness_command_topic: "[MQTT_CLIENT_ID]/brightness"
brightness_state_topic: "[MQTT_CLIENT_ID]/brightnessState"
brightness_scale: 255
white_value_command_topic: "[MQTT_CLIENT_ID]/modifier"
white_value_state_topic: "[MQTT_CLIENT_ID]/modifierState"
white_value_scale: 500
effect_command_topic: "[MQTT_CLIENT_ID]/effect"
effect_state_topic: "[MQTT_CLIENT_ID]/effectState"
effect_list:
- Color_Chase
- Color_Glitter
- Single_Race
- Double_Crash
- Rainbow
- Blocked_Colors
- BPM
- Twinkle
- Fire
- Fill_Solid
- Spooky_Eyes
- LED_Locator
retain: true
- platform: mqtt
name: "Color 1"
command_topic: "[MQTT_CLIENT_ID]/ColorPower"
state_topic: "[MQTT_CLIENT_ID]/powerState"
rgb_command_topic: "[MQTT_CLIENT_ID]/color1"
rgb_state_topic: "[MQTT_CLIENT_ID]/color1State"
retain: true
- platform: mqtt
name: "Color 2"
command_topic: "[MQTT_CLIENT_ID]/ColorPower"
state_topic: "[MQTT_CLIENT_ID]/powerState"
rgb_command_topic: "[MQTT_CLIENT_ID]/color2"
rgb_state_topic: "[MQTT_CLIENT_ID]/color2State"
retain: true
- platform: mqtt
name: "Color 3"
command_topic: "[MQTT_CLIENT_ID]/ColorPower"
state_topic: "[MQTT_CLIENT_ID]/powerState"
rgb_command_topic: "[MQTT_CLIENT_ID]/color3"
rgb_state_topic: "[MQTT_CLIENT_ID]/color3State"
retain: true
- platform: mqtt
name: "Glitter"
state_topic: "[MQTT_CLIENT_ID]/glitter/state"
command_topic: "[MQTT_CLIENT_ID]/addEffects"
payload_on: "Glitter On"
payload_off: "Glitter Off"
rgb_command_topic: "[MQTT_CLIENT_ID]/glitterColor"
rgb_state_topic: "[MQTT_CLIENT_ID]/glitterColorState"
white_value_command_topic: "[MQTT_CLIENT_ID]/glitterChance"
white_value_state_topic: "[MQTT_CLIENT_ID]/glitterChanceState"
white_value_scale: 255
retain: true
- platform: mqtt
name: "Lightning"
state_topic: "[MQTT_CLIENT_ID]/lightning/state"
command_topic: "[MQTT_CLIENT_ID]/addEffects"
payload_on: "Lightning On"
payload_off: "Lightning Off"
white_value_command_topic: "[MQTT_CLIENT_ID]/lightningChance"
white_value_state_topic: "[MQTT_CLIENT_ID]/lightningChanceState"
white_value_scale: 500
retain: true