I am signed up for the demand response program which will change the thermostat settings in periods of high loads on the electric grid.
I saved the json payload during an active demand response event, and latestData.drData element exists only when an event is active. (full payload below).
There are a number of smart thermostats that can work with demand response, so my assumption is that demand response should be added to the climate platform. Thoughts?
{
"success": true,
"deviceLive": true,
"communicationLost": false,
"latestData": {
"uiData": {
"DispTemperature": 76,
"HeatSetpoint": 68,
"CoolSetpoint": 78,
"DisplayUnits": "F",
"StatusHeat": 2,
"StatusCool": 2,
"HoldUntilCapable": true,
"ScheduleCapable": true,
"VacationHold": 0,
"DualSetpointStatus": false,
"HeatNextPeriod": 86,
"CoolNextPeriod": 86,
"HeatLowerSetptLimit": 40,
"HeatUpperSetptLimit": 80,
"CoolLowerSetptLimit": 62,
"CoolUpperSetptLimit": 99,
"ScheduleHeatSp": 69,
"ScheduleCoolSp": 75,
"SwitchAutoAllowed": false,
"SwitchCoolAllowed": true,
"SwitchOffAllowed": true,
"SwitchHeatAllowed": true,
"SwitchEmergencyHeatAllowed": false,
"SystemSwitchPosition": 3,
"Deadband": 0,
"IndoorHumidity": 38,
"DeviceID": xxxxxxxxx,
"Commercial": false,
"DispTemperatureAvailable": true,
"IndoorHumiditySensorAvailable": true,
"IndoorHumiditySensorNotFault": true,
"VacationHoldUntilTime": 0,
"TemporaryHoldUntilTime": 0,
"IsInVacationHoldMode": false,
"VacationHoldCancelable": true,
"SetpointChangeAllowed": true,
"OutdoorTemperature": 128,
"OutdoorHumidity": 128,
"OutdoorHumidityAvailable": false,
"OutdoorTemperatureAvailable": false,
"DispTemperatureStatus": 0,
"IndoorHumidStatus": 0,
"OutdoorTempStatus": 128,
"OutdoorHumidStatus": 128,
"OutdoorTemperatureSensorNotFault": true,
"OutdoorHumiditySensorNotFault": true,
"CurrentSetpointStatus": 2,
"EquipmentOutputStatus": 0
},
"fanData": {
"fanMode": 2,
"fanModeAutoAllowed": true,
"fanModeOnAllowed": true,
"fanModeCirculateAllowed": true,
"fanModeFollowScheduleAllowed": false,
"fanIsRunning": false
},
"hasFan": true,
"canControlHumidification": false,
"drData": {
"CoolSetpLimit": 25.56,
"HeatSetpLimit": 20,
"Phase": 1,
"OptOutable": true,
"DeltaCoolSP": 2,
"DeltaHeatSP": -2,
"Load": null
}
},
"alerts": "\r\n\r\n <div id=\"PageAlerts\">\r\n <div class=\"topmiddle-border\">\r\n </div>\r\n <div class=\"alert-content\">\r\n <div class=\"information-image\">\r\n <img src=\"/portal/Images/Alerts/alert_red_icon.png?v=2.8.22\" alt=\"Alert Information\" />\r\n </div>\r\n <div class=\"alert-messages\">\r\n <ul>\r\n <li>\r\n <div class=\"alertActions\">\r\n <div class=\"gray-31-button viewDR\">\r\n <a href=\"javascript:void(0);\" onclick=\" openDrOptOutPopup('1'); \">View</a>\r\n </div>\r\n </div>\r\n\r\n <span>Your Thermostat is in an Energy Saving Event. This event is scheduled to finish at 8:04 PM Mountain Time (US, Canada, Mexico).</span>\r\n\r\n <div class=\"clear\"></div>\r\n\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"dealerinfobutton gray-31-button\">\r\n </div>\r\n <div class=\"clear\"></div>\r\n </div>\r\n <div class=\"bottommiddle-border\">\r\n </div>\r\n </div>\r\n\r\n \r\n<div id=\"drPopupView1\" class=\"drPopupWindow\" title=\"Energy Saving Event\">\r\n <p>\r\n Your Thermostat is in an Energy Savings Event until 8:04 PM Mountain Time (US, Canada, Mexico). To Opt-Out of this event click "Opt-Out" below.\r\n </p>\r\n <div class=\"buttons\">\r\n <div>\r\n <a onclick=\"openDrConfirmOptOutPopup();\" href=\"javascript:void(0)\" class=\"red\">Opt-Out</a>\r\n </div>\r\n <div>\r\n <a onclick=\"closeDrPopup();\" href=\"javascript:void(0)\" class=\"green\">OK</a>\r\n </div>\r\n </div>\r\n</div>\r\n<div id=\"drPopupView2\" class=\"drPopupWindow\" title=\"Energy Saving Event\">\r\n <p>\r\n Your Thermostat is in an Energy Savings Event until 8:04 PM Mountain Time (US, Canada, Mexico).\r\n </p>\r\n <div class=\"buttons\">\r\n <div>\r\n <a onclick=\"closeDrPopup();\" href=\"javascript:void(0)\" class=\"green\">OK</a>\r\n </div>\r\n </div>\r\n</div>\r\n<div id=\"drPopupView3\" class=\"drPopupWindow\" title=\"Energy Saving Event\">\r\n <p>\r\n Your Thermostat is in an Energy Savings Event until 8:04 PM Mountain Time (US, Canada, Mexico). In order to make a change to your temperature setting you must first opt-out of this event. To Opt-Out of this event click "Opt-Out" below."\r\n </p>\r\n <div class=\"buttons\">\r\n <div>\r\n <a onclick=\"openDrConfirmOptOutPopup();\" href=\"javascript:void(0)\" class=\"red\">Opt-Out</a>\r\n </div>\r\n <div>\r\n <a onclick=\"closeDrPopup();\" href=\"javascript:void(0)\" class=\"green\">OK</a>\r\n </div>\r\n </div>\r\n</div>\r\n<div id=\"drPopupView4\" class=\"drPopupWindow\" title=\"Opt-Out Confirmation\">\r\n <p>\r\n Are you sure you want to Opt-Out of this energy saving event? After you Opt-Out of an event you cannot Opt-In to it again.\r\n </p>\r\n <div class=\"buttons\">\r\n <div>\r\n <a class=\"red\" data-ajax=\"true\" data-ajax-complete=\"onDoOptOutCompleted\" data-ajax-method=\"POST\" href=\"/portal/Device/DemandResponseOptOut/1625920\">Yes</a>\r\n </div>\r\n <div>\r\n <a onclick=\"closeDrPopup();\" href=\"javascript:void(0)\" class=\"green\">No</a>\r\n </div>\r\n </div>\r\n</div>\r\n"
}