Feature request: configurable minimum export power (MIN_EXPORT_POWER_W)
What problem does this solve?
ESP32 Chip (ESP Home) It prevents very small, unwanted grid exports (micro‑export). Right now, even tiny surpluses can be fed into the grid. I want to be able to define a minimum power level so that AstraMeter only exports when the surplus is clearly above that threshold.
What would you like?
I would like a new configuration option, e.g. MIN_EXPORT_POWER_W, that defines the minimum surplus power required for grid export.
If surplus ≤ MIN_EXPORT_POWER_W: no export, use power for battery charging or house consumption.
If surplus > MIN_EXPORT_POWER_W: allow normal export as today.
Example: MIN_EXPORT_POWER_W = 100 → export only when surplus is above 100 W.
AstraMeter already tries to keep the grid at 0 W, so any surplus should go into the battery. If you still see small exports, they usually come from one of two things:
-
Small swings around 0 W: The control never lands exactly on zero, so sometimes it's a few watts of export. To keep it on the import side, add an offset to your grid sensor:
filters: - offset: -20AstraMeter then aims for about 20 W of import instead of 0 W.
-
The battery is full or already charging at its maximum and you enabled surplus feed in on your battery: AstraMeter can't stop that export.
A minimum export threshold wouldn't help. If AstraMeter ignored exports below 100 W, the battery wouldn't charge from that power, so it would still go to the grid.
Can you try the offset? If you still see export while the battery isn't full, please send a screenshot or log from that moment.
One more thing to try: in the ct002: section, add
ct002:
# ...
import_trim_w: 0
By default AstraMeter pushes the batteries to cover the last few watts of grid import, and that can tip them into a small export. With this set to 0, they stay slightly on the import side instead. You can use it together with the offset or on its own.
I mean a value thats the Export Power begins over min 50 watts for example...all under 50 watts is Power from the gridAm 25.10.2026 um 07:52 schrieb Tom Quist @.***>:tomquist left a comment (tomquist/AstraMeter#721) One more thing to try: in the ct002: section, add ct002:
...
import_trim_w: 0 By default AstraMeter pushes the batteries to cover the last few watts of grid import, and that can tip them into a small export. With this set to 0, they stay slightly on the import side instead. You can use it together with the offset or on its own.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Thanks, I think I misunderstood you. Do you mean the battery’s own output should have a minimum? So:
- house needs less than 50 W → the battery stays off and the grid supplies it
- house needs more than 50 W → the battery covers everything, as now
If so, that isn’t possible today, but it’s a reasonable feature request. Could you confirm, and explain which battery you use and why you want it?
Yes this is what i want i have the marstek venus e 3.0. Firmware 150I want it because my standby in the night is 19 Watt at all and the venus has a efficiency at 68 percent at so less on watts. Am 25.10.2026 um 19:01 schrieb Tom Quist @.***>:tomquist left a comment (tomquist/AstraMeter#721) Thanks, I think I misunderstood you. Do you mean the battery’s own output should have a minimum? So:
house needs less than 50 W → the battery stays off and the grid supplies it house needs more than 50 W → the battery covers everything, as now
If so, that isn’t possible today, but it’s a reasonable feature request. Could you confirm, and explain which battery you use and why you want it?
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
i forget, i use esp32 and the astrameter configurator. There musst be a configurable hysteresis that at 50 watts on/start and at for example 30 watts off..Thank you very much, you made very great work!Am 26.10.2026 um 08:46 schrieb Gmx @.>:Yes this is what i want i have the marstek venus e 3.0. Firmware 150I want it because my standby in the night is 19 Watt at all and the venus has a efficiency at 68 percent at so less on watts. Am 25.10.2026 um 19:01 schrieb Tom Quist @.>:tomquist left a comment (tomquist/AstraMeter#721) Thanks, I think I misunderstood you. Do you mean the battery’s own output should have a minimum? So:
house needs less than 50 W → the battery stays off and the grid supplies it house needs more than 50 W → the battery covers everything, as now
If so, that isn’t possible today, but it’s a reasonable feature request. Could you confirm, and explain which battery you use and why you want it?
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you authored the thread.Message ID: @.***>