OCPP Server Plugin for linking electric car chargers!

Hey @bobf41,

as far as I can see in the configuration options of the Alfen there is only a single backoffice connection that can be active at the same time. So it will be either the backoffice of your employer or home assistant.

To work around that: I am interfacing to my Alfen charge point via modbus over TCP/IP. It allows me to read all sensors in the chargepoint. I am still working on writing the max current, so that is not working yet.

Best regards,
Hollie

Ah Nice, Max current is not needed for me. I have the loadbalance license for the P1 port so that is working by the Alfen Eve itself.

Is there anything you can share already to connect HA to the Alfen Eve?

Hey @bobf41

as soon as I have the max current setting up and running I’ll make a post with the details in a separate topic, as this is not OCPP related and I don’t want to hijack this thread.

The P1 port license you already have is required for this as this is the same license that is required to be able to activate the modbus interface. I am quite sure that you will need the max current setting if you want to use modbus. In the chargepoint config you can either select P1 load balancing or modbus load balancing but not both at the same time.

Regards,
Hollie

3 Likes

I’m interested in this as well. I was thinking to measure the Alfen power using a clamp instead, but if this can be achieved using a modbus, that would be even better :slight_smile:

Hello @denham

I will document my setup once it is running as expected. I have it working in prototype and am testing out dynamic charge current setting to enable maximum usage of locally generated electricity.

Expect something in the next week.

Kind regards,
Lieven

I have documented my setup here.

Best regards,
Lieven

2 Likes

for folks looking to buy a new EV charger… I’m wondering is there any list that shows what EV chargers have integrations with home assistant (particularly with local control)? My research led me to OCPP and this post/plugin… but reading here it doesn’t look like just buying an EV charger that is OCPP compliant will mean it will work in home-assistant or this plugin. Does anyone have this plugin working with an OCPP charger? Any suggestions on finding an EV charger with local control?

I’m tinkering with Wallbox Pulsar Pus and that has numerous ways of remote control. And I have all three running, but I have not started to use any Automations etc with them.

  1. Wallbox own app. Available locally and via cloud solution from Wallbox
  2. Integration through the “Walbox” plugin
  3. Integration through the “OCPP” plugin
1 Like

Does it support 1p3p?

I’d love to see some experiences with #2 and #3 and how they are used in HA locally. If anyone has any links or videos please share!

1 Like

I’ve had this work very well with a pulsar plus this winter. I use Ocpp to dynamically adjust maximum current delivered to not go beyond my main breaker capacity

The latency is around 1-3 seconds
I haven’t had any reliability issues

I am using your integration with ABB TAC-W22-T-R-0.
There are two sensors that report the energy used in current charging session (in KWh), tacw22 is the name I used for charger.
sensor.tacw22_energy_active_import_register
sensor.tacw22_energy_session
The first one gives some weird large value now and then (733501 KWh).
The second one seems to be OK.
Do you know why there are two sensors with similar data and why the first one gives these large wrong values?
Also, it seems the Amp control (through number.tacw22_maximum_current) does not work as expected when charging. It works OK if I change it when not charging.
Hoiw can I keep track of monthly and all time KWh used for charging the car? And can I somehow log all charging sessions?
Thank you

Hi @varialflip ,
I’ve just got my zjbeny OCPP wall charger, all connected via ethernet to home assistant. Just interested how you did the max amps setting. After trying this myself, the amps slider in HA doesn’t seem to change the charger max. I also have ‘amps delivered’ sensor which is also not matching the max amps set by the slider…
Am I missing something?

Haven’t had to adjust it lately, but I’m not using the same charger. If I remember correctly, it only adjusts while charging

Does anyone know how to send a cable lock command to the charger over OCPP?

I have got my Simpson & Partners charger (which supports OCPP 1.6) talking to my HA server and I can control charging and the charge current. But I cant figure out a way to send a lock command to the cable.

Can anyone tell me if I can control 2 of OCPP chargers? I currently have a ZJBeny BCP-A2N-L, & have just received a BCP-ATN-L 3 phase charger. Wondering if I can configure both? (Will I need to set up a second port, eg 9001?)

Unfortunately that integration is mediated by Wallbox’s cloud service that means when (not if) the discontinue the service or go out of business, you are SOL.

I can’t get this to work. I usually leave the cable connected and use it as a tethered charger, but even if it’s locked before I connect the charger to HA via OCCP, it unlocks.

If i got the point correct…or better my point.
i using a Vestel EVC04 which is out of the Box. i tried to setup Home Assistant. then i recognized, settings for OCPP inside Vestel Box is missing… and its asking me for further settings… Of Course… i not have any further Management Device or connection to other Server…
My Question about… Can i somehow setup with additional, may not know setttings to get it directly connected to Home Assistent - OCPP - HACS integration.
WEB Interface asking me for proper Settings about:
“central System-Adress”: (can Home assistant HACS used?)
Charging point ID:
LightIntensity
MeterValuesAlignedData
StopTxnSampledData
if i got your point correct… i cannot adapt Home Assistant without a Central Conrolled Instance?
Is that right?

Firstly install to ocpp server from hacs and set ip address to charge station such as attached screen photo