# Evcc Binding \[5.0.0.0;6.0.0.0)

**URL:** <https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954>\
**Category:** Bundles\
**Tags:** binding, beta, published\
**Created:** [July 14, 2025, 6:43pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954 "2025-07-14T18:43:16Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![the-ninth](https://community.openhab.org/user_avatar/community.openhab.org/the-ninth/32/95557_2.png) [@the-ninth](https://community.openhab.org/u/the-ninth)\
**Post date:** [July 17, 2026, 5:51am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/146 "2026-07-17T05:51:18Z")

</div>

With openHAB 5.2.0, the official binding works again with the current evcc version.

Thanks a lot to the developer! 🙂

---

<div class="post-metadata">

**Author:** ![cweitkamp](https://community.openhab.org/user_avatar/community.openhab.org/cweitkamp/32/56864_2.png) [@cweitkamp](https://community.openhab.org/u/cweitkamp)\
**Post date:** [August 1, 2026, 8:50am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/147 "2026-08-01T08:50:18Z")

</div>

I tried to add the forecast Things for “grid” and “feeding” prices today. Unfortunately the discovered Things do not have any Channels. Do I have to add them manually?

 ![Screenshot_2026-08-01-10-47-56-44_40deb401b9ffe8e1df2f1cc5ba480b12](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/f/1f79ee093a7a62859b2cf81cb2b6bb536b63ad02.jpeg)

```yaml
version: 1
things:
  evcc:forecast:api:grid:
    bridge: evcc:server:api
    label: Forecast Grid
    config:
      subType: grid

```

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [August 1, 2026, 10:49am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/148 "2026-08-01T10:49:02Z")

</div>

No, they should be automatically added when the forecasts has been detected within the API response.

---

<div class="post-metadata">

**Author:** ![cweitkamp](https://community.openhab.org/user_avatar/community.openhab.org/cweitkamp/32/56864_2.png) [@cweitkamp](https://community.openhab.org/u/cweitkamp)\
**Post date:** [August 1, 2026, 6:44pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/149 "2026-08-01T18:44:46Z")

</div>

Hm, for “solar” it is working. for the other it does not. How can I find out what is wrong?

My response from evcc API looks very similar to what is added to the bindings test code.

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [August 1, 2026, 6:49pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/150 "2026-08-01T18:49:35Z")

</div>

Do you got any messages in the log for this binding?

---

<div class="post-metadata">

**Author:** ![cweitkamp](https://community.openhab.org/user_avatar/community.openhab.org/cweitkamp/32/56864_2.png) [@cweitkamp](https://community.openhab.org/u/cweitkamp)\
**Post date:** [August 1, 2026, 6:52pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/151 "2026-08-01T18:52:11Z")

</div>

Only when setting log level to `DEBUG` or `TRACE`. But nothing related to the forecast stuff except for the `EvccDiscoveryService`.

---

<div class="post-metadata">

**Author:** ![the-ninth](https://community.openhab.org/user_avatar/community.openhab.org/the-ninth/32/95557_2.png) [@the-ninth](https://community.openhab.org/u/the-ninth)\
**Post date:** [August 2, 2026, 3:54am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/152 "2026-08-02T03:54:21Z")

</div>

@mGoerentz There is another upcoming breaking change in the evcc API:

> <https://github.com/evcc-io/evcc/pull/32391>
>
> replaces #31765
> 
> The forecast is the largest payload evcc publishes and RFC333…9 timestamps are the bulk of it. Publishing slots as \`\[start, end, value\]\` and solar entries as \`\[ts, val\]\` with unix seconds cuts it by two thirds, measured on a live instance with 2784 entries: 209 609 → 72 745 bytes.
> 
> Loadpoint plan/plan-preview and \`/api/tariff\` responses are untouched, they still use \`api.Rate\` with RFC3339 strings.
> 
> \- forecast slots are published as \`\[start, end, value\]\`, solar timeseries entries as \`\[ts, val\]\`, timestamps in unix seconds
> \- the UI expands the arrays once in the store, so components keep reading \`{ start, end, value }\` and \`{ ts, val }\`, now in unix milliseconds instead of RFC3339 strings
> \- no \`encoding/json/v2\`, so this builds on the current Go baseline and does not need the 1.27 upgrade that #31765 pulled in
> 
> \*\*Breaking Change\*\*
> 
> \- \[\] ha integration relevant? @marq24
> \- \[\] adjust iOS app widgets https://github.com/evcc-io/app/pull/225 @naltatis  
> \- \[x\] Garmin App https://github.com/METIQ-Solutions/evcc-garmin/issues/180 @TheNinth7
> \- \[\] evcc-io/docs: API documentation of the forecast payload
> 
> 🤖 Generated with \[Claude Code\](https://claude.com/claude-code)

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [September 4, 2026, 11:17am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/153 "2026-09-04T11:17:54Z")

</div>

Yep already worked on the fix + on top you will get a websocket connection to your server instance. → No more polling from openHAB to evcc, evcc will direclty communicate changes to openHAB 🙂

You can find the PR here: [Pull requests · openhab/openhab-addons](https://github.com/openhab/openhab-addons/pull/21580)

I will drop compatibility to openHAB 4.x, since the 5.x is out long enough.

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 5, 2026, 6:19am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/154 "2026-09-05T06:19:10Z")

</div>

Thanks for the new release.  
just installed it from the marketplace. It’s Sept 4th, so should be 1.6, right?  
I noticed the following error.

> **log**
>
> ```auto
> 2026-09-05 07:00:08.663 [WARN] [internal.handler.EvccWsBridgeHandler] - Listener evcc:loadpoint:evcc_server:wallbox failed to process EVCC update
> java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonArray.get(int)" because the return value of "com.google.gson.JsonObject.getAsJsonArray(String)" is null
> at org.openhab.binding.evcc.internal.handler.EvccLoadpointHandler.initializeThingFromLatestState(EvccLoadpointHandler.java:128)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.onFullState(EvccWsBridgeHandler.java:151)
> at org.openhab.binding.evcc.internal.api.EvccWebSocketClient.handleMessage(EvccWebSocketClient.java:187)
> at org.openhab.binding.evcc.internal.api.EvccWebSocketAdapter.onMessage(EvccWebSocketAdapter.java:55)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
> at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
> at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessage(JettyAnnotatedEventDriver.java:301)
> at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
> at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:67)
> at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame(JettyAnnotatedEventDriver.java:287)
> at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:152)
> at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:326)
> at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:202)
> at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:225)
> at org.eclipse.jetty.websocket.common.Parser.parseSingleFrame(Parser.java:259)
> at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:459)
> at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:440)
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
> at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
> at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> 
> ```

I wasn’t able to catch the debug log but I’ll try if that helps.  
And is it intended that you cannot set the log level in the UI?

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [September 5, 2026, 6:26am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/155 "2026-09-05T06:26:38Z")

</div>

Hey, thanks for the fast response.

You should be able to set the log level via UI.  
If it doesn’t work then there’s something else wrong.

Regarding the captured log message I will investigate and create a fix as soon as possible.

Except of the message the binding is working correctly?

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 5, 2026, 7:08am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/156 "2026-09-05T07:08:23Z")

</div>

so far it looks good.  
After rebooting openhab there seems to be a little race condition: The car didn’t come online, only after deactivating and activating it turned green again.  
I tried to reproduce but this time it didn’t happen.

Regarding setting the debug level in the UI: I don’t get the binding configuration. It’s just empty. I rechecked other bindings but they work normally.

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [September 7, 2026, 6:59am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/157 "2026-09-07T06:59:20Z")

</div>

Hi, I’ve updated the binding (same release version). Please reinstall and check if the race condition still reappears.

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 7, 2026, 7:27pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/158 "2026-09-07T19:27:12Z")

</div>

@mGoerentz  
Hi, the marketplace add-on is still from Sept. 4th and in the GitHub release there is no jar. Could you add it please?

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [September 8, 2026, 6:34am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/159 "2026-09-08T06:34:59Z")

</div>

Sorry, binary is uploaded now.

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 8, 2026, 7:52pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/160 "2026-09-08T19:52:04Z")

</div>

One warning with a Java stacktrace

> **log**
>
> ```php
> 2026-09-08 13:00:00.423 [WARN] [internal.handler.EvccWsBridgeHandler] - Listener evcc:vehicle:evcc_server:a6-e-tron failed to process EVCC update
> java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonObject.getAsJsonObject(String)" because the return value of "com.google.gson.JsonObject.getAsJsonObject(String)" is null
> at org.openhab.binding.evcc.internal.handler.EvccVehicleHandler.initializeThingFromLatestState(EvccVehicleHandler.java:83)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.onFullState(EvccWsBridgeHandler.java:151)
> at org.openhab.binding.evcc.internal.api.EvccWebSocketClient.handleMessage(EvccWebSocketClient.java:187)
> at org.openhab.binding.evcc.internal.api.EvccWebSocketAdapter.onMessage(EvccWebSocketAdapter.java:55)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
> at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
> at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessage(JettyAnnotatedEventDriver.java:301)
> at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
> at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:67)
> at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame(JettyAnnotatedEventDriver.java:287)
> at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:152)
> at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:326)
> at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:202)
> at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:225)
> at org.eclipse.jetty.websocket.common.Parser.parseSingleFrame(Parser.java:259)
> at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:459)
> at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:440)
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
> at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
> at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> 
> ```

Anything else I should provide?

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [September 8, 2026, 8:05pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/161 "2026-09-08T20:05:01Z")

</div>

Hmmm this should not happen anymore. I need to dig deeper.

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 8, 2026, 8:06pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/162 "2026-09-08T20:06:39Z")

</div>

let me check first one more time that I didn’t mix logs.

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 8, 2026, 8:11pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/163 "2026-09-08T20:11:45Z")

</div>

Here the correct latest log:

> **log**
>
> ```php
> 2026-09-08 22:09:34.901 [WARN] [internal.handler.EvccWsBridgeHandler] - Listener evcc:loadpoint:evcc_server:wallbox failed to process EVCC update
> java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonArray.get(int)" because the return value of "com.google.gson.JsonObject.getAsJsonArray(String)" is null
> at org.openhab.binding.evcc.internal.handler.EvccLoadpointHandler.initializeThingFromLatestState(EvccLoadpointHandler.java:128)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.onFullState(EvccWsBridgeHandler.java:151)
> at org.openhab.binding.evcc.internal.api.EvccWebSocketClient.handleMessage(EvccWebSocketClient.java:187)
> at org.openhab.binding.evcc.internal.api.EvccWebSocketAdapter.onMessage(EvccWebSocketAdapter.java:55)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
> at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
> at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextMessage(JettyAnnotatedEventDriver.java:301)
> at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
> at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:67)
> at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onTextFrame(JettyAnnotatedEventDriver.java:287)
> at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:152)
> at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:326)
> at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:202)
> at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:225)
> at org.eclipse.jetty.websocket.common.Parser.parseSingleFrame(Parser.java:259)
> at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:459)
> at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:440)
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
> at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
> at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> 2026-09-08 22:09:35.588 [WARN] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
> java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonObject.getAsJsonObject(String)" because the return value of "com.google.gson.JsonObject.getAsJsonObject(String)" is null
> at org.openhab.binding.evcc.internal.handler.EvccVehicleHandler.initializeThingFromLatestState(EvccVehicleHandler.java:83)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.register(EvccWsBridgeHandler.java:169)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.lambda$5(EvccWsBridgeHandler.java:175)
> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> 2026-09-08 22:09:35.589 [WARN] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
> java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonObject.getAsJsonObject(String)" because the return value of "com.google.gson.JsonObject.getAsJsonObject(String)" is null
> at org.openhab.binding.evcc.internal.handler.EvccVehicleHandler.initializeThingFromLatestState(EvccVehicleHandler.java:83)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.register(EvccWsBridgeHandler.java:169)
> at org.openhab.binding.evcc.internal.handler.EvccWsBridgeHandler.lambda$5(EvccWsBridgeHandler.java:175)
> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> 
> ```

---

<div class="post-metadata">

**Author:** ![mGoerentz](https://community.openhab.org/user_avatar/community.openhab.org/mgoerentz/32/117429_2.png) [@mGoerentz](https://community.openhab.org/u/mGoerentz)\
**Post date:** [September 9, 2026, 12:51pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/164 "2026-09-09T12:51:43Z")

</div>

I think, its fixed now.  
Please reinstall and try again to trigger the issue.

---

<div class="post-metadata">

**Author:** ![Larsen](https://community.openhab.org/user_avatar/community.openhab.org/larsen/32/95475_2.png) [@Larsen](https://community.openhab.org/u/Larsen)\
**Post date:** [September 9, 2026, 4:50pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/165 "2026-09-09T16:50:58Z")

</div>

The log error is gone 🎊  
But the race condition is still happening and it’s mostly/always the cars that apparently try to get connected too soon.  
Do you need a trace-log?

[Previous page](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954.md?page=7)

[Next page](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954.md?page=9)
