- refactored

This commit is contained in:
Jens
2024-11-19 11:56:20 +01:00
parent cd300e9f2f
commit 78788fbb68
2 changed files with 2 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
# Settings for eval_record
import time
from datetime import timedelta
BASE = "/home/jens/projects/we_collect/results"
VIN = 'WVWZZZE1ZMP010760'
USER = 'alex'
# Default show data of today
sel_years = (time.gmtime().tm_year, time.gmtime().tm_year)
sel_month = (time.gmtime().tm_mon, time.gmtime().tm_mon)
sel_days = (time.gmtime().tm_mday, time.gmtime().tm_mday)
t_interval_s = 5 * 60
eps = {
"odo":
{
"values": "data/measurements/odometerStatus/value/odometer",
"timestamps": "data/measurements/odometerStatus/value/carCapturedTimestamp"
},
"soc":
{
"values": "data/measurements/fuelLevelStatus/value/currentSOC_pct",
"timestamps": "data/measurements/fuelLevelStatus/value/carCapturedTimestamp"
},
"chgpwr":
{
"values": "data/charging/chargingStatus/value/chargePower_kW",
"timestamps": "data/charging/chargingStatus/value/carCapturedTimestamp"
},
"range":
{
"values": "data/fuelStatus/rangeStatus/value/totalRange_km",
"timestamps": "data/fuelStatus/rangeStatus/value/carCapturedTimestamp"
}
}