No error when connection through API V2 to a go-e V3 charger
Current Behavior
The following errors appear in openhab.log, go-e charger thing remains in UNKNOWN state:
2022-05-11 12:15:50.072 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected a long but was 240.3444 at line 1 column 89 path $.wh
at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:307) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:297) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:963) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:928) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:877) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:848) ~[?:?]
at org.openhab.binding.goecharger.internal.handler.GoEChargerV2Handler.getGoEData(GoEChargerV2Handler.java:347) ~[?:?]
at org.openhab.binding.goecharger.internal.handler.GoEChargerBaseHandler.refresh(GoEChargerBaseHandler.java:140) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NumberFormatException: Expected a long but was 240.3444 at line 1 column 89 path $.wh
at com.google.gson.stream.JsonReader.nextLong(JsonReader.java:966) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$11.read(TypeAdapters.java:305) ~[?:?]
... 15 more
Context
Set-up of a new go-e charger. This is my first attempt to set-up a go-e charger so have no idea of any specific change that could explain the error.
Using the same charger with API V1 version works (I do have some transient connection errors - timeouts - due to unreliable Wifi connection but I believe this is not related).
Expected Behavior
No error when connection through API V2 to a go-e V3 charger
Current Behavior
The following errors appear in openhab.log, go-e charger thing remains in UNKNOWN state:
Context
Set-up of a new go-e charger. This is my first attempt to set-up a go-e charger so have no idea of any specific change that could explain the error. Using the same charger with API V1 version works (I do have some transient connection errors - timeouts - due to unreliable Wifi connection but I believe this is not related).
Your Environment
go-e charger HW rev 3 running firmware 053.1
openHAB: