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.

Wind speed close shutter
#4
Hi,

I would add a check to be sure that the values from the online service are received as expected, we do the same with a signal from a local weather station (alive signal).

Make a resident / scheduled script at like this:
Code:
lastupdate = grp.find('1/1/1').updatetime
difference = os.time() - lastupdate
if difference > then 3600 then -- 1 hour not changed
   alert('No new value received from online weather service')
   -- or mail / push / sms etcetera
end
BR,

Erwin
Reply


Messages In This Thread
Wind speed close shutter - by MantasJ - 08.02.2020, 06:56
RE: Wind speed close shutter - by admin - 08.02.2020, 07:04
RE: Wind speed close shutter - by Joep - 08.02.2020, 09:51
RE: Wind speed close shutter - by Erwin van der Zwart - 08.02.2020, 10:46

Forum Jump: