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
with OpenADR Alliance
Authenticate, register a VEN and resource, then subscribe to EVENT notifications.
- get-token
- VEN-side body — objectType and venName only.
- Attach a controllable device. On 3.1.x resources are first-level at /resources.
- Which notifier bindings does this VTN support? WEBHOOK is always true; MQTT is optional.
- 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.