Skip to content

Commit

Permalink
improves control of rgb light for interface project
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed Sep 2, 2024
1 parent 753e2f8 commit 26d61b3
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions examples/esp32-s3-devkit-c-interface-paradox-evo192.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ substitutions:
name: konnected
friendly_name: Alarm Panel Interface
project_name: konnected.esp32-s3-devkit-c-interface-paradox-evo192
project_version: 0.1.3
project_version: 0.1.4
sensor_debounce_time: 200ms
warning_beep_pulse_time: 100ms
warning_beep_pause_time: 130ms
Expand Down Expand Up @@ -79,6 +79,7 @@ packages:
alarm_control_panel:
platform: template
name: Alarm System
restore_mode: RESTORE_DEFAULT_DISARMED
id: acp1

# Trigger the physical alarm panel to toggle armed/disarmed by pressing the keyswitch
Expand All @@ -102,10 +103,10 @@ alarm_control_panel:
then:
- light.turn_on:
id: esp32s3_rgb_led
red: 100%
blue: 25%
green: 25%
brightness: 30%
red: 60%
blue: 0%
green: 0%
brightness: 50%
effect: pulse
on_disarmed:
then:
Expand All @@ -114,10 +115,9 @@ alarm_control_panel:
red: 0%
blue: 0%
green: 60%
brightness: 30%
brightness: 50%
effect: pulse


binary_sensor:
- id: !extend zone9
pin:
Expand Down Expand Up @@ -185,6 +185,22 @@ light:
rmt_channel: 0
chipset: SK6812
default_transition_length: 300ms
effects:
- pulse:
update_interval: 2s
min_brightness: 20%
max_brightness: 50%

script:
id: blink_status_led
then:
- light.turn_on:
id: esp32s3_rgb_led
red: 0%
blue: 60%
green: 0%
brightness: 50%
flash_length: 100ms

api:
web_server:
Expand Down

0 comments on commit 26d61b3

Please sign in to comment.