Working with Edge Actions
Events can be transformed from the following sources, depending on the firmware version of the Octave edge device:
- Firmware 3.4+: Multiple Observations, Inputs, and Outputs.
- Firmware versions below 3.4: Single Observation.
An Edge Action is like a Cloud Action but runs on physical Octave Edge devices.
The code within an Edge Action can output new Events to be sent to the cloud and set the values of Resources. While an Edge Action is executing, it has full access to read and write data from Resources. Edge Actions are most commonly used to route and/or process data on the edge using locally-available sensor and configuration data.
After you have connected your asset to Octave, it's time to start orchestrating data at the edge. Octave provides a rich environment for reading, observing, and processing data at the edge that is configurable from the cloud.
This section will guide you through everything you need to work with data at the edge, including:
- Creating an Edge Action: how to create a basic Edge Action.
- Reading Events in an Edge Action: processing incoming events within an Edge Action.
- Setting a Value From an Edge Action: how to add logic to an Edge Action that executes at the edge.
- Accessing Data from Other Resources: how to read data from another Resource within an Edge Action.
Updated over 1 year ago