gviliunas Posted January 22 Posted January 22 (edited) I have installed Home Assistant on a spare NUC and have just begun to learn HA in order to connect to sensors not supported in Polisy. I and am hoping to access my UDI Polisy v5.8 system via Home Assistant to make it all run seamlessly. (LOL) I can install the plugin and connect to the Polisy. I then see the HA query all of my devices but the setup then seems to fail with some missing "available nodes" in Home Assistant. Am I reading this correctly? Any ideas as to how to fix? Here is my Home Assistant log: 2024-01-18 14:41:29.986 DEBUG (MainThread) [pyisy] ISY Response Received: /config 2024-01-18 14:41:30.020 INFO (MainThread) [pyisy] ISY Loaded Configuration 2024-01-18 14:41:30.022 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.1.72:8080/rest/config 2024-01-18 14:41:30.027 DEBUG (MainThread) [pyisy] ISY Response Received: /config 2024-01-18 14:41:30.050 INFO (MainThread) [pyisy] ISY Loaded Configuration 2024-01-18 14:41:30.050 DEBUG (MainThread) [pyisy] Increasing available simultaneous connections 024-01-18 14:41:32.004 DEBUG (MainThread) [pyisy] Parsing group: S-All Dining Room [13825] 2024-01-18 14:41:32.005 DEBUG (MainThread) [pyisy] Parsing group: S-Dining Room [21083] 2024-01-18 14:41:32.006 DEBUG (MainThread) [pyisy] Parsing group: S-All-Office [338] 2024-01-18 14:41:32.007 DEBUG (MainThread) [pyisy] Parsing group: S-KPL-H Special Lights Status [37129] 2024-01-18 14:41:32.007 DEBUG (MainThread) [pyisy] Parsing group: S-KPL-C Kitchen Status [688] 2024-01-18 14:41:32.008 DEBUG (MainThread) [pyisy] Parsing group: S-KPL-B Guest Rm Status [52360] 2024-01-18 14:41:32.008 DEBUG (MainThread) [pyisy] Parsing group: S-KPL-1 Hall Status [27424] 2024-01-18 14:41:32.008 DEBUG (MainThread) [pyisy] Parsing group: S-KPL-E Office Status [38353] 2024-01-18 14:41:32.009 DEBUG (MainThread) [pyisy] Parsing group: S-Christmas Lights [15887] 2024-01-18 14:41:32.009 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry ISY (192.168.1.72) for isy994 Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 406, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/isy994/init.py”, line 104, in async_setup_entry await isy.initialize() File “/usr/local/lib/python3.11/site-packages/pyisy/isy.py”, line 143, in initialize self.nodes = Nodes(self, xml=isy_setup_results[2]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/pyisy/nodes/init.py”, line 127, in init self.parse(xml) File “/usr/local/lib/python3.11/site-packages/pyisy/nodes/init.py”, line 461, in parse Group( File “/usr/local/lib/python3.11/site-packages/pyisy/nodes/group.py”, line 57, in init self._update() File “/usr/local/lib/python3.11/site-packages/pyisy/nodes/group.py”, line 101, in _update valid_nodes = [ ^ File “/usr/local/lib/python3.11/site-packages/pyisy/nodes/group.py”, line 105, in self._nodes[node].status is not None ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: ‘Nodes’ object has no attribute ‘status’ Thanks in advance for any help! Edited January 22 by gviliunas
shbatm Posted January 22 Posted January 22 This looks like something I've seen before that had to do with naming of a node/folder on the ISY side that pyisy didn't like. Can you please visit http://192.168.1.72:8080/rest/nodes and http://192.168.1.72:8080/rest/status in a browser and send me the files saved as XML and I'll take a look? (assuming that's your Polisy ip from logs above)
gviliunas Posted January 22 Author Posted January 22 Thanks @shbatm!! Here are the files nodes.xml status.xml
Solution shbatm Posted January 22 Solution Posted January 22 (edited) Your "S-Christmas Lights" scene has a link to your "Leak Sensors" folder, I'm not sure how or if that's intentional, but my guess is that's whats causing it to choke: <group flag="132" nodeDefId="InsteonDimmer"> <address>15887</address> <name>S-Christmas Lights</name> <family>6</family> <hint>0.0.0.0</hint> <parent type="3">47955</parent> <deviceGroup>29</deviceGroup> <pnode>15887</pnode> <members> <link type="0">ZY076_1</link> <link type="0">ZY077_1</link> <link type="0">37 C7 69 1</link> <link type="0">35 53 E5 1</link> <link type="16">3D 7A 77 8</link> <link type="0">51393</link> </members> </group> <folder flag="0"> <address>51393</address> <name>Leak Sensors</name> <family>13</family> <hint>0.0.0.0</hint> <parent type="3">53032</parent> </folder> Edited January 22 by shbatm 2 1
gviliunas Posted January 22 Author Posted January 22 Thanks @shbatm That is strange. I deleted the Scene and the folder, restarted IoX and now I was successfully able to install the HA plugin! Yeah! Thank You!!!!!
Recommended Posts