question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Home Assistant looses the ability to communicate with Insteon Hub 2 (2245-222)

See original GitHub issue

The problem

Insteon integration stops communicating with the hub after some time. Restaring Hub fixes the problem only temporarily, the same error occurs after several hour of communicating with the hub. The hub itself is operational and communicating with Insteon App. The problem seems to be with the pyinsteon.protocol.http_reader_writer improperly closing the http connection.

Since other people were reporting a similar issue, is there a manual fix for this or a new code in the upcoming release? Thank you for your time and effort in resolving this problem.

What version of Home Assistant Core has the issue?

2022.6.6

What was the last working version of Home Assistant Core?

N/A - problem observed for last 6 months

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Insteon

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Log Details (ERROR)
Logger: homeassistant.components.insteon
Source: components/insteon/__init__.py:111
Integration: Insteon (documentation, issues)
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

Could not connect to Insteon modem



Log Details (ERROR)
Logger: pyinsteon.protocol.http_reader_writer
Source: /usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_reader_writer.py:19
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

System must be restared to reconnect to hub


Log Details (ERROR)
Logger: pyinsteon.protocol.http_reader_writer
Source: /usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_reader_writer.py:18
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

If configuration is correct and restart the Hub


Log Details (ERROR)
Logger: pyinsteon.protocol.http_reader_writer
Source: /usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_reader_writer.py:17
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

Athentication error, check your configuration

Additional information

A similar problem is reported and described here: https://github.com/home-assistant/core/issues/70808

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
oom-iscommented, Dec 29, 2022

FWIW, @john94501 - My hub2 has all the same details. I’m subscribed and still using the iOS app (getting things set up to switch over to HA) and there’s an “Update Hub” option in the app. However, checking for updates reveals no new updates available…so it would appear we’re both as up-to-date as we can be.

0reactions
eclizottecommented, Jan 1, 2023

Same issues as noted above, very annoying and making me rethink insteon devices entirely.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insteon Hub connection Issue - Home Assistant Community
With this running I can see many smart devices on my network but not Insteon given HA is not connected yet to my...
Read more >
Today I switched my Insteon Hub 2245-222 to work with Home ...
Connect to the Home Assistant app via my local network (web browser interface). Go through the onboarding process (also very easy). Add the ......
Read more >
Insteon HUB 2245-222 stops responding #70808 - GitHub
The problem Sometimes the Insteon hub will stop responding to HA device commands and scripts. Also, when this happens Insteon device status ...
Read more >
Insteon is down and may not be coming back - Stacey on IoT
My red light is on solid on my Hub 2. I am a Home assistant user and a Nabu Casa subscriber. I can...
Read more >
home-assistant/insteon - Gitter
INFO:homeassistant.components.insteon_local:get_buffer_status: ... I have model 2245-222 hub, and 2 lamp dimmer modules that came in a bundle with the hub.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found