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.
Updated 3 months ago