Hi.
Does anyone have a code sample on how to write to a virtual resource via cloud API?
Thanks!
Hi.
Does anyone have a code sample on how to write to a virtual resource via cloud API?
Thanks!
Body of the API call:
API Sample
PUT https://octave-api.sierrawireless.io/v5.0/<octave_account>/device/<device_name>
{
“elems”: { “/virtual/alert_threshold/value”: 70}
}
You can also add an event to the command stream to temporarily change the value from it’s default value.
https://octave-api.sierrawireless.io/v5.0/<octave_account>/event/command stream id
Body:
{
“elems”: {"/virtual/alert_threshold/value": 70}
}