Skip to content

fix: correct battery temperature scaling for HW 2.0 FW ≥154 (use divi…#57

Open
CLeendert wants to merge 1 commit into
jaapp:masterfrom
CLeendert:fix/battery-temp-scaling-hw2-fw154
Open

fix: correct battery temperature scaling for HW 2.0 FW ≥154 (use divi…#57
CLeendert wants to merge 1 commit into
jaapp:masterfrom
CLeendert:fix/battery-temp-scaling-hw2-fw154

Conversation

@CLeendert
Copy link
Copy Markdown

Summary

Fix battery temperature scaling for HW 2.0, FW ≥154.
Problem

Temps shown 10× too high due to divisor 0.1 (raw / 0.1 → ×10).
Change

Set SCALING_MATRIX['bat_temp'][(HW_VERSION_2, 154)] = 1 to use raw °C.
Notes

If devices return deci-°C integers (e.g., 253 → 25.3°C), divisor should be 10.0. Maintainer feedback welcomed on raw unit format.

image

@MarijnVE79
Copy link
Copy Markdown

hi there's also an issue with the remainin battery capacity

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