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.

Trend log of the bus traffic
#5
Stats are not available when system starts, add this to remove the error:
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.
Reply


Messages In This Thread
Trend log of the bus traffic - by Trond Hoyem - 30.03.2020, 13:52
RE: Trend log of the bus traffic - by Daniel - 30.03.2020, 14:15
RE: Trend log of the bus traffic - by AlexLV - 06.04.2020, 14:44
RE: Trend log of the bus traffic - by admin - 07.04.2020, 06:11
RE: Trend log of the bus traffic - by AlexLV - 07.04.2020, 08:37
RE: Trend log of the bus traffic - by admin - 21.04.2022, 08:37

Forum Jump: