41 lines
1.2 KiB
Smarty
41 lines
1.2 KiB
Smarty
# Settings for eval_record
|
|
import time
|
|
|
|
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_defs = {
|
|
"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"
|
|
},
|
|
"chg_state":
|
|
{
|
|
"values": "data/charging/chargingStatus/value/chargingState",
|
|
"timestamps": "data/charging/chargingStatus/value/carCapturedTimestamp"
|
|
},
|
|
"range":
|
|
{
|
|
"values": "data/fuelStatus/rangeStatus/value/totalRange_km",
|
|
"timestamps": "data/fuelStatus/rangeStatus/value/carCapturedTimestamp"
|
|
}
|
|
}
|