Hi, i was looking for a way to turn on and off the fan. I have read previous questions about this topic in this forum, but the answers only show how to turn it on, not off.
To turn the fan on, I create a hold, and set "fan:on". This is working correctly.
If the fan is on, and the user wants to turn it off, I find no way to do that. The only setting available is create a hold with "fan:auto" which does not necessarily turn the fan on. (the docs show only two values possible for fan: on or auto -
https://www.ecobee.com/home/developer...)
This was escalated from a user of my app that does not have heating or cooling in the house so only uses fan on/off. This customer is able to turn fan on/off from the web and the device, but I have not found a documented way to turn off the fan.
Thank you
Bernardo
-
Hi Bernardo,
As you correctly state the fan mode can be auto or on.
When in auto mode, the actual time the fan runs for per hour is controlled the Thermostat.Settings.fanMinOnTime field.
So to turn the fan off entirely would involve setting the HVAC mode to off, and setting the fanMinOnTime to 0, using a POST Thermostat call for example:
{"selection":{"selectionType":"thermostats","selectionMatch":"123456789012"},"functions":[],"thermostat":{"settings":{"hvacMode":"off", "fanMinOnTime":0}}}
Then, you can use the setHold function to ensure the fan mode is auto.
{"selection":{"selectionType":"thermostats","selectionMatch":"123456789012"},"functions":[{"type":"setHold","params":{"coolHoldTemp":920,"heatHoldTemp":450,"holdType":"indefinite","fan":"auto","isTemperatureAbsolute":false,"isTemperatureRelative":false}}]}
We do have it on our API road map to make this type of functionality available with a single call, but right now I can't give a time line on that.
I hope this helps,
Scott -
-
Thank you very much, this is exactly the info that answers my question.
Regards
Bernardo -
-
-
-
HVAC is off and the thermostat fanMinOnTime is set to 0. Why is the fan still blowing? I have also removed all the schedules. I want to be able to manually control the system.
-