Skip to content

Commit 746fa5a

Browse files
committed
The default value for INVERTER_TARGET_MIN_STATE_OF_CHARGE was updated from 10% to 15%.
1 parent cf08351 commit 746fa5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ When the current time is a price minimum, the program wakes up and does the foll
130130
| `POWER_USAGE_FACTOR` | The amount of power used during the day vs during the night as a percentage value. E.g. if the value is set to `0.6` the program assumes you use 60 % of the daily power usage between 6 AM and 6 PM and 40 % between 6 PM and 6 AM. | `0.6` | A decimal number between `0` and `1`, typically between `0.5` and `0.8` |
131131
| `TIBBER_API_TOKEN` | The token to crawl the Tibber API. See https://developer.tibber.com/docs/guides/calling-api for more information. | - | A string, example: `my-secret-token` |
132132
| `INVERTER_HOSTNAME` | The hostname or IP of the inverter. | - | [`inverter.mydomain.com`, `192.168.5.10`, ...] |
133-
| `INVERTER_TARGET_MIN_STATE_OF_CHARGE` | The state of charge the battery shall have when reaching the next minimum as a buffer. | `20` | A number between `0` and `100`, typically between `0` and `40` |
133+
| `INVERTER_TARGET_MIN_STATE_OF_CHARGE` | The state of charge the battery shall have when reaching the next minimum as a buffer. | `15` | A number between `0` and `100`, typically between `0` and `40` |
134134
| | `INVERTER_BATTERY_CAPACITY` | The capacity of the battery in watt hours without any separators. | - | A number, typically between `3000` and `15000` |
135135
| `INVERTER_TARGET_MAX_STATE_OF_CHARGE` | The maximum state of charge the inverter will charge to since the last few percent take a long time to charge. | `95` | A number between `0` and `100`, typically between `80` and `100` |
136136
| `SEMSPORTAL_USERNAME` | The username to login into the SEMSPortal. | - | A string, example: `[email protected]` |

source/inverter_charge_controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _do_iteration(self, current_energy_rate: EnergyRate) -> EnergyRate:
170170
)
171171

172172
target_min_soc = StateOfCharge.from_percentage(
173-
int(EnvironmentVariableGetter.get("INVERTER_TARGET_MIN_STATE_OF_CHARGE", 10))
173+
int(EnvironmentVariableGetter.get("INVERTER_TARGET_MIN_STATE_OF_CHARGE", 15))
174174
)
175175
self.log.info(f"The battery shall be at least at {target_min_soc} at all times")
176176

0 commit comments

Comments
 (0)