Insteon breaks with core-2021.7.1

The built in integration for Insteon breaks with core-2021.7.1.

It no longer connects to the Hub 2 / Modem. Worked fine in older versions now no matter what I do… It will not connect to the Hub 2 making all my Insteon devices no longer useable.

Any help or ideas?

I know this doesn’t help you, but my Insteon PLM is working with this version. I am running haos (or whatever it’s called - I always get it wrong) on a pi4. Do you have any errors?

1 Like

Modem can not connect!

I do not use the PLM as I am using the Hub version 2.

It worked great until version 7 started, now it will not connect to the hub at all. No error messages that I can see except the one above. It just no longer connects to the hub. I also use a pi4 to make my Insteon devices useable in HomeKit.

On version 6xx this all works great, just not on version 7 or 7.1

Same issue here. I have a Hub 2 and HA keeps logging

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:87
First occurred: 7:05:24 AM (10 occurrences)
Last logged: 7:17:29 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/protocol.py", line 187, in _write_messages
    await self._transport.async_write(msg)
  File "/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_transport.py", line 110, in async_write
    await self._async_write_url(url=url, msg=bytes(data))
  File "/usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_transport.py", line 119, in _async_write_url
    await self._read_write_lock
TypeError: object Lock can't be used in 'await' expression

and

Logger: homeassistant.components.insteon
Source: components/insteon/__init__.py:96
Integration: Insteon (documentation, issues)
First occurred: 7:06:29 AM (7 occurrences)
Last logged: 7:16:44 AM

Could not connect to Insteon modem

Here is my config

System Health

version: core-2021.7.1
installation_type: Home Assistant Container
dev: false
hassio: false
docker: true
virtualenv: false
python_version: 3.9.5
os_name: Linux
os_version: 4.4.59+
arch: x86_64
timezone: America/Chicago


logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok


dashboards: 2
resources: 0
views: 2
mode: storage

same for me :frowning:
update killed the insteon hub 2 integration

I’m having the same problem. Not at my house so I cannot try to restart the modem…

you are not missing out anything, restarting the hub does nothing

Agreed, restarting or trying to reconnect to the hub does nothing all. Attempt to reconnect just fails!

Tacking on to this, 7 & 7.1 same errors that @azemon reports. Been working fine until 7.x using the hub 2.

Same here. All of a sudden it can’t connect to the hub and I had to revert back to 6.6

Same here. Won’t connect to the hub. Had to revert to 6.6.

hopefully this will be addressed soon.
should we be opening some official ticket or something of that sort?
(and if so, please advice how to do so… :D)

I had the same exact thing happen – said an error about the PLM (sorry, didn’t note the exact message). Glad I had a snapshot? Restored it and everything is happy. Not sure how to best report, but hopefully this helps.

rwGP-d3b6nx7Qv5JvqGB:

You are running the PLM and you are having the same issues?
Do you know the model number for your PLM?

We need to establish if this only effects the Hub 2 or if other options like PLM or Hub 1 are also effected.

FYI TO ALL: I have reported this issue on GitHub but not sure what if anything will happen by reporting this way.

You can see this issue here: Insteon Integration breaks on core-2021.7.0 and above! · Issue #52877 · home-assistant/core · GitHub

1 Like

It looks like the root cause might be the pyinsteon library not being fully compatible with Python 3.9. I’ve opened an issue on the library:

1 Like

I would normally agree but… The problem is effecting core-2021.6.6 which is not Python 3.9.

I can confirm that reverting to 6.6 restores the functionality.

BTW, with insteon dead, any automation that includes an insteon device will abort without trying to affect the other devices… (came home to a house with zigbee and zwave lights on :slight_smile: )

1 Like

My ios app shows Bin Version Hub2-V04-20140904; PLM Version A5; Hub Version 1019. The back of the PowerLinc USB is #2413U (Rev 2.3). I have both a hub and the PLM on my network. The message I saw on the Insteon integration (running hass.io on raspberry pi 4) mentioned something to the effect that the PLM didn’t respond to the user something or other I believe. I’m pretty basic on Home Assistant, but can try the update again if needed. Reading other comments, I also tried rebooting the hub and restarting Home Assistant. Thanks!

One more failure to add to the pile…
Tried everything, as did everyone else, to no avail.

core-2021.7.1 / supervisor-2021.06.8 / Home Assistant OS 6.1 on Raspberry Pi4B