JSONPath() Usage Examples

Action Configuration View » Functions » String Functions » JSONPath() Usage Examples

This section describes an example of using JSONPath(). If the sensor data (cv.Payload) or the argument of the action to be executed in the trigger condition (tv.Data) is in JSON format, you can use JSONPath() to refer to the value. Sample Data { "store": { …

Getting Started with the Gravio Hub

Gravio Hub » Getting Started with the Gravio Hub

On this page, we will go through the process of setting up your Gravio Hub. We made it extremely simple to configure your new hub. The following two steps are needed to get started: Configure the Gravio Hub to connect to your WiFi network Set your password The…

Gravo File Path Handling

Appendix » Gravo File Path Handling

Some component properties like FileWrite or SlackFilesUpload are making references to folders and file paths. On this page, we describe how files can be referenced in Gravio. The Default Folder All paths referenced on Gravio refer to the below paths on the respective…

Gravio HubKit Data Directory

Appendix » Gravio HubKit Data Directory

When the Gravio HubKit is installed, it creates a data directory to store configuration files and data. On Windows 10 C:\ProgramData\HubKit\ On macOS /Library/Application Support/HubKit/ On Linux/Raspberry On Linux/Raspberry, the following directories are mounted…

File Read

Action Configuration View » Action Components » File Read

The File Read Action Component is to read a file. Component Properties Name Required Description Filename False Filename of the file to be read. The file has to be inside these folders: On Windows:…

File Delete

Action Configuration View » Action Components » File Delete

The File Delete Action Component is to delete a file. Component Properties Name Required Description Filename False Filename All True All. The value of cp.All can be either “true” or “false…

Gravio Hub

Gravio Hub

For the Gravio Standard package or higher, you get one or more Gravio Hubs. The Gravio Hub is the Edge Device that gathers all the data and processes. It is essentially a small computer. The specifications of the Gravio Hub are below: CPU: Rockchip RK3399 (6 core)…

TwilioSMS

Action Configuration View » Action Components » TwilioSMS

The Twilio SMS Action Component is to send an SMS text message via Twilio. It is useful to notify people of information from sensors. Component Properties Name Required Description To True The number to send the message to, starting…

File Write

Action Configuration View » Action Components » File Write

The File Write Action Component is to write data to a file. Component Properties Name Required Description Filename False Filename to be written. Append True Append new data instead of replacing the file.…

Saving Media data path for Camera device

Appendix » Saving Media data path for Camera device

Images acquired from the camera by ONVIF or USB will be stored in the following directory for each camera device and stored in each date directory. Windows 10 C:/ProgramData/HubKit/mediadata Mac /Library/Application…

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 is…

String Functions

Action Configuration View » Functions » String Functions

The following functions are available. Function Name Arguments Description Example Len Len(s) Returns the length of a string (in bytes). s returns the number of elements if s is an array or an object. …

Zigbee Firmware Update

Appendix » Zigbee Firmware Update

dongle is shown below. Download the firmware from Here 1. When using a Mac Prepare a Mac with the Gravio HubKit4 installed. Plug the Zigbee dongle into the USB port of your Mac and launch the terminal. Insert the dongle with the Gravio logo on the top. In Terminal…

Amazon Polly Speech

Action Configuration View » Action Components » Amazon Polly Speech

The AWS Polly Speech Action Component is to read out text using AWS Polly text-to-speech. Amazon Polly converts input text into life-like speech. This functionality can also be useful for debugging purposes. Note that this functionality may not be available for…

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…

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…

Connecting your Gravio Hub to the Network

Gravio Hub » Connecting your Gravio Hub to the Network

The Network Setup Process The first time you plug the Gravio Hub into a power source, it will create a wireless network. Use any device with a browser to connect to that Wifi Network: Log in using the password graviohub Now open your browser and enter the URL…