Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ EOS Connect is a tool designed to optimize energy usage by interacting with the
* Manages configurations via a user-friendly config.yaml file.
* Displays results dynamically on a webpage.
* Controlling FRONIUS inverters and battery charging systems interactively.
* Battery charging is dynamicaly limited depending on the SOC (charging curve)

## Current Status

Expand Down
2 changes: 2 additions & 0 deletions src/CONFIG_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ A default config file will be created with the first start, if there is no confi

- **price.source**: Data source for electricity price. Possible values: `tibber`, `akkudoktor`.
- **price.token**: Token for electricity price.
- **price.feed_in_price**: Feed-in price for the grid.
- **price.negative_price_switch**: Switch for handling negative electricity prices (e.g., no payment if negative stock price).

### Battery Configuration
- **battery.source**: Data source for battery SOC. Possible values: openhab, homeassistant, default (static data).
Expand Down
8 changes: 8 additions & 0 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def create_default_config(self):
{
"source": "default",
"token": "tibberBearerToken", # token for electricity price
"feed_in_price": 0.0, # feed in price for the grid
"negative_price_switch": False, # switch for negative price
}
),
"battery": CommentedMap(
Expand Down Expand Up @@ -155,6 +157,12 @@ def create_default_config(self):
config["price"].yaml_set_comment_before_after_key(
"token", before="Token for electricity price"
)
config["price"].yaml_set_comment_before_after_key(
"feed_in_price", before="feed in price for the grid"
)
config["price"].yaml_set_comment_before_after_key(
"negative_price_switch", before="switch for no payment if negative stock price"
)
# battery configuration
config.yaml_set_comment_before_after_key("battery", before="battery configuration")
config["battery"].yaml_set_comment_before_after_key(
Expand Down
Loading