ev-server
ev-server copied to clipboard
Smart Charging does not use BigDecimal class!!!
Error 400 in calling the Smart Charging java web service:
3 x 67.124 = 201.372 so the Smart Charging service should not throw an exception!
In JS you can reproduce the error that may occur in Java:
Actions: -> Smart Charging Java has to be fixed -> All operation in Smart Charging integration in NodeJs has to use Decimal.Js or round to integer all the values -> Unit tests have to be adjusted accordingly