Jump to content

Switched module events now reporting 0 / 255 vs. OFF / ON using ${alert.event} variable


ters

Recommended Posts

Posted

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?

  • 3 weeks later...
Posted

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_StatusChg
2020/01/10 10:08:35 AM.
Event ST 0 received, Status Off.

Posted
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}?

Posted

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

  • Like 2
Guest
This topic is now closed to further replies.

×
×
  • Create New...