Closed leonard-voss closed 1 month ago
The code samples in examples/ don't contain a full fledged charger or CSMS. They only handle a single message.
Similar issues have been opened in the past, search for in the (closed) issues for more info.
Hey, thanks for you quick response.
Sry, but I think I don't understand your answer correctly. Can you explain this a little bit further please?
For the CP, I'm using a real wallbox. So i think the CP-side implementation should be okay.
For the CS, I used the example in this library, but modified it with the implementation of the function, which you can see in my previous post. Is my function implementation setup correctly? Or do you have an working example for the TriggerMessage-call?
I'm using a real wallbox.
Thanks for emphasizing that. I wrongly assumed you tested against your own CS.
In that case, the charger doesn't seem to support TriggerMessage, unfortunately.
In that case, the charger doesn't seem to support TriggerMessage, unfortunately.
Update on the error:
I wrote to the manufacturer and they confirmed to me that the wallbox currently does not support Trigger Messages
. Thanks for the hint! :)
Hello everyone, I'm currently working on a Python backend to read out a real wallbox from the management system's perspective. Since the wallbox only supports OCPP 1.6J, I rely on this version of the protocol. Receiving heartbeat, status and boot notifications works great. As far as I understand, I have to use the TriggerMessage feature to request the wallbox to send me the relevant data.
Unfortunately, my requests are always rejected.
I used the standard example for the management system and adapted it. I tested the TriggerMessage feature for several messages (BootNotification, StatusNotification, MeterValues) but they were all rejected. I also used prescribed spellings and checked them with or without connector_id.
Function within the ChargingStation:
Call within the on_connect function:
The following output is generated (Loging: debugging)
Here you can find all the code used: