Closed realist625 closed 5 months ago
Just. tested using API key, and that configuration works as expected. It seems to be only an issue with a config where API key is not used and the product code and region code is used.
/cc @duckfullstop
Apologies for the regression, I'll have a fix for this tonight. 🙇
@realist625 Just an FYI that the fix simply allows the deprecated tariff
flag to work: please switch to productCode
as per the deprecation warning you (should!) now be receiving. (this'll be fixed in documentation with https://github.com/evcc-io/docs/pull/509)
Describe the bug
On upgrading from 0.125.0 to 0.126.2 I find that the information from Octopus Energy reading unit price in no longer available. The error I get is 'failed configuring grid tariff: cannot create tariff type 'octopusenergy': missing product code', but as you can see, it is there and I have made no changes from previous version. I have verified the product code with the Octopus API, and I can manually see the relevant tariff rate by: https://api.octopus.energy/v1/products/GO-VAR-22-10-14/electricity-tariffs/E-1R-GO-VAR-22-10-14-A/standard-unit-rates/ or https://api.octopus.energy/v1/products/GO-VAR-22-10-14
Looking at the code in octopus.go and my use case is where I do not use the API key, so looking on how that error in generated, well I am not sure how that part of the code works, but it feels like something is amiss here.
Steps to reproduce
...
Configuration details
Log details
What type of operating system are you running?
Linux
Version
0.126.2