Files
EOS/docs/_generated/configserver.md
Bobby Noelte cf477d91a3
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
feat: add fixed electricity prediction with time window support (#930)
Add a fixed electricity prediction that supports prices per time window.
The time windows may flexible be defined by day or date.

The prediction documentation is updated to also cover the ElecPriceFixed
provider.

The feature includes several changes that are not directly related to the
electricity price prediction implementation but are necessary to keep
EOS running properly and to test and document the changes.

* feat: add value time windows

    Add time windows with an associated float value.

* feat: harden eos measurements endpoints error detection and reporting

    Cover more errors that may be raised during endpoint access. Report the
    errors including trace information to ease debugging.

* feat: extend server configuration to cover all arguments

    Make the argument controlled options also available in server configuration.

* fix: eos config configuration by cli arguments

    Move the command line argument handling to config eos so that it is
    excuted whenever eos config is rebuild or reset.

* chore: extend measurement endpoint system test

* chore: refactor time windows

    Move time windows to configabc as they are only used in configurations.
    Also move all tests to test_configabc.

* chore: provide config update errors in eosdash with summarized error text

    If there is an update error provide the error text as a summary. On click
    provide the full error text.

* chore: force eosdash ip address and port in makefile dev run

    Ensure eosdash ip address and port are correctly set for development runs.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2026-03-11 17:18:45 +01:00

2.2 KiB

Server Configuration

:::{table} server :widths: 10 20 10 5 5 30 :align: left

Name Environment Variable Type Read-Only Default Description
eosdash_host EOS_SERVER__EOSDASH_HOST Optional[str] rw None EOSdash server IP address. Defaults to EOS server IP address.
eosdash_port EOS_SERVER__EOSDASH_PORT Optional[int] rw None EOSdash server IP port number. Defaults to EOS server IP port number + 1.
eosdash_supervise_interval_sec EOS_SERVER__EOSDASH_SUPERVISE_INTERVAL_SEC int rw 10 Supervision interval for EOS server to supervise EOSdash [seconds].
host EOS_SERVER__HOST Optional[str] rw 127.0.0.1 EOS server IP address. Defaults to 127.0.0.1.
port EOS_SERVER__PORT Optional[int] rw 8503 EOS server IP port number. Defaults to 8503.
reload EOS_SERVER__RELOAD Optional[bool] rw False Enable server auto-reload for debugging or development. Default is False. Monitors the package directory for changes and reloads the server.
run_as_user EOS_SERVER__RUN_AS_USER Optional[str] rw None The name of the target user to switch to. If None (default), the current effective user is used and no privilege change is attempted.
startup_eosdash EOS_SERVER__STARTUP_EOSDASH Optional[bool] rw True EOS server to start EOSdash server. Defaults to True.
verbose EOS_SERVER__VERBOSE Optional[bool] rw False Enable debug output
:::

Example Input/Output

   {
       "server": {
           "host": "127.0.0.1",
           "port": 8503,
           "verbose": false,
           "startup_eosdash": true,
           "eosdash_host": "127.0.0.1",
           "eosdash_port": 8504,
           "eosdash_supervise_interval_sec": 10,
           "run_as_user": null,
           "reload": true
       }
   }