-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cannot read properties of undefined (reading 'getNodeLabelAttribute') #7
Comments
Hmmm not sure what is going on here, I checked in the persist directory and the “nodes.commissionedNodes” file shows a couple of the lights added with the node labels I set, but most show as: The node-xxxxx.0.40.5 files all have the correct values for the nodeLabel. The error seems to be in a part of the code that skips these:
And instead goes here:
But not sure why as these are all nanoleaf downlights. And they all look the same in the config. So either they are all a simple device and something else is causing it to go to the Composed Device code fragment, or they are all composed devices and something is wrong with the 11th one I added? I am a bit blocked on this, are you able to maybe point me to a way I can debug what it’s failing on? |
If it’s a composed device you should get multiple devices in the device dropdown list with the name you allocated at commissioning followed by - [device type] I’m out at the moment but I’ll try with one of my nano leaf bulbs later |
Thanks. I tried this to get out of trouble:
This got the interface not crashing. But it doesn’t really tell me anything. |
OK, found it as the only unnamed one in nodes.commissionedNodes, I stopped node red and tried to set the name, but on restart the name gets erased in nodes.commissionedNodes. It must be coming from somewhere else and is writing it to that from the nodered process |
Just capturing this for now. Haven’t had a chance to look at it.
I commissioned about 11 lights, then tried to copy/paste and existing command node. The copied node shows device and cluster empty (when before it was populated with the copied node values). Nodered then crashes with this in the logs.
The text was updated successfully, but these errors were encountered: