Replies: 9 comments 5 replies
-
Hi @KipK, Yes indeed, I was already contacted because of it last year, set up a Home Assistant and tested the connection. After a few changes the connection worked, but unfortunately I had no real test cases to check all features of HA. We could revive the discussion: lbbrhzn/ocpp#210 If you can provide me with the full logs, I can take a look (you can also send them via email if preferred). Perhaps the final steps are super simple and we can get OpenEVSE on the list of supported chargers really quickly. |
Beta Was this translation helpful? Give feedback.
-
FYI I have tried it some weeks ago before working on my HA integration for OpenEVSE and I was not able to make it work with OpenEVSE. I've installed it through HACS (Open Charge Point Protocol (OCPP)) and connected the OpenEVSE box but I don't get any metric. |
Beta Was this translation helpful? Give feedback.
-
Hi @mathieucarbou, thanks for sharing your findings! This doesn't look too bad imho, it could be really just a matter of the configuration. Unfortunately, I don't have a reasonable HA test setup at the moment, but I will definitely set it up again. In case someone would like to give it another try in the meantime, I'm sharing my thoughts on the screenshots above: the OCPP connection seems to work, but the transactions are missing (most inconnu fields are about transaction-related data). By default, OpenEVSE waits for an authorization before starting a transaction. So it could be worth a try to enable the "Authorize automatically" option with any idTag. |
Beta Was this translation helpful? Give feedback.
-
I can try now! I still have the OCPP integration installed. |
Beta Was this translation helpful? Give feedback.
-
The intermediate screen where we have to select the measurements are really a pain: we should have a (un)check all and also maybe they should all be checked by default. Any sensors can be disabled by the user in HA afterward. What should I put in the ID tag ? |
Beta Was this translation helpful? Give feedback.
-
I've put the SN. So, it is the same. After waiting several minutes, all the sensors are unknown. I have activated all measurements this time. Note: I am running with the latest evse release and latest commit of gateway (master branch). |
Beta Was this translation helpful? Give feedback.
-
I have some errors in HA logs:
debug logs:
|
Beta Was this translation helpful? Give feedback.
-
Apparently the transaction failed to start. Can you capture the logs at the moment where you plug the charge cable? The ID tag in the screen shot is a good choice. The error message means that for the moment, only the default measurands (energy and power) will be reported. The issue here is that HA queries sensor values which don't exist (e.g. the fan speed). Maybe it's possible to remove the unsupported fields from the query. But I can also add a workaround in the next OCPP upgrade and can also think of good reasons why HA queries everything by default. |
Beta Was this translation helpful? Give feedback.
-
I will be the first to admit that I am a bit ignorant of exactly what OCPP is capable of. However, is there any benefit to going HA -> OCPP -> OpenEVSE, vs HA -> HTTP API -> OpenEVSE as provided by https://github.com/firstof9/openevse already? Not a snarky question, I am genuinely trying to understand the difference. Thanks. |
Beta Was this translation helpful? Give feedback.
-
@matth-x , have you seen this ?
https://home-assistant-ocpp.readthedocs.io/en/latest/index.html
I have tried, not sure it is compatible with OpenEVSE yet. I see in the logs there's some missing entities we can still provide from openevse ( SOC, live power ) , and seems the actions are not working yet. But i'm not an HASS expert so it could be me.
However, that's a quick way to setup an OCCP server, probably easier than Steve. Worth to check.
Beta Was this translation helpful? Give feedback.
All reactions