Often times you will want to temporarily change a value on an Octave edge device (e.g., the reporting period for a Resource, a Sensor threshold, etc.) from the cloud, to override the default configured value, while still allowing the device to revert back to its default value after it's rebooted.
:command Stream can be used to push temporary changes to an Octave edge device that have not yet been written to the device's storage (so the value will revert on restart). Accessing the
:command stream is an ad hoc way to read or write to a Resource.
You can access Events in the
:command Stream in the following ways:
- From within a Cloud Action. Note that typically you would use a Cloud Action to get an Event from a Stream with data that comes from an Observation, or data that’s coming in from another cloud source. The
:commandStream would only let you see the last command sent down to the device.
- From an external system using the Event endpoint.
- Via the Octave UI by Temporarily Changing a Value via the Command Button or Temporarily Changing a Value via an Event in the Command Stream.
One of the key advantages of Octave is that you can initiate secure, cloud-to-edge communications at any time. Octave devices always remain reachable from the Octave cloud server which means you don't need to establish the typical "connection" or "session" that other IoT frameworks often require; you can always access and use devices immediately if they're powered on and under cell coverage. And thanks to Octave's message-based billing model, devices remain reachable without creating huge cellular bills.
Updated 12 months ago