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 - devices go offline - Task exception was never retrieved #19138

Closed
Nutti85 opened this issue Dec 9, 2018 · 2 comments · Fixed by #19229
Closed

Asuswrt - devices go offline - Task exception was never retrieved #19138

Nutti85 opened this issue Dec 9, 2018 · 2 comments · Fixed by #19229

Comments

@Nutti85
Copy link

Nutti85 commented Dec 9, 2018

Home Assistant release with the issue:
0.83 and beyond. I'm running 0.83.3

Last working Home Assistant release (if known):
0.82 I believe

Operating environment (Hass.io/Docker/Windows/etc.):
Hassio

Component/platform:
Asuswrt device tracker
https://www.home-assistant.io/components/device_tracker.asuswrt/

Description of problem:
Does not update the state of devices. When setting up the component and rebooting HA the devices show as Home for a short period of time. Then they go to not_home and stay not_home.

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

asuswrt:
host: ***
username: ***
protocol: telnet
port: 23
password: ***

device_tracker:

  • platform: asuswrt
    consider_home: 700
    interval_seconds: 60

Traceback (if applicable):

Traceback (most recent call last):
Error doing job: Task exception was never retrieved

  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 709, in async_device_tracker_scan
    found_devices = await scanner.async_scan_devices()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 42, in async_scan_devices
    await self.async_update_info()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/asuswrt.py", line 58, in async_update_info
    self.last_results = await self.connection.async_get_connected_devices()
  File "/usr/local/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 169, in async_get_connected_devices
    dev = await self.async_get_wl()
  File "/usr/local/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 105, in async_get_wl
    lines = await self.connection.async_run_command(_WL_CMD)
  File "/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py", line 94, in async_run_command
    data = ((await self._reader.readuntil(self._prompt_string)).
  File "/usr/local/lib/python3.6/asyncio/streams.py", line 569, in readuntil
    offset)
asyncio.streams.LimitOverrunError: Separator is not found, and chunk exceed the limit

Additional information:

@oskretc
Copy link

oskretc commented Dec 11, 2018

same issue here

@kennedyshead
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants