core: Tellduslive makes home assistant unresponsive

Home Assistant release with the issue: 0.85.0

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.): FreeBSD 11.2, python 3.6.7

Component/platform: tellduslive

Description of problem: When there is a network problem between Tellstick and Home Assistant server, the whole home assistant installation becomes very unresponsive. There are messages like this in the log file:

2019-01-20 19:05:55 WARNING (SyncWorker_0) [tellduslive] Failed request: HTTPConnectionPool(host='tellstick.stonepile.fi', port=80): Read timed out. (read timeout=10)
2019-01-20 19:06:05 WARNING (SyncWorker_0) [tellduslive] Failed request: HTTPConnectionPool(host='tellstick.stonepile.fi', port=80): Read timed out. (read timeout=10)

Problem like this shouldn’t affect the whole installation, just the component in question.

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

tellduslive:
  host: tellstick.stonepile.fi
  update_interval: 10

Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (12 by maintainers)

Most upvoted comments

@fredrike I just had power failure, which helped testing the situation where telldus box is not responding 😃 It seems that now Home Assistant kept working normally, it didn’t freeze as before.

Thank you @MartinHjelmare for clearing this up!

I’m sorry but I’m not interested in spending much more time on tellduslive. I would be happy to keep it bug free so if we could patch it up to a decent state, I would be happy with that.

I’m moving in the same direction as @molobrakos (the original author of tellduslive) with a mqtt approach for tellduslive (I’m planning to update the hass doc with info to corresponding libraries).

@molobrakos, can you answer why we have a look for the state at L285?

A possible workaround until a fix is in place, is to try a longer update interval, eg 15 seconds.