31 Jul
2016
31 Jul
'16
7:03 p.m.
Hi everyone, ref: https://github.com/openvehicles/Open-Vehicle-Monitoring-System/commit/a20cd1... Changing the car_chargekwh scale from 1 kWh to 1/10 kWh was necessary to make this info useful for small batteries. Unfortunately the Java clients (Apps) while not even using this field will break on replacing the integer value by a float, as the Java int parser will throw an exception instead of parsing just the integer part. So the value remains unscaled in the message to not break compatibility with installed Apps. Clients evaluating the field need to scale the value themselves. Regards, Michael -- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
3541
Age (days ago)
3541
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Balzer