capabilities.work

Onboard a VEN, attach a resource, and subscribe to event notifications

A 5-step recipe with OpenADR Alliance. We can help you get access.

Recipe · 5 steps

Onboard a VEN, attach a resource, and subscribe to event notifications

Authenticate, register a VEN and resource, then subscribe to EVENT notifications.

  1. get-token
  2. VEN-side body — objectType and venName only.
  3. Attach a controllable device. On 3.1.x resources are first-level at /resources.
  4. Which notifier bindings does this VTN support? WEBHOOK is always true; MQTT is optional.
  5. Register the webhook. callbackUrl and bearerToken sit inside objectOperations, not at the root.
What you'll need to have ready
  • clientID
  • clientSecret
  • venName
  • resourceName
  • callbackUrl: HTTPS endpoint the VTN will POST notifications to
  • callbackBearerToken: token the VTN presents back so the receiver can authenticate its calls
For your developer

Arazzo workflow openadr-alliance:onboard-ven-and-subscribe, 5 operations: postAuthToken → createVen → createResource → listAllNotifiers → createSubscription. Specs on APIs.io.