Skip to content

Commit

Permalink
Manually merge PM81
Browse files Browse the repository at this point in the history
  • Loading branch information
fsantini committed Oct 13, 2024
1 parent 44527f5 commit b6cd645
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e3dc/_e3dc.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@ def get_db_data_timestamp(
"startTimestamp": <timestamp from which db data is fetched of>,
"stateOfCharge": <battery charge level in %>,
"solarProduction": <power production>,
"pm0Production": <power production>,
"pm1Production": <power production>,
"timespanSeconds": <timespan in seconds of which db data is collected>
}
"""
Expand Down Expand Up @@ -746,6 +748,8 @@ def get_db_data_timestamp(
response[2][0], RscpTag.DB_BAT_CHARGE_LEVEL
),
"solarProduction": rscpFindTagIndex(response[2][0], RscpTag.DB_DC_POWER),
"pm0Production": rscpFindTagIndex(response[2][0], RscpTag.DB_PM_0_POWER),
"pm1Production": rscpFindTagIndex(response[2][0], RscpTag.DB_PM_1_POWER),
"timespanSeconds": timespanSeconds,
}

Expand Down Expand Up @@ -779,6 +783,8 @@ def get_db_data(
"startDate": <date from which db data is fetched of>,
"stateOfCharge": <battery charge level in %>,
"solarProduction": <power production>,
"pm0Production": <power production>,
"pm1Production": <power production>,
"timespan": <timespan of which db data is collected>,
"timespanSeconds": <timespan in seconds of which db data is collected>
}
Expand Down

0 comments on commit b6cd645

Please sign in to comment.