Jump to content

phoenix96

Members
  • Posts

    4
  • Joined

  • Last visited

phoenix96's Achievements

Newbie

Newbie (1/6)

1

Reputation

  1. Good news, I figured it out! So it turns out that although /rest/networking/resources returned a result and it looked alright, it wasn't in fact valid XML - because it left unescaped ampersands in the names of some of the NetRules. So this was actually apparently the fault of the ISY rather than the HA integration. I removed the ampersands from the names of those network resources and the integration then loaded correctly.
  2. I enabled more logging and can see a bit more information: 2022-10-28 13:53:50.302 INFO (MainThread) [pyisy] ISY Loaded Clock Information 2022-10-28 13:53:50.378 INFO (MainThread) [pyisy] ISY Loaded/Updated Programs [...truncated a couple dozen of these lines...] 2022-10-28 13:53:50.385 INFO (MainThread) [pyisy] ISY Loaded/Updated Programs 2022-10-28 13:53:50.391 INFO (MainThread) [pyisy] ISY Loaded Variables 2022-10-28 13:53:50.391 ERROR (MainThread) [pyisy] ISY Could not parse response, poorly formatted XML.: NetworkResources 2022-10-28 13:53:50.396 WARNING (MainThread) [homeassistant.config_entries] Config entry 'My Lighting (192.168.1.x)' for isy994 integration not ready yet: Invalid XML response from ISY; Ensure the ISY is running the latest firmware: ISY Could not parse response, poorly formatted XML.; Retrying in background So it looks like it is getting the programs and variables and it's only after that point that it runs into the problem. In pyisy, after the programs and variables are loaded it loads network resources, which seems to go along with the "Could not parse response, poorly formatted XML.: NetworkResources" line in the logs. But using CURL to GET 192.168.1.x/rest/networking/resources works fine, so I'm still not sure why the HA integration is failing there.
  3. Yep, I've got a bunch of programs, and multiple variables of both types.
  4. Hi everyone. I've just started on a Home Assistant setup, with the primary goal of getting my ISY devices into it. Unfortunately, I can't get the ISY integration to work. I add it, and it seems to at least pick up on the name of the controller, but it ends up with: Retrying setup: Invalid XML response from ISY; Ensure the ISY is running the latest firmware: ISY Could not parse response, poorly formatted XML. I've tried with TLS 1.1 and TLS 1.2 (but I'm just using HTTP with the IP address, e.g. http://192.168.1.x:80) The Home Assistant log just has entries like this: 2022-10-28 11:48:10.813 WARNING (MainThread) [homeassistant.config_entries] Config entry 'My Lighting (192.168.1.x)' for isy994 integration not ready yet: Invalid XML response from ISY; Ensure the ISY is running the latest firmware: ISY Could not parse response, poorly formatted XML.; Retrying in background 2022-10-28 11:48:25.349 ERROR (MainThread) [pyisy] ISY Could not parse response, poorly formatted XML.: NetworkResources 2022-10-28 11:48:43.569 ERROR (MainThread) [pyisy] ISY Could not parse response, poorly formatted XML.: NetworkResources 2022-10-28 11:49:12.830 ERROR (MainThread) [pyisy] ISY Could not parse response, poorly formatted XML.: NetworkResources When I manually GET the config from the ISY using CURL, the responses look fine (/rest/config, /rest/nodes, /rest/sys, /rest/programs, etc). I don't know if there's a way to tell which call is actually returning "poorly formatted XML". I've got a few dozen nodes, scenes, plenty of programs, variables of both types, etc. The ISY994 is running v5.3.4. I'm kind of at a loss right now. Hopefully someone has some insights! Thanks!
×
×
  • Create New...