ters Posted December 20, 2019 Share 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? Link to comment
ters Posted January 10, 2020 Author Share 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. Link to comment
MTB Posted January 11, 2020 Share 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}? Link to comment
ters Posted January 11, 2020 Author Share 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 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.