Last active
April 20, 2025 15:30
-
-
Save mediacutlet/008b56417e33d956be15419e985596fe to your computer and use it in GitHub Desktop.
WLED Visualization Automation Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: WLED Upload Speed Visualization (Tetrix) | |
description: "" | |
mode: single | |
triggers: | |
- entity_id: | |
- sensor.hpmc_mini_upload_throughput | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 5 | |
trigger: state | |
- entity_id: | |
- sensor.hpmc_mini_upload_throughput | |
above: 500 | |
trigger: numeric_state | |
conditions: [] | |
actions: | |
- if: | |
- condition: template | |
value_template: >- | |
{{ states('select.magwled_color_palette') != 'Aurora 2' and | |
states('sensor.hpmc_mini_upload_throughput') | float > 500 }} | |
then: | |
- target: | |
entity_id: light.magwled | |
action: light.turn_on | |
data: {} | |
- data: | |
option: Tetrix | |
target: | |
entity_id: select.magwled_preset | |
action: select.select_option | |
- action: number.set_value | |
metadata: {} | |
data: | |
value: >- | |
{{ (states('sensor.hpmc_mini_upload_throughput') | float * 0.072857) | |
| int }} | |
target: | |
entity_id: number.magwled_speed | |
else: | |
- if: | |
- condition: template | |
value_template: "{{ states('select.magwled_color_palette') == 'Aurora 2' }}" | |
then: | |
- action: number.set_value | |
metadata: {} | |
data: | |
value: >- | |
{{ (states('sensor.hpmc_mini_upload_throughput') | float * | |
0.072857) | int }} | |
target: | |
entity_id: number.magwled_speed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: WLED Water Heater Visualization (Fire) | |
description: "" | |
mode: single | |
triggers: | |
- entity_id: | |
- sensor.ch1_heating_power | |
enabled: true | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 5 | |
trigger: state | |
- entity_id: | |
- sensor.ch1_heating_power | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 3 | |
above: 9.9 | |
trigger: numeric_state | |
- entity_id: | |
- sensor.ch1_heating_power | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 3 | |
below: 1 | |
trigger: numeric_state | |
conditions: [] | |
actions: | |
- if: | |
- condition: template | |
value_template: >- | |
{{ states('select.magwled_color_palette') != 'Fire' and | |
states('sensor.ch1_heating_power') | float > 8 }} | |
then: | |
- action: light.turn_on | |
metadata: {} | |
data: {} | |
target: | |
entity_id: light.magwled | |
- action: select.select_option | |
metadata: {} | |
data: | |
option: Fire | |
target: | |
entity_id: select.magwled_preset | |
- action: number.set_value | |
target: | |
entity_id: number.magwled_intensity | |
data: | |
value: "{{ (states('sensor.ch1_heating_power') | float * 2.55) | int }}" | |
else: | |
- if: | |
- condition: template | |
value_template: "{{ states('select.magwled_color_palette') == 'Fire' }}" | |
then: | |
- action: number.set_value | |
target: | |
entity_id: number.magwled_intensity | |
data: | |
value: "{{ (states('sensor.ch1_heating_power') | float * 2.55) | int }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: WLED Wind Visualization (Top Right) | |
description: "" | |
mode: single | |
triggers: | |
- entity_id: | |
- sensor.weatherflow_wind_gust | |
- sensor.weatherflow_wind_direction_average | |
for: | |
hours: 0 | |
minutes: 0 | |
seconds: 5 | |
trigger: state | |
conditions: [] | |
actions: | |
- action: number.set_value | |
target: | |
entity_id: number.magwled_quad_segment_2_speed | |
data: | |
value: "{{ (states('sensor.weatherflow_wind_gust') | float * 17) | int }}" | |
- action: number.set_value | |
target: | |
entity_id: number.magwled_quad_segment_2_intensity | |
data: | |
value: >- | |
{{ (states('sensor.weatherflow_wind_direction_average') | float / 1.41) | |
| int }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment