ters Posted December 20, 2019 Posted December 20, 2019 My email/text messages that use the ${alert.event} variable in them for Switched modules (non-dimming) changed from showing OFF / ON in the event messages to showing ST 0 / 255 after updating from v4.7.3 to v5.0.16B. Is this the way a Switched On / Switched Off event now reports? If so, is there a way to convert 0 / 255 to OFF / ON, or to alternately code the ${alert.event} variable to instead report OFF / ON in the messages?
ters Posted January 10, 2020 Author Posted January 10, 2020 To resolve the difference in the releases, I changed my generic event email and text notifications to the following: Home Alert ${sys.program.#.status} from ${sys.program.#.name} ${alert.date} ${alert.time12}. Event ${alert.event}, Status ${sys.node.#.ST}. resulting email / text example: Home Alert True from act_Water_ValveAndHeater_StatusChg2020/01/10 10:08:35 AM.Event ST 0 received, Status Off.
MTB Posted January 11, 2020 Posted January 11, 2020 12 hours ago, ters said: Status ${sys.node.#.ST}. Nice! Thank you for posting this. What option did you select from the add variable list did you select for ${sys.node.#.ST}?
ters Posted January 11, 2020 Author Posted January 11, 2020 That statement can be typed directly into the 'Subject' or 'Body' section, or the selection of 'Alert' and 'Node Address' will provide ${sys.node.#.addr} which you can then modify to replace .addr with .ST. The following link provides more details on other variables / properties you might find valuable: https://wiki.universal-devices.com/index.php?title=ISY-994i_Series:EMail_and_Networking_Substitution_Variables 2
Recommended Posts