Thank you very much. That link worked.
Unfortunately the binding does not work for me. None of my items are updated as before.
I had the same issue and I recommend to use the latest one:
https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/addons/bundles/org.openhab.binding.volvooncall/2.5.6-SNAPSHOT/org.openhab.binding.volvooncall-2.5.6-SNAPSHOT.jar
@glhopital
Thanks a lot again for the revised version.
The bulb Warning works fine, too!
Awesome job!
Thanks for the hint on the new version. Seems that things are working again Will further check it out.
The following warnings I find in the openhab.log. Anything of importance?
2020-05-18 19:37:35.631 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler VehicleHandler of thing volvooncall:vehicle:YV1Lxxxxxxxxxxx tried accessing its bridge although the handler was already disposed.
2020-05-18 19:37:35.632 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler VehicleHandler tried updating the thing status although the handler was already disposed.
Same here - Openhab.log flooded with same Warning.
After an OH restart should should vanish. This seems to happen when a binding is replaced live and I did not find any grip to get it solved right now.
I know this error as well, but did not pay attention a lot, because I did not see a negative effect.
With the new version I just saw this after replacement as @glhopital mentioned.
Just in case you are bored, @glhopital
The tripID would also be helpful
Curious to know what do you do with the tripID ?
It’s just for trip statistics evaluation (driver, consumption, …) - so just nice to have.
Currently I check for the engine to go ON and OFF and check the distances to the car of the potential driver (my wife or myself).
If no one’s around, theft is possible
If I just would evaluate the tripID, I know, when it changed.
I struggle a bit with triggering this if the trip’s “to-location” changed.
My Volvo V90 CC has become offline as a thing, and I receive repeated warnings for NumberFormatException
(running openHAB 2.5.9 stable / 2.5.9 binding version):
[WARN ] [call.internal.handler.VehicleHandler] - Exception occurred during execution: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 2147499966 at line 1 column 27 path $.trips[0].id
org.openhab.binding.volvooncall.internal.VolvoOnCallException: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 2147499966 at line 1 column 27 path $.trips[0].id
at org.openhab.binding.volvooncall.internal.handler.VolvoOnCallBridgeHandler.getURL(VolvoOnCallBridgeHandler.java:142) ~[?:?]
at org.openhab.binding.volvooncall.internal.handler.VolvoOnCallBridgeHandler.getURL(VolvoOnCallBridgeHandler.java:127) ~[?:?]
at org.openhab.binding.volvooncall.internal.handler.VehicleHandler.updateTrips(VehicleHandler.java:199) ~[?:?]
at org.openhab.binding.volvooncall.internal.handler.VehicleHandler.queryApiAndUpdateChannels(VehicleHandler.java:173) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_222]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_222]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
Caused by: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 2147499966 at line 1 column 27 path $.trips[0].id
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:227) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:217) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[?:?]
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[?:?]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[?:?]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:888) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:853) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:802) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:774) ~[?:?]
at org.openhab.binding.volvooncall.internal.handler.VolvoOnCallBridgeHandler.getURL(VolvoOnCallBridgeHandler.java:135) ~[?:?]
... 10 more
Caused by: java.lang.NumberFormatException: Expected an int but was 2147499966 at line 1 column 27 path $.trips[0].id
at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1172) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:225) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:217) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[?:?]
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[?:?]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[?:?]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:888) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:853) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:802) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:774) ~[?:?]
at org.openhab.binding.volvooncall.internal.handler.VolvoOnCallBridgeHandler.getURL(VolvoOnCallBridgeHandler.java:135) ~[?:?]
... 10 more
Can you please file an issue in GitHub ?
Issue submitted:
Same with my XC60 (2016), but on 2.5.8-1
CORRECTION: 2.5.9 as well!
Same on my V70 on 2.5.8-1.
Same here. Volvo XC90 (2018).
When can we start to use this again?
Can someone pont me to the new jar for 2.5.X branch.
@glhopital
once again - thanks for your efforts on this binding!
I just changed to OH3 and found that tyre pressure changed from String (Normal / low) to Numbers (but also Normal / LowSoft).
Currently my tyres all are on 0 - which means OK, I guess?
Should the documentation maybe say (0, 1) for indicating Airpressure issues with “1”?