4.1 KiB
title, description, ha_category, ha_iot_class, ha_release, ha_domain
title | description | ha_category | ha_iot_class | ha_release | ha_domain | |
---|---|---|---|---|---|---|
Flux LED/MagicLight | Instructions on how to setup Flux led/MagicHome/MagicLight within Home Assistant. |
|
Local Polling | 0.25 | flux_led |
The flux_led
support is integrated into Home Assistant as a light platform. Several brands of both bulbs and controllers use the same protocol and they have the HF-LPB100 chipset in common. The chances are high that your bulb or controller (eg. WiFi LED CONTROLLER) will work if you can control the device with the MagicHome app.
This integration will provide local control over your LED lights/strips and can be configured to auto-scan your network for controllers or for you to manually configure individual lights by their IP address.
Configuration Details
The flux_led
integration is configured through the Configuration -> Integrations page. You can select either auto configuration or manual configuration. For auto configuration the integration will automatically scan your network for any supported devices.
If you select the manual flow you can specify the name and host address of the light controller. You can add multiple lights/strips by adding additional instances of the integration.
Effects
The Flux LED light offers a number of effects which are not included in other lighting packages. These can be selected from the front-end, or sent in the effect field of the light.turn_on
command.
Effect Name | Description |
---|---|
colorloop |
Smoothly transitions through the rainbow. |
colorjump |
Jumps through seven different rainbow colors. |
colorstrobe |
Strobes each rainbow color in a loop. |
red_fade , green_fade , blue_fade , yellow_fade , cyan_fade , purple_fade , white_fade |
Fades between the color as indicated in the effect name and black. |
rg_cross_fade |
Fades between red and green. |
rb_cross_fade |
Fades between red and blue. |
gb_cross_fade |
Fades between green and blue. |
red_strobe , green_strobe , blue_strobe , yellow_strobe , cyan_strobe , purple_strobe , white_strobe |
Strobes the color indicated by the effect name. |
random |
Chooses a random color by selecting random values for R, G, and B. |
Custom Effects - Service flux_led.set_custom_effect
The flux_led
integration offers a custom service to enable you to set the lights to a custom light effect.
Service data attribute | Description |
---|---|
entity_id |
The entity_id of the LED light to set the effect on. |
colors |
List of RGB colors to transition between in your effect. (Max 16, Required) |
speed_pct |
The speed of the effect in % (0-100. Default 50) |
transition |
The transition effect you would like. Valid options are gradual , jump , or strobe . (Default gradual ) |
#Example Service Call
entity_id: light.led_strip
colors:
- [255,0,0]
- [0,255,0]
- [0,0,255]
speed_pct: 80
transition: jump