Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[energidataservice] Suggest to provide actions as core base class #17434

Closed
weymann opened this issue Sep 17, 2024 · 2 comments
Closed

[energidataservice] Suggest to provide actions as core base class #17434

weymann opened this issue Sep 17, 2024 · 2 comments
Assignees
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@weymann
Copy link
Contributor

weymann commented Sep 17, 2024

Proposal
The binding provides Thing Actions in order to calculate best prices for a dynamic tariff. In principle every binding providing such data shall have the same calculations too. E.g. Tibber, aWATTar, Entso-E, ...
In order not every binding developer is doing his own calculations a base class would be helpful.

Idea
Just my first thoughts:
Provide BaseTariffActions with the implemented Actions. This base class shall be updated with the latest TimeSeries of spot prices as basis for the calculations.
Honestly I don't like the two seperate lists of duration and power phases so maybe it's possible to combine it in a TreeMap with startingMinute and power. As an additional option a well defined JSON may also fit.

Thinking further
Imagine Things like Shelly Plug which are attached to e.g.. laundry or dishwasher can provide such power curves in actions too. So I can get a common power curve for my device and directly feed it to my dynamic tariff provider.

Feel free to place your comments and thoughts. If you're too busy I'm really interested to design and implement a first version and we can do it together as joint work.

@weymann weymann added the enhancement An enhancement or new feature for an existing add-on label Sep 17, 2024
@jlaur
Copy link
Contributor

jlaur commented Sep 17, 2024

@weymann - thanks for starting this discussion, for your suggestion and for you willingness to join such an effort. Since this should be solved in core, I'm closing the issue for Energi Data Service here in the addons repository. A few references for you:

@jlaur jlaur closed this as completed Sep 17, 2024
@weymann
Copy link
Contributor Author

weymann commented Sep 17, 2024

I agree to close this topic in addons repo.
But ahh no!!! Just reading a glimpse of this thread makes me wonder!
Everybody is seeking for the holy grail of HEMS but I just want to know the best price. No more, no less!

And this should be the seperation of concerns. I don't want to implement an HEMS, just give me the price!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

2 participants