May 25, 2024
Description
Simple LED ring that I use in Home Assistant as a signal light to draw my attention to something. Using a simple ws2812b ring and an ESP32-C3 micro.
Customizable at all times.
Can be used in Home Assistant automation by simply calling a service. For example:
service: light.turn_on
target:
device_id: XXXXXXXXXXXXXXXXXXXXXXXXX
data:
effect: Strobe Gelb Rot
ESPhome code (after captive portal)
light: - platform: neopixelbus type: GRB variant: ws2812x pin: GPIO02 num_leds: 8 name: "Signallampe" effects: - addressable_scan: name: Scan Effect With Custom Values move_interval: 100ms scan_width: 2 - pulse: name: "Fast Pulse" transition_length: 0.5s update_interval: 0.5s min_brightness: 0% max_brightness: 100% - pulse: name: "Slow Pulse" # transition_length: 1s # defaults to 1s update_interval: 2s - pulse: name: "Asymmetrical Pulse" transition_length: on_length: 1s off_length: 500ms update_interval: 1.5s - strobe: name: Strobe Gelb Rot colors: - state: true brightness: 100% red: 100% green: 0% blue: 0% duration: 200ms - state: false duration: 400ms - state: true brightness: 100% red: 100% green: 100% blue: 0% duration: 100ms - state: false duration: 400ms - addressable_fireworks: name: Fireworks Effect With Custom Values update_interval: 32ms spark_probability: 10% use_random_color: false fade_out_rate: 120 - addressable_random_twinkle: name: Random Twinkle Effect With Custom Values twinkle_probability: 5% progress_interval: 32ms - addressable_flicker: name: Flicker Effect With Custom Values update_interval: 25ms intensity: 50%
License:
Creative Commons — Attribution — Share Alike