The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Enlighted

The Enlighted lighting solution optimizes energy savings while enhancing occupant productivity, well-being, and security.

Update Demand Response for all Facilities¶

Update the current running or scheduled Demand Response (DR) for all facilities.

Request¶

POST https://{em_ip_address_or_hostname}/ems/api/org/dr/updatedr
{
    "pricelevel": "LOW",
    "duration": "60",
    "starttime": "2015-07-21T12:15:49+05:30",
    "dridentifier": "DR16",
    "pricing": "15.0"
 }

Parameters¶

Request¶

NameDescription
em_ip_address_or_hostnameThe Manage’s IP address or hostname
pricelevelDR pricing: HIGH/ MODERATE/ LOW/ SPECIAL
durationThe DR duration time in minutes (must be a whole number)
starttimeTime from when DR should be in effect. Format: (yyyyMMddHHmm) year/month/day/hour/minutes. For example, 2015-11-18T17:43:00
dridentifierDR identifier provided at the time of scheduling
pricingDR pricing that is effective for the energy consumed during the DR period (optional)

Response¶

NameDescription
status0 – DR schedule successful
1 – DR not scheduled
msgMessage description

Sample Request¶

Update the currently running Demand Response (DR) from LOW to HIGH price level for all facilities for 60 minutes starting at 5:30 am on 07-21-2015 at 15 cents. The response indicates that the DR update was successful.

If the user is accessing web service with proper session/authenticated token:

POST https://{192.80.30.2}/ems/api/org/dr/updatedr

Sample Response¶

{
    "pricelevel": "HIGH",
    "duration": "60",
    "starttime": "2015-07-21T12:15:49+05:30",
    "dridentifier": "DR16",
    "pricing": "15.0"
}

{
    "status": "0",
    "msg": "DR updated successfully"
}