Skip to content
forked from lachesis/comcast

Script for tracking Comcast data cap usage

License

Notifications You must be signed in to change notification settings

manderso7/comcast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comcast

Comcast has recently implemented a data cap in my area. I wanted to track their view of my usage so I could compare it with my vnstat logs. This Python script (comcast.py) will dump a JSON blob with usage information. The included bash script (comcast.sh) uses that data to write to a local statsd/graphite installation.

The only requirement for the Python script is the requests library.

Usage

COMCAST_USERNAME=bob COMCAST_PASSWORD=hope python3 comcast.py

PGE

I also like tracking my home power usage. The PGE script allows that.

It requires requests and optionally dateutil (to allow the script to automatically break long time intervals into multiple requests).

Usage

PGE_USERNAME=bob PGE_PASSWORD=hope python3 pge.py

About

Script for tracking Comcast data cap usage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.3%
  • Shell 15.7%