pufferfish-tech / octopus-agile-pi-prices

Display the upcoming prices on the Octopus Energy "Agile" tariff.
Apache License 2.0
71 stars 27 forks source link

Minor issue list and my experience installing #22

Open jamescl131 opened 1 year ago

jamescl131 commented 1 year ago

I really just wanted to say thanks for this project. I'm so pleased I tried it and it is all up and running for me perfectly.

The only things I noticed when implementing were.

  1. There seems to be no need for an API key, even though the documentation mentions it, there is nowhere in the instructions to put it and it seems to work without.
  2. It didn't recognise my board until I went into raspi-config -> interface options -> enabled SPI and I2C
  3. There is no need to edit the code anymore to set the region like the readme says, you simply just add the region to your daily cron command for updating the prices by adding -r (there's a table of region letters in the code).
  4. The price increases mean that the bar graph now sometimes overlaps the current price and makes it harder to read. I edited the value on line 346 of octoprice_main_inky.py, pixels_per_h = 1.5 (previously the value was 2.3).
  5. Today the prices went negative and over 9.9 which meant it had to display a - symbol and xx.x for the price, this caused the text to overlap the upcoming 30-minute blocks. This will be a rare event, so I'm not too worried, but I might see if there's some way to handle that in future, maybe drop the P or reduce the font size if it goes beyond double digits.

The code comments are brilliant and it was well documented. I really appreciate the creator, thanks so much.