Releases: ZuinigeRijder/hyundai_kia_connect_monitor
HyundaiBlueLinkAPIUSA Vehicle.daily_stats NOT consistent with other region implementations
Support daily_stats cumulative data for HyundaiBlueLinkAPIUSA.
Introduced setting for including regeneration in consumption daily stats
Added to monitor.cfg the setting include_regenerate_in_consumption.
In R3.23.0 the regeneration is taken into account for the consumption in daily stats, to better match the boardcomputer values. However, some users have better results in the old situation. Included a setting, default is the old situation before R3.23.0.
dailystats: fix that the consumption matches the boardcomputer by including the regeneration
It turns out that the consumption shown in the car is calculated including regeneration. This release fixes the calculation of daily stats. Now the daily stats consumption figures should better match with the consumption figures shown in the car.
Changed SOC% into float, because newer Kona and ccNC cars can return half percentages
Changed SOC% into float, because newer Kona and ccNC cars can return half percentages.
summary.py takes now into account the half percentages of SOC% and computation is done with floats.
Allow % sign in password
By default, the % sign is used by configparser to allow interpolation of entries, so you can chain things together. As that won't be used here, and people might have a % sign in their passord, it is better to disable interpolation.
See #59
Same construct used in debug.py
Show distance with 1 decimal and strip .0 in many places
The Kona 2024 model uses the newer ccNC infotainment system and the hyundai_kia_connect_api is different in several aspects. The API returns distances sometimes 1 decimal. There was a request to show this, e.g. for daily stats it is interesting for small trips.
Changed that 1 decimal is shown for distance/odometer.
Also changed in many places that when a float with one decimal is displayed, the .0 is stripped off. The effect is that it will show only the decimal when it is interesting.
Added examples of supported cars to README.
Updated requirements.txt to refer to latest hyundai_kia_connect_api (for support of ccNC infotainment).
Support for new EU models, e.g. Kia EV9, Hyundai Kona model 2024
hyundai_kia_connect_api v3.12.3 supports now newer EU models, like Kia EV9 and Hyundai Kona model 2024, which have an connected car Navigation Cockpit ccNC infotainment system.
Updated requirements.txt.
When you have a newer EU model, make sure to update the hyundai_kia_connect_api subdirectory with v3.12.3 or above.
Note that not all information is available yet, like EV range is currently missing. But hyundai_kia_connect_monitor should be usable for the EU new models.
New: Read .cfg files in current directory or in python script directory
Previously the .cfg files were read in the directory where the python scripts were located.
See this discussion: #56
Now the reading of .cfg files first looks in the current directory and then look into the python script directory. monitor.cfg is also read in the other scripts and also summary.cfg and translations.csv.
summary.py: fix trip was wrongly on the next day
- summary.py: removed skipping identical lines with only date-stamp difference, because of side-effects: trip was wrongly on the next day
- monitor.py: avoid exception when odometer is not filled
- made it possible to run the python scripts in another directory, the configuration files are searched on the directory where the python scripts are located
Avoid possible geocode_name exception
- avoid exception on geocode_name by checking for None in monitor.py
- added asking for tripinfo in debug.py