average temp

Go down

average temp

Post by skiv71 on Wed Apr 30, 2014 11:54 pm

This example shows how to create a new 'meta point' whose value is the 'average' of 2 different physical sensors.

context points:
(point - var name)
sensor A - s1
sensor B - s2

script:
value=(s1+s2)/2;
return value;

update:
context
avatar
skiv71
Admin

Posts : 161
Join date : 2014-04-25
Age : 46
Location : United Kingdom

View user profile http://bmslink.co.uk:8180 [guest:guest]

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum