Giter Site home page Giter Site logo

zuinigerijder / hyundai_kia_connect_monitor Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 1.0 13.12 MB

Automatic trip administration tools for Hyundai Bluelink or Kia UVO Connect users. Determining afterwards your private and/or business trips and information about those trips and usage of the car. Best of all is the fact that it does NOT drain your 12 volt battery of the car, because it only uses the cached server information!

License: Apache License 2.0

Python 93.29% Shell 0.98% Batchfile 5.74%
bluelink connect hyundai kia kml monitoring python uvo

hyundai_kia_connect_monitor's People

Contributors

jvhaarst avatar zuinigerijder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bubo08

hyundai_kia_connect_monitor's Issues

Looks like odometer is not always updating in monitor.csv

Part of captured monitor.csv (mentioned in example):

2022-09-24 11:00:49+02:00, 5.129967, 51.674819, True, 92, 17390.8, 98, False, 0
2022-09-24 11:30:38+02:00, 5.204728, 51.883719, True, 97, 17390.8, 91, False, 0
2022-09-24 12:00:44+02:00, 5.250064, 52.256122, True, 98, 17390.8, 81, False, 0
2022-09-24 12:30:39+02:00, 5.540714, 52.575733, True, 98, 17390.8, 69, False, 0
2022-09-24 13:00:39+02:00, 5.768325, 52.898894, True, 98, 17390.8, 57, False, 0

You see that the locations are changing AND the SOC is decreasing, but the ODOMETER value is keeping the same. Looks like the hyundai_kia_connect_api is not updating it with:

manager.check_and_refresh_token()
manager.check_and_force_update_vehicles(600)

Should I use the call manager.force_refresh_all_vehicles_states()??

It looks like the odometer is only updated at the beginning and/or end of a trip (when engine on or off)??

configurable path for csv files

Is your feature request related to a problem? Please describe.
Not a problem, more a convenience thing ;-)

Describe the solution you'd like
A paramater in the monitor.cfg to configure a path where the csv files should get stored. I'm trying to figure this out on my own, but im not even close a programmer :-)

Describe alternatives you've considered
none.

Additional context
I'm currently trying to get this working within a docker container. So it would be nice to separate the script from the output data to easily access the files from other external programs

TypeError: '>' not supported between instances of 'NoneType' and 'dattime.dattime'

Describe the bug
When I run python3.9 monitor.py I get this exception and no data output
TypeError: '>' not supported between instances of 'NoneType' and 'dattime.dattime'

Line 290 in handle_one_vehicle newest_updated_at max(dates)

Versions

  • hyundai_kia_connect_monitor version: 35,36,37
  • Python version: 3.9.5
  • Operating System: Ubuntu 20.20
  • Car: Hyundai
  • Location: USA

Add any other context about the problem here.

problems with summary.py

In running summary.py I get only headlines. No data. But when I run dailystats.py I get all data. Tried to run debug.py and got python debug.py

     tire_pressure_front_right_warning_is_on=False,
     tire_pressure_rear_right_warning_is_on=False,
     _next_service_distance=None,
     _next_service_distance_value=None,
     _next_service_distance_unit=None,
     _last_service_distance=None,
     _last_service_distance_value=None,
     _last_service_distance_unit=None,
     _location_latitude=55.977997,
     _location_longitude=10.169544,
     _location_last_set_time=datetime.datetime
    (
        2023,
         4,
         11,
         13,
         13,
         33,
         tzinfo=tzfile
        (
            '/usr/share/zoneinfo/Europe/Berlin'
        )
    ),
     ev_charge_port_door_is_open=None,
     ev_charge_limits_dc=100,
     ev_charge_limits_ac=100,
     total_power_consumed=49918,
     power_consumption_30d=146,
     daily_stats=
    [
        DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 11,
                 0,
                 0
            ),
             total_consumed=808,
             engine_consumption=495,
             climate_consumption=193,
             onboard_electronics_consumption=120,
             battery_care_consumption=0,
             regenerated_energy=684,
             distance=5
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 8,
                 0,
                 0
            ),
             total_consumed=6520,
             engine_consumption=4928,
             climate_consumption=272,
             onboard_electronics_consumption=1320,
             battery_care_consumption=0,
             regenerated_energy=3730,
             distance=51
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 7,
                 0,
                 0
            ),
             total_consumed=7843,
             engine_consumption=6918,
             climate_consumption=435,
             onboard_electronics_consumption=490,
             battery_care_consumption=0,
             regenerated_energy=4041,
             distance=63
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 6,
                 0,
                 0
            ),
             total_consumed=1331,
             engine_consumption=375,
             climate_consumption=156,
             onboard_electronics_consumption=800,
             battery_care_consumption=0,
             regenerated_energy=428,
             distance=3
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 5,
                 0,
                 0
            ),
             total_consumed=7311,
             engine_consumption=5582,
             climate_consumption=389,
             onboard_electronics_consumption=1340,
             battery_care_consumption=0,
             regenerated_energy=4418,
             distance=54
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 4,
                 0,
                 0
            ),
             total_consumed=17822,
             engine_consumption=15981,
             climate_consumption=661,
             onboard_electronics_consumption=1180,
             battery_care_consumption=0,
             regenerated_energy=9552,
             distance=153
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 3,
                 0,
                 0
            ),
             total_consumed=3925,
             engine_consumption=3403,
             climate_consumption=122,
             onboard_electronics_consumption=400,
             battery_care_consumption=0,
             regenerated_energy=2539,
             distance=35
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 2,
                 0,
                 0
            ),
             total_consumed=1994,
             engine_consumption=1185,
             climate_consumption=9,
             onboard_electronics_consumption=800,
             battery_care_consumption=0,
             regenerated_energy=1331,
             distance=8
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 4,
                 1,
                 0,
                 0
            ),
             total_consumed=2364,
             engine_consumption=1510,
             climate_consumption=164,
             onboard_electronics_consumption=690,
             battery_care_consumption=0,
             regenerated_energy=1516,
             distance=11
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 31,
                 0,
                 0
            ),
             total_consumed=1745,
             engine_consumption=1045,
             climate_consumption=0,
             onboard_electronics_consumption=700,
             battery_care_consumption=0,
             regenerated_energy=830,
             distance=10
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 30,
                 0,
                 0
            ),
             total_consumed=44366,
             engine_consumption=42124,
             climate_consumption=482,
             onboard_electronics_consumption=1760,
             battery_care_consumption=0,
             regenerated_energy=8754,
             distance=333
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 29,
                 0,
                 0
            ),
             total_consumed=14090,
             engine_consumption=11025,
             climate_consumption=1395,
             onboard_electronics_consumption=1670,
             battery_care_consumption=0,
             regenerated_energy=6376,
             distance=96
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 28,
                 0,
                 0
            ),
             total_consumed=12163,
             engine_consumption=10262,
             climate_consumption=1041,
             onboard_electronics_consumption=860,
             battery_care_consumption=0,
             regenerated_energy=6123,
             distance=100
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 27,
                 0,
                 0
            ),
             total_consumed=8622,
             engine_consumption=6450,
             climate_consumption=942,
             onboard_electronics_consumption=1230,
             battery_care_consumption=0,
             regenerated_energy=3753,
             distance=55
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 26,
                 0,
                 0
            ),
             total_consumed=830,
             engine_consumption=424,
             climate_consumption=6,
             onboard_electronics_consumption=400,
             battery_care_consumption=0,
             regenerated_energy=372,
             distance=4
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 25,
                 0,
                 0
            ),
             total_consumed=13921,
             engine_consumption=12801,
             climate_consumption=350,
             onboard_electronics_consumption=770,
             battery_care_consumption=0,
             regenerated_energy=5521,
             distance=95
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 24,
                 0,
                 0
            ),
             total_consumed=7768,
             engine_consumption=6638,
             climate_consumption=350,
             onboard_electronics_consumption=780,
             battery_care_consumption=0,
             regenerated_energy=4052,
             distance=64
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 23,
                 0,
                 0
            ),
             total_consumed=41922,
             engine_consumption=40198,
             climate_consumption=734,
             onboard_electronics_consumption=990,
             battery_care_consumption=0,
             regenerated_energy=4140,
             distance=295
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 22,
                 0,
                 0
            ),
             total_consumed=3083,
             engine_consumption=1663,
             climate_consumption=520,
             onboard_electronics_consumption=900,
             battery_care_consumption=0,
             regenerated_energy=1640,
             distance=12
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 21,
                 0,
                 0
            ),
             total_consumed=10579,
             engine_consumption=8245,
             climate_consumption=1034,
             onboard_electronics_consumption=1300,
             battery_care_consumption=0,
             regenerated_energy=4142,
             distance=75
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 20,
                 0,
                 0
            ),
             total_consumed=3265,
             engine_consumption=1738,
             climate_consumption=227,
             onboard_electronics_consumption=1300,
             battery_care_consumption=0,
             regenerated_energy=1885,
             distance=12
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 19,
                 0,
                 0
            ),
             total_consumed=1502,
             engine_consumption=740,
             climate_consumption=302,
             onboard_electronics_consumption=460,
             battery_care_consumption=0,
             regenerated_energy=765,
             distance=6
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 18,
                 0,
                 0
            ),
             total_consumed=6364,
             engine_consumption=5041,
             climate_consumption=403,
             onboard_electronics_consumption=920,
             battery_care_consumption=0,
             regenerated_energy=3205,
             distance=48
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 17,
                 0,
                 0
            ),
             total_consumed=33346,
             engine_consumption=30635,
             climate_consumption=1121,
             onboard_electronics_consumption=1010,
             battery_care_consumption=580,
             regenerated_energy=6997,
             distance=197
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 16,
                 0,
                 0
            ),
             total_consumed=26423,
             engine_consumption=24800,
             climate_consumption=1083,
             onboard_electronics_consumption=540,
             battery_care_consumption=0,
             regenerated_energy=3833,
             distance=146
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 15,
                 0,
                 0
            ),
             total_consumed=827,
             engine_consumption=424,
             climate_consumption=3,
             onboard_electronics_consumption=400,
             battery_care_consumption=0,
             regenerated_energy=279,
             distance=2
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 14,
                 0,
                 0
            ),
             total_consumed=6372,
             engine_consumption=5245,
             climate_consumption=587,
             onboard_electronics_consumption=540,
             battery_care_consumption=0,
             regenerated_energy=2530,
             distance=41
        ),
         DailyDrivingStats
        (
            date=datetime.datetime
            (
                2023,
                 3,
                 13,
                 0,
                 0
            ),
             total_consumed=1854,
             engine_consumption=1140,
             climate_consumption=314,
             onboard_electronics_consumption=400,
             battery_care_consumption=0,
             regenerated_energy=717,
             distance=10
        )
    ],
     month_trip_info=None,
     day_trip_info=None,
     ev_battery_percentage=98,
     ev_battery_is_charging=False,
     ev_battery_is_plugged_in=0,
     _ev_driving_range=431.0,
     _ev_driving_range_value=431.0,
     _ev_driving_range_unit='km',
     _ev_estimated_current_charge_duration=0,
     _ev_estimated_current_charge_duration_value=0,
     _ev_estimated_current_charge_duration_unit='m',
     _ev_estimated_fast_charge_duration=2,
     _ev_estimated_fast_charge_duration_value=2,
     _ev_estimated_fast_charge_duration_unit='m',
     _ev_estimated_portable_charge_duration=35,
     _ev_estimated_portable_charge_duration_value=35,
     _ev_estimated_portable_charge_duration_unit='m',
     _ev_estimated_station_charge_duration=2,
     _ev_estimated_station_charge_duration_value=2,
     _ev_estimated_station_charge_duration_unit='m',
     _ev_target_range_charge_AC=437,
     _ev_target_range_charge_AC_value=437,
     _ev_target_range_charge_AC_unit='km',
     _ev_target_range_charge_DC=437,
     _ev_target_range_charge_DC_value=437,
     _ev_target_range_charge_DC_unit='km',
     ev_first_departure_enabled=False,
     ev_second_departure_enabled=False,
     ev_first_departure_days=
    [
        0,
         1,
         2,
         3,
         4,
         5,
         6
    ],
     ev_second_departure_days=
    [
        0,
         1,
         2,
         3,
         4,
         5,
         6
    ],
     ev_first_departure_time=datetime.time
    (
        8,
         0
    ),
     ev_second_departure_time=datetime.time
    (
        10,
         0
    ),
     ev_off_peak_start_time=datetime.time
    (
        0,
         0
    ),
     ev_off_peak_end_time=datetime.time
    (
        0,
         0
    ),
     ev_off_peak_charge_only_enabled=None,
     _fuel_driving_range=None,
     _fuel_driving_range_value=None,
     _fuel_driving_range_unit=None,
     fuel_level=None,
     fuel_level_is_low=None,
     engine_type=<ENGINE_TYPES.EV: 'EV'>,
     data=
    {
        'vehicleLocation': 
        {
            'coord': 
            {
                'lat': 55.977997,
                 'lon': 10.169544,
                 'alt': 0,
                 'type': 0
            },
             'head': 257,
             'speed': 
            {
                'value': 0,
                 'unit': 0
            },
             'accuracy': 
            {
                'hdop': 0,
                 'pdop': 0
            },
             'time': '20230411131333'
        },
         'vehicleStatus': 
        {
            'airCtrlOn': False,
             'engine': False,
             'doorLock': False,
             'doorOpen': 
            {
                'frontLeft': 0,
                 'frontRight': 0,
                 'backLeft': 0,
                 'backRight': 0
            },
             'trunkOpen': False,
             'airTemp': 
            {
                'value': '02H',
                 'unit': 0,
                 'hvacTempType': 1
            },
             'defrost': False,
             'acc': False,
             'evStatus': 
            {
                'batteryCharge': False,
                 'batteryStatus': 98,
                 'batteryPlugin': 0,
                 'remainTime2': 
                {
                    'etc1': 
                    {
                        'value': 2,
                         'unit': 1
                    },
                     'etc2': 
                    {
                        'value': 35,
                         'unit': 1
                    },
                     'etc3': 
                    {
                        'value': 2,
                         'unit': 1
                    },
                     'atc': 
                    {
                        'value': 0,
                         'unit': 1
                    }
                },
                 'drvDistance': 
                [
                    
                    {
                        'rangeByFuel': 
                        {
                            'evModeRange': 
                            {
                                'value': 431,
                                 'unit': 1
                            },
                             'totalAvailableRange': 
                            {
                                'value': 431,
                                 'unit': 1
                            }
                        },
                         'type': 2
                    }
                ],
                 'reservChargeInfos': 
                {
                    'reservChargeInfo': 
                    {
                        'reservChargeInfoDetail': 
                        {
                            'reservInfo': 
                            {
                                'day': 
                                [
                                    0,
                                     1,
                                     2,
                                     3,
                                     4,
                                     5,
                                     6
                                ],
                                 'time': 
                                {
                                    'time': '0800',
                                     'timeSection': 0
                                }
                            },
                             'reservChargeSet': False,
                             'reservFatcSet': 
                            {
                                'defrost': False,
                                 'airTemp': 
                                {
                                    'value': '14H',
                                     'unit': 0,
                                     'hvacTempType': 1
                                },
                                 'airCtrl': 0,
                                 'heating1': 0
                            }
                        }
                    },
                     'offpeakPowerInfo': 
                    {
                        'offPeakPowerTime1': 
                        {
                            'starttime': 
                            {
                                'time': '1200',
                                 'timeSection': 0
                            },
                             'endtime': 
                            {
                                'time': '1200',
                                 'timeSection': 0
                            }
                        },
                         'offPeakPowerFlag': 0
                    },
                     'reserveChargeInfo2': 
                    {
                        'reservChargeInfoDetail': 
                        {
                            'reservInfo': 
                            {
                                'day': 
                                [
                                    0,
                                     1,
                                     2,
                                     3,
                                     4,
                                     5,
                                     6
                                ],
                                 'time': 
                                {
                                    'time': '1000',
                                     'timeSection': 0
                                }
                            },
                             'reservChargeSet': False,
                             'reservFatcSet': 
                            {
                                'defrost': False,
                                 'airTemp': 
                                {
                                    'value': '14H',
                                     'unit': 0,
                                     'hvacTempType': 1
                                },
                                 'airCtrl': 0,
                                 'heating1': 0
                            }
                        }
                    },
                     'reservFlag': 0,
                     'ect': 
                    {
                        'start': 
                        {
                            'day': 9,
                             'time': 
                            {
                                'time': '1200',
                                 'timeSection': 0
                            }
                        },
                         'end': 
                        {
                            'day': 9,
                             'time': 
                            {
                                'time': '1200',
                                 'timeSection': 0
                            }
                        }
                    },
                     'targetSOClist': 
                    [
                        
                        {
                            'targetSOClevel': 100,
                             'dte': 
                            {
                                'rangeByFuel': 
                                {
                                    'evModeRange': 
                                    {
                                        'value': 437,
                                         'unit': 1
                                    },
                                     'totalAvailableRange': 
                                    {
                                        'value': 437,
                                         'unit': 1
                                    }
                                },
                                 'type': 2
                            },
                             'plugType': 0
                        },
                         
                        {
                            'targetSOClevel': 100,
                             'dte': 
                            {
                                'rangeByFuel': 
                                {
                                    'evModeRange': 
                                    {
                                        'value': 437,
                                         'unit': 1
                                    },
                                     'totalAvailableRange': 
                                    {
                                        'value': 437,
                                         'unit': 1
                                    }
                                },
                                 'type': 2
                            },
                             'plugType': 1
                        }
                    ]
                }
            },
             'ign3': False,
             'hoodOpen': False,
             'transCond': True,
             'steerWheelHeat': 0,
             'sideBackWindowHeat': 0,
             'tirePressureLamp': 
            {
                'tirePressureLampAll': 0,
                 'tirePressureLampFL': 0,
                 'tirePressureLampFR': 0,
                 'tirePressureLampRL': 0,
                 'tirePressureLampRR': 0
            },
             'battery': 
            {
                'batSoc': 84,
                 'batState': 0
            },
             'lampWireStatus': 
            {
                'stopLamp': 
                {
                    'stopLampStatus': False,
                     'leftLamp': False,
                     'rightLamp': False
                },
                 'headLamp': 
                {
                    'headLampStatus': False,
                     'leftLowLamp': False,
                     'rightLowLamp': False,
                     'leftHighLamp': False,
                     'rightHighLamp': False,
                     'leftBifuncLamp': False,
                     'rightBifuncLamp': False
                },
                 'turnSignalLamp': 
                {
                    'turnSignalLampStatus': False,
                     'leftFrontLamp': False,
                     'rightFrontLamp': False,
                     'leftRearLamp': False,
                     'rightRearLamp': False
                }
            },
             'smartKeyBatteryWarning': False,
             'breakOilStatus': False,
             'sleepModeCheck': True,
             'time': '20230411131335',
             'remoteWaitingTimeAlert': 
            {
                'remoteControlAvailable': 1,
                 'remoteControlWaitingTime': 168,
                 'elapsedTime': '00:03:04'
            },
             'systemCutOffAlert': 0,
             'tailLampStatus': 0,
             'hazardStatus': 0
        },
         'odometer': 
        {
            'value': 0,
             'unit': 1
        }
    }
)

}
targetSOClist:

[

{
    'targetSOClevel': 100,
     'dte': 
    {
        'rangeByFuel': 
        {
            'evModeRange': 
            {
                'value': 437,
                 'unit': 1
            },
             'totalAvailableRange': 
            {
                'value': 437,
                 'unit': 1
            }
        },
         'type': 2
    },
     'plugType': 0
},
 
{
    'targetSOClevel': 100,
     'dte': 
    {
        'rangeByFuel': 
        {
            'evModeRange': 
            {
                'value': 437,
                 'unit': 1
            },
             'totalAvailableRange': 
            {
                'value': 437,
                 'unit': 1
            }
        },
         'type': 2
    },
     'plugType': 1
}

]
Summary:
Target SOC level : 100
Target SOC range : 437
Target SOC level : 100
Target SOC range : 437
Last updated at : 2023-04-11 13:13:35+02:00
Location Last updated at: 2023-04-11 13:13:33+02:00
Location : (10.169544, 55.977997)
Air temperature : 15.0
Driving range : 431.0
Charge limits AC : 100
Charge limits DC : 100
Odometer : 0
Total driving range : 431.0
Battery SOC : 98
12V percentage : 84
Locked : False

TypeError: 'type' object is not subscriptable

I get the following TypeError. I'm using Python3.8 (with no possibility to upgrade). So maybe there is a way to solve this for Python3.8 users?

[0] => Traceback (most recent call last):
[1] => File "monitor/monitor.py", line 42, in
[2] => from hyundai_kia_connect_api import VehicleManager
[3] => File "/www/htdocs/xxx/ioniq/monitor/hyundai_kia_connect_api/init.py", line 3, in
[4] => from .ApiImpl import ApiImpl, ClimateRequestOptions
[5] => File "/www/htdocs/xxx/ioniq/monitor/hyundai_kia_connect_api/ApiImpl.py", line 11, in
[6] => from .Vehicle import Vehicle
[7] => File "/www/htdocs/xxx/ioniq/monitor/hyundai_kia_connect_api/Vehicle.py", line 34, in
[8] => class MonthTripInfo:
[9] => File "/www/htdocs/xxx/ioniq/monitor/hyundai_kia_connect_api/Vehicle.py", line 39, in MonthTripInfo
[10] => day_list: list[DayTripCounts] = field(default_factory=list)
[11] => TypeError: 'type' object is not subscriptable

error running monitor.py

seeing the following error when running monitor.py

I am running the package in a docker container as described by Andre1Becker
`Idea is that thereafter you can analyze the information over time,
e.g. with Excel:

  • odometer over time
  • average drive per day/week/month over time
  • SOC over time
  • 12V battery over time
  • charging pattern over time
  • visited places
    : No such file or directory
    import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
    import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
    import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
    ./monitor.py: line 39: from: command not found
    ./monitor.py: line 40: from: command not found
    ./monitor.py: line 41: from: command not found
    ./monitor.py: line 42: from: command not found
    ./monitor.py: line 43: syntax error near unexpected token (' ./monitor.py: line 43: from monitor_utils import ('
    `

monitor.py does not generate monitor.dailystats.csv

Describe the bug
monitor.py does not generate monitor.dailystats.csv

Versions

  • hyundai_kia_connect_monitor version: R3.20.0
  • Python version: 3.11
  • Operating System: Debian 12

Screenshots
Debug

application Bluelink is OK, monitor.csv and monitor.tripinfo.csv is OK

Thanks Libor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.