Skip to content

pressure values now in psi/bar/kPa, for smartEQ at control TPMS config improvement - #259

Merged
dexterbg merged 3 commits into
openvehicles:masterfrom
zorgms:smartEQ
Sep 13, 2026
Merged

dexterbg merged 3 commits into
openvehicles:masterfrom
zorgms:smartEQ

Conversation

@zorgms

@zorgms zorgms commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

You can now select between psi, bar, and kPa for the tire pressure in the settings.

Changes implemented for smart EQ only:
1.
Dynamic unit conversion:
Display: Values ​​in the summary and the edit dialog are now automatically converted from kPa (vehicle default) to the selected unit. Input: Upon saving, your inputs are automatically converted back to kPa before being sent to the vehicle firmware.

Improved edit dialog:
Input field labels (hints) in the dialog now dynamically adjust to the selected unit (e.g., "Front Target (bar)" instead of a fixed "kPa"). Input fields now accept decimal numbers (important for bar values).

Technical details:
Conversion factors: 1 bar = 100 kPa and 1 psi ≈ 6.895 kPa. The conversion handles regional differences in decimal separators (comma vs. dot) robustly. The control view now consistently displays the same units you have configured for live data in the global app settings.

To clarify that charging cannot be stopped once the set SoC limit is reached for the smart EQ, a relevant explanatory note has been added to the slider.

Changes implemented:
1.
Dynamic unit conversion:
Display: Values ​​in the summary (updateTPMSConfigUI) and the edit dialog (showEditTPMSConfigDialog) are now automatically converted from kPa (vehicle default) to the selected unit.
Input: Upon saving (saveTPMSConfig), your inputs are automatically converted back to kPa before being sent to the vehicle firmware.

2.
Improved edit dialog:
Input field labels (hints) in the dialog now dynamically adjust to the selected unit (e.g., "Front Target (bar)" instead of a fixed "kPa").
Input fields now accept decimal numbers (important for bar values).

3.
Technical details:
Conversion factors: 1 bar = 100 kPa and 1 psi ≈ 6.895 kPa.
The conversion handles regional differences in decimal separators (comma vs. dot) robustly.
The control view now consistently displays the same units you have configured for live data in the global app settings.

4.
To clarify that charging cannot be stopped once the set SoC limit is reached for the smart EQ, a relevant explanatory note has been added to the slider.
@dexterbg
dexterbg merged commit addf12d into openvehicles:master Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants