from Hacker News

Show HN: OctoPlot: Visualise Paid Energy Use in Your Terminal

by jsingleton on 6/2/20, 3:04 PM with 1 comments

  • by jsingleton on 6/2/20, 3:08 PM

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

    Source (EUPL): https://github.com/jpsingleton/octoplot

    Sample output (colour not shown):

      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)