mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-02-28 20:06:19 +00:00
Some checks failed
Bump Version / Bump Version Workflow (push) Has been cancelled
docker-build / platform-excludes (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
Adapt uvicorn log level to allowed levels. Ensure that EOSdash is started after EOS configuration is available. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2.6 KiB
2.6 KiB
Measurement Configuration
:::{table} measurement :widths: 10 20 10 5 5 30 :align: left
| Name | Environment Variable | Type | Read-Only | Default | Description |
|---|---|---|---|---|---|
| grid_export_emr_keys | EOS_MEASUREMENT__GRID_EXPORT_EMR_KEYS |
Optional[list[str]] |
rw |
None |
The keys of the measurements that are energy meter readings of energy export to grid [kWh]. |
| grid_import_emr_keys | EOS_MEASUREMENT__GRID_IMPORT_EMR_KEYS |
Optional[list[str]] |
rw |
None |
The keys of the measurements that are energy meter readings of energy import from grid [kWh]. |
| historic_hours | EOS_MEASUREMENT__HISTORIC_HOURS |
Optional[int] |
rw |
17520 |
Number of hours into the past for measurement data |
| keys | list[str] |
ro |
N/A |
The keys of the measurements that can be stored. | |
| load_emr_keys | EOS_MEASUREMENT__LOAD_EMR_KEYS |
Optional[list[str]] |
rw |
None |
The keys of the measurements that are energy meter readings of a load [kWh]. |
| pv_production_emr_keys | EOS_MEASUREMENT__PV_PRODUCTION_EMR_KEYS |
Optional[list[str]] |
rw |
None |
The keys of the measurements that are PV production energy meter readings [kWh]. |
| ::: |
Example Input
{
"measurement": {
"historic_hours": 17520,
"load_emr_keys": [
"load0_emr"
],
"grid_export_emr_keys": [
"grid_export_emr"
],
"grid_import_emr_keys": [
"grid_import_emr"
],
"pv_production_emr_keys": [
"pv1_emr"
]
}
}
Example Output
{
"measurement": {
"historic_hours": 17520,
"load_emr_keys": [
"load0_emr"
],
"grid_export_emr_keys": [
"grid_export_emr"
],
"grid_import_emr_keys": [
"grid_import_emr"
],
"pv_production_emr_keys": [
"pv1_emr"
],
"keys": [
"grid_export_emr",
"grid_import_emr",
"load0_emr",
"pv1_emr"
]
}
}