The goal of this program is to help those interested in pulling basic information from their ecobee smart thermostat. The examples given here assist in pulling local temperature information as well as temperature information from ecobee sensors.
There are several steps that must be taken within the ecobee website in order for this project to work:
- Sign up for a developer account at: https://www.ecobee.com/home/developer/loginDeveloper.jsp Once this step is complete the Developer and My Apps tab will show when you login to your ecobee account at https://www.ecobee.com:
- Select the developer option and create a new application within your console:
!Note! Set Authorization method to ecobee PIN to use this guide
-
Replace 'fakeApiKey123abc' with the API key displayed in the apiKey.txt file
-
Run the authorize script. You should receive an output that includes your pin and code.
-
Select "My Apps" from the side menu:
- Select the "Add Application" option, input the 'ecobeePin' provided by the authorize script, and select "Validate":
- Confirm your device:
-
Immediately run the access_token script. You will receive an access and refresh token which will be written to their respective text files.
-
Begin pulling data...try the get_temps to see local temperature and two sensors information.
Here's an example graph I created with this data: