Nube iO - Rubix Wires: Widget Nodes

Rubix Wires: Widget Nodes


This article describes the Rubix Wires nodes that are in the Widgets category.

Widget

The `Widget` category contains nodes that are used in conjunction with an external user interface.   These nodes are often used to support extended functions from the Grafana Dashboard widgets.

Auto-Off-Manual

This node takes an (enumerated) numeric value (3 possible states) and iterprets them as `Auto`, `Off`, and `Manual` mode selection.  The boolean `output` value is based on the selected `mode`.  Numeric values corresponding to each `mode` can be set from settings.  When in `Auto` mode, `output` will match the `autoValue` input.

Inputs

  1. modeEnum - Enumerated numeric value that selects the mode.  Valid numeric `modeEnum` input values are the `Value for AUTO`, `Value for OFF`, and `Value for ON` values that are configured in settings.
  2. autoValue - Boolean value that will be passed to `output` when `modeEnum` value matches the configured `Value for AUTO` value.

Outputs

  1. output - Boolean output based on `modeEnum` input.  `output` will be `true` when `modeEnum` value matches the configured `Value for ON` value. `output` will be `false` when `modeEnum` value matches the configured `Value for OFF` value.  `output` will match the `autoValue` input value when `modeEnum` value matches the configured `Value for AUTO` value.
  2. mode - String output of current mode, based on `modeEnum` value.  Output values can be `ON`, `OFF`, or `AUTO`.

Settings

  1. Name - Name of the node.
  2. Value for AUTO - Numeric value to for `AUTO`.  Mode will be `AUTO` when `modeEnum` matches the configured value of `Value for AUTO` value.
  3. Value for OFF - Numeric value to for `OFF`.  Mode will be `OFF` when `modeEnum` matches the configured value of `Value for OFF` value.
  4. Value for ON - Numeric value to for `ON`.  Mode will be `ON` when `modeEnum` matches the configured value of `Value for ON` value.

Operation

The input `modeEnum` is compared to the configured `Value for AUTO`, `Value for OFF`, and `Value for ON` values.  If `modeEnum` equals one of the values, the `mode` output value will be the corresponding mode string (`ON`, `OFF`, or `AUTO`).  to the corresponding value.  `output` will be `true` when `modeEnum` value matches the configured `Value for ON` value. `output` will be `false` when `modeEnum` value matches the configured `Value for OFF` value.  `output` will match the `autoValue` input value when `modeEnum` value matches the configured `Value for AUTO` value.

Related Articles:

  1. Rubix Wires: Working with Nodes


    • Related Articles

    • Rubix Wires: Dashboard Nodes

      This article describes the Rubix Wires nodes that are in the Dashboard category. Dashboard The `Dashboard` category contains nodes that interact with the Wires Dashboard.  The Wires Dashboard provides a way to interact with the nodes/flows built in ...
    • Rubix Wires: Latch Nodes

      This article describes the Rubix Wires nodes that are in the Latch category. Latch The `Latch` category contains value latching functionality for each data type.  Latch nodes will maintain an output value between trigger events. Any-Latch This node ...
    • Rubix Wires: String Nodes

      This article describes the Rubix Wires nodes that are in the String category. String The `String` category contains nodes that are used for manipulating string data. String-Join This node joins multiple input strings into a single output string. ...
    • Rubix Wires: Statistics Nodes

      This article describes the Rubix Wires nodes that are in the Statistics category.   Statistics The `Statistics` category contains nodes that provide statistical analysis functionalities.  Min-Max-Average This node provides minimum, maximum, and ...
    • Rubix Wires: Num-Transform Nodes

      This article describes the Rubix Wires nodes that are in the Num-Transform category. Num-Transform The `Num-Transform` category contains nodes that modify numeric values.  Round This node rounds a numeric value to a configured number of decimal ...