inputValue
Read the value being written to a virtual tag, in its write script.
Write scripts only. Part of the virtual tag expression reference.
Returns the value being written to the virtual tag. Use it in a
write script to transform
the incoming value and forward it to real tags with
writeValue.
inputValue(): any;
Return value
The value being written to the tag.
Example
// Scale a 0–100 % input to a 0–10 V setpoint and write it to the fan
writeValue("AHU/Fan", (inputValue() / 100) * 10);