Once authenticated, the integration creates a device in Home Assistant for any chargers you have access to. Each charger exposes a bunch of sensor data, and a switch to control starting and pausing of charging.
Some of the data exposed to Home Assistant can be seen in the screenshot:
Thats awesome. Having this integration will be the reason I buy an evnex charger. Being able to start and stop the charger based on the charge percentage of my Sonnen battery and solar charging rate will be a game changer. Thanks!
Hey, Interested in obtaining some of the data from the EVNEX Charger. Where did you manage to get the Client ID and Secret from on CP-Link? I can’t seem to find it:
These are part of the Enterprise subscription to CP-Link. The python library described in this thread uses the driver app endpoints which have different access controls.
Talking to Mitchell @ Evnex you don’t support controlling the charger with an external OCPP server. He pointed to this as a way to control it from Home Assistant.
I realise it isn’t officially supported but does Evnex plan to allow the way this integration works in the longer term? I don’t want to go to the expense of buying/installing the charger and setting up Home Assistant integration only to find that Evnex change their mind and block access.
There are no plans to block access, but we don’t test against this library when making changes so may unintentionally break things. The endpoints tend to be pretty stable in this part of the code so haven’t changed much in recent years.
This library is really cool. There is an option to set the charge current but it doesn’t seem to work. Am I doing something wrong or is there something I have to enable
Still working for me - I didn’t want to invest heaps of my personal time getting it working for older versions of Home Assistant but if you’re on 2024.5 or newer and running into issues let me know and I’ll try take a look. I mostly just use it to collect data and occasionally toggle it to “charge now”.
I am using HA version 2024.10.4 with version 0.5.3. After integration and signing in, it indicates a failed setup. Below is the error message log. If this is a straightforward fix, I’d be more than happy to buy you a coffee in appreciation for the help!