- refactored
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user