/ecobee-esp8266-door-sensor

Activate EcoBee AC from an ESP8266 via Reed Switch

Primary LanguageC++GNU General Public License v3.0GPL-3.0

This will reach out to the connect to WiFi, wait for a reed switch to trigger, then send a request to the EcoBee thermostat api to turn on or off the AC.

Basically, if the door is open, the AC turns off. If the door is closed, the AC is set to auto.

Register for developer portal here & create API keys for use.

https://www.ecobee.com/home/developer

OAUTH refresh tokens will be saved in EEPROM to persist after reboots.