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 whether you accept or reject these cookies being set.

Alert manager
#1
   

Is there some logic in these alarm that makes me able to fix them.
Reply
#2
This is probably caused by yr.no weather script. You need to modify it to use tlsv1.2 for secure communication.

Code:
url = 'PUT_XML_URL_HERE'
data = {}
res, err = require('ssl.https').request({
  method = 'GET',
  url = url,
  protocol = 'tlsv12',
  sink = require('ltn12').sink.table(data)
})

if res then
  data = table.concat(data)
else
  alert('Fetch failed: ' .. tostring(err))
end
Reply


Forum Jump: