Meta Datasource, problem with setting points
-
Hello,
i want to set a virtual-data-point with a meta-data-point, but it doesn´t work.
My script:
var tt = p10.value - p5.value;
if (tt >= 5) {
p14.set(10);
}
else p14.set(20);
return tt;The script compares 2 onewire-data-point temeratures (P10 and P5) and should set the P14 virtual-data-point (settable and numeric).
What is wrong?Best regards
Attachment: download link
-
You can't set points with the Meta Data Source. You need to use the Scripting Data Source for this.
-
Hi JoelHaggar,
It solves my problem.
Thank you very much!