The topic you requested could not be found.
Related topics are listed below.

Action Components (Steps)

Action Configuration View » Action Components (Steps)

Actions consist of one or more steps. Each step is a configured Action Component that has inputs, outputs and some logic in between. In this section, we go through the various components available and explain how we can use them.

Action Variables

Action Configuration View » Available Variables in Action » Action Variables

The first Variable category is the “Action Variable” category. When expanding the view by clicking on the left arrow button you will see an overview of the available Action Variables: On Gravio Studio Mac, you can see the available variables by…

Available Variables in Action

Action Configuration View » Available Variables in Action

On the left hand side, you can see the “Available Fields” panel. We describe in more detail what the different sections are in the following pages. They refer to different categories of variables.

Writing an Action

Action Configuration View » Writing an Action

To create a new Action, click on the “+” sign on the top right in the Action Configuration view within an Edge Server: A new Action Card will appear. It contains the Action Name (probably “Action x” where x is a number) plus the Action ID, a…

Action Configuration View

Action Configuration View

In the Action Configuration View, you tell the Gravio Edge Server what its capabilities are. We call those capabilities “Actions”. Triggers, Timers or API calls can kick off those Actions, which consist of an unlimited amount of Steps. Typically sensor…

Running Actions from a Local IP API

Action Configuration View » Running Actions from a Local IP API

To trigger an action from a local Edge Server IP address please follow the below steps: Preparation Install Gravio Service and start it. Use Gravio Studio to create Actions to be executed. API API Name: run action api Protocol: https (port 29443) Endpoint:…

SensorDB (Deprecated)

Action Configuration View » Action Components (Steps) » SensorDB (Deprecated)

This component is deprecated. Please use SensorDataDB instead. The Sensor DB Action Component is for storing sensor data and making it available via the API upon request. The SensorDB action component can acquire sensor data stored in GravioServer. The external…

WriteUserDB

Action Configuration View » Action Components (Steps) » WriteUserDB

The Write User DB Action Component allows you to write JSON data into a local LiteDB NoSQL Database http://www.litedb.org/ . The data written is in JSON format and taken from the Step Fields. It’s the counterpart of the Read User DB Action Component. Under…

Sleep

Action Configuration View » Action Components (Steps) » Sleep

The Sleep Action Component allows you to insert a pause between two steps of an action. The number entered is the amount of milliseconds the Action has to pause.

Exceptions

Action Configuration View » Available Variables in Action » Exceptions

Exceptions allow you to control how the Action should behave if certain component related errors or events occur. These can include: What should happen if a general error occurs? * Go to a specific other Action? * Stop this Action? * Continue this Action? *…

ReadLocalFile

Action Configuration View » Action Components (Steps) » ReadLocalFile

The Read Local File Action Component reads local JSON files and behaves in a similar way as the Read CSV Component. An example local file can be found here: input.json

C# Script

Action Configuration View » Action Components (Steps) » C# Script

The C Sharp Script Action Component allows you to trigger any C# script. You can either paste the code directly into the interface or upload a file:

WriteLocalFile

Action Configuration View » Action Components (Steps) » WriteLocalFile

The Write Local File Action Component writes a CSV file from the data that it receives. In this example, we connect it to a ReadCSV Action Component. You can see how the Local File Action Component picks up the incoming fields automatically under “In…

ReadUserDB

Action Configuration View » Action Components (Steps) » ReadUserDB

The Read User DB Action Component allows you to read from a local LiteDB NoSQL Database http://www.litedb.org/ . The data read is taken from the JSON and put into the Step Result fields. It’s the counterpart of the Write User DB component. Under…

CreateRecord

Action Configuration View » Action Components (Steps) » CreateRecord

With the CreateRecord component you can create a “step result” of one record. This is useful when you want to use values from sensors set as action variables in BranchCase component or Filter component as conditions. For example, if you create a Timestamp…

WriteCSV

Action Configuration View » Action Components (Steps) » WriteCSV

The WriteCSVFile action component writes a CSV file from the received data. This example shows how to use the ReadCSV action component to get some data, and then write that into a CSV using the WriteCSVFile action component. Once the ReadCSV action component has…

DeleteLocalFile

Action Configuration View » Action Components (Steps) » DeleteLocalFile

Delete a file stored in a local file. This is useful to delete files that have been stored in previous steps and are no longer needed. In this example, we place the DeleteLocalFile action component and enter the name of the file to be deleted. Open the…

Filter

Action Configuration View » Action Components (Steps) » Filter

The Filter Action Component works similar to the Branching Component, except that it doesn’t direct an Action into a branch but filters it according to the given condition. You might want an Action to stop or continue depending on a condition. Using this…

SendMail

Action Configuration View » Action Components (Steps) » SendMail

The Send Mail Action Component sends out an e-mail when it is triggered: You will require SMTP information in order to send out e-mails. The fields allow for accessing the variables. E.g. you could use av. (Action Variable) or sv. (Step Variable) to access the…

LineNotify

Action Configuration View » Action Components (Steps) » LineNotify

LINE is a very popular free mobile messenger service similar to WhatsApp in Asia. The LineNotify action component can use the free LINE Notify service ( https://notify-bot.line.me/ ) to post a message to a line user. The message can be specified in the…

TwilioSMS

Action Configuration View » Action Components (Steps) » TwilioSMS

The TwilioSMS action component can use the Twilio service ( https://www.twilio.com/ ) to post a message specified in the component properties to a mobile phone SMS. It is useful to notify people of information from sensors. Note, Twilio is not a free service and they…

RunScript

Action Configuration View » Action Components (Steps) » RunScript

The RunScript component allows you to run OS standard scripts. If Gravio Server is running on Windows it can run batch files, Linux, Raspbian and macOS can run shell scripts. If it is not Windows, you need to give execute rights to the uploaded file. The uploaded file…

AqaraSmartPlug

Action Configuration View » Action Components (Steps) » AqaraSmartPlug

The Aqara Smart Plug Action Component allows you to switch on or off the smart plugs provided by Aqara. You will need to pair the plug with the Gravio dongle first. Using “Plug Selection Formula” allow you to control which layers / devices should be…

SlackPostMessage

Action Configuration View » Action Components (Steps) » SlackPostMessage

The Slack Post Message Action Component can post messages into a provided Slack channel using the Slack API. It can be useful to debug Actions or notifying people. It can be used for sending messages to #channels as well as @people .

SensorDataDB

Action Configuration View » Action Components (Steps) » SensorDataDB

The SensorDataDB component retrieves sensor data stored on the local Gravio HubKit server. This can become useful, for example, when an external application calls an Action with this component. Then the sensor data can be retrieved and passed on to the calling…

PlaySound

Action Configuration View » Action Components (Steps) » PlaySound

The Play Sound Action Component is quite straight forward. It plays a sound that you upload or is already sitting on the Gravio server. The reason why we have two options, browse and upload, is that the upload process uploads the file from Gravio Studio, your local…

PATLITE

Action Configuration View » Action Components (Steps) » PATLITE

The PATLITE action component can control lights and play audio on Patlite network-enabled watch towers. The watch tower must support HTTP commands. For more information, please check the Patlite website. https://www.patlite.co.jp/ This component is convenient to…

Properties

Action Configuration View » Available Variables in Action » Properties

Each Action Component (= Step) has its own Property Variables. For example, the “HTTPPost” component has “URL”, “HTTP Method”, “Content-Type”, “Query String”, “Body”, “Output…

MSTeamsPostMessage

Action Configuration View » Action Components (Steps) » 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…

HTTP Post

Action Configuration View » Action Components (Steps) » HTTP Post

The HTTP Post Action Component allows you to create HTTP POST and GET requests to an URL. Important Note: “Query String” is used for the query string, which is passed as a query string in the URL parameter. This can be used for GET or POST and any…

PhilipsHue

Action Configuration View » Action Components (Steps) » PhilipsHue

The Philips Hue Action Component allows you to change the settings of a certain Philips Hue light. You can specify color and opacity and have to set up the IP address of your bridge, the user ID and the light ID. You can find the IP address by going to:…

MQTT Publish

Action Configuration View » Action Components (Steps) » MQTT Publish

The MQTT Publish Action Component allows you to publish messages to topics within an MQTT PubSub system. Here is an example of how to publish messages to a Google Cloud MQTT System: Navigate to your Google Cloud console and create a project: Navigate to…

Branch, BranchCase & BranchTimeCase

Action Configuration View » Action Components (Steps) » Branch, BranchCase & BranchTimeCase

The Branch and BranchCase Action Components belong together and allow you to run variables against conditions and then branch the Actions depending on the conditions. If you add a Branch component and then double click on it in the timeline at the top, you move…

Read CSV

Action Configuration View » Action Components (Steps) » Read CSV

The Read CSV Action Component reads all data from a CSV file in order to process the values in it. Upload your data: In this case, we’re uploading this CSV: “Link text”: https://cdn.manula.com/user/1955/docs/data.csv In the “Step…

BranchTimeCase

Action Configuration View » Action Components (Steps) » BranchTimeCase

Use this within the “branch” component in order to create time-dependent branching. More details can be found under this section

CameraLayerControl

Action Configuration View » Action Components (Steps) » CameraLayerControl

The CameraLayerControl component allows you to enable/disable preset software sensors. To use this component, you need to configure the software sensor in advance. Details can be found here Component Properties Area index Area of the software…

GravioLight

Action Configuration View » Action Components (Steps) » GravioLight

The Gravio Light component allows you to turn Gravio Light on / off and change the colour and brightness. To use this component, you need to pair Gravio Light in advance. Component Properties Light selection formula Use the “Light selection…

WriteToExcel365

Action Configuration View » Action Components (Steps) » 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…

GoogleAnalyticsSendEvent

Action Configuration View » Action Components (Steps) » GoogleAnalyticsSendEvent

The Google AnalyticsSendEvent component sends events using the Google Analytics Measurement Protocol. For details of Measurement Protocol and parameters, please refer to this link. Checking “Debug Mode” puts you in debug mode. In debug mode, if…

Trigger Tab

Hub Configuration View » Trigger Tab

In the Trigger tab you set up the various triggers that sensors can activate. Before you can create triggers, please set up the devices as per the Device Tab instructions and set up at least one action as per the Action instructions. Once you have devices and actions…

Which ports does Gravio require?

Appendix » Which ports does Gravio require?

We use the following Ports in each daemon in Gravio Server. Gravio Action Service – HTTP:29282 HTTPS:29443 Gravio Control Service – HTTP:29283 HTTPS:29444 Gravio Edge Service – HTTP:29284 HTTPS:29445 Gravio Blockchain Service – HTTP:29285…

Step Field Variables

Action Configuration View » Available Variables in Action » Step Field Variables

Step Field Variables are prefixed by the letters sv. for “Step Variable”. They are used within a Step of an Action and are handy to process data that isn’t needed outside a Step, such as calculations, comparisons or interactions with step-specific…

Timer Tab

Hub Configuration View » Timer Tab

In the Timer tab you set up the various Actions that can be executed based on a set schedule or pattern. In order to set up Timers, please set up Actions first. Click on the “+” button on the right top to create a new schedule. Set the target Action, start…

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…

AmazonS3Upload

Action Configuration View » Action Components (Steps) » AmazonS3Upload

The AmazonS3Upadload components uploads files to Amazon S3. Access your Amazon AWS account to get an access key and secret key that you will need to enter into Gravio. Enter the name of the bucket to be uploaded in the [Bucket Name] field. Select the bucket…

LaMetric Display Integration with IoT

Integrating Third Parties » LaMetric Display Integration with IoT

Gravio can be used with LaMetric in order to output visual or text data. Here is how you integrate it: Step 1: Finding out your LaMetric’s IP address - Open your LaMetric App and find out the IP by clicking on “settings” and then “wifi”…