msoileau Posted January 5, 2022 Share Posted January 5, 2022 While working on a custom node server, I noticed that I was unable to use my node server in UD Mobile (Android) even though everything looked OK on the admin console. I then tried to bring up another node server and received a similar error. I've tried rebooting the ISY and then performing a sync on UD Mobile. I cleared all data on the app, rebooted ISY, and did a discover. Same error. java.lang.Error: Node Status Relation Cursor is empty. NodeId: 824. Control:30. 500 On my custom node server, I see similar, just different nodeid and control I guess it's possible that both me and the other developer are making the same mistake? Link to comment
Javi Posted January 5, 2022 Share Posted January 5, 2022 Hi @msoileau, This is due to a new node server profile check performed in app. There are various Node Servers with the issue, check the GitHub repo an I may have already submitted a pull request to the Node Servers author. I think a few of @bpwwer 's V2 node servers have this issue, including weather node servers. This is usually related to a NodeDef Accepts Param init value set to a Status value that does not exist. Can you post or link to your NodeDef? Also specify the nodeDefId for this node and it should be easy to spot. It would be the string from the Control in the screenshot. Example: init="GVP". GVP is not a defined Status ID. <nodeDefs> <nodeDef id="controller" nodeType="139" nls="ctl"> <editors /> <sts> <st id="ST" editor="bool" /> </sts> <cmds> <sends /> <accepts> <cmd id="DISCOVER" /> <cmd id="REMOVE_NOTICES_ALL" /> <cmd id="UPDATE_PROFILE" /> <cmd id="DEBUG"> <p id="" editor="DEBUG" init="GVP"/> </cmd> </accepts> </cmds> </nodeDef> 1 Link to comment
msoileau Posted January 8, 2022 Author Share Posted January 8, 2022 I'm not following. Originally I had the init set to "0" but I've changed it to one of the status values and I still have the issue. Here is my nodedef: <nodeDefs> <nodeDef id="controller" nls="ctl"> <editors /> <sts> <st id="ST" editor="bool" /> <st id="GV1" editor="I_DEBUG" /> <st id="GV3" editor="EN_ST" /> <st id="GV2" editor="ZONE_STATUS" /> </sts> <cmds> <sends> <!-- These are for our heartbeat --> <cmd id="DON" /> <cmd id="DOF" /> </sends> <accepts> <cmd id="SET_DM"> <p id="" editor="I_DEBUG" init="GV1" /> </cmd> <cmd id="SET_ZONE"> <p id="" editor="ZONE_STATUS" init="GV2"/> </cmd> <cmd id="QUERY" /> <cmd id="ENABLE" /> <cmd id="DISABLE" /> <cmd id="STOP_ALL" /> </accepts> </cmds> </nodeDef> </nodeDefs> Link to comment
msoileau Posted January 8, 2022 Author Share Posted January 8, 2022 Ah. After changing init from "0" to "GV2", I had to delete the nodeserver and recreate it. Now it is working correctly. Thanks! Link to comment
Javi Posted January 8, 2022 Share Posted January 8, 2022 12 hours ago, msoileau said: Ah. After changing init from "0" to "GV2", I had to delete the nodeserver and recreate it. Now it is working correctly. Thanks! Great!. I've added an error section to the UD Mobile Wiki. Please let us know if you encounter any other errors so we can update the error section. https://wiki.universal-devices.com/index.php?title=UD_Mobile#Errors 1 Link to comment
Recommended Posts