cancel
Showing results for 
Search instead for 
Did you mean: 
Replies are disabled for this topic. Start a new one or visit our Help Center.

close air conditioner failed

meng
Community Member

When I try to close device, using the URL
url = "https://smartdevicemanagement.googleapis.com/v1/enterprises/"+project_id+"/devices/"+device_id+":executeCommand";

param = '{"command":"sdm.devices.commands.ThermostatMode.SetMode","params":{"mode":"OFF"}}';
the response is right.
But the device still works.

the device info :

"traits": {
"sdm.devices.traits.Info": {
"customName": "kitchen"
},
"sdm.devices.traits.Humidity": {
"ambientHumidityPercent": 31
},
"sdm.devices.traits.Connectivity": {
"status": "ONLINE"
},
"sdm.devices.traits.Fan": {
"timerMode": "OFF"
},
"sdm.devices.traits.ThermostatMode": {
"mode": "OFF",
"availableModes": [
"HEAT",
"COOL",
"HEATCOOL",
"OFF"
]
},
"sdm.devices.traits.ThermostatEco": {
"availableModes": [
"OFF",
"MANUAL_ECO"
],
"mode": "OFF",
"heatCelsius": 4.4444427,
"coolCelsius": 24.444443
},
"sdm.devices.traits.ThermostatHvac": {
"status": "HEATING"
},
"sdm.devices.traits.Settings": {
"temperatureScale": "FAHRENHEIT"
},
"sdm.devices.traits.ThermostatTemperatureSetpoint": {},
"sdm.devices.traits.Temperature": {
"ambientTemperatureCelsius": 23.689987
}
}

The mode of ThermostatMode is OFF.

But the status of ThermostatHvac is HEATING.

What's happened?

Please help me.

Thank you

1 REPLY 1

Jeff
Community Specialist
Community Specialist

Hi everyone,

In an effort to keep content fresh on the forums here and prioritize current issues, I'm going to go ahead and close up this thread. If you have any outstanding issues from this post or any other problems, please feel free to open up a new discussion.

Thanks,
Jeff