Kentinada Posted December 26, 2023 Posted December 26, 2023 I looked in the UD Mobile wiki but didn't see any documentation. I'm looking for a list of the system variables that are defined for use in custom notifications. See screen shot for a few examples: things like ${sys.node.#.name} and ${alert.date}. Is there a complete list? And what is the node # for ${sys.node.#.name}? I use this notification below for geofence info and it comes through to my iPhone as: "node[#]".
gzahar Posted December 26, 2023 Posted December 26, 2023 1 hour ago, Kentinada said: I looked in the UD Mobile wiki but didn't see any documentation. I'm looking for a list of the system variables that are defined for use in custom notifications. See screen shot for a few examples: things like ${sys.node.#.name} and ${alert.date}. Is there a complete list? And what is the node # for ${sys.node.#.name}? I use this notification below for geofence info and it comes through to my iPhone as: "node[#]". https://wiki.universal-devices.com/index.php?title=ISY-994i_Series:EMail_and_Networking_Substitution_Variables
Kentinada Posted December 26, 2023 Author Posted December 26, 2023 @gzahar Thanks! I knew it was out there. I just couldn't find it. But the doc you referenced doesn't define the ${alert.event} system variable. I have searched the wiki with ctrl-f but don't see it anywhere either. Do you know where it is defined so I can see if there are other event types?
Javi Posted December 26, 2023 Posted December 26, 2023 I believe these variables come from the 2 dropdowns next to the "Add Variable" button. Some are program specific, so sys.node.#.name is the name of the node that triggered the program. If the program is run manually this variable does not exist. While most of the "alert" variable names are good definitions some are ambiguus. I did a quick search but don't see definitions for the "alert" variables, maybe @Chris Jahn knows.
Recommended Posts