Hi there,
In my case asuswrt-based tracking stops working after a while in Hass. Initially it discovers some devices (but only a few, not all) and then it claims that some of them are offline, which is not true.
The web interface and the app show all the devices correctly, so it must be something with the tracker.
I run the same commands in asus shell via ssh as the ones executed by asuswrt library and the results are correct - the same as in the web interface. However the status of the tracker in Hass is not
The reboot of the router helps. But I don’t think it’s a router issue as I’m able to connect to it via the app and via web-interface without a problem. Hass does not report any issues with connection to my asus router…
Anyone experiencing the same issue?
My asus AC-RT68U works in AP mode. Hass 0.81.6
Also it sucks that the tracker shows all devices - regardless if they are connected witha wire or wireless.
Hi all,
My, for a loooong time, working device tracking using asuswrt has now, after upgrade of HA to 0.82.1, stopped working. I’m able to, with the same user as HA uses and its SSH-key from the host that HA runs on, login and run all the commands that AsusWRT executes, successfully on my Asus router. But the UI, web based, will not show any other status than away for any device tracked with AsusWRT, nor my number-of-people-at-home-automation, naturally. I’m also running a owntracks platform and its working as normal.
I’m running a Asus AC-RT68U in ROUTER mode running firmware: 3.0.0.4.384_32799.
The host running HA is an Ubuntu 16.04 machine running python 3.6 and running HA in a virtual env.
Unlike grzeg8102, rebooting my Asus router will not change anything. Occasionally I do get error messages in the HA log thrown by the asuswrt.py. But not very often at all. The error asuswrt.py throws is a “TypeError: ‘coroutine’ object is not iterable”. But its unfortunately quite intermittent and I do not have a stack trace to include at the moment.
So, grzeg8102, one more that experiences similar issues like your self.
Stupid question but I have the feeling after updating my Hass to latest beta with new asuswrt component my router is very unstable and the access from the outside on my server lags heavily…I don’t know what’s going on indeed but I never faced this issue before with my router… rebooting didn’t help. Component itself works so far …even if I shutdown Hass my external access is laggy … someone facing similar issue ?
Mine also sporadically fails to report the proper presence.
I saw this in my logs:
Nov 25 09:29:09 server hass[20061]: 2019-11-25 09:29:09 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Nov 25 09:29:09 server hass[20061]: Traceback (most recent call last):
Nov 25 09:29:09 server hass[20061]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/setup.py", line 164, in async_device_tracker_scan
Nov 25 09:29:09 server hass[20061]: found_devices = await scanner.async_scan_devices()
Nov 25 09:29:09 server hass[20061]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/asuswrt/device_tracker.py", line 36, in async_scan_devices
Nov 25 09:29:09 server hass[20061]: await self.async_update_info()
Nov 25 09:29:09 server hass[20061]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/homeassistant/components/asuswrt/device_tracker.py", line 52, in async_update_info
Nov 25 09:29:09 server hass[20061]: self.last_results = await self.connection.async_get_connected_devices()
Nov 25 09:29:09 server hass[20061]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 166, in async_get_connected_devices
Nov 25 09:29:09 server hass[20061]: dev = await self.async_get_wl()
Nov 25 09:29:09 server hass[20061]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 105, in async_get_wl
Nov 25 09:29:09 server hass[20061]: result = await _parse_lines(lines, _WL_REGEX)
Nov 25 09:29:09 server hass[20061]: File "/home/homeassistant/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 67, in _parse_lines
Nov 25 09:29:09 server hass[20061]: for line in lines:
Nov 25 09:29:09 server hass[20061]: TypeError: 'coroutine' object is not iterable
Mine just failed on .106.5. Did anyone ever determine what the issue is? Had the same configuration for almost a year with no issue. No new firmware from Asus in a while. I’ll try a router reboot and see if it comes back. I see similar error logs as above.
Rebooted my router and all returned. Strange error messages. Doesn’t seem router related, seemed python code related.