Update liloled
This commit is contained in:
parent
ec28c8e3ae
commit
be728d7894
43
liloled
43
liloled
|
|
@ -40,10 +40,14 @@ sensor:
|
||||||
- platform: adc
|
- platform: adc
|
||||||
pin: GPIO34
|
pin: GPIO34
|
||||||
name: "Knobby"
|
name: "Knobby"
|
||||||
update_interval: 10ms
|
id: knobby
|
||||||
attenuation: 11db
|
update_interval: 50ms # nice and quick for responsiveness
|
||||||
filters:
|
attenuation: 12db
|
||||||
|
filters:
|
||||||
|
- lambda: return fmaxf(0.14f, x); # Clamp to 0.14 minimum
|
||||||
|
- sliding_window_moving_average:
|
||||||
|
window_size: 15
|
||||||
|
send_every: 1
|
||||||
|
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
|
|
@ -71,12 +75,33 @@ binary_sensor:
|
||||||
filters:
|
filters:
|
||||||
- delayed_on: 10ms
|
- delayed_on: 10ms
|
||||||
|
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
pin: 17
|
||||||
|
id: led_output
|
||||||
|
|
||||||
switch:
|
light:
|
||||||
- platform: gpio
|
- platform: monochromatic
|
||||||
pin: 14
|
name: "Test LED Light"
|
||||||
name: "Test LED"
|
output: led_output
|
||||||
inverted: false # set to true if LED turns on when off
|
effects:
|
||||||
|
- pulse:
|
||||||
|
- pulse:
|
||||||
|
name: "Fast Pulse"
|
||||||
|
transition_length: 0.5s
|
||||||
|
update_interval: 0.5s
|
||||||
|
min_brightness: 0%
|
||||||
|
max_brightness: 100%
|
||||||
|
- pulse:
|
||||||
|
name: "Slow Pulse"
|
||||||
|
transition_length: 500ms
|
||||||
|
update_interval: 2s
|
||||||
|
- pulse:
|
||||||
|
name: "Asymmetrical Pulse"
|
||||||
|
transition_length:
|
||||||
|
on_length: 1s
|
||||||
|
off_length: 500ms
|
||||||
|
update_interval: 1.5s
|
||||||
|
|
||||||
time:
|
time:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue