Jump to content

Notifications/Customizations


JPfeffer

Recommended Posts

Posted

Application: Multiple Insteon Leak Sensors

Issue: Is there a way to use a single customization for SMS notifications that can include the name or address of the insteon device, where the name or address is a variable?

Currently I have individual customizations for each state of each insteon leak sensor. For example, Water Heater #1 device has one customization that has "Water Heater #1 Wet" and is hard coded into the customization. Another for Water Heater #1 Dry. Two more for Water Heater #2, etc. Each program has to call the notification with the specific customization.

Would prefer to have a single customization for "Wet" and either the address (xx.xx.xx) or the "tag" displayed at the top of the device screen. Was thinking the system variables in the customization drop down such as "node" or "address" would work. They do not.

Application works, just looking for a more efficient way than have many so different customizations for each alert.

 

thanks

Posted
2 hours ago, JPfeffer said:

Application: Multiple Insteon Leak Sensors

Issue: Is there a way to use a single customization for SMS notifications that can include the name or address of the insteon device, where the name or address is a variable?

Currently I have individual customizations for each state of each insteon leak sensor. For example, Water Heater #1 device has one customization that has "Water Heater #1 Wet" and is hard coded into the customization. Another for Water Heater #1 Dry. Two more for Water Heater #2, etc. Each program has to call the notification with the specific customization.

Would prefer to have a single customization for "Wet" and either the address (xx.xx.xx) or the "tag" displayed at the top of the device screen. Was thinking the system variables in the customization drop down such as "node" or "address" would work. They do not.

Application works, just looking for a more efficient way than have many so different customizations for each alert.

 

thanks

If I understand you correctly, I believe you are interested in setting up custom notification substitutions. Take a look at this: https://wiki.universal-devices.com/index.php?title=ISY-994i_Series:EMail_and_Networking_Substitution_Variables

Specifically, the following:

  • For example ${sys.node.11 22 AA 1.name} would use the name of the device node whose address is 11 22 AA 1
  • Instead of specifying a fixed address, the special character # may be used to reference the element in the event that caused the program to run. (Does not work in network resources)
    • For example, if a status event for node 11 22 AA 1 caused a program to run, then ${sys.node.#.name} would use 11 22 AA 1 as the address.
Guest
This topic is now closed to further replies.

×
×
  • Create New...