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

Integrate an EnergyOptimizationSystem as Plugin #216

Open
5 tasks
finfin82 opened this issue Dec 9, 2024 · 5 comments
Open
5 tasks

Integrate an EnergyOptimizationSystem as Plugin #216

finfin82 opened this issue Dec 9, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@finfin82
Copy link

finfin82 commented Dec 9, 2024

It would be cool to have some kind of optimization system that can handle with hourly changing prices, respect solar prediction to build a charging discharging + keep load state for the battery.

for forecast source we could use api.akkudoktor

so what needs to be done

  • get hourly prices
  • get hourly forecast
  • analyse the data
  • find the best battery-state plan 6 different times (fort the time of use)
  • set those plans using the existing time of use implementation

i have a private project doing this. it works once a day 0:01 it runs and sets my states.
how can i send you my code to review and maybe porting this to a plugin?
@kbialek would be awesome to have such a plugin

questions welcome cheers
Andy

@finfin82 finfin82 added the enhancement New feature or request label Dec 9, 2024
@kbialek
Copy link
Owner

kbialek commented Dec 9, 2024

hi! If you want to make your plugin public, then well, make it public 😄 at github or any other platform of your choice. Then send me a link and I will add it here https://github.com/kbialek/deye-inverter-mqtt?tab=readme-ov-file#list-of-public-plugins

@finfin82
Copy link
Author

well its not a plugin at the moment, its some kind of spaghetti-code, but its working. i was hoping you will find some time to make it a plugin and we can optimize it together.

@kbialek
Copy link
Owner

kbialek commented Dec 10, 2024 via email

@finfin82
Copy link
Author

Thx for your feedback, I will give it a try.

@tonobo
Copy link

tonobo commented Jan 6, 2025

To actively support the plugin, you likely need support for bi-directional charging. @kbialek, I'm interested in the SG04LP3 inverters, but they need to support external regulation. I only want to instruct the inverter to either send 10 kW to the battery or 10 kW to the grid, ideally within milliseconds. Can you share some insights?

FYI: I scrolled through #132, but it didn’t exactly answer my questions. I’m using an external wrapper as a charge controller (https://github.com/tonobo/watti_watchman) for various reasons. I’m considering investing in another inverter and want full control over power regulation. At the moment the victron system is uses as 100% battery inverter and I'm actively telling them to charge and discharge at which rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants