Platform Home Assistant "Flux Led / Magic Light”

2 minutes of reading
Proconductor: Home Assistant Community
Availability: included in thepersonale HUB Home Assistant
Category: software
Type: platform Home Assistant
Family: component "Light” Home Assistant
Implementation difficulties: medium / low

The “Flux Led / Magic platform Light”, daughter of the component "Light” di Home Assistant, serves to integrate the LED controller Wi-Fi RGB (W) of the Flux Led / Magic series Light (ASMTLED, LitaEle, DoCooler, Sodial etc.) as well as bulbs of the same series to our personal domotics.

In practice it is possible to create one or more "lights" entities that rappresent the LED controller (s), allowing us to have it switched on / off, intensity adjustment luminosa, color, white temperature, effects and games luminosi etc.

This integration allows not only to control this type of lights, but also to manage them in automation scenarios (power on progressive at dawn, use as visual notifications and much more).

On inDomus we have achieved an ad hoc guide dedicated to the implementation of this platform.

Configuration

the configuration basis of the "Tile" platform at the file configuration.yaml it's pretty simple.
It is sufficient to insert an entry of this type:

# Esempio di entry su configuration.yaml
light:
  - platform: flux_led
    automatic_add: True

This type of "basic" configuration no requires that the controllers be assigned a fixed IP: integration proin fact it sees an automatic discovery of any compatible controllers / bulbs inside the home network. If you find any, add them to entity di Home Assistant giving it arbitrary names and default settings.

The variables available for configuration customization are the following:

automatic_add(Boolean, optional) To enable automatic addition / discovery. Default: false
devices(list, optional) The list of controllers / light bulbs and related IPs

name(string, optional) Name of device
mode(string, optional) Controller / light bulb mode. Possible choices "RGB" and "RGBW". Default: "RGBW"
protocol(string, optional) Set it to "ledenet”In case a Ledenet bulb is used.

Nb Depending on the controller / light bulb, they exist two different ways to configure the lumiof brilliance.
Basically, this integration uses the RGBW. If the controller / bulb has a separate white channel, it is not necessary to specify anything else: changing the white value this will set the value lumidurability of this channel by maintaining constant RGB values. In case the controller / bulb does not have a separate white channel it will be necessary to use the RGB values.

Effetti

This platform provides a large number of effects and games lumino Yes, which can be "evoked" via the frontend interface as through automation in the use of the "turn_on" service (explained in detail on the file of the father component "Light").

The list of effects is as follows:

Effect NameDescription
colorloopA soft transition between the colors of the rainbow
colorjumpJump between seven different colors of the rainbow
colorstrobeStrobe effect in the colors of the rainbow
randomChoose a color at random in the RGB area
red_fade, green_fade, blue_fade, yellow_fade, cyan_fade, purple_fade, white_fadeMake a fade between the colors shown in the name and black
rg_cross_fadeMake a fade between red and green
rb_cross_fadeMake a fade between red and blue
gb_cross_fadeMake a fade between green and blue
red_strobe, green_strobe, blue_strobe, yellow_strobe, cyan_strobe, purple_strobe, white_strobeStrobe effect using the color indicated in the name

Implementation

on inDomus there is a guide appdedicated to implementation of this platform and this device.

Integrate a controller LED Wi-Fi "Magic Home" on Home Assistant



Please comment below