How to Use OCPP Server in AWS lambda using webSockets API and Raspberry Pi acts as OCPP client ?

0

I am implementing OCPP Protocol. i am using Raspberry Pi as a client and i want to run Server in AWS Lambda How to implement it in AWS?

2 Risposte
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.

profile pictureAWS
ESPERTO
Uri
con risposta un anno fa
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.

profile picture
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande