# 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:** 1

<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:** [July 14, 2025, 6:43pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/1 "2025-07-14T18:43:16Z")

</div>

![logo](https://raw.githubusercontent.com/openhab/openhab-docs/refs/heads/main/images/addons/evcc.svg)

This binding integrates [evcc](https://evcc.io), an extensible **E** lectric **V** ehicle **C** harge **C** ontroller and home energy management system.

The binding is compatible to evcc [version 0.123.1](https://github.com/evcc-io/evcc/releases/tag/0.123.1) or newer and was tested with [version 0.205.0](https://github.com/evcc-io/evcc/releases/tag/0.205.0).

**Please not that in evcc 0.207.0 there is a breaking change in the API, users need to intsall this binding instead of the old one!**

## TODO

- Add Things for aux end ext (I need some real JSON elements for this)
- Mark obsolete Things in UI
- Use WebSocket instead of http client to receive data from evcc
- …

## Changelog

### Version 1.6 - Release

- Fix channel creation for forecasts
- Change API layer to a websocket connection, for incoming data

### Version 1.5 - Release

- Add Thing forecast: You can now use the forecast data collected from evcc in your openHAB instance. Persistence Service is neccessery with the strategy forecast
- All channel states will be set to UNDEF on initialization
- Overall improvement to the maintainability and readability of the code

### Version 1.4 - Release

- Add Thing plan. Vehicle plans can now be updated through the new thing, please have a look at the README.md of the binding
- Some improvements to the maintainability and readability of the code

### Version 1.3 - Release

- Fix some issues
- Textual configuration now possible for all things

### Version 1.2 - Release

- Change and add channels for heating loadpoint

### Version 1.1 - Release

- Bugfix heating loadpoint not showing °C instead of %

### Version 1.0 - Release Version

- Hotfix smartCostType bug

### Version 0.9 - Release Version

- improve the code
- fix missing channel label bug

### Version 0.8 - Release Candidate

- fix last findings
- minor code improvements
- for openHAB 4.3.7 Java 21 is not required anymore

### Version 0.7

- fix review findings
- overall code improvements

### Version 0.6

- fixing polling interval fixed to 30s
- add a few more channels
- fix review findings

### Version 0.5

- fixing minor bugs

### Version 0.4

- added missing channels for loadpoint thing
- improve how new channels will be reported
- fix first review findings

### Version 0.3

- extend the log function for unimplemented datapoints
  - now there will be generated a file

- generated default translations
- update thing descriptions
- slightly enhance the logic of parsing state the response

### Version 0.2

- add functionality to log unimplemented datapoints
- make the binding ready for next evcc version (breaking API change)
- updated Thing descriptions
- updated config
- fix SAT findings

### Version 0.1

- initial release

## Resources

[evcc-binding-5.3.0](https://github.com/marcelGoerentz/openhab-addons/releases/download/evcc_binding_release_1.6/org.openhab.binding.evcc-5.3.0-SNAPSHOT.jar)

### Documentation

> **[evcc - Bindings](https://next.openhab.org/addons/bindings/evcc/)**
>
> This binding integrates evcc, an extensible \*\*E\*\*lectric \*\*V\*\*ehicle \*\*C\*\*harge \*\*C\*\*ontroller and home energy management system.

### Source Code

> **[GitHub - marcelGoerentz/openhab-addons: Add-ons for openHAB](https://github.com/marcelGoerentz/openhab-addons)**
>
> Add-ons for openHAB

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 17, 2025, 9:44am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/2 "2025-07-17T09:44:46Z")

</div>

evcc binding is official part of oh addons, have you considered creating a PR ?  
4.3.6 is being discussed to get released today.

---

<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:** [July 17, 2025, 10:08am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/3 "2025-07-17T10:08:21Z")

</div>

Yeah, PR is already created.  
But I doubt it will make it in the release today.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 17, 2025, 10:16am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/4 "2025-07-17T10:16:11Z")

</div>

get me the number, 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:** [July 17, 2025, 10:19am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/5 "2025-07-17T10:19:51Z")

</div>

[[evcc] Rework the binding, add missing datapoints and make it future ready by marcelGoerentz · Pull Request #18946 · openhab/openhab-addons](https://github.com/openhab/openhab-addons/pull/18946)

18946

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 17, 2025, 10:22am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/6 "2025-07-17T10:22:16Z")

</div>

yeah just found it.  
What I don’t fully get is: is this required for the binding to keep working with newer evcc versions?  
lsiepel (reviewer) says it is not, not qualifying it for a backport to 4.3

---

<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:** [July 17, 2025, 10:23am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/7 "2025-07-17T10:23:17Z")

</div>

It is necessary for the upcoming evcc version.  
Their API response is going to change.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 17, 2025, 10:30am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/8 "2025-07-17T10:30:10Z")

</div>

You should be commenting that in the PR then.  
Will it be a breaking change for OH, too, or can someone with a working OH/evcc binding config just upgrade?

PS: can you please give a pointer to the API change announcement

---

<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:** [July 17, 2025, 10:39am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/9 "2025-07-17T10:39:24Z")

</div>

> You should be commenting that in the PR then.

I’ve put it into the PR, but maybe it is not obvious enough:  
[https://github.com/evcc-io/evcc/pull/22299](https://github.com/evcc-io/evcc/pull/22299)

> Will it be a breaking change for OH, too, or can someone with a working OH/evcc binding config just upgrade?

Just upgrade won’t work. I’ve implemented a bridge thats needed to be set up, maybe someone can write or help me to write an upgrade description since all the relevant data is already in the old binding.

---

<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:** [July 17, 2025, 11:07am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/10 "2025-07-17T11:07:23Z")

</div>

I’ve just read the docu and it seems like it is not possible to give update instructions to change the thing-type ☹  
So this will be a breaking change for openHAB, too.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 17, 2025, 11:16am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/11 "2025-07-17T11:16:08Z")

</div>

Okay, then it is in line with OH proceedings to not backport it.  
Breaking changes should only be introduced with major OH releases (5, that is), that’s @lsiepel’s point in the review.

---

<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:** [July 17, 2025, 11:19am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/12 "2025-07-17T11:19:58Z")

</div>

> Okay, then it is in line with OH proceedings to not backport it.  
> Breaking changes should only be introduced with major OH releases (5, that is), that’s @lsiepel’s point in the review.

That’s the reason why he told me to add it in the addon marketplace.  
So whoever is updating evcc to 0.206.0 and leave openHAB at 4.3.x needs to download this evcc binding from the market place to integrate evcc to his openHAB instance!

---

<div class="post-metadata">

**Author:** ![Elsing](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/a3d4f5/32.png) [@Elsing](https://community.openhab.org/u/Elsing)\
**Post date:** [August 4, 2025, 10:57pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/13 "2025-08-04T22:57:42Z")

</div>

Hi, I tried this version for EVCC 0.207 and it mostly works. I can’t get the “site” thing to work, it gives an error:

```auto
2025-08-05 00:50:43.205 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.evcc.internal.handler.EvccSiteHandler@13d4a2': JsonNull

```

So it stays in HANDLER\_INITIALIZING\_ERROR.

I also don’t get a Grid thing (with the overview of the power distribution from the release binding), I do get PV, Battery, Loadpoint and Statistics things to work.

It looks to me that this version is not working correctly working, is this known ?

[OH 4.3.6, evcc binding jar from July 31, 2025 1:58 PM, Huawei EMMA, KEBA P30 X with S10]

---

<div class="post-metadata">

**Author:** ![rbeudel](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@rbeudel](https://community.openhab.org/u/rbeudel)\
**Post date:** [August 6, 2025, 12:05pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/14 "2025-08-06T12:05:43Z")

</div>

I am running OH4.3.6 with linked Binding 4.3.7 without problems.

---

<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 6, 2025, 12:13pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/15 "2025-08-06T12:13:12Z")

</div>

Sorry for my late reply. But the binding is working perfectly fine with 0.207.1 on my site right now.

Did you run a former version of it?

Maybe you need to update / refresh / reinstall the binding.

---

<div class="post-metadata">

**Author:** ![Elsing](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/a3d4f5/32.png) [@Elsing](https://community.openhab.org/u/Elsing)\
**Post date:** [August 6, 2025, 4:05pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/16 "2025-08-06T16:05:50Z")

</div>

Hi both, thanks for the replies. It works for me too when it comes to the server, PV, loadpoint, battery and statistics things. What doesn’t work apparently for me is the site thing, that one stays in error, as I wrote above. This works for you ?

The 2nd issue is that the the EVCC is connected via Modbus to the Huawei EMMA control unit and on the web interface of EVCC I do see the Grid measurements, how much power is imported/exported and use in the house. This was present in the old ECVV 4.3.0 binding from what I see. With the new version this information is gone. Could it be that the EMMA is not identified as a Grid meter with the new version of the binding and therefore there is no object created ?

Many thanks in advance for your help and support in this. Best

---

<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 6, 2025, 4:57pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/17 "2025-08-06T16:57:15Z")

</div>

Hmm, did you try to reinitialize the Thing?

The site Thing provides the info contained in the root JSON object, so if the other Things are working this one should work too.

---

<div class="post-metadata">

**Author:** ![Elsing](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/a3d4f5/32.png) [@Elsing](https://community.openhab.org/u/Elsing)\
**Post date:** [August 6, 2025, 5:11pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/18 "2025-08-06T17:11:06Z")

</div>

Hi, yes, I tried, also deleting the site Thing and rediscovery. The error is always JsonNull as I wrote. I am on the very July 31, 2025 11:58 AM which was the first I installed. My installation of the ECVV is new, so I am building it up right now. Is there anything I could do to debug this and provide you with meaningful information ?

---

<div class="post-metadata">

**Author:** ![Elsing](https://community.openhab.org/letter_avatar_proxy/v4/letter/e/a3d4f5/32.png) [@Elsing](https://community.openhab.org/u/Elsing)\
**Post date:** [August 10, 2025, 12:41pm UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/19 "2025-08-10T12:41:22Z")

</div>

Hi, I am still totally in the dark what is going on. I tried installing Temurin JDK (Java 21) to see if this improves the situation, and reinstalled the binding. Same. The site Thing gives a error:

```auto
"

```

2025-08-10 14:32:39.710 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing ‘evcc:site:71a0ddfadb:site’: JsonNull

java.lang.UnsupportedOperationException: JsonNull

```auto
at com.google.gson.JsonElement.getAsString(JsonElement.java:187) \~\[bundleFile:?\]

at org.openhab.binding.evcc.internal.handler.EvccSiteHandler.lambda$0(EvccSiteHandler.java:87) \~\[?:?\]

at java.util.Optional.ifPresent(Optional.java:178) \~\[?:?\]

at org.openhab.binding.evcc.internal.handler.EvccSiteHandler.initialize(EvccSiteHandler.java:77) \~\[?:?\]

at jdk.internal.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) \~\[?:?\]

at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) \~\[?:?\]

at java.lang.reflect.Method.invoke(Method.java:569) \~\[?:?\]

at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:147) \[bundleFile:?\]

at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) \[bundleFile:?\]

at java.util.concurrent.FutureTask.run(FutureTask.java:264) \[?:?\]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) \[?:?\]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) \[?:?\]

at java.lang.Thread.run(Thread.java:840) \[?:?\]

```

“

The Grid Thing is not created. I am not sure if both are linked, I started reading the code of the Site Thing, but I need some help in debugging this, many thanks in advance. It seems this needs to work to get Grid measurements.

---

<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 14, 2025, 8:02am UTC](https://community.openhab.org/t/evcc-binding-5-0-0-0-6-0-0-0/164954/20 "2025-08-14T08:02:37Z")

</div>

The binding is now in the latest 5.1.0-Snapshot build.

Nevertheless I’ve updated the jar for 4.3.x again. Please feel free to test it again.

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