openhab/openhab — pull request #1681 by Snickermicker (2014-11-17 12:49:44+00:00)
Title: KNX autorefresh

Added a feature which will allow to configure KNX items as auto refresh items. Some devices can only be pulled and don't send updates by themselves. This feature allows for such polling.
An optional parameter in the KNX binding configuration string controls whether an item should be reread and how often that reread should occur.
Previous syntax:
`knx="[<][:][[+[<]]+[<]..], [<][:][[+[<]]+[<]..]"`
New syntax:
`knx="[<[(autoRefreshInSecs)]][:][[+[<[(autoRefreshInSecs)]]]+[<[(autoRefreshInSecs)]]..], [<][:][[+[<[(autoRefreshInSecs)]]]+[<[(autoRefreshInSecs)]]..]"`
Examples:
`knx="<(5)1/1/10"` will cause a reread of the main GA 1/1/10 every 5 seconds
`knx="1/1/10+<(60)0/1/13+0/1/14+0/1/15"` will cause a reread of the listening GA 0/1/13 every 60 seconds
`knx="<1/1/10"` will cause an initial one time read (initialization) of the main GA 1/1/10