30.10.2021, 20:03
Hi Erwin,
Sorry, not directly to this topic, but linked with weather data.
how better organize checking that weather data are updating (correctly)? I will install weather station first time, before I usually used different weather services. Of course I saw simply way once per hour check as example wind speed, and if data not changing - than do alert. But weather station sends data constantly and 1 hour checking period will be long? I just thing how correctly configure weather station to send data and not to overload KNX line.. Send data only if changed or cyclically every 10 minutes send them again? Script I found for data check:
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:
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
What is recommendation for local weather station?
BR, Alexander
Sorry, not directly to this topic, but linked with weather data.
how better organize checking that weather data are updating (correctly)? I will install weather station first time, before I usually used different weather services. Of course I saw simply way once per hour check as example wind speed, and if data not changing - than do alert. But weather station sends data constantly and 1 hour checking period will be long? I just thing how correctly configure weather station to send data and not to overload KNX line.. Send data only if changed or cyclically every 10 minutes send them again? Script I found for data check:
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:
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
What is recommendation for local weather station?
BR, Alexander