nkgilley / python-ecobee-api

Python API for controlling Ecobee Thermostats
MIT License
44 stars 40 forks source link

Addition of Ventilator, "Vent" function? #56

Open Quickpeng opened 3 years ago

Quickpeng commented 3 years ago

Is it possible to add the "vent" command from the Ecobee API? It has 4 options, ( The ventilator mode. Default: off. Values: auto, minontime, on, off.) but really on and off is all that is needed to all good functionality in HA.

https://www.ecobee.com/home/developer/api/documentation/v1/objects/Climate.shtml

Unfortunately I'm not really a coder, so I see the function in the API and the pattern in the code, but don't know how to test what I might cobble together or I would gladly try to add this on my own. I am guessing the fan code can be copied / modified to be on / off instead of on / auto for the fan mode.

This is different than the fan though as it shorts the aux connections that connect to a HRV / ERV.

seanbaker74 commented 3 years ago

I would love this too. But in my case, I don't want to control the HRV directly from HA. I'd like to just be able to change the number of minutes of runtime per hour. Then I can set a rule on HA that adjusts how often it runs per hour based on the outdoor temperature, indoor humidity and the amount of CO2 in the home (which I have from an Awair device). So if we could also get the runtime minutes per hour that would really help me. There are separate runtime settings for both Home and Away.