Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neato component cannot be set up despite correct user/pass #15238

Closed
sebastiandinu opened this issue Jun 30, 2018 · 7 comments
Closed

Neato component cannot be set up despite correct user/pass #15238

sebastiandinu opened this issue Jun 30, 2018 · 7 comments

Comments

@sebastiandinu
Copy link

Home Assistant release with the issue:
0.72.1

Last working Home Assistant release (if known):
0.71 (I think)

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io (on ResinOS)

Component/platform:
https://www.home-assistant.io/components/vacuum.neato/

Description of problem:
The neato component says it cannot be set up in the frontend. I tried the user/pass to log into my account and they work.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
neato:
username: username
password: password

Traceback (if applicable):

File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 146, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/neato.py", line 87, in setup
    hass.data[NEATO_LOGIN] = NeatoHub(hass, config[DOMAIN], Account)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/neato.py", line 111, in __init__
    self._hass.data[NEATO_ROBOTS] = self.my_neato.robots
  File "/usr/lib/python3.6/site-packages/pybotvac/account.py", line 64, in robots
    self.refresh_robots()
  File "/usr/lib/python3.6/site-packages/pybotvac/account.py", line 108, in refresh_robots
    traits=robot['traits']))
  File "/usr/lib/python3.6/site-packages/pybotvac/robot.py", line 37, in __init__
    if self.service_version not in SUPPORTED_SERVICES:
  File "/usr/lib/python3.6/site-packages/pybotvac/robot.py", line 136, in service_version
    return self.available_services['houseCleaning']
  File "/usr/lib/python3.6/site-packages/pybotvac/robot.py", line 132, in available_services
    return self.state['availableServices']
  File "/usr/lib/python3.6/site-packages/pybotvac/robot.py", line 128, in state
    return self.get_robot_state().json()
  File "/usr/lib/python3.6/site-packages/pybotvac/robot.py", line 104, in get_robot_state
    return self._message({'reqId': "1", 'cmd': "getRobotState"})
  File "/usr/lib/python3.6/site-packages/pybotvac/robot.py", line 56, in _message
    response.raise_for_status()
  File "/usr/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://nucleo.neatocloud.com/vendors/neato/robots/SOME-CODE/messages

Additional information:

@dshokouhi
Copy link
Member

dshokouhi commented Jul 1, 2018

That is very odd the robot serial is not even being listed. Can you check if you have a spare botvac in your online account that needs to be removed? I would also check to make sure the robot is online the 404 is typically when the robot is not online.

@dshokouhi
Copy link
Member

this also may be a duplicate of #11968

@sebastiandinu
Copy link
Author

Yeah...sorry for this, someone disabled somehow the wifi on the robot...didn't even knew this was possible. I will close it.

@WeiYang1982
Copy link

@dshokouhi sorry! I try it again but it's still wrong. My robots can connect with app. This mean the robot is already open the wifi? Is there something I miss? Thanks a lot!

@dshokouhi
Copy link
Member

@angelyangw yup if they can connect to the app then they are online. Your online account has no spare robots either right? They are all plugged in ready to go? What botvac do you have too?

@WeiYang1982
Copy link

@dshokouhi Thanks a lot. I can see only one robot at this url: https://www.neatorobotics.com/my-neato/ Is this right? my robot is D5, and already update to the 4.0 firmware。

@dshokouhi
Copy link
Member

@angelyangw yup that is right, next step try to use the library I linked in the other issue and see if you can interact with your account there.

@home-assistant home-assistant locked and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants