Charging station with Mender
We will use Mender as OTA service for updating Linux, Docker and the client.
-
Sign up on Mender. If you want, host a Mender server yourself.
-
Follow this guide for installing Mender on the Pi.
-
Add the Raspberry to the Devices list and test if Mender works.
-
If you do not wish to automatically update the OCPP client, change this label to false in docker-compose.yaml:
#Not recommended when using Mender, since you can update the images with Mender.
chargepi:
label:
- com.centurylinklabs.watchtower.enable="false"
#... -
Run docker-compose:
docker-compose up -d
Optionally, you can run only the client service:
docker-compose up -d chargepi