Publish a program and dispatch a demand response event
A 5-step recipe with OpenADR Alliance. We can help you get access.
Recipe · 5 steps
Publish a program and dispatch a demand response event
with OpenADR Alliance · Demand Response Operations
Authenticate, create a program, publish an event on it, and verify.
- Ask the VTN where its token endpoint is (3.1.0+; skip on a 3.0.x VTN).
- Client-credentials grant. Body is application/x-www-form-urlencoded, not JSON.
- Create the demand response program the event will hang off.
- Publish the event. This dispatches real load — do not replay blindly.
- Read the event back to confirm the VTN accepted it as published.
What you'll need to have ready
- clientID: OAuth 2.0 client id issued by the VTN
- clientSecret: OAuth 2.0 client secret issued by the VTN
- programName: short program handle, e.g. ResTOU
- eventName: human label for the event
- targets: target strings the event applies to
For your developer
Arazzo workflow openadr-alliance:dispatch-demand-response-event, 5 operations: getAuthServerInfo → postAuthToken → createProgram → createEvent → searchEventsByID. Specs on APIs.io.