Netgear device tracker setup errors

Hi guys, hope someone can help me. I ahve a Netgear D6400 router that isn’t automatically configured by HASS, but when I try to configure it manually using the following:

  - platform: owntracks

  - platform: netgear
    username: redacted
    password: red@cted
    interval_seconds: 10
    consider_home: 300
    track_new_devices: yes

it gives the following errors:

16-10-15 19:17:22 homeassistant.bootstrap: component automation failed to initialize
16-10-15 19:17:43 netdisco.ssdp: Error fetching description at
16-10-15 19:17:44 netdisco.ssdp: Found malformed XML at 
16-10-15 19:17:44 netdisco.ssdp: Found malformed XML at 
16-10-15 19:17:44 netdisco.ssdp: Found malformed XML at 
16-10-15 19:17:45 pynetgear: Error talking to API
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 346, in prepare_url
    scheme, auth, host, port, path, query, fragment = parse_url(url)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/packages/urllib3/util/", line 189, in parse_url
    raise LocationParseError(url)
requests.packages.urllib3.exceptions.LocationParseError: Failed to parse: None:None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hass/.homeassistant/deps/pynetgear/", line 113, in _make_request
    self.soap_url, headers=headers, data=message, timeout=10)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 461, in request
    prep = self.prepare_request(req)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 394, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 294, in prepare
    self.prepare_url(url, params)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/requests/", line 348, in prepare_url
    raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: None:None
16-10-15 19:17:45 homeassistant.components.device_tracker.netgear: Failed to Login
16-10-15 19:17:45 homeassistant.components.device_tracker: Error setting up platform netgear

Any ideas on how to fix it would be appreciated

If you open a browser and go to can you access your router. is the other default for netgear routers.

Also be sure your username and password are correct. To check that they are entered correctly try copy and pasting from your config file into the login box. I can’t remember if netgears are case sensitive, but something to check.

I have the same problem too. It seems to work even though I get the errors. My password and username are correct…

I should have mentioned that too, I get errors from in the log mine even though its working perfectly.

there is a bug report for this on the github page:

1 Like