ocpp
ocpp copied to clipboard
Schedule the remote start and stop
Hello everyone!
I have created a charging point and CSMS scripts successfully with a structure similar to the examples you have in the repository. Now what I want to do is to do the remote start and stop charging but at a specific hour: e.g. at 17:30 I want to do the remote start procedure and at 19:30 that the charging will be over according to a timetable, I want to do the remote stop charging. However the whole asynchronous logic is still a bit confusing to me. Do you have any ideas of how should I approach the subject?
Thanks!
Can you share those scripts?
Maybe you can make an API using fastAPI and then trigger a remote start request at a particular time interval using scheduler or asyncioscheduler.
In OCPP 2.0.1 specification charging profiles allow for charging schedules to be specified (messages are structured and sent from the CSMS) - section 3.6. gives an example of a charging profile - this would be the most accurate way to approach this topic.