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.

Scale Values
#1
Hey

Is there an easy way to multiply a KNX adresse-value with 3600, and to do so with many objects. I get resaults from Air-valves in m3/s, but want it in m3/h.
I use the Logic Machine as KNX to BACnet gateway.

Christian

Attached Files Thumbnail(s)
   
Reply
#2
You will need a script attached to a tag and some specific addressing rules to calculate the destination group address. This example converts first address part from 5 to 6:
Code:
value = event.getvalue() * 3600
dst = event.dst:gsub('^5/', '6/')
grp.update(dst, value)
Reply


Forum Jump: