Files
EOS/tests/testdata/eos_config_andreas_now.json
Christopher Nadler 04420e66ab
Some checks are pending
Bump Version / Bump Version Workflow (push) Waiting to run
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
fix: Improve provider update error handling and add VRM provider settings validation (#887)
* fix: improve error handling for provider updates

Distinguishes failures of active providers from inactive ones.
Propagates errors only for enabled providers, allowing execution
to continue if a non-active provider fails, which avoids unnecessary
interruptions and improves robustness.

* fix: add provider settings validation for forecast requests

Prevents potential runtime errors by checking if provider settings are configured
before accessing forecast credentials.

Raises a clear error when settings are missing to help with debugging misconfigurations.

* refactor(load): move provider settings to top-level fields

Transitions load provider settings from a nested "provider_settings" object with provider-specific keys to dedicated top-level fields.\n\nRemoves the legacy "provider_settings" mapping and updates migration logic to ensure backward compatibility with existing configurations.

* docs: update version numbers and documantation

---------

Co-authored-by: Normann <github@koldrack.com>
2026-02-26 18:31:47 +01:00

99 lines
2.0 KiB
JSON

{
"general": {
"data_folder_path": "__ANY__",
"data_output_subpath": "output",
"latitude": 52.5,
"longitude": 13.4
},
"cache": {
"subpath": "cache",
"cleanup_interval": 300.0
},
"ems": {
"startup_delay": 5.0,
"interval": 300.0
},
"logging": {
"console_level": "INFO"
},
"devices": {
"batteries": [
{
"device_id": "pv_akku",
"capacity_wh": 30000,
"charging_efficiency": 0.88,
"discharging_efficiency": 0.88,
"max_charge_power_w": 5000,
"min_soc_percentage": 0,
"max_soc_percentage": 100
}
],
"electric_vehicles": [
{
"charge_rates": [0.0, 0.375, 0.5, 0.625, 0.75, 0.875, 1.0]
}
],
"inverters": [],
"home_appliances": []
},
"measurement": {
"load_emr_keys": ["Household"]
},
"optimization": {
"horizon_hours": 48,
"genetic": {
"penalties": {
"ev_soc_miss": 10
}
}
},
"prediction": {
"hours": 48,
"historic_hours": 48
},
"elecprice": {
"provider": "ElecPriceAkkudoktor",
"charges_kwh": 0.21
},
"load": {
"loadakkudoktor": {
"loadakkudoktor_year_energy_kwh": 13000
}
},
"pvforecast": {
"provider": "PVForecastAkkudoktor",
"planes": [
{
"surface_tilt": 87.907,
"surface_azimuth": 175.0,
"userhorizon": [28.0, 34.0, 32.0, 60.0],
"peakpower": 13.110,
"pvtechchoice": "crystSi",
"mountingplace": "free",
"loss": 18.6,
"trackingtype": 0,
"optimal_surface_tilt": false,
"optimalangles": false,
"albedo": 0.25,
"module_model": null,
"inverter_model": null,
"inverter_paco": 15000,
"modules_per_string": 20,
"strings_per_inverter": 2
}
]
},
"weather": {
"provider": "WeatherImport"
},
"server": {
"host": "0.0.0.0",
"port": 8503,
"verbose": true,
"startup_eosdash": true,
"eosdash_host": "0.0.0.0",
"eosdash_port": 8504
},
"utils": {}
}