22.11.2024, 09:59
i tried this from the forum and it didnt work
value = event.getvalue()
to = 'test@test.com'
subject = 'Alert'
message = 'KNX object 1/2/2 value is: ' .. tostring(value)
res, err = mail(to, subject, message)
if not res then
log(err)
end
value = event.getvalue()
to = 'test@test.com'
subject = 'Alert'
message = 'KNX object 1/2/2 value is: ' .. tostring(value)
res, err = mail(to, subject, message)
if not res then
log(err)
end