Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
/ hydrogen Public archive

Hydrogen is a home automation application that currently automates HVAC modes on Ecobee devices, as well as sensing electric company peak hours.

Notifications You must be signed in to change notification settings

billykwooten/hydrogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Hydrogen is a home automation app that will control your ecobee thermostats to get around the CobbEMC peak hours. Thus saving you money!

This application was built for my own home automation purposes, so it might not exactly suite your own home automation needs. However feel free to cherry pick stuff that would be relevent for your project!

Requirements

Development

Hydrogen Workflow

  1. Hydrogen first detects peak hours for CobbEMC electric company via the Gmail API, and searches for a custom label for CobbEMC peak hour emails.
  2. It then takes the above emails and queries the time they came in, and logically decides if the current day is valid for peak hour pricing.
  3. If peak hours return true, it then queries the Ecobee API, and turns the HVAC mode to off until peak hours are over.
  4. If peak hours return false, it then sense proximity of the house. If nobody is home it will turn the HVAC off to save power until proximity senses someone is home.

Installation and requirements

Requirements

Installation

  • Clone the github repository
  • install the requirements.txt file pip install -r requirements.txt
  • Take your gmail api client_secrets.json and put it into hydrogen/data
  • Take your ecobee api key and add it to ecobee/data/ecobee_secret.json
  • Authenticate with ecobee by executing python ecobee/ecobee_authentication.py (this should fill out the ecobee_authentication.json file)
  • Fill out wunderground/config/config.ini with your wunderground information
  • Modify the Label on the following line hydrogen.py messages = service.users().messages().list(userId='me', labelIds='Label_41').execute().get('messages', []) to match your label in gmail you want to monitor for CobbEMC.

About

Hydrogen is a home automation application that currently automates HVAC modes on Ecobee devices, as well as sensing electric company peak hours.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages