'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 1:[1]
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:
As you can see, the inputs provide you the way to set (in order):
- WS(HTTP) or WSS(HTTPS) WebSocket connection
- IP or Domain
- Port Number
- 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.
Solution 2:[2]
Every Charge Point work as client and the Central Station is the Server. So, every Charge Point need to know the endpoint of Server.
Which version of OCPP you want use or server use, I recommend 1.6 Json
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dinko Pehar |
| Solution 2 | Lucaele |

