apostolakisl Posted February 2 Posted February 2 What does this mean? Trying to set up to have a different icon depending on the state of the node. The display node is a PG3x node tracking the status of an output on my webcontrol board. When I click the icon, it runs a program that sets the state of several webcontrol outputs and displays the value of one particular output. Quote
Javi Posted February 2 Posted February 2 The error is likely due to missing definitions in the node server, or updated values which have not been synchronized to UDM. First try synchronization. If that does not fix the issue what is the Node Server? Quote
apostolakisl Posted February 2 Author Posted February 2 I sync'd already. It is webcontrol832 on PG3x. I had it sync'd to ioguys nodelink node for the webcontrol board but had to switch since that is not supported anymore. It worked fine with that node server. Quote
Javi Posted February 3 Posted February 3 Thanks, this is not an open git project so I can't see the definition files. So will need a few requests to see if the issue is with the node server or UDM. First post the response to the following and let me know the node server's slot http://ipaddress:8080/rest/profiles/family/10/files Quote
apostolakisl Posted February 3 Author Posted February 3 13 minutes ago, Javi said: Thanks, this is not an open git project so I can't see the definition files. So will need a few requests to see if the issue is with the node server or UDM. First post the response to the following and let me know the node server's slot http://ipaddress:8080/rest/profiles/family/10/files <profiles> <profile family="10" id="3"> <files dir="editor"> <file name="portedit.xml"/> <file name="PORTEDIT.XML"/> </files> <files dir="nls"> <file name="EN_US.TXT"/> <file name="en_us.txt"/> </files> <files dir="nodedef"> <file name="portndef.xml"/> <file name="PORTNDEF.XML"/> </files> </profile> <profile family="10" id="4"> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="5"> <files dir="editor"> <file name="custom.xml"/> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> <file name="custom.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="6"> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> </profile> <profile family="10" id="7"> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> </profile> <profile family="10" id="8"> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="9"> <files dir="nodedef"> <file name="nodedef.xml"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="10"> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="11"> <files dir="editor"> <file name="udmobile.xml"/> <file name="editors.xml"/> <file name="custom.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> </profile> <profile family="10" id="12"> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> </profile> <profile family="10" id="14"> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="15"> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> </profile> <profile family="10" id="16"> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="editor"> <file name="custom.xml"/> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="18"> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="19"> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> </profile> <profile family="10" id="20"> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="devices.xml"/> <file name="nodedefs.xml"/> </files> <files dir="nls"> <file name="en_us.txt"/> </files> </profile> <profile family="10" id="21"> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> </profile> <profile family="10" id="23"> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="nodedef"> <file name="nodedef.xml"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> </profile> <profile family="10" id="24"> <files dir="nls"> <file name="en_us.txt"/> </files> <files dir="nodedef"> <file name="nodedefs.xml"/> </files> <files dir="editor"> <file name="editors.xml"/> </files> </profile> </profiles> Quote
apostolakisl Posted February 4 Author Posted February 4 (edited) On 2/3/2025 at 9:33 AM, Javi said: What number slot does the node server reside? I have two webcontrol boards and you can only do one of them per node, so the node is installed twice, slot 6 and 8. Slot 6 is the one I am customizing for ud mobile. Edited February 4 by apostolakisl Quote
Javi Posted February 9 Posted February 9 Hi @apostolakisl, apologies for delay. Please provide response to http://ipaddress:8080/rest/profiles/family/10/profile/6/download/editor/editors.xml Quote
apostolakisl Posted February 10 Author Posted February 10 9 hours ago, Javi said: Hi @apostolakisl, apologies for delay. Please provide response to http://ipaddress:8080/rest/profiles/family/10/profile/6/download/editor/editors.xml This XML file does not appear to have any style information associated with it. The document tree is shown below. <editors> <!-- Custom Status (CST) Editor --> <editor id="cst"> <range uom="25" subset="0,1,2" nls="CST"/> <!-- Handles the status of the node server --> </editor> <!-- Temperature Status Editor (CST1) --> <editor id="cst1"> <range uom="25" subset="0,1" nls="CST1"/> <!-- Status: OK (1) / Not OK (0) --> </editor> <!-- Future Status Editor (CST2) --> <editor id="cst2"> <range uom="25" subset="0" nls="CST2"/> <!-- Future, for future usage --> </editor> <!-- Heartbeat Editor (Updated UOM to 25) --> <editor id="hb"> <range uom="25" min="-1" max="2" prec="0"/> <!-- Heartbeat (-1, 0, 1) --> </editor> <!-- Updated Temperature Editor to handle both Fahrenheit and Celsius --> <editor id="tempf"> <range uom="17" min="-100" max="200" prec="1"/> <!-- Temperature (Fahrenheit) --> <range uom="4" min="-100" max="200" prec="1"/> </editor> <!-- Generic Text Editor (For IPs, Variable Text, etc.) --> <editor id="text"> <range uom="56" min="0" max="100000" prec="2"/> <!-- Generic text fields, like names or numbers --> </editor> <editor id="ONOFF"> <range uom="78"/> </editor> </editors> Quote
Javi Posted February 10 Posted February 10 Thanks, it is an error in the Node Server. Range is missing min/max or subset values. The node server developer will need to correct this. <editor id="ONOFF"> <range uom="78"/> </editor> Quote
apostolakisl Posted Monday at 01:22 PM Author Posted Monday at 01:22 PM (edited) @Javi The node server creator fixed the min max issue. I get no error message, but it doesn't work. I updated node and synced UD mobile. I created a mapped value, but nothing happens to the icon when the output turns on. Edited Monday at 01:23 PM by apostolakisl Quote
Javi Posted Monday at 02:28 PM Posted Monday at 02:28 PM Does the Tile's Status show "On"? Edit: Notes: Based on the image of percentage I assume the Editor is incorrect. The editor only supports 0 and 100. So if there are any values in between the Node Server developer needs to use the correct editor to show all possible values to the user. Or The user needs to change the Mapping to >= 1 Quote
apostolakisl Posted Monday at 03:23 PM Author Posted Monday at 03:23 PM (edited) 1 hour ago, Javi said: Does the Tile's Status show "On"? Edit: Notes: Based on the image of percentage I assume the Editor is incorrect. The editor only supports 0 and 100. So if there are any values in between the Node Server developer needs to use the correct editor to show all possible values to the user. Or The user needs to change the Mapping to >= 1 Yes, fountain low is the one I'm talking about here. But all the others are the same. And this is an output that is either on or off. There are no in between values. The icon name "water percnentage" was just a random icon i clicked on for testing. There is no percentage here, it is either on or off. That particular icon is just set to "default". But some of those other custom icons are wrong as well. And they switch around from one thing to another without changing any settings. EDIT: And I should note that these icons are generally not correct. Like above, the "pool lights" icon show a waterfall instead of a lightbulb which it is supposed to show. I just opened the screen again, it showed the fountain and then after a few seconds it changed to a light bulb. And then i opened it a 3rd time, it kept showing the fountain, then I clicked on the edit button and it switched to a light bulb. EDIT 2: I also should note that the icon you see for fountain off is a custom url that is not what is programmed there. And when I open this screen sometimes fountain low also shows that same icon, then it switches to the icon you see there, which is what it is currently set to. Edited Monday at 03:54 PM by apostolakisl Quote
Javi Posted Monday at 04:38 PM Posted Monday at 04:38 PM Thanks. I see you have multiple favorites screens. Does this only happen on this screen or screens which have a a tile with an icon populated by a URL? Quote
apostolakisl Posted Monday at 04:47 PM Author Posted Monday at 04:47 PM (edited) 9 minutes ago, Javi said: Thanks. I see you have multiple favorites screens. Does this only happen on this screen or screens which have a a tile with an icon populated by a URL? This is the only page I am using custom url icons on. There isn't anything that looks like a fountain in the standard icons, so I went to a custom. I am using the custom mapping feature in lots of other places to have the standard icons change color when a value hits some number. Like temp turns red above 100, blue below 32 and green otherwise type stuff. I have not noticed any issues there. But these are all using the standard icons from the menu, I am only customizing the color for various states. I don't know if having these things grouped in a folder does something to other items in the folder. Saying this because the pool lights icon is currently and has always been the default icon (light bulb), and yet it is, at times, showing the custom url icon. I have that icon (the standard light bulb) set to turn red when the light is on, but otherwise it is "stock". FYI, the three icons at the bottom, the two temps and the light bulb, I don't recall them ever doing anything funky. Edited Monday at 04:48 PM by apostolakisl Quote
apostolakisl Posted Monday at 09:34 PM Author Posted Monday at 09:34 PM (edited) @Javi just tried creating a second favorite in a different folder doing the same thing. To my surprise, when I went to the advanced status config, the settings I created for the other favorite were already there. And when I changed the settings, the changes also showed up in the other one. Then I deleted (remove from favorites) both of them and recreated it. Again, the advanced config stuff was already there. And it also still doesn't work. It seem like UD mobile is tapping into conflicting or duplicate data bases or something. Edited Monday at 09:35 PM by apostolakisl Quote
apostolakisl Posted Monday at 10:05 PM Author Posted Monday at 10:05 PM (edited) I just tried deleting the app, reinstalling, and syncing with ISY, did not restore the backup. Created the favorite from scratch and it still doesn't work. Of note, it crashed UD mobile when I saved it and I had to reopen. I went ahead and restored the backup. Edited Monday at 10:05 PM by apostolakisl Quote
apostolakisl Posted Monday at 11:02 PM Author Posted Monday at 11:02 PM (edited) @Javi OK, I switched it now so that instead of changing the icon when on, it changes the icon when off. And that works. Still have goofy stuff about putting the wrong icons in there. Edited Monday at 11:06 PM by apostolakisl Quote
apostolakisl Posted Tuesday at 02:06 AM Author Posted Tuesday at 02:06 AM (edited) Here is what I have discovered. The node must be in the state that you are setting the advanced config for, while you are setting it. In other words, if you want a different icon while it is on, you must first turn it on, then while it is on, set the icon in the advanced config section. I am quite certain I did not do this the first time I programmed it when I was using Nodelink. I do not know whether this is something that has changed in UD mobile or if it is something to do with the node. Still the issue of the wrong icons showing up either for a few seconds or until I close and reopen the screen. Like just now, the pool lights are on, but instead of getting a red light bulb icon, I got a blocked out red square. I closed the favorites page, reopened it, and now it is a red light bulb. Edit. To be clear, the wrong icons showing up was happening since I was using nodelink. Not new with pg3x node. Edited Tuesday at 05:11 AM by apostolakisl Quote
Javi Posted Tuesday at 03:53 PM Posted Tuesday at 03:53 PM I think it is related to downloaded icons. The views are "Recycled" (an app thing to reuse views and save resources) and looking at the code it does not appear that the app checks if the download is still valid, it was at one point but must have been removed during an update. When color is changed on a downloaded icon (which does not have an alpha layer) then it will cause the entire icon (i.e. red square) to be filled with the color, so that explains the red square. As for there already being value. Are these all for the same Node? Custom Mapped values are related to a Node Property not a Favorite. So if a Custom Mapped value is added it will be on both the Home tab an the favorites tab. Quote
apostolakisl Posted Tuesday at 07:17 PM Author Posted Tuesday at 07:17 PM 3 hours ago, Javi said: I think it is related to downloaded icons. The views are "Recycled" (an app thing to reuse views and save resources) and looking at the code it does not appear that the app checks if the download is still valid, it was at one point but must have been removed during an update. When color is changed on a downloaded icon (which does not have an alpha layer) then it will cause the entire icon (i.e. red square) to be filled with the color, so that explains the red square. As for there already being value. Are these all for the same Node? Custom Mapped values are related to a Node Property not a Favorite. So if a Custom Mapped value is added it will be on both the Home tab an the favorites tab. Except the red square is a UD provided light bulb icon. We are talking about the upper left icon in my pool folder that I have screen shotted above. Perhaps it is because it erroneously put a custom icon in the spot and then colored it red. And sometimes it does erroneously put the custom icon in that spot, usually just for a few seconds before correcting itself. And I only see this swapping around of icons in this one favorites folder. It is the only folder I have used custom icons. Is something going on where all the icons in the same folder can get their icons swapped (temporarily)? I never see icons in other folders acquire any of the custom icons used here or do anything else weird. The creator of the node thinks he knows why I can only program the advanced mapping attributes to an icon while the node is in the designated state. He is going to update later today. Quote
apostolakisl Posted Wednesday at 01:48 PM Author Posted Wednesday at 01:48 PM @Javi The node maker has gotten the mapped value issue fixed it would appear. But the unrelated issue of incorrect icons persists. Quote
Javi Posted Wednesday at 04:13 PM Posted Wednesday at 04:13 PM Ok, based on this I'm almost sure it is related to the url icons. Will try a fix in the next build. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.