<aside> 💡 This guide can be used to set up a self-hosted version of beestat either for privacy or for the purpose of contributing to the project.

</aside>

Requirements

Before you begin, you will need the following:

Ecobee Developer

  1. Create an ecobee account if you don’t already have one.
  2. Log in here: https://www.ecobee.com/home/developer/loginDeveloper.jsp
  3. Accept the SDK agreement
  4. Enter a company name (your own name is fine)
  5. Sign in to your account at https://www.ecobee.com
  6. Open the sidebar and click Developer
  7. Create a new app. For Authorization Method, select Authorization Code
  8. Set the Redirect URI field to https://beestat.yourdomain.com/api/ecobee_initialize.php
  9. Once the app is created, save the API Key on the Name and Summary tab for later.

Apache Setup

Make sure you have the latest package list

apt update