ocpp icon indicating copy to clipboard operation
ocpp copied to clipboard

Schedule the remote start and stop

Open stStavropoulos opened this issue 3 years ago • 2 comments
trafficstars

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!

stStavropoulos avatar Feb 17 '22 20:02 stStavropoulos

Can you share those scripts?

fusionJose avatar Mar 02 '22 16:03 fusionJose

Maybe you can make an API using fastAPI and then trigger a remote start request at a particular time interval using scheduler or asyncioscheduler.

ishan3199 avatar Apr 08 '22 07:04 ishan3199

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.

Jared-Newell-Mobility avatar Sep 11 '23 14:09 Jared-Newell-Mobility