OCPP
EV Charger Protocol
-
Run
node gen.js
for generate certificates. -
Run node server using
node server.js
. -
Create client's certificates using Postman Check for the API documentation:
https://documenter.getpostman.com/view/21583239/2s83zdx74z
-
Copy certificates to dir which are required (Refer client's requiremets.txt).
-
Run each clients using
cd {client_dir} && node client.js
-
For firmware update:
-
Copy
reboot_message.sh
file to root dir and give authorize to execute usingsudo chmod +x reboot_message.sh && sudo chmod 777 reboot_message.sh
-
Enter cron using sudo:
sudo crontab -e
-
Add a command to run upon start up, in this case a script:
@reboot sh /{path to .sh file}/reboot_message.sh
-
Save
-