Repository navigation
Conversation
…ensitive responses
|
Hi @Bankaifan It seems we had the same idea, although I agree that it makes sense to publish it at some point. My main concern with this version was that it requires storing user credentials locally. In the meantime, I came across some information suggesting that Octopus also offers an OAuth flow. However, this requires a client ID from the manufacturer, along with additional security checks and implementation work to integrate the OAuth details properly. For non-commercial use cases in particular, I think this version is more than sufficient and could be extended by a config decision e.g enum AuthenticationFlow USER_CREDENTIALS, OAUTH, ... Since my code has already been reviewed internally, I’d appreciate it if you could incorporate a few changes into your PR based on the feedback I received during that review. In particular:
As the OAuth flow is more time taking than expecting, my plan was also to publish my version (with password) in the upcomming weeks. Lets discuss how to continue. |
|
Hi @sebastianasen, I will check your version. I'm pretty new in using github... I hope I'm doing the stuff the right way. I checked the OAuth part... I'd say thats something for a future work. Maybe we can somehow merge our PRs. GB api.octopus.energy/v1/graphql/ API-Documentation API docs And the auth-servers I found so far are Right now I have only tested Germany. I dont have an account for the others to try out - and haven't checked if the APIs differ from the german one. |
Feature/octopus dynamic gridbuy
…ogic and auth limitations
This pull request adds native support for Octopus Energy Germany Dynamic tariffs to OpenEMS Edge.
The new TimeOfUseTariff.OctopusDynamicDE component retrieves account-specific, quarter-hourly electricity prices directly from the Octopus Energy Germany API and exposes them through the existing OpenEMS TimeOfUseTariff interface.
This enables OpenEMS users with an Octopus Energy Germany dynamic electricity contract to use their individual tariff data for energy optimization.