azogue / pvpcbill

Electrical billing for small consumers in Spain using PVPC
MIT License
6 stars 0 forks source link

New tariffs in June #2

Open cnieves1 opened 3 years ago

cnieves1 commented 3 years ago

Hi, I would like to know if you are planning to support the new tariffs, which will be effective tomorrow. Among other changes, the power price will be different depending on the hour of the day.

And it would be nice if it could be used to calculate the bill with tariffs other than PVPC. I'm thinking in a way the user could define the price in an hourly basis. What could be the easiest way to add support for this?

Thanks,

azogue commented 3 years ago

Hi @cnieves1 πŸ‘‹,

The parent library to download prices is already adapted to the new 2.0TD, but I don't know if I'll do any change on this library, or just archive it πŸ˜”; this was basically an exercise, to prove I could mimic my own electric bills (rounding is tricky), so, if I do any change (which I don't think I'll do in the near future), I suppose I also have to wait for my first bill with the new tariff πŸ˜…

If you want to go that path, I suggest you to use directly the parent library for downloads, and from here just copy/paste what you consider useful, if anyπŸ™ˆ. Sorry I can't be of more help πŸ˜“