Im trying to turn on my AC using a http request. I am able to turn lights on and off as well as other things no worries, but turning the AC on isn't working.
I have a remotec ZXT-600, I am assuming it has to do with not having the right arguments in there.
The back end of the url is
/api/devices/58/action/setThermostatMode
with the arguments as blank
{
"args": [
"{}",
"{}"
],
"delay": 0,
"integrationPin": "1234"
}
My question is how and where do I pass in an argument with an action for it to turn to cool or heat.
Below is the device data. Any help is appreciated.
{
"id": 58,
"name": "AC Lounge",
"roomID": 219,
"view": [
{
"assetsPath": "/dynamic-plugins/com.fibaro.hvacSystem/assets",
"jsPath": "/dynamic-plugins/com.fibaro.hvacSystem",
"name": "com.fibaro.hvacSystem",
"translatesPath": "/dynamic-plugins/com.fibaro.hvacSystem/i18n",
"type": "ts"
}
],
"type": "com.fibaro.hvacSystem",
"baseType": "com.fibaro.device",
"enabled": true,
"visible": true,
"isPlugin": false,
"parentId": 57,
"viewXml": false,
"configXml": false,
"interfaces": [
"battery",
"coolingThermostatSetpoint",
"fibaroFirmwareUpdate",
"heatingThermostatSetpoint",
"thermostatFanMode",
"thermostatMode",
"zwave"
],
"properties": {
"parameters": [
{
"id": 27,
"lastReportedValue": 17,
"lastSetValue": 17,
"size": 2,
"value": 17
}
],
"pollingTimeSec": 0,
"zwaveCompany": "Remotec",
"zwaveInfo": "3,4,33",
"zwaveVersion": "1.7",
"batteryLevel": 92,
"batteryLowNotification": true,
"categories": [
"climate"
],
"configured": true,
"coolingThermostatSetpoint": 19,
"coolingThermostatSetpointCapabilitiesMax": 31,
"coolingThermostatSetpointCapabilitiesMin": 16,
"coolingThermostatSetpointFuture": 19,
"coolingThermostatSetpointStep": {
"C": 0.5,
"F": 1
},
"dead": false,
"deadReason": "",
"defInterval": 0,
"deviceControlType": 1,
"deviceIcon": 70,
"deviceRole": "Other",
"endPointId": 0,
"firmwareUpdate": {
"info": "",
"progress": 0,
"status": "UpToDate",
"updateVersion": "1.7"
},
"heatingThermostatSetpoint": 28,
"heatingThermostatSetpointCapabilitiesMax": 31,
"heatingThermostatSetpointCapabilitiesMin": 16,
"heatingThermostatSetpointFuture": 28,
"heatingThermostatSetpointStep": {
"C": 0.5,
"F": 1
},
"log": "",
"logTemp": "",
"manufacturer": "",
"markAsDead": true,
"maxInterval": 0,
"minInterval": 0,
"model": "",
"nodeId": 9,
"parametersTemplate": "0",
"productInfo": "82,84,1,2,132,144,1,7",
"saveLogs": true,
"serialNumber": "",
"setpointExpiryDate": 0,
"stepInterval": 0,
"supportedDeviceRoles": [
"Other"
],
"supportedThermostatFanModes": [
"AutoLow",
"Low",
"High",
"Medium"
],
"supportedThermostatModes": [
"Off",
"Heat",
"Cool",
"Auto",
"Resume",
"Fan",
"Dry"
],
"supportsThermostatFanOff": true,
"thermostatFanMode": "High",
"thermostatFanOff": false,
"thermostatMode": "Cool",
"thermostatModeFuture": "",
"thermostatModeManufacturerData": [],
"unit": "C",
"updateVersion": "",
"useTemplate": false,
"userDescription": ""
},
"actions": {
"abortUpdate": 1,
"reconfigure": 0,
"retryUpdate": 1,
"setCoolingThermostatSetpoint": 1,
"setHeatingThermostatSetpoint": 1,
"setInterval": 1,
"setThermostatFanMode": 1,
"setThermostatMode": 1,
"startUpdate": 1,
"updateFirmware": 1
},
"created": 1646027026,
"modified": 1646027026,
"sortOrder": 24
}