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
73.57k stars 30.74k forks source link

asuswrt component constant error #9863

Closed heytcass closed 6 years ago

heytcass commented 7 years ago

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.55.0

Python release (python3 --version): 3.6.3

Component/platform: asuswrt

Description of problem: Running the asuswrt device tracker results in the following error being written to the logs about every 5 seconds, bogging down the logs and the system.

WARNING (SyncWorker_4) [homeassistant.components.device_tracker.asuswrt] Could not parse wl row: b'oclist; done\r'

Expected: No errors

Problem-relevant configuration.yaml entries and steps to reproduce:

- platform: asuswrt
  host: 192.168.13.2
  username: *****
  password: **********
  protocol: telnet
  mode: ap
  1. Enable asuswrt device tracker
  2. Restart server
  3. Inspect logs
FletchNZ commented 7 years ago

What router do you have? Have you tried SSH instead of telnet?

My config for my asus rt-88 works great. I do have Merlin firmware but that shouldn't matter:

- platform: asuswrt
  host: 192.***.***.***
  username: *******
  password: *******
  track_new_devices: false
  consider_home: 0:15

On my router in the config go Administration > System and make sure Enable SSH is set to LAN only and allow SSH password login is enabled

heytcass commented 7 years ago

I have an rt-ac66u. AFAIK no ssh capability in that model. SSH daemon is not an option in the administration tab, just telnet.

kukudemajia commented 6 years ago

I also encountered the same problem. Home Assistant release (hass --version): 0.58.1

Python release (python3 --version): 3.6.3

Component/platform: asuswrt

asuswrt RT-AC68U asuswrt-Merlin Firmware:380.68_4 Description of problem: Running the asuswrt device tracker results in the following error being written to the logs about every 1 second, bogging down the logs and the system.

Could not parse wl row: b'soclist; done\r'

Expected: No errors

Problem-relevant configuration.yaml entries and steps to reproduce:

  - platform: asuswrt
    host: 192.168.0.4
    username: !secret asuswrt_username
    password: !secret asuswrt_password
    mode: ap
    protocol: telnet
    track_new_devices: yes
    interval_seconds: 20
    consider_home: 40
balloobbot commented 6 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 :+1:

balloobbot commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍