Posts: 303
Threads: 87
Joined: May 2017
Reputation:
2
Hi
I have a big room with 3 thermostats. Could there the some logic to compare in the logic module to compare the three temperatures to get an average temp. Then use this to control the room?
Posts: 32
Threads: 10
Joined: Jan 2016
Reputation:
0
Is rounding needed? I normally just sent the value to the knx driver and let it deal with the formatting. (Though thinking about it I have not checked if its rounding or just chopping off the decimal places...)
Posts: 303
Threads: 87
Joined: May 2017
Reputation:
2
Scripts is hard learning for me. So i try but really not my best side.
Ok so i put a new script in event based. Then i pushed the run script button on the bottom.
But then it flooded my knx group monitor writing the value every milli second.
What did i do wrong?
Posts: 1759
Threads: 6
Joined: Jul 2015
Reputation:
115
Hi,
You probably have the event on the output, this will retrigger the event every time the output is written.
For the correct avarage like sample above you need to put a tag on the 3 input values and set the event script to the same tag. Make sure the output is NOT tagged like the inputs.
BR,
Erwin
Posts: 1759
Threads: 6
Joined: Jul 2015
Reputation:
115
Hi,
If script is to hard for you at the moment you can always use the FBeditor app, there should be a average graphic block.
Basic functions are fine to do with it..
BR,
Erwin