08.02.2020, 10:46 
(This post was last modified: 08.02.2020, 10:47 by Erwin van der Zwart.)
		
	
	
		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:
BR,
Erwin
	
	
	
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
endErwin
 
 

