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

Gearbest sensor not working #14813

Closed
arsaboo opened this issue Jun 4, 2018 · 0 comments · Fixed by #14833
Closed

Gearbest sensor not working #14813

arsaboo opened this issue Jun 4, 2018 · 0 comments · Fixed by #14833

Comments

@arsaboo
Copy link
Contributor

arsaboo commented Jun 4, 2018

Home Assistant release with the issue: 0.70.1 (but it has not been working for some time now)

Last working Home Assistant release (if known): NA

Operating environment (Hass.io/Docker/Windows/etc.): Ubuntu VENV

Component/platform: Gearbest

Description of problem: The sensor is not working:

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

  - platform: gearbest
    currency: USD
    items:
      - url: https://www.gearbest.com/alarm-systems/pp_659226.html
        name: Xiaomi Aqara Human Body Sensor

Traceback (if applicable):

2018-06-04 09:04:17 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform gearbest
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/gearbest.py", line 55, in setup_platform
    converter.update()
  File "/srv/homeassistant/lib/python3.6/site-packages/gearbest_parser/gearbest_parser.py", line 59, in update
    page = urlopen(req).read().decode('utf-8')
  File "/usr/local/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
HerrHofrat added a commit to HerrHofrat/home-assistant that referenced this issue Jun 5, 2018
HerrHofrat added a commit to HerrHofrat/home-assistant that referenced this issue Jun 5, 2018
@balloob balloob mentioned this issue Jun 22, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Sep 5, 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

Successfully merging a pull request may close this issue.

1 participant