Skip to content

Commit

Permalink
Remove frequest asuswrt log spam (#24448)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwater7 authored and balloob committed Jun 10, 2019
1 parent 34e3d2f commit 20ba80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/asuswrt/device_tracker.py
Expand Up @@ -47,6 +47,6 @@ async def async_update_info(self):
Return boolean if scanning successful.
"""
_LOGGER.info('Checking Devices')
_LOGGER.debug('Checking Devices')

self.last_results = await self.connection.async_get_connected_devices()

2 comments on commit 20ba80f

@jgracio
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi
I don't know if I'm dropping this comment on the wrong place but I couldn't find another one.

I have been working with asuswrt on Home Assistant and now it is stopping several times per day disbling the linked automation.

Can you please help me or let me know who should I contact to learn how to get this fixed?

Thanks

The error I get is on HA log file is:
`2019-07-17 21:08:05 ERROR (MainThread) [aioasuswrt.connection] Host timeout.
2019-07-17 21:08:05 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py", line 38, in async_run_command
"%s && %s" % (_PATH_EXPORT_COMMAND, command)), 9)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 150, in async_device_tracker_scan
found_devices = await scanner.async_scan_devices()
File "/usr/src/homeassistant/homeassistant/components/asuswrt/device_tracker.py", line 36, in async_scan_devices
await self.async_update_info()
File "/usr/src/homeassistant/homeassistant/components/asuswrt/device_tracker.py", line 52, in async_update_info
self.last_results = await self.connection.async_get_connected_devices()
File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 166, in async_get_connected_devices
dev = await self.async_get_wl()
File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 102, in async_get_wl
lines = await self.connection.async_run_command(_WL_CMD)
File "/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py", line 48, in async_run_command
del self._client
AttributeError: _client`

@frenck
Copy link
Member

@frenck frenck commented on 20ba80f Jul 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there @jgracio! Please do not comment on closed PR's or commits. Instead, open up an issue on GitHub in case you suspect an issue or go to our forums or hop on to Discord chat for support.

Thanks! 👍

Please sign in to comment.