2018-02-12 21:22:14 +01:00
|
|
|
light:
|
2018-12-27 05:34:28 +01:00
|
|
|
- platform: mqtt
|
|
|
|
schema: json
|
2018-02-12 21:22:14 +01:00
|
|
|
name: "NeoPixel LEDs"
|
2018-02-15 19:14:55 +01:00
|
|
|
state_topic: "home/McLighting01_ha/state/out"
|
|
|
|
command_topic: "home/McLighting01_ha/state/in"
|
2018-02-12 21:22:14 +01:00
|
|
|
effect: true
|
|
|
|
effect_list:
|
|
|
|
######
|
2018-04-10 17:36:56 +02:00
|
|
|
- "Static"
|
2018-02-18 21:58:05 +01:00
|
|
|
- "Blink"
|
|
|
|
- "Breath"
|
|
|
|
- "Color Wipe"
|
|
|
|
- "Color Wipe Inverse"
|
|
|
|
- "Color Wipe Reverse"
|
|
|
|
- "Color Wipe Reverse Inverse"
|
|
|
|
- "Color Wipe Random"
|
|
|
|
- "Random Color"
|
|
|
|
- "Single Dynamic"
|
|
|
|
- "Multi Dynamic"
|
|
|
|
- "Rainbow"
|
|
|
|
- "Rainbow Cycle"
|
|
|
|
- "Scan"
|
|
|
|
- "Dual Scan"
|
|
|
|
- "Fade"
|
|
|
|
- "Theater Chase"
|
|
|
|
- "Theater Chase Rainbow"
|
|
|
|
- "Running Lights"
|
|
|
|
- "Twinkle"
|
|
|
|
- "Twinkle Random"
|
|
|
|
- "Twinkle Fade"
|
|
|
|
- "Twinkle Fade Random"
|
|
|
|
- "Sparkle"
|
|
|
|
- "Flash Sparkle"
|
|
|
|
- "Hyper Sparkle"
|
|
|
|
- "Strobe"
|
|
|
|
- "Strobe Rainbow"
|
|
|
|
- "Multi Strobe"
|
|
|
|
- "Blink Rainbow"
|
|
|
|
- "Chase White"
|
|
|
|
- "Chase Color"
|
|
|
|
- "Chase Random"
|
|
|
|
- "Chase Rainbow"
|
|
|
|
- "Chase Flash"
|
|
|
|
- "Chase Flash Random"
|
|
|
|
- "Chase Rainbow White"
|
|
|
|
- "Chase Blackout"
|
|
|
|
- "Chase Blackout Rainbow"
|
|
|
|
- "Color Sweep Random"
|
|
|
|
- "Running Color"
|
|
|
|
- "Running Red Blue"
|
|
|
|
- "Running Random"
|
|
|
|
- "Larson Scanner"
|
|
|
|
- "Comet"
|
|
|
|
- "Fireworks"
|
|
|
|
- "Fireworks Random"
|
|
|
|
- "Merry Christmas"
|
|
|
|
- "Fire Flicker"
|
|
|
|
- "Fire Flicker (soft)"
|
|
|
|
- "Fire Flicker (intense)"
|
|
|
|
- "Circus Combustus"
|
|
|
|
- "Halloween"
|
|
|
|
- "Bicolor Chase"
|
|
|
|
- "Tricolor Chase"
|
|
|
|
- "ICU"
|
2019-01-06 21:19:14 +01:00
|
|
|
- "E131"
|
2018-02-12 21:22:14 +01:00
|
|
|
brightness: true
|
2018-03-21 00:08:18 +01:00
|
|
|
color_temp: true
|
2018-02-12 21:22:14 +01:00
|
|
|
rgb: true
|
|
|
|
optimistic: false
|
|
|
|
qos: 0
|
|
|
|
retain: true
|
|
|
|
|
|
|
|
input_number:
|
|
|
|
neopixel_animation_speed:
|
|
|
|
name: NeoPixel Animation Speed
|
|
|
|
initial: 200
|
|
|
|
min: 0
|
|
|
|
max: 255
|
|
|
|
step: 5
|
|
|
|
|
|
|
|
automation:
|
2019-01-06 21:19:14 +01:00
|
|
|
- id: "71938579813759813757"
|
2018-04-05 02:34:14 +02:00
|
|
|
alias: NeoPixel Animation Speed Send
|
2018-02-12 21:22:14 +01:00
|
|
|
initial_state: true
|
|
|
|
hide_entity: false
|
|
|
|
trigger:
|
|
|
|
- entity_id: input_number.neopixel_animation_speed
|
|
|
|
platform: state
|
|
|
|
action:
|
2018-02-13 00:58:10 +01:00
|
|
|
- data_template:
|
2018-04-05 03:34:00 +02:00
|
|
|
payload_template: '{"speed": {{ trigger.to_state.state | int }}}'
|
2018-02-12 21:22:14 +01:00
|
|
|
retain: true
|
2018-04-05 03:34:00 +02:00
|
|
|
topic: home/McLighting01_ha/state/in
|
2018-02-12 21:22:14 +01:00
|
|
|
service: mqtt.publish
|
2018-04-05 02:34:14 +02:00
|
|
|
|
2019-01-06 21:19:14 +01:00
|
|
|
- id: "93786598732698756967"
|
2018-04-05 02:34:14 +02:00
|
|
|
alias: NeoPixel Animation Speed Receive
|
|
|
|
trigger:
|
|
|
|
- platform: mqtt
|
|
|
|
topic: home/McLighting01_ha/state/out
|
|
|
|
action:
|
|
|
|
- data_template:
|
|
|
|
entity_id: input_number.neopixel_animation_speed
|
|
|
|
value: '{{ trigger.payload_json.speed | int }}'
|
2018-12-27 05:34:28 +01:00
|
|
|
service: input_number.set_value
|