[homeassistant.components.lock] Error while setting up platform nello
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py”, line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 352, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/lock/nello.py”, line 35, in setup_platform
add_devices([NelloLock(lock) for lock in nello.locations], True)
File “/usr/lib/python3.6/site-packages/pynello/nello.py”, line 165, in locations
location_data = self.get_locations()
File “/usr/lib/python3.6/site-packages/pynello/nello.py”, line 245, in get_locations
return self._retry_request(method=‘GET’, path=‘locations/’)
File “/usr/lib/python3.6/site-packages/pynello/nello.py”, line 215, in _retry_request
self.login()
File “/usr/lib/python3.6/site-packages/pynello/nello.py”, line 231, in login
json={‘username’: self.username, ‘password’: pwd_hash}
File “/usr/lib/python3.6/site-packages/pynello/nello.py”, line 194, in _request
response.raise_for_status()
File “/usr/lib/python3.6/site-packages/requests/models.py”, line 928, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: https://api.nello.io/login
maybe the problem is on nello.io side. Does it work for you now?
I can’t even login: (i checked the login information, they are working in the app and its a second account)
2017-09-11 12:30:35 ERROR (Thread-8) [pynello.nello] Authentication failed: {‘authentication’: False, ‘result’: {‘message’: ‘Username/Password problem.’, ‘status’: ‘OK’}}
2017-09-11 12:30:36 ERROR (MainThread) [homeassistant.components.lock] Error while setting up platform nello
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.4/asyncio/tasks.py”, line 372, in wait_for
return fut.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/lock/nello.py”, line 35, in setup_platform
add_devices([NelloLock(lock) for lock in nello.locations], True)
File “/srv/homeassistant/lib/python3.4/site-packages/pynello/nello.py”, line 165, in locations
location_data = self.get_locations()
File “/srv/homeassistant/lib/python3.4/site-packages/pynello/nello.py”, line 245, in get_locations
return self._retry_request(method=‘GET’, path=‘locations/’)
File “/srv/homeassistant/lib/python3.4/site-packages/pynello/nello.py”, line 215, in _retry_request
self.login()
File “/srv/homeassistant/lib/python3.4/site-packages/pynello/nello.py”, line 236, in login
raise NelloLoginException(‘Login failed: {}’.format(err_msg))
pynello.exceptions.NelloLoginException: Login failed: Username/Password problem.
I’ve found some information about this phenomenon on a fhem forum. As you said, the problem is on nello.io side. Obviously there are some issues with user accounts created on a iOS device. The solution is to reset the password trough the nello app. Then you can use the new password from nello for your component configuration. That solves the problem for me!