Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASUSWRT: Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12 #18911

Closed
mcdhrts opened this issue Dec 2, 2018 · 2 comments

Comments

@mcdhrts
Copy link

mcdhrts commented Dec 2, 2018

Home Assistant release with the issue:

0.83.2, same with 0.83.0

Last working Home Assistant release (if known):
unknown

Operating environment (Hass.io/Docker/Windows/etc.):
Docker, Synology NAS

Component/platform:

https://www.home-assistant.io/components/device_tracker.asuswrt/

Description of problem:
After a few Minutes or more Hours the Device Tracker ASUSWRT doesn´t work anymore. The Log says that updating the device List took longer then scheduled. The Devices which are tracked gone to "not_home" and stays that way.
After Reboot vom HA everthing works for a few Minutes or sometimes for few Hours.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

asuswrt:
  host: !ipaddress
  username: !username
  password: !password

Traceback (if applicable):

2018-12-02 11:41:22 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:41:34 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:41:47 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:42:00 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:42:13 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:42:26 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:42:39 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:42:52 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:43:05 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:43:18 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:43:30 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:43:43 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:43:56 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:44:09 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:44:22 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:44:35 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:44:48 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:45:01 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:45:14 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:45:26 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:45:39 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:45:51 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:46:04 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:46:17 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:46:29 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:46:41 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:46:49 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.asuswrt_upload fails
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/app/homeassistant/helpers/entity.py", line 347, in async_device_update
    await self.async_update()
  File "/usr/src/app/homeassistant/components/sensor/asuswrt.py", line 126, in async_update
    self._state = round(self._rates[1] / 1000000000, 1)
IndexError: list index out of range
2018-12-02 11:46:54 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:47:07 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2018-12-02 11:47:19 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12

Additional information:

@kennedyshead
Copy link
Contributor

I think this might get solved with the #18955 PR, but it can be unrelated

@balloob balloob closed this as completed Dec 3, 2018
@acharest
Copy link

acharest commented Dec 3, 2018

Hi, I have the same problem. I get invalid config on main interface.
About

Home Assistant
0.83.3

Platform cast not ready yet. Retrying in 60 seconds.
09:13 helpers/entity_platform.py (WARNING)
Unable to prepare setup for platform device_tracker.asuswrt: Could not set up all dependencies.
09:13 setup.py (ERROR)
Unable to set up dependencies of device_tracker.asuswrt. Setup failed for dependencies: asuswrt
09:13 setup.py (ERROR)
Error during setup of component asuswrt
09:13 components/asuswrt.py (ERROR)

@home-assistant home-assistant locked and limited conversation to collaborators Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants