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 Respostas
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
ESPECIALISTA
Uri
respondido há um ano
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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas