home-assistant.io/source/_components/light.flux_led.markdown
2016-07-20 16:29:31 +02:00

1.8 KiB

layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_iot_class, featured, ha_release
layout title description date sidebar comments sharing footer ha_category ha_iot_class featured ha_release
page Flux Led/MagicLight Instructions how to setup Flux led/MagicLight within Home Assistant. 2015-07-17 20:09 true false true true Light Local Polling true 0.25

The flux_led support is integrated into Home Assistant as a light platform. Several brands use the same protocol and they have the HF-LPB100 chipset in common.

Example of bulbs:

The chances are high that you bulb or controller (eg. WiFi LED CONTROLLER) will work if you can control the device with the MagicHome app.

To enable those lights, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
light:
  - platform: flux_led
    automatic_add: BOOLEAN
    devices:
      IP_ADDR_1:
        name: CUSTOM_NAME_1
      IP_ADDR_2:
        name: CUSTOM_NAME_2

Configuration variables:

  • automatic_add (Optional): To enable the automatic addition of lights on startup.
  • devices (Optional): A list of devices with their ip address and a custom name to use in the frontend.

Example configuration:

Will automatically search and add all lights on start up:

# Example configuration.yaml entry
light:
  - platform: flux_led
    automatic_add: True

Will add two lights with given name:

light:
# Example configuration.yaml entry
  - platform: flux_led
    devices:
      192.168.0.106:
        name: flux_lamppost
      192.168.0.109:
        name: flux_living_room_lamp