Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket issues with ISY integration (possible climate issue?) #66003

Closed
Dewieinns opened this issue Feb 7, 2022 · 15 comments · Fixed by automicus/PyISY#248 or #68069
Closed

Websocket issues with ISY integration (possible climate issue?) #66003

Dewieinns opened this issue Feb 7, 2022 · 15 comments · Fixed by automicus/PyISY#248 or #68069
Assignees

Comments

@Dewieinns
Copy link

Dewieinns commented Feb 7, 2022

The problem

Well I’ve been beating my head against the wall for too long now and it’s time to ask for assistance. I’ve been looking through various forums and various GitHub issues and nothing seems to entirely fit what I’m experiencing (that I’ve been able to find) but I’m not perfect, if you have suggestions where I may be better to post up my issues please feel free to point me in the right direction.

Back Story:

I have been using a bunch of Insteon gear and an ISY 944 for about a decade now. I’ve been doing so without issue, but I want more! I was introduced to Home Assistant by my brother and set up an instance… months ago - and I guess that’s really when the issues started, though I wasn’t entirely sure what was up. It started with Google Home integration directly to the ISY controller not working consistently anymore, it gives errors stating it can’t reach the device - yet it sometimes still does what was asked.

The Issue:

Fast forward to presently and I’ve determined there is something weird going on with websocket connections between HA and the ISY controller, to the point it sometimes crashes the ISY Controller (or it needs to be manually restarted). When I disable the integration within HA my issues go away, but so does the integration with 55 devices and a boat-load of automations.

What version of Home Assistant Core has the issue?

core-2022.2.2

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

Universal Devices ISY994

Link to integration documentation on our website

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

Diagnostics information

I know this isn't entirely what you wanted here but I figured I'd fire it in anyways for information's sake.

System Health

version core-2022.2.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.96
arch x86_64
timezone America/Halifax
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4989
Installed Version 1.22.0
Stage running
Available Repositories 1039
Downloaded Repositories 2
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 7.3
update_channel stable
supervisor_version supervisor-2022.01.1
docker_version 20.10.9
disk_total 30.8 GB
disk_used 12.9 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons File editor (5.3.3), Studio Code Server (3.7.0), Home Assistant Google Drive Backup (0.105.2), ESPHome (2021.9.1), Mosquitto broker (6.0.1), Network UPS Tools (0.9.0), Terminal & SSH (9.3.0)
Universal Devices ISY994
error failed to load: unknown
Lovelace
dashboards 4
resources 0
views 10
mode storage

Example YAML snippet

No response

Log Messages

Within my log files in HA I get the following error show up every few seconds:

Logger: pyisy.events.websocket
Source: /usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py:259
First occurred: 6:12:13 PM (406 occurrences)
Last logged: 6:26:10 PM

Websocket disconnected unexpectedly. Check network connection.

as well as a few others:

Logger: pyisy.events.websocket
Source: /usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py:238
First occurred: 6:15:35 PM (10 occurrences)
Last logged: 6:26:02 PM

Error during receive Received frame with non-zero reserved bits
Logger: pyisy.events.websocket
Source: /usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py:263
First occurred: 6:15:35 PM (10 occurrences)
Last logged: 6:26:02 PM

Websocket disconnected unexpectedly with code: WSCloseCode.ABNORMAL_CLOSURE

The log files on the ISY controller are also full of error messages related websocket issues:

|Sun 2022/02/06 18:26:30|System|-5012|8129||
|---|---|---|---|---|
|Sun 2022/02/06 18:26:54|System|-5012|8130||
|Sun 2022/02/06 18:27:18|System|-5012|8131||
|Sun 2022/02/06 18:27:38|System|-5012|8132||
|Sun 2022/02/06 18:27:55|System|-5012|8133||
|Sun 2022/02/06 18:28:09|System|-5012|8134||
|Sun 2022/02/06 18:28:18|System|-5012|8135||
|Sun 2022/02/06 18:28:38|System|-5012|8136||
|Sun 2022/02/06 18:28:56|System|-5012|8137||
|Sun 2022/02/06 18:29:20|System|-5012|8138||
|Sun 2022/02/06 18:29:38|System|-5012|8139||
|Sun 2022/02/06 18:30:30|System|-5012|8140||

Network Information

I run a Ubiquiti USG, 24 port gigabit switch and a wireless mesh network. Everything related to this scenario is hard-wired to the same switch.

Additional Information:

I had two devices on the ISY controller which didn’t always respond. They’re remote, in my garage, and while they work via the Insteon Remote I have paired to them in the garage, they’ve never worked properly within the ISY interface. Communication issues.

I have attempted to remove them, they’re gone from the ISY interface but still remain within the integration of the ISY Controller in HA. I have attempted to remove them as devices (I have disabled them) and Entities but the delete button is grey’d out. They’re currently disabled as Entities also but my Integration in HA shows the same number of devices.

Possibly Related/additional issue:

Another error I’ve noticed is related to climate. I live in Northern Canada and I don’t heat my garage unless I’m in it. My Insteon Thermostat out there shows 0 regardless if it is 0 or below. When this happens the ISY interface shows something like 127.5 degrees. Within HA I am getting a couple related errors:

Unexpected websocket error '0'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py", line 234, in websocket
    await self._route_message(msg.data)
  File "/usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py", line 191, in _route_message
    self.isy.nodes.control_message_received(xmldoc)
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 268, in control_message_received
    node.update_property(node_property)
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/nodebase.py", line 228, in update_property
    self.status_events.notify(self.status_feedback)
  File "/usr/local/lib/python3.9/site-packages/pyisy/helpers.py", line 179, in notify
    subscriber.callback(event)
  File "/usr/src/homeassistant/homeassistant/components/isy994/entity.py", line 54, in async_on_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 563, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 536, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
    return self.hvac_mode
  File "/usr/src/homeassistant/homeassistant/components/isy994/climate.py", line 136, in hvac_mode
    return UOM_TO_STATES[uom].get(hvac_mode.value)
KeyError: '0'
Logger: homeassistant.helpers.template
Source: helpers/template.py:1822
First occurred: 6:15:55 PM (2 occurrences)
Last logged: 6:15:55 PM

Template variable warning: 'mappingproxy object' has no attribute 'current_temperature' when rendering '{{ state.attributes.current_temperature }}'

I am very much willing to provide any additional logging information I can.

@probot-home-assistant
Copy link

isy994 documentation
isy994 source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @bdraco, @shbatm, mind taking a look at this issue as it has been labeled with an integration (isy994) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@Dewieinns
Copy link
Author

Dewieinns commented Feb 7, 2022

I should also point out that the integration mostly works, sometimes haha

When I really noticed there being an issue was when I recently set up a 2nd stage heat in a feed-room in a barn controlled by HA. The Insteon thermostat initially provided feedback to HA perfectly fine, then it stopped updating regularly. This lead to HA thinking the room was at one temperature when it was really at another and automation not happening as a result.

Thinking my ISY was on its way out I moved some nightly automated tasks (turning on some yard lights) over to HA. These tasks don't always execute properly. Sometimes they're fine and other times not so much.

Devices NOT connected to the ISY (using other integrations/protocols via HA) work just fine.

@bdraco
Copy link
Member

bdraco commented Feb 7, 2022

Please enable debug logging for pyisy. It may give you a better idea what is going on

@Dewieinns
Copy link
Author

Dewieinns commented Feb 7, 2022

Well it looks like that MAYBE helped me solve my issues! Thanks!

Having had no idea how to enable the debug logging I searched for doing so and found the following thread that pretty closely mimics what I have going on (Though there is no resolution here):
shbatm/hacs-isy994#17

Looks like maybe that was an old way to enable debugging (before it was a homeassistant.component) but I also found the following:
https://community.home-assistant.io/t/isy994-initial-setup-indexerror-list-index-out-of-range/364730

Ultimately I just added the following to my configuration.yaml file:

logger:
  default: info
  logs:
    custom_components.isy994: debug
    homeassistant.components.isy994: debug
    pyisy: debug

annnnnnnnd I can see a ton more logging entries, as one would expect.

I can see it connect, get the config data from the ISY, get the programs, updates all the nodes, then it loads some devices, that's where I see the first error(s):

2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Loading OfficeRemote- B
2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Loading OfficeRemote- C
2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Loading OfficeRemote- D
2022-02-07 12:42:31 INFO (MainThread) [homeassistant.components.lock] Setting up lock.isy994
2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Heartbeat timer starting. Now: 2022-02-07 16:42:31.051221+00:00 Then: 2022-02-08 17:42:31.051210+00:00
2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Heartbeat timer starting. Now: 2022-02-07 16:42:31.051799+00:00 Then: 2022-02-08 17:42:31.051790+00:00
2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Heartbeat timer starting. Now: 2022-02-07 16:42:31.052372+00:00 Then: 2022-02-08 17:42:31.052362+00:00
2022-02-07 12:42:31 DEBUG (MainThread) [homeassistant.components.isy994] Heartbeat timer starting. Now: 2022-02-07 16:42:31.052928+00:00 Then: 2022-02-08 17:42:31.052919+00:00
2022-02-07 12:42:31 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform isy994
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 773, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 563, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 536, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/isy994/climate.py", line 136, in hvac_mode
return UOM_TO_STATES[uom].get(hvac_mode.value)
KeyError: '0'

2022-02-07 12:42:31 ERROR (MainThread) [homeassistant.components.climate] Error while setting up isy994 platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 773, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 563, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 536, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/isy994/climate.py", line 136, in hvac_mode
return UOM_TO_STATES[uom].get(hvac_mode.value)
KeyError: '0'
2022-02-07 12:42:31 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 25.27s
2022-02-07 12:42:31 INFO (MainThread) [homeassistant.core] Starting Home Assistant

After that the next error is right after it attempts to update a wireless thermostat (battery powered):

2022-02-07 12:42:38 ERROR (MainThread) [pyisy.events.websocket] Unexpected websocket error '0'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py", line 234, in websocket
await self._route_message(msg.data)
File "/usr/local/lib/python3.9/site-packages/pyisy/events/websocket.py", line 191, in _route_message
self.isy.nodes.control_message_received(xmldoc)
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 268, in control_message_received
node.update_property(node_property)
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/nodebase.py", line 228, in update_property
self.status_events.notify(self.status_feedback)
File "/usr/local/lib/python3.9/site-packages/pyisy/helpers.py", line 179, in notify
subscriber.callback(event)
File "/usr/src/homeassistant/homeassistant/components/isy994/entity.py", line 54, in async_on_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 563, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 536, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/isy994/climate.py", line 136, in hvac_mode
return UOM_TO_STATES[uom].get(hvac_mode.value)
KeyError: '0'
2022-02-07 12:42:38 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:38 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:38 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:39 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:40 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:40 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:40 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:40 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:41 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:41 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:41 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:41 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:41 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:42 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:43 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:43 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:43 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:43 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:43 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:44 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:44 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:44 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:44 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:45 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:45 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:45 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:45 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:45 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:46 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:47 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:47 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:47 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:47 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:47 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:48 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:48 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:48 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:48 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:49 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:49 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:49 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:49 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:49 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:50 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:51 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:51 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:51 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:51 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:52 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:52 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly. Check network connection.
2022-02-07 12:42:52 DEBUG (MainThread) [pyisy.events.websocket] Stopping websocket connection.
2022-02-07 12:42:52 INFO (MainThread) [pyisy.events.websocket] PyISY attempting stream reconnect in 0.01s.
2022-02-07 12:42:52 DEBUG (MainThread) [pyisy.events.websocket] Starting websocket connection.
2022-02-07 12:42:53 DEBUG (MainThread) [pyisy.events.websocket] Successfully connected to websocket.
2022-02-07 12:42:53 ERROR (MainThread) [pyisy.events.websocket] Error during receive Received frame with non-zero reserved bits
2022-02-07 12:42:53 WARNING (MainThread) [pyisy.events.websocket] Websocket disconnected unexpectedly with code: WSCloseCode.ABNORMAL_CLOSURE

^ The above few errors repeat like crazy after that and then the whole works repeats for this thermostat device.

I disabled this thermostat in HA and on the ISY and restarted.

While the errors related to this thermostat went away next up was the same series of errors, but for another Wireless Thermostat... so again, I disabled it.

It's been only about 15 minutes but given that the log isn't being flooded with entries about the above errors I'm cautiously optimistic. I can see heartbeats now, my heat-pump just came on (a hard-wired Insteon Thermostat) and I can see messages come through from the ISY about various states etc.

So Ultimately I think there is still an error/issue, and it has to do with Insteon Wireless Thermostats.

What can I do to help improve this?

@bdraco
Copy link
Member

bdraco commented Feb 7, 2022

automicus/PyISY#248 should fix the websocket disconnecting.

I'm not sure what to do about the 0 value for unit of measurement, but @shbatm may have a better idea how to handle that.

@rccoleman
Copy link
Contributor

rccoleman commented Feb 26, 2022

Maybe related? automicus/PyISY#246

Edit: Seems not, still seeing the same behavior after the patch. Will enable pyisy debug.

@shbatm
Copy link
Contributor

shbatm commented Feb 27, 2022

Sorry, been out of pocket for a while--

  1. @Dewieinns What firmware are you on for the ISY (or are you running ISY on Polisy)?

It think changing this line to the following should fix the thermostat issue. I'm curious about firmware because I haven't seen a thermostat report a uom of 0 before, usually its 1 for Fahrenheit and 2 for Celsius, or empty if it hasn't been reported from the device to the ISY yet. Or, maybe "0" is when it's out of range--not documented anywhere I can find.

if uom in (UOM_ISYV4_NONE, "", "0"):

I have attempted to remove them, they’re gone from the ISY interface but still remain within the integration of the ISY Controller in HA. I have attempted to remove them as devices (I have disabled them) and Entities but the delete button is grey’d out. They’re currently disabled as Entities also but my Integration in HA shows the same number of devices.

  1. Did you resolve this part? Usually they go away with a restart of Home Assitant, sometimes they're stuck as "restored" entities, but you can usually delete them. Next option is to try calling service: isy994.cleanup_entities or manually deleting from your /config/.storage/core.* files (tread carefully).

  2. @bdraco have some follow up for you on Flood of websocket-related errors when Home Assistant starts automicus/PyISY#246

@Dewieinns
Copy link
Author

@shbatm

  1. I am running Firmware 5.3.0 with the following features installed:
  • OpenADR
  • Networking Module
  • Portal Integration - UDI
  1. The devices are there still but hidden by default as they're disabled. I'm fine leaving them in this state for now as everything seems to be working as expected.

@shbatm
Copy link
Contributor

shbatm commented Feb 27, 2022

  • Portal Integration - UDI

Are you connecting to the portal URL (my.isy.io) or to the ISY directly?

@Dewieinns
Copy link
Author

I can/do both. Launching the admin console is sometimes "fun" and I typically end up in the portal trying to remember how to gain access. It's also where the google home integration is.

@shbatm
Copy link
Contributor

shbatm commented Feb 27, 2022

I can/do both. Launching the admin console is sometimes "fun" and I typically end up in the portal trying to remember how to gain access. It's also where the google home integration is.

How do you connect Home Assistant? (BTW: I always recommend local to the ISY over HTTP--not HTTPS--for Home Assistant when possible, for best speed/response). I'm just curious if the Portal is sending empty values differently than the local connection.

@Dewieinns
Copy link
Author

Oh I'm sorry, HA access is local absolutely. Until my somewhat recently acquired Starlink internet connection my rural broadband was awful at best, everything is local I can possibly get away with.

I honestly don't recall if I'm using HTTP or HTTPS and I'm currently typing from elbow deep in a smart car transmission, I had a quick look at the configuration for the ISY integration via my mobile app but the configuration page seems to less than informative for how that aspect of the integration is configured. I can dig in to it this evening to try to find how I have it set up but something tells me it's HTTPS for some reason

@dobsod
Copy link

dobsod commented Mar 1, 2022

@Dewieinns
How old are your thermostats?
Several years ago I had issues with an insteon thermostat in my previous residence. I believe it was a Venstar 7-day programmable thermostat.
It seemed to be generating a lot of insteon traffic/noise throughout my house and not responding properly.

It turned out that the thermostat had some bad firmware. SmartHome replaced it for me.

@Dewieinns
Copy link
Author

Dewieinns commented Mar 1, 2022 via email

bdraco added a commit to bdraco/home-assistant that referenced this issue Mar 13, 2022
@bdraco bdraco mentioned this issue Mar 13, 2022
22 tasks
thecode pushed a commit that referenced this issue Mar 13, 2022
* Bump pyisy to 3.0.4

- Fixes #66003

- Changelog: automicus/PyISY@v3.0.1...v3.0.4

* again
balloob pushed a commit that referenced this issue Mar 15, 2022
* Bump pyisy to 3.0.4

- Fixes #66003

- Changelog: automicus/PyISY@v3.0.1...v3.0.4

* again
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants