07.04.2020, 06:11
Stats are not available when system starts, add this to remove the error:
There's no point in running this script very often as trends values are updated once a minute. Use a scheduled script that runs every minute.
Code:
stats = knxlib.getstats()
if not stats then
return
end
There's no point in running this script very often as trends values are updated once a minute. Use a scheduled script that runs every minute.