Does anyone have the unifi device tracking component working with a unifi cloudkey? My unifi controller is running on a cloudkey and I can’t seem to get it to work no matter what I try.
I also have nmap running, but that doesn’t seem to pick up any phones in the house. It scans successfully, but doesn’t know if the phone is home or not.
I have the HA IOS app running and that usually works pretty well.
I’ve tried owntracks, but I really don’t need to track the phone outside of the house and I can’t convince my wife to leave owntracks running on her phone.
I really just want something simple that knows when the phone connects to my home wifi.
Here is the error I’m seeing in HA related to unifi (I’ve 'x’d out my controller IP, but I can assure you it is correct). My HA is running on a RPi3, and is located on VLAN 50, which I’m wondering may be my problem.
Thanks
17-05-03 21:45:18 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform unifi
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py”, line 83, in create_connection
raise err
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py”, line 73, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 345, in _make_request
self._validate_conn(conn)
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 844, in _validate_conn
conn.connect()
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 284, in connect
conn = self._new_conn()
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connection.py”, line 150, in _new_conn
self, “Failed to establish a new connection: %s” % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x6c2b4f70>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/requests/adapters.py”, line 423, in send
timeout=timeout
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py”, line 376, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘X.X.X.X’, port=8443): Max retries exceeded with url: /api/login (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x6c2b4f70>: Failed to establish a new connection: [Errno 110] Connection timed out’,))