PUT api/RoomControl/setFanMode?payload={payload}
<strong>put/setFanMode</strong> <br /> The setFanMode method is used to set the thermostat fan to one of the predefined modes.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| payload |
The encrypted payload contains JSON encoded in Hex and encrypted using RSA algorithm. thermostat { ThermostatId: "[thermoId]", FanMode: "[fanMode]", timeStamp: "[timestamp]" } ThermostatIdstringThe selector to limit which thermostat is controlled.FanModestringthe desired fan mode LowMediumHighAutoEcoOfftimeStampintTime stamp in epoch time (UTC) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A JSON object to handle the success or error of the operation, on the success of the operation the JSON object will be "OK" string. <br /> If there is an error in the process, the JSON will contain the error.
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample not available.