Charging openHAB with OCPP

Ok, changes been merged, they should be available in 5.0.0-SNAPSHOT build.
Does anyone use older version of openHAB and needs build for it?

Hi,

I get some issues at the log, see attached picture.

I have finally installed the latest kar. I have Alfen Eve charger. I’m somewhat confused about setting up the binding. In case of Connector Thing what is the connector ID, can I use “1”. What is the Charge point serial number under Charger Thing? Is it the IP address of the charger? What is the bind address for the OCPP server thing. Sorry about these stupid questions.

@jlikonen If you will configure charger to connect it will be reported as a discovery result, then you don’t need to place these values alone. The IP and port is setting for setting up listening interface on openHAB side as its launches a OCPP server to which chargers must connect.

@Sascha987 its a bug with missing value. I’ll push a fix.
Fix potential null pointer in ocpp discovery service. by splatch · Pull Request #140 · ConnectorIO/connectorio-addons · GitHub - please give a try to 5.0.0-pr140-SNAPSHOT kar once its ready.

Thnigs Charger, Connector and OCPP server are online but the channels under Connector are all NULL so I’m wondering about this.

I´m on OH 4.3.6, so I can use the last version 5.0.0 ?

You can’t use 5.x build in 4.x. I will rebase branches and make new build for 4.3.x line.

I wonder if we could move to OpenOCPP that is release by ChargeLabs?

OpenOCPP is written in another language it will have to run probably outside of openhab and interact via an api wich would make this way difficult than current implemention done by splatch.

Let me turn question back, what functionality are you expecting from new library?

Was more about using an open protocol instead of a close one.

Autel natively support it while ocpp for autel seems to require a lot of work. For now, I only found evcc that make it work with it.

But also, easier ability in the futur to connect to any api online using it like chargelabs

Binding rely on Java library which recently merged support for OCPP 2 GitHub - ChargeTimeEU/Java-OCA-OCPP: Open source client and server library of Open Charge-Point Protocol (OCPP) defined by openchargealliance.org (OCA) · GitHub :slight_smile:

OpenOCPP seem to target primarily charger side, while ChargeTime, since its written for non-realtime platforms, fits more charging station management systems. Both provide OCPP protocol implementation and with a bit of effort probably can work together.

FYI there is long list of features provided by @stamate_viorel which got merged and couple more still waiting in the queue. I made sure that all features are available for OH 3.x-5.x and available for download also in binary form.

Cheers,
Łukasz