core: OctoPrint every 2 minutes unavailable

The problem

I’m using Octoprint Version 1.8.6 on an Android-TV-Box with Octo4a. On HA it’s running with the auto-discovered integration.

The thing is, almost every 1-2 minutes changeing all entitys to unavailable and about 1-2 minutes later back to available. This problem goes since the beginning, after i installed the integration, 4 weeks ago (not only on core-2022.12.0, also on 2022.11.4 and .5). I tried to restart HA, restart the integration, restart Octo, nothing changed. Also i dont know its a problem of HA or Octo…

Anyone who knows whats going on, or have the same problem?

What version of Home Assistant Core has the issue?

core-2022.12.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

OctoPrint

Link to integration documentation on our website

https://www.home-assistant.io/integrations/octoprint/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.octoprint
Source: helpers/update_coordinator.py:168
Integration: OctoPrint (documentation, issues)
First occurred: 8. Dezember 2022 um 15:50:19 (335 occurrences)
Last logged: 08:20:47

Error requesting octoprint-*** data: Server disconnected
Error requesting octoprint-*** data: [Errno 104] Connection reset by peer

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 8
  • Comments: 15 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Do not tag people.

I am also seeing this on 2022.11.x sensors constantly flip between actual state and unavailable. Maybe the timeout needs to be increased? I especially notice this when I am actively printing something.