home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.56k stars 30.35k forks source link

Updating flux_led light took longer than the scheduled update interval 0:00:30 #35247

Closed allmoney closed 4 years ago

allmoney commented 4 years ago

The problem

I use automation like this:

- id: shower lights ON when motion
  alias: shower lights ON when motion
  trigger:
  - entity_id: binary_sensor.motion_sensor_158
    platform: state
    to: 'on'
  action:
  - service: homeassistant.turn_on
    entity_id:
    - light.shower

But Light turns ON after 38 seconds.

In Logbook:

2020-05-05_16-21-09

In logs I see error:

Log Details (WARNING)
Logger: homeassistant.components.light
Source: helpers/entity_platform.py:538
Integration: Light (documentation, issues)
First occurred: 9:38:40 AM (135 occurrences)
Last logged: 4:20:57 PM

Updating flux_led light took longer than the scheduled update interval 0:00:30

How fix it? Please, help.

Environment

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

probot-home-assistant[bot] commented 4 years ago

flux_led documentation flux_led source (message by IssueLinks)

Danielhiversen commented 4 years ago

The bulbs are often slow and use a long time to reply to requests. Not much to do with that

allmoney commented 4 years ago

Same delay with z-wave fibaro dimmers. I think bug in HA... Because when I turn ON in Magic Home - it's ON asap.

christensonautohome commented 4 years ago

The bulbs are often slow and use a long time to reply to requests. Not much to do with that

@Danielhiversen Not sure if that is 100% correct. Looks at the fix implemented here and here.

Also, my guess is @allmoney is running v8 on the MagicHome app. You can check by loading the app and clicking on 'device settings' then the firm ware version should appear. This seems to be a problem with v8 (maybe higher, not sure). Am i correct about your firmware?

Danielhiversen commented 4 years ago

That is something else.

Here is the problem that the bulb does not respond in 30seconds

allmoney commented 4 years ago

The bulbs are often slow and use a long time to reply to requests. Not much to do with that

@Danielhiversen Not sure if that is 100% correct. Looks at the fix implemented here and here.

Also, my guess is @allmoney is running v8 on the MagicHome app. You can check by loading the app and clicking on 'device settings' then the firm ware version should appear. This seems to be a problem with v8 (maybe higher, not sure). Am i correct about your firmware?

@christensonautohome no, v5, see screenshot: Screenshot_20200524-215105_Magic Home

annikovk commented 4 years ago

Do you have other flux_led devices which are not online at the moment you are trying to enable this one? If so, see https://github.com/home-assistant/core/issues/33275

stale[bot] commented 4 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.