Skip to content

jpsingleton/octoplot

Repository files navigation

OctoPlot

OctoPlot is a small command line tool that draws a graph of the Octopus Energy Agile pricing in your terminal.

Agile Octopus is a 100% green electricity tariff that regularly pays you to consume electricity. Welcome to the future.

If you are not already living in the future then you can switch to Octopus Energy and get £50 credit with this referral link.

Examples

Down to 11.

OctoPlot screenshot

Down to 12.

Getting pricing data...

Pricing data from Fri 22 May 13:00 to Sun 24 May 15:00 for region P

 18p                                                                                                     
 17p          £ £                                                                                        
 16p          £££                                                                                        
 15p        £ £££                                                                                        
 14p        £££££                                                                                        
 13p        £££££                                           £ £££                                        
 12p        £££££                                           £ £££                                        
 11p       ££££££                                           £££££                                        
 10p       ££££££                                           £££££                                        
 09p       ££££££                                           £££££                                        
 08p       ££££££                                           £££££                                        
 07p       ££££££                                           £££££                                        
 06p       £££££££                                         ££££££                                        
 05p       £££££££ £ £ £                                   ££££££                                        
 04p       £££££££££££££                                   ££££££        £                               
 03p       £££££££££££££                                   ££££££        £ £                             
 02p       £££££££££££££ £                                 ££££££        £ £                    £        
 01p       ££££££££££££££££                                £££££££££££££££££££                 ££        
 00p £     ££££££££££££££££££                ££££          £££££££££££££££££££                 ££   £    
---------------------------------------------------------------------------------------------------------
-01p £     £££££££££££££££££££               ££££          ££££££££££££££££££££                £££££££   
-02p £££   ££££££££££££££££££££             £££££  £       £££££££££££££££££££££ £        £   ££££££££ £ 
-03p ££££ ££££££££££££££££££££££            £££££££££      £££££££££££££££££££££ £        £   £££££££££££
-04p £££££££££££££££££££££££££££          ££££££££££££     £££££££££££££££££££££££      £ £ £ £££££££££££
-05p £££££££££££££££££££££££££££        £ ££££££££££££     ££££££££££££££££££££££££££   £ £ £££££££££££££
-06p £££££££££££££££££££££££££££££      £ £££££££££££££    ££££££££££££££££££££££££££££££££££££££££££££££
-07p £££££££££££££££££££££££££££££     ££ £££££££££££££    ££££££££££££££££££££££££££££££££££££££££££££££
-08p ££££££££££££££££££££££££££££££    ££ £££££££££££££    ££££££££££££££££££££££££££££££££££££££££££££££
-09p ££££££££££££££££££££££££££££££    ££ £££££££££££££    ££££££££££££££££££££££££££££££££££££££££££££££
-10p ££££££££££££££££££££££££££££££££ £££ £££££££££££££    ££££££££££££££££££££££££££££££££££££££££££££££
-11p ££££££££££££££££££££££££££££££££££££ £££££££££££££    ££££££££££££££££££££££££££££££££££££££££££££££
     1 1 1 1 1 1 1 2 2 2 2                     1 1 1 1 1 1 1 1 1 1 2 2 2 2                     1 1 1 1 1 
     3 4 5 6 7 8 9 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 

Paid most for electricity between Sat 23 May 14:30 and Sat 23 May 15:00 (-12.327p/kWh inc. VAT)

Use

Download a pre-built self-contained binary from the releases page and decompress it to a folder.

Change directory to the folder in a command prompt.

Run the app in your terminal specifying the region ID character for the area you are interested in.

E.g. ./octoplot j for South East England. The default value is P (North Scotland).

Add the folder to your PATH if you want to run octoplot from anywhere.

Regions

These are the region codes:

EastEngland = "A"
EastMidlands = "B"
London = "C"
NorthWales = "D"
WestMidlands = "E"
NorthEastEngland = "F"
NorthWestEngland = "G"
SouthEngland = "H"
SouthEastEngland = "J"
SouthWales = "K"
SouthWestEngland = "L"
Yorkshire = "M"
SouthScotland = "N"
NorthScotland = "P"

Build

To build and run from source you will need the .NET SDK.

Clone the repo.

git clone git@github.com:jpsingleton/octoplot.git

Run the tool for the region you are in.

dotnet run j

License

Licensed under the EUPL-1.2-or-later

This project is treeware! If you found it useful then please plant a tree for me.

Buy me a tree!