Files
we_collect/eval_records_settings.py
T
jens 16bf180c70 - also use sel_month and sel_years
- settings: use current date (today) for data as default
2024-11-14 08:35:42 +01:00

37 lines
1.0 KiB
Python

# Settings for eval_record
import time
from datetime import timedelta
BASE = "/media/jens/cifs/jens@moon/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"
}
}