2 Answers
- Newest
- Most votes
- Most comments
1
If I remember correctly, the URL that you need to use for OCPP has a specific structure which doesn't work with the way API WebSockets URLs look like. One way to overcome this is by using a CloudFront distribution in front of you API, which will rewrite the URL using CloudFront functions, before forwarding to the API in the backend.
0
You could use the AWS API Gateway service as a proxy to your Lambda function. This would allow you to call the Lambda function from your Raspberry Pi. You would need to create an API method in the API Gateway to handle the OCPP requests, then map it to the specific Lambda function that you have created to handle the OCPP protocol.
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago