MagicLight not working properly

Hi

I have the following LED Controller: https://www.amazon.com/dp/B01JZ2SI6Q which works perfectly fine with the MagicHome app.

I have successfully added it to HA, here is my configuration:

  - platform: flux_led
    devices:
     192.168.0.37:
      name: bedroom_lights
      mode: "rgb"

I am having issues when I turn on the lights as it turns on and goes back to off. This happens when the lights have been turned on by the remote, and there is a delay for the state to update in HA.

My log shows the following errors:

2017-11-30 17:17:56 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:18:27 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:18:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:19:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:20:00 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:20:31 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:21:02 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:21:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:22:04 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:22:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:23:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:23:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:24:08 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:24:39 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:25:10 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:25:41 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:26:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:26:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:27:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:27:45 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:28:16 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:28:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:29:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:29:49 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:30:20 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:30:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:31:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:31:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:32:24 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:32:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:33:26 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds
2017-11-30 17:33:44 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.bedroom_lights is taking over 10 seconds

The warning continues for 30 seconds.

However everything runs smoothly when I restart HA but I expect the issue to come back after HA is running for a few hours.

Can anyone (@Danielhiversen) please help?

Thanks.

not sure of the fix, but can confirm that I too am seeing this in my logs after updating to 0.58.1.

In fairness, I also updated the router…I was not sure what the root of this was but seems hass related no that I see I’m not the only one

I also get the timer got out of sync error which messes my automations up which are time related.

Do you get that ?

no - just LOTS of “took longer than expected” messages.

Have you opened an issue on this yet?

Nope I don’t know how to…

opened the following issue:

2 Likes

Hello guys!

I am also facing these same problems: instability, update erros on log and instability when a command is issued.

Any news on this?

Thanks!

Any news on this? I’m having trouble controlling my LED as well. With the MagicHome app it works flawlessly, but with HA turning the leds on and off often doesn´t work.

No real solution on this yet … MagicHome app still works, tho I almost never use it unless I’m testing … HA on 0.83.3 still has issues. Additionally, flux bulbs have issues with RGBW in that the white channel cannot be used. The underlying library for these lights is complex and is a primary reason that there is so much trouble with them.
If I could just get the LED strip wifi modules to be responsive, then I’d probably give my 1 bulb away and only use Hues. :slight_smile: The LED strip controller is something I’d like to keep tho!