Skip to content

Feature: DPL: Allow to priorize selected smart buffer powered inverters#2176

Open
vaterlangen wants to merge 1 commit intohoylabs:developmentfrom
vaterlangen:feature/dpl/priority_for_same_converter_types
Open

Feature: DPL: Allow to priorize selected smart buffer powered inverters#2176
vaterlangen wants to merge 1 commit intohoylabs:developmentfrom
vaterlangen:feature/dpl/priority_for_same_converter_types

Conversation

@vaterlangen
Copy link
Copy Markdown

@vaterlangen vaterlangen commented Aug 31, 2025

This feature allows the user to select smart buffer battery inverters to be used as preferred energy source by DPL.
This is useful for setups containing multiple smart buffer battery inverters with different solar power and/or battery capacity, as "strong"/primary inverters can be prioritize over "weak"/secondary inverters (allowing the "weak"/secondary to charge batteries during day while "strong"/primary inverters are used as preferred power source by the DPL)

Screenshot_20250922-185953~2

Todo

  • Use it a few days, to verify correct behavior

@vaterlangen vaterlangen force-pushed the feature/dpl/priority_for_same_converter_types branch from d2fad91 to cc7eed5 Compare August 31, 2025 18:52
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 31, 2025

Build Artifacts

Firmware built from this pull request's code:

Notice

  • These artifacts are ZIP files containing the factory update binary as well as the OTA update binary.
    Extract the binaries from the ZIP files first. Do not use the ZIP files themselves to perform an update.
  • These links point to artifacts of the latest successful build run.
  • The linked artifacts were built from a4ab0e0.

@vaterlangen vaterlangen force-pushed the feature/dpl/priority_for_same_converter_types branch from cc7eed5 to c7982ae Compare September 5, 2025 06:39
@vaterlangen vaterlangen force-pushed the feature/dpl/priority_for_same_converter_types branch 2 times, most recently from d4b5bf6 to 13cd38d Compare September 13, 2025 17:24
@vaterlangen vaterlangen force-pushed the feature/dpl/priority_for_same_converter_types branch from 13cd38d to 01444c0 Compare September 21, 2025 09:36
@vaterlangen vaterlangen marked this pull request as ready for review September 22, 2025 17:01
@vaterlangen vaterlangen force-pushed the feature/dpl/priority_for_same_converter_types branch from 01444c0 to a87ec4d Compare October 3, 2025 19:04
@AndreasBoehm
Copy link
Copy Markdown
Member

Hey @vaterlangen, can you elaborate what the benefit of a prioritized inverter is? Maybe an example with some numbers?

Besides the 'why', i am also wondering if we should think this feature differently.

  • what if i have 3 inverters or more?
  • what if i have smart-buffer and battery inverters?
  • should we in general setup a priorization list for all my inverters, no matter the power source?

@vaterlangen
Copy link
Copy Markdown
Author

vaterlangen commented Apr 3, 2026

@AndreasBoehm
If you have connected multiple converters, that are connected to SmartBufferBatteries, you may need do give a priority so DPL can use the SBB with e.g. most solar power first. Otherwise, if DPL uses the device with smallest solar power over the day, the battery might be low or empty while the SBB with more solar power (that was not used during day) stucks with a full battery wasting energy.

Besides the 'why', i am also wondering if we should think this feature differently.

should we in general setup a priorization list for all my inverters, no matter the power source?

You are absolutely right - also thought about this. But as I do not have any Battery Powered Inverter, I'm unable to test ist (and I really don't like coding if I'm unable to test it).

what if i have 3 inverters or more?

Currently, it would be the same behavior within the groups. DPL uses "random" Inverter to fulfill request. But there would be 4 instead of 3 groups now.

what if i have smart-buffer and battery inverters?

If I got it right from the code, DPL currently (I'm working on multiple battery support right know) does only fully support one battery. So battery would always be last (as it was before).

From an conceptual point of view:

  • solar powered inverters will not need any explicit priority as they have always highest priority (as energy is always wasted if not used)
  • SBB powered inverters would need priority, as they may differ in solar power and/or battery capacity
  • Battery powered inverters would also need a priority - even mixed with SBB - as configuration may also differ

So in a perfect world, we should implement something like a priority over SBB and BAT inverters.

Related stuff

These setup would likely benefit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants