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.

LM5 polling rate KNX
#7
(18.12.2018, 11:24)Daniel. Wrote: Then do it via script.
Tag all objects which you want to pool with tag 'Read' and make a schedule script which will run as often as you want.  just make sure it will not run faster then time of execution of the script.  1000 X Delay 

Code:
myobjects = grp.tag('Read')


for _, object in pairs(myobjects) do
 log(object.address)
 -- send read request to object
 grp.read(object.address)

 os.sleep(1) --dealy in seconds

end
You can add also to start up script to read on boot.

Thanks. But how will this reduce bustraffic when polling?
Reply


Messages In This Thread
LM5 polling rate KNX - by gs@el-24.no - 18.12.2018, 09:15
RE: LM5 polling rate KNX - by Daniel - 18.12.2018, 10:53
RE: LM5 polling rate KNX - by gs@el-24.no - 18.12.2018, 11:05
RE: LM5 polling rate KNX - by Daniel - 18.12.2018, 11:06
RE: LM5 polling rate KNX - by gs@el-24.no - 18.12.2018, 11:08
RE: LM5 polling rate KNX - by Daniel - 18.12.2018, 11:24
RE: LM5 polling rate KNX - by gs@el-24.no - 18.12.2018, 11:27
RE: LM5 polling rate KNX - by Daniel - 18.12.2018, 11:30
RE: LM5 polling rate KNX - by admin - 18.12.2018, 11:36
RE: LM5 polling rate KNX - by gs@el-24.no - 18.12.2018, 12:53
RE: LM5 polling rate KNX - by admin - 18.12.2018, 13:01

Forum Jump: