Twitch Component - Not working

Has anyone been able to get the Twitch component to work? All the channels Iadd have issues in the logs.

2017-09-12 16:34:07 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/Users/sikosis/.homeassistant/deps/lib/python/site-packages/twitch/queries.py", line 64, in execute
    return f(self.url, self.params, self.headers)
  File "/Users/sikosis/.homeassistant/deps/lib/python/site-packages/twitch/scraper.py", line 26, in get_json
    jsonString = download(baseurl, parameters, headers)
  File "/Users/sikosis/.homeassistant/deps/lib/python/site-packages/twitch/scraper.py", line 59, in download
    raise
RuntimeError: No active exception to reraise

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 181, in _step
    result = coro.throw(exc)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 212, in async_add_entity
    yield from self.hass.async_add_job(entity.update)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/components/sensor/twitch.py", line 77, in update
    stream = twitch.streams.by_channel(self._channel).get('stream')
  File "/Users/sikosis/.homeassistant/deps/lib/python/site-packages/twitch/queries.py", line 127, in wrapper
    return qry.execute()
  File "/Users/sikosis/.homeassistant/deps/lib/python/site-packages/twitch/queries.py", line 78, in execute
    return super(JsonQuery, self).execute(get_json)
  File "/Users/sikosis/.homeassistant/deps/lib/python/site-packages/twitch/queries.py", line 66, in execute
    raise ResourceUnavailableException(str(self))
twitch.exceptions.ResourceUnavailableException: Query to https://api.twitch.tv/kraken/streams/warhammer, params {}, headers {'ACCEPT': 'application/vnd.twitchtv.v3+json', 'Client-Id': 'conc17x2xxxxxxxxxx'}

how/where are you adding this to the front end?

edit:
they work just fine for me.

@forsquirel is it still working OK for you?

It used to work great for me, but not it doesn’t work at all. :frowning:

I haven’t used it in a while. I might look back in to it. It was a very noisy integration when i was using it so I quit.

Thanks for the reply. :slight_smile:

It started working again for me now after leaving it off overnight. I think I may have hit the API limit by twitch as the HA sensor was sending over 5 API requests per second.

I’ve disabled the integration now, I don’t want to risk hitting the API limit again, I tried a 5 minute scan_interval in setting but it had no effect. :frowning: