Available Variables in Actions

Action Configuration View » Available Variables in Actions

Think of the Action Steps as connectable parts that have an input and an output pipe. Each Step waits for incoming objects (in cv.Payload) it can then process and pass on through the output pipe to the next Step. Before processing the Step, you can Pre-Map and after…

Trigger Variables and Properties

Introduction » What is Gravio? » Hub Configuration View » Trigger Tab » Trigger Variables and Properties

Device / timer triggers allow you to pass trigger properties and trigger variables as arguments when performing an action. Trigger variable The trigger variable is a variable in tv., which is passed to the action as tv. In an event-driven trigger by receiving sensor…

Writing an Action

Action Configuration View » Writing an Action

Double-clicking on your Action in the Actions Overview will open your Action Editor. This is where you put your actions together. Actions consist of separate steps which you can string together, create “decision trees” and create inputs and outputs. The…

How to write expressions in Pre Mappings / Post Mappings

Action Configuration View » How to write expressions in Pre Mappings / Post Mappings

Each action component in the Action Editor has a pre Pre Mappings / Post Mappings area on the right side of the screen: Press the “+” button to add a new line to either the Pre-Mappings or the Post-Mappings. Pre Mappings are executed before the main…

Filter

Action Configuration View » Action Components » Filter

The Filter component is a component that filters the data that passes the contents of the input payload to the next component and outputs it to the output payload. You can enter a conditional expression that allows you to pass a test if it’s true, or…

Mail Send

Action Configuration View » Action Components » Mail Send

The Mail Send Action Component is to send email via SMTP. The Mail Send component sends an input payload (cv.Payload) as the body of a mail. It converts the data received by the input payload into a string and sends it as the body of an email. After sending the…

Environment Functions

Action Configuration View » Functions » Environment Functions

The following functions are available. Function Name Arguments Description Env Env(s) Return environment variables

Template

Action Configuration View » Action Components » Template

The Template component is a component that generates a string (text) from a specified template using placeholders. The template syntax is a GoLang standard described on https://golang.org/pkg/text/template/ . tp. / tv. / ap. / av. / cp. / cv. are all referable to…

Debug Log

Action Configuration View » Debug Log

Press the button at the top left of the component to output the debug log. By nature, components run independently and in parallel, but when executing an action while outputting debug logs, they are synchronized within the action engine. The debug log outputs the…

Split

Action Configuration View » Action Components » Split

The Split component is a component that splits the input Payload by line feed if it is a string, or by element if it is a JSON array, and passes it to the next component. The Split component provides the ability to filter whether the output data after the split…

MQTT Publish

Action Configuration View » Action Components » MQTT Publish

The MQTT Publish Action Component allows you to publish messages to topics within an MQTT PubSub system. Output Payload Explanation cv.Payload Outputs the output payload of the previous component as is. (Pass through) Component…

WriteToExcel365

Action Configuration View » Action Components » WriteToExcel365

The WriteToExcel365 component can output data to a OneDrive in Excel format. The use of this component requires a contract and pre-configuration of Office365 for Business and OneDrive for Business. How to prepare your Microsoft account Prepare an Office365…

Sensor Event Triggers

Introduction » What is Gravio? » Hub Configuration View » Trigger Tab » Sensor Event Triggers

Sensor Triggers Click on the icon on the top right with the plus in the square to create a sensor-based trigger: This will open the trigger popup: Give your trigger a sensible name, we recommend to name it after the condition that triggers the…

Statistics

Action Configuration View » Action Components » Statistics

The Statistics component stores the statistics (Min, Max, Mean/Average, Median, Standard Deviation, Sum, Mode) in the component variables with the specified values. If the value specified is an improper value for a number, that value will be excluded from the…

Action Component Behavior

Action Configuration View » Action Component Behavior

The action component has two component variables (cv.): the input payload (cv.Payload) and the output payload (cv.Payload). You can use it as the input payload (cv.Payload) when used in Pre-Mapping and as the output payload (cv.Payload) when used in…

Action Components

Action Configuration View » Action Components

An action consists of one or more steps. Each step can be populated with action components and define inputs and outputs. This section describes the different components available and explains how to use them.

HTTP Request

Action Configuration View » Action Components » HTTP Request

Using the HTTP Request component, you can send an HTTP request to a specified URL. The HTTP Request component executes the HTTP request with the input payload as the Body content of the HTTP request, depending on its properties, and writes the HTTP response Body to…

Google Cloud MQTT

Appendix » Google Cloud MQTT

Here are some examples of how you can publish messages to the Google Cloud MQTT system Go to the Google Cloud console and create a project: Moving to the IoT core on Google Cloud Platform Enable the Google IoT Core API. Create a device registry Enter…

MSTeamsPostMessage

Action Configuration View » Action Components » MSTeamsPostMessage

The MSTeamsPostMessage action component can use the Microsoft Teams API to post a message to the channel specified in the component’s properties. How to get the Incoming Webhook URL: Select “Connector” from the “More Options” menu…

General Gravio Troubleshooting

Troubleshooting » General Gravio Troubleshooting

Symptom Explanation Remedy Comments Gravio Studio is not behaving as expected Gravio Server connection is unstable or Gravio Server is not running Ensure that there is a stable connection between Gravio Studio and the Server is…

Action Configuration View

Action Configuration View

The Gravio HubKits can trigger Actions. You can think of an Action like a small and simple computer program, that’s made up of Steps. Actions can be created in the Action Editor which can be opened by clicking on the Action Editor icon: You can find these…