Refactored
This commit is contained in:
@@ -6,25 +6,24 @@ VIN = 'WVWZZZE1ZMP010760'
|
||||
USER = 'alex'
|
||||
|
||||
# Default show data of today
|
||||
sel_days = (15,)
|
||||
sel_years = (2024, time.gmtime().tm_year)
|
||||
sel_month = (10, time.gmtime().tm_mon)
|
||||
sel_days = (15, time.gmtime().tm_mday)
|
||||
|
||||
eps = {
|
||||
"odo":
|
||||
{
|
||||
"values": "data/measurements/odometerStatus/value/odometer",
|
||||
"timestamps": "data/measurements/odometerStatus/value/carCapturedTimestamp"
|
||||
# "timestamps": "info/timestamp"
|
||||
},
|
||||
"soc":
|
||||
{
|
||||
"values": "data/measurements/fuelLevelStatus/value/currentSOC_pct",
|
||||
"timestamps": "data/measurements/fuelLevelStatus/value/carCapturedTimestamp"
|
||||
# "timestamps": "info/timestamp"
|
||||
},
|
||||
"range":
|
||||
{
|
||||
"values": "data/fuelStatus/rangeStatus/value/totalRange_km",
|
||||
"timestamps": "data/fuelStatus/rangeStatus/value/carCapturedTimestamp"
|
||||
# "timestamps": "info/timestamp"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user