Sensor Data DB If Zero

Action Configuration View » Action Components » Sensor Data DB If Zero

The SensorDataDBIfZero component outputs the input payload as the output payload if no rows are retrieved; if any rows are found, it outputs nothing. With the content specified in the property, it searches the sensor DB and executes a filter expression for each matched…

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…

Adding Physical Sensor Devices

Introduction » What is Gravio? » Hub Configuration View » Device Tab » Adding Physical Sensor Devices

Gravio is built in a way that allows us to easily extend new sensor families. On the website https://www.gravio.com/product#Gravio-Rent you can see a range of hardware sensors Gravio supports off the shelf. If you require other sensors to be connected, please do not…

Data Viewer Tab

Introduction » What is Gravio? » Hub Configuration View » Data Viewer Tab

The Data Viewer Tab allows you to investigate incoming sensor data in real-time (press the “live” button on the top right for real-time live data). This is useful if you want to set up the system and test its functionality. Please click on the…

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…

Saving Media data path for Camera device

Appendix » Saving Media data path for Camera device

Images acquired from the camera by ONVIF, etc. 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…

Software Sensors

Introduction » What is Gravio? » Hub Configuration View » Device Tab » Software Sensors

Gravio also supports software sensors. An example for a software sensor could be a camera that detects how many people are in a room and triggers certain Actions if certain thresholds are reached. These sensors are created using software and artificial intelligence…

Adding a compatible Bluetooth device

Introduction » What is Gravio? » Hub Configuration View » Device Tab » Adding Physical Sensor Devices » Adding a compatible Bluetooth device

Use Gravio Studio to connect the sensor receiver and layer of a Bluetooth-enabled device. Under “Devices”, select the type of Bluetooth sensor you want to use (DataKind) and add a new area and layer.    As a sample, use OMRON’s 2JCIE-BU01 to…

Service Architecture

Introduction » Service Architecture

Gravio consists of the following application modules: Gravio Studio, a Windows, macOS and iOS application to view, edit and configure the server infrastructure. Gravio HubKit, a server software installed on the edge device (Windows, macOS or Linux) to retrieve…

Trigger Tab

Introduction » What is Gravio? » Hub Configuration View » Trigger Tab

In order to have a trigger, it makes sense to have an action first, that you want to trigger with your trigger. You can see how to make actions here. Once you have an action, you can start triggering it using sensor data. There are three types of…

Adding an EnOcean Sensors

Introduction » What is Gravio? » Hub Configuration View » Device Tab » Adding Physical Sensor Devices » Adding an EnOcean Sensors

We also rent out EnOcean energy harvesting sensors, that are getting powered by the energy surrounding them, such as solar panels, or by kinetic energy, e.g. when buttons are pushed. We have two types of sensors: The temperature sensors, identifiable by the small…

SensorDataDB

Action Configuration View » Action Components » SensorDataDB

The Sensor Data DB Action Component is to read from the Sensor Data DB. Each recorded piece of data gets stored in the Sensor Data DB. With this component, you can query that database. The SensorDataDB component queries data from the SensorDataDB stored in HubKit and…

Device Tab

Introduction » What is Gravio? » Hub Configuration View » Device Tab

In the Devices tab, you manage the devices connected to a HubKit by adding, removing and configuring them, including their physical location. In order to keep the data stores organised and efficient, Gravio features two dimensions how to place and assign…

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

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…

Hub Configuration View

Introduction » What is Gravio? » Hub Configuration View

If you double click on the upper half of the Server card, you will get to the Hub Configuration view: At the top you can find a number of buttons such as: A plus sign button to create new physical Areas to group your Layers An edit button to edit an Area or…

Sensors Troubleshooting

Troubleshooting » Sensors Troubleshooting

Symptom Explanation Remedy Comments Energy harvesting door/contact sensor not reacting The sensor may have run out of battery Put the sensor into direct sunlight for a few hours. You can also see if the sensor connects to the dongle…

MQTT Subscriptions

Introduction » What is Gravio? » Hub Configuration View » Device Tab » MQTT Subscriptions

You can subscribe to topics from an MQTT broker. These incoming messages would then be treated like sensor input data. To create an MQTT layer, click on the MQTT button on the top right of the screen: This will open the overview of your available MQTT Brokers. You…

Slack Post Message

Action Configuration View » Action Components » Slack Post Message

The Slack Post Message Action Component is to post a message to Slack 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 . Component…

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…

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…

What is Gravio?

Introduction » What is Gravio?

Gravio is a platform that connects IoT devices with software and artificial intelligence. It is built for companies who like to start small and quickly, and yet have the possibility to scale up robustly and fast. Other than most IoT platforms Gravio leverages the…

Exec

Action Configuration View » Action Components » Exec

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…

Gravio Apps Framework

Gravio Apps Framework

Gravio will also provide a framework, that allows third party companies to build native mobile applications that integrate seamlessly into the Gravio Edge infrastructure. APIs provided by Gravio’s edge servers can provide data or be triggered by an authenticated…

GravioDistance

Action Configuration View » Action Components » GravioDistance

The Gravio Distance component allows you to retrieve distance measurements from the Gravio Laser Distance sensors. To use this component you must have paired the Gravio Laser Distance sensor beforehand. If the Device ID property is empty, the command will be sent to…

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": { …

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…

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…

Log Viewer Tab

Introduction » What is Gravio? » Hub Configuration View » Log Viewer Tab

In the Log Viewer tab you can access or download the log files that Gravio produces. They are mainly used for debugging. The logs include: Actmgr – containing any logs the Actions and Steps produce Blemgr – Bluetooth related logs Ctrlmgr –…

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…

Performance Tuning

Gravio Hub » Performance Tuning

When using the Gravio Hub for inference computer vision detection, please consider the following: Processing Performance When an inference is selected as a “layer as a soft sensor” on a Gravio Hub, only one model should be used per Gravio…

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

CSVRead

Action Configuration View » Action Components » CSVRead

The CSV Read component takes CSV data as input, parses it and creates an output payload in the format specified by the Output Format component property (cp.Output). CSVRead has an “Input” property (cp.Input), which allows you to select the data source.…

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…

File List

Action Configuration View » Action Components » File List

The File List Action Component is to get a list of files that match the pattern. Component Properties Name Required Description Pattern True Pattern IncFILE False Include Files IncDIR False …

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…

Note Regarding CO2 Sensors

Appendix » Note Regarding CO2 Sensors

It takes about 20 minutes after the data is received for Gravio CO2 to obtain a stable value of CO2 in the environment concerned.

Referring to the value of a Object variable in an Action

Action Configuration View » Referring to the value of a Object variable in an Action

If you like to refer to the value of a variable of type Object available in an action, you can access the element with a selector or square brackets connected to the variable with a dot. As an example of an Object type variable, if you use IVAR’s face…

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…

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…

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

Using the File Viewer

Action Configuration View » Using the File Viewer

Some action components in HubKit are able to read files in the actmgr/data directory and save files in that directory. Files stored in this directory can be retrieved by Gravio Studio, and local files can be uploaded to the directory by Gravio Studio. Use the…

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…

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…

Maintenance and Software Updates

Gravio Hub » Maintenance and Software Updates

Once logged in, you can open the “Maintenance” tab on the top left to open the maintenance view: Once open, you see the following sections: Check Updates SSL Certificate Settings HubKit and Coordinator Data Backup Gravio Hub Power Management …

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…

GravioMatrix

Action Configuration View » Action Components » GravioMatrix

The Gravio Matrix component allows you to set text or an image to a Gravio Matrix. To use this component, the Gravio Matrix must be paired beforehand. If the Device ID property is empty, the command will be sent to all connected Gravio Matrices.   Output…

Gravio Hub Led Light Status Indicators

Gravio Hub » Gravio Hub Led Light Status Indicators

The Gravio Logo on the Gravio Hub can light up in various colours and patterns. Here you can find what the colours mean and/or how you can trigger them. LED behaviour Context Meaning Comment Solid Blue Upon boot Out of the box…

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…

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…