Skip to content

Utility to download smart meter data from a British Gas account.

License

Notifications You must be signed in to change notification settings

ncouro/britishgas_myenergy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Downlading British Gas Smart Meter energy data

The energy data coming from a British Gas smart meter is only available as a chart embedded in the "myenergy" web page of British Gas website, which makes it difficult to analyse offline. This utility downloads the energy data from the customer's online account and saves it as CSV files, available for offline analysis.

Installation

Install the Python script and its dependencies using sudo ./setup.py install

The Dockerfile provides information about the minimum environment required to install and run the program.

Usage

Once installed, you can download the energy data from a British Gas smart meter account by running:

download_myenergy [username] [password] [account_number]

Where username is the myenergy account user name (typically the email address), password is the account password, and account_number is the myenergy account number. The account number can be found on the "Account Summary" web page of British Gas web site.

By default the program will try to download all daily energy (gas and electricity) data starting from 1st January 2016 until the present time. The results are then saved in electricity.csv and gas.csv files.

About

Utility to download smart meter data from a British Gas account.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages