wsocpp

OCPP: Charing Station Connection URL


How to connect a charging station to OCPP server?

Can't seem to find any examples or docs about how it obtains a connection URL.


Solution

  • Charging Station provide a way to modify their Settings before the usage. For example, Phoenix Chargers provide manual in which OCPP connection URL is set as in picture below:

    OCPP Configuration Phoenix Charger Settings

    As you can see, the inputs provide you the way to set (in order):

    1. WS(HTTP) or WSS(HTTPS) WebSocket connection
    2. IP or Domain
    3. Port Number
    4. Endpoint

    So the connection URL for this Charging Station would be ws://172.16.112.9:8080/ocpp/ but you can modify it to suit your needs.