The goal is to trigger scenes when there are changes in the list of alerts for a given thermostat. So if a new alert became known, Vera could automate on it.
One approach would be to have device variables such as
LastAlertAcknowledgeRef
LastAlertDate
LastAlertTime
LastAlertSeverity
LastAlertText
LastAlertNumber
LastAlertType
LastAlertIsOperatorAlert
LastAlertReminder
LastAlertShowIdt
LastAlertShowWeb
LastAlertSendEmail
LastAlertAcknowledgement
LastAlertRemindMeLater
and whenever the last alert in the list changes, set the device variables to it. Also add an AcknowledgeAlert UPnP action that takes the ackRef, ackType and remindMeLater arguments.
Perhaps there is a cleaner way of representing the list of alerts via UPnP, without resorting to JSON, which would force the client to have a JSON parser handy.
The goal is to trigger scenes when there are changes in the list of alerts for a given thermostat. So if a new alert became known, Vera could automate on it.
One approach would be to have device variables such as
LastAlertAcknowledgeRef
LastAlertDate
LastAlertTime
LastAlertSeverity
LastAlertText
LastAlertNumber
LastAlertType
LastAlertIsOperatorAlert
LastAlertReminder
LastAlertShowIdt
LastAlertShowWeb
LastAlertSendEmail
LastAlertAcknowledgement
LastAlertRemindMeLater
and whenever the last alert in the list changes, set the device variables to it. Also add an
AcknowledgeAlert
UPnP action that takes theackRef
,ackType
andremindMeLater
arguments.Perhaps there is a cleaner way of representing the list of alerts via UPnP, without resorting to JSON, which would force the client to have a JSON parser handy.