-
Notifications
You must be signed in to change notification settings - Fork 22
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
2.1.6 AttributeError: 'Nodes' object has no attribute 'status_events' #283
Comments
@shbatm Any clue what would cause this? |
I don't know what could be causing that. I know I've seen it mentioned before--here's the only reference I could find, but never dug for a solution. Here's the other reference I remember, same user, never responded: https://forum.universal-devices.com/topic/34978-ha-error-adding-isy994/ Will take a look. |
I'm pretty sure it was not, but I will confirm. |
I just restart the node server and ISY on Polisy has been running for a long time and it died with the same error. |
Would you mind emailing me a copy of the xml from /rest/nodes and /rest/status? I'll try and load it on my mock isy and see if I can find out what's going on. (support at shbatm dot com) |
Thanks for the files. I found the problem, I'm just not sure how you managed it: you have a Folder included as a link in a Scene--as far as I was aware that was impossible. Is that a new feature? I saw the ability to add Z-Wave Nodes to Scenes, but I'm still on 5.3.4 and didn't see anything about linking folders like that. The PyISY processes Folders first, then Nodes, then Groups, so it can reference everything properly--it doesn't know how to handle a Folder as a group member. |
Thank you very much for figuring this out! I tried to review the code and my devices and couldn't see the issue. I have submitted a bug report to UDI and will see what they say. My guess is that it's a bug in current version where I deleted a device from the ISY that was in the scene and somehow the link was changed to the folder that contained the deleted device. I've recreated those scenes and PyISY is happy now. |
I had to add some debug log calls to figure out which group it was choking on and then go back and forth to the XML file. I'll add the calls to the next version which will at least help narrow down a problem node/group. |
That's along the lines of what I was thinking. I don't know the order which you created everything, but it looked like the address got reused. |
@jimboca , I looked at your ticket but the image does not show anything out of the ordinary. Can you please send me a copy of the same XML sent to shbatm? I don't believe node ID's are validated by ISY due to older firmware constraints. So, if a client (i.e. UD Mobile, AC, ect.) specified the Folder Address as a node it may be accepted. I don't think UD Mobile would do this as the types are different, but it could be another client which creates scenes. There is an old firmware bug which which allowed both scenes and folders to have the same address, this is rare due to randomization, but will persist through backups until folder and/or scene is deleted. This is the only reference I could find resembling this situation, but does not appear the likely culprit. |
Thanks @JavierRefuerzo I meant to include the xml as well but must have missed it. |
Not sure what is causing this, it runs find on my home Polisy, but not on my vacation home polisy.
The text was updated successfully, but these errors were encountered: