Button Node
Button Node
Article summary
Did you find this summary helpful?
Thank you for your feedback
Button Node
The Button node enables you to swap between two value states using a button or switch. For example, 'On' and 'Off'.
Adding a Button node to your workflow
- First, select your desired solution and navigate to Rayven Workflow.
- Select ‘Controls’ from the left-hand panel.
- Find the Button node and drag it onto the canvas.
- Provide input to the Button node by connecting it to another node
- Double click on the Button node to open its configuration window.
Configuring your Button node
- First, give your node a Name. Choose something simple that clearly explains its purpose.
- Select a Button Type from the drop-down menu:
- Push Button,
- or Switch.
- If you want, you can add a Widget Subtitle. This additional text helps explain the data presented in the node. Anything added here will appear directly under the Widget Name in a smaller font.
- Select the Device/Device Label Name checkbox if you want the device or label name to be visible from the Rayven Live widget.
- Under Data Field Name, enter the name of the field in the JSON payload containing the data you want to display on the live dashboard.
- Enter an On Value to be output when the button is in the on position.
- Enter an Off Value to be output when the button is in the off position.
- You can choose a color for your button by entering a hex key or using the color selector.
Grouping by Device Label
Select how data should be grouped and displayed on the widget. To group data by device label, you must first create at least one label in the Device Labels section of the Workspace. See Creating Device Labels and Configuring Nodes Using Labels for more information.
- Enter your chosen label under Device Label Name.
- Select a method for grouping the widget on the dashboard from the drop-down options:
- No Grouping (widget per device): one widget will appear for each device.
- Group by device label value (widget per label value): one widget will appear for each unique value label. For example, if the device label is ‘Color’ and the label values are ‘Green’ and ‘Gold’, the dashboard will display two widgets. One will show data for devices labeled ‘Green’, and the other for devices labeled ‘Gold’.
- Group by device label name (one widget): only one widget will be displayed. It will contain data from all devices with the selected device label.
See Also: Creating device labels
As of Release: 10.02.2022