Skip to content

A small script for spot price alerts in NZ power market

License

Notifications You must be signed in to change notification settings

aspett/flick_off

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flick Off

A small script that polls the WITS Free to air service using gchan's wits gem, and emails electricity price alerts for New Zealand via mailgun. Note that you will need to know which (parent) grid exit point you are connected to.

Setup

Make sure you have modified the .env file to use your own mailgun details.

Modify .ruby-version as you wish.

bundle install

Running it

Best run in a screen session:

screen bundle exec ./main.rb

Or run as a background task:

bundle exec ./main.rb --no-output &

Contributing

Fork and pull request. This was a very short and crude project to get something going. I won't be surprised if you do or don't want to contribute ;)

About

A small script for spot price alerts in NZ power market

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages