Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Email Date and Time Variable Updated

Featured Replies

Posted

Wondering if there is a way to email the last time a variable was updated in the ISY.  I looked through the drop down menu for adding information to an email but either I missed it or there is nothing available to email that information.

I was thinking it would be useful to know when a variable was updated in the ISY using a rest command from a RPI.  I send data from my tags to variables and then email those values.  Would be nice to know the last time the variables were updated.

Thanks to anyone who might know the answer.

If it is a state variable just make a program

If
  variable x is 0
Then
  send email
Else
  send email

 

Every time the variable x changes, it sends an email.  You can embed the value of that variable in the email if you want using variable substitution syntax found in the wiki.

If it is an integer variable, then you will need to use something else as the trigger.  Like whatever program changes the integer value can also send the email.

  • Author

apostolakisl

You are  thinking out of the box whereas I was still in the box.  Yes this will work for me.  I have an email that i get twice a day in which I was thinking of including the time the variable was updated.  Instead, i will use your method and get the information every time a state variable is updated.

Very much appreciated!

 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.