Announcement

Collapse
No announcement yet.

How to add replacement variable for last change?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to add replacement variable for last change?

    Did see some posts in the past but could not find the aswer, is it possible?

    I want to include the last change time for a device in an email notification.

    Thnx

    Wil

    #2
    Assuming the email is sent the moment the device changes, I simply put "$date" and/or "$time" in the message body, no quotes.

    Comment


      #3
      No, that is not the case. I send once a day an overview mail with i.e. motion last detected in the garden or door last opened garage.
      The "$date" and/or "$time" are known to me, thanks

      Wil

      Comment


        #4
        I don't know of a replacement variable but hs.DeviceTime(DeviceREF) returns the time since since change.

        Comment

        Working...
        X