This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Sending E-mail when the "System starts"
#5
(2 hours ago)Daniel Wrote: Init script will run once after each system starts so just send yourself an email then.

OK, i have never done it to be honest. (setting initial scripts)

This is my event Script, how to adapt it to be initial one ? 

value = event.getvalue()

to = 'mymail@gmail.com'
subject = 'Alert'
message = 'KNX object 4/0/1 value is: ' .. tostring(value)

res, err = mail(to, subject, message)

if not res then
  log(err)
end
Experience, Exposure, Expertise
Reply


Messages In This Thread
RE: Sending E-mail when the "System starts" - by Fotaje - 2 hours ago

Forum Jump: