The Octave Developer Hub

Welcome to the Octave developer hub. You'll find comprehensive guides and documentation to help you start working with Octave as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Configuring Resources and Sensors to Emit Events

This topic describes how to configure input resources and sensors to emit events.

Working with Sensors, Inputs, and Virtual Resources

There are two mechanisms for obtaining input values: Sensors and Inputs . Sensors are devices that sense something (e.g. light, temperature, etc.), while inputs are signals received from some source.

Sensor data is obtained by polling the sensor device at some fixed frequency (e.g. every 5 seconds). The configuration of a sensor's polling frequency allows the data hub to tell the sensor how often to send data.

Input data can be received at any arbitrary time and frequency because the input device is in control of when it sets signals.

Sensors are useful when you want the cloud side of your system to control how often data is interrogated, while inputs are useful for cases where devices must interrupt the system.

Virtual resources are resources that are created in Octave and not connected to any physical hardware. A virtual resources is updated whenever you supply a value to it. An Observation that has been configured to observe a virtual resource will receive a new value whenever the virtual resource's value is set by the user.

The following topics provide more detailed information:

Updated about 16 hours ago

Configuring Resources and Sensors to Emit Events


This topic describes how to configure input resources and sensors to emit events.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.