Analog Threshold icon

Analog Threshold

Analog Threshold converts analog values (i.e. sensor readings) into boolean values.

Analog threshold

Analog Threshold converts analog values (i.e. sensor readings) into boolean values.

Analog Input Value can be converted to a boolean value by two _Mode_s:

Picture 1: Analog threshold node

False Delay and True Delay settings can be used to delay the output change. False delay is a “below low limit” value time delay (in seconds) before it sends the output value to False.

True delay is a “above high limit” value time delay (in seconds) before it sends the output value to True.

Input Value must remain below/above limit the whole period of the delay to trigger the output. Delays can be used to filter the quick changes of the input value (e.g. fast changing brightness).Output Value can be used as a trigger in tasks. Output can be inverted with the Invert Output setting. Thresholds (High Limit, Low Limit or Threshold) can also be set from UI via Double control. The output value can be linked to a Boolean control.

Picture 2: Analog threshold UI

Examples

Download example from our Library: Analog Threshold

Example 1: Control lights with brightness sensor

Example 2: High temperature alert

  1. Use temperature value for Input Value.

  2. Select single threshold and set the hysteresis (e.g. 45 C, +-0.5).

  3. Optionally set False Delay and True Delay.

  4. Use "Value" as a trigger in your task, to send the alert to user.

Example 3: Calculate switch status from measured current

  1. Use current value for Input Value.

  2. Select single threshold and set the hysteresis (e.g. 0.2 A, +-0.02).

  3. Use the output Value to make a Boolean control or use it in a task (e.g. in Operating Time task to calculate the amount of time the device was switched ON).

This website uses cookies

We use cookies to personalize content, use live chat, provide social media features and to analyze our traffic. We also share information about your use of our site with analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.