Is there a way to Connect a raspberry pi to a aws react app?

0

Hi, I'm wondering if there is a way to connect a raspberry pi vea token to an Aws react app that I can then use to call out information on the pi. Then when I want to change something on the pi I can have the website send that to the pi?

1개 답변
0

Hi - Not very sure on your overall requirements on what is getting changed on the PI but one option is to use it as an IOT device which listens to a mqtt topic. The app which is react in this case can publish to the same IOT topic and then pi which is subscribed to that topic can read the payload and do the required changes. You can also you use device shadow which can make a device’s state available to apps and other services whether the device is connected to AWS IoT or not.

References

  1. https://docs.aws.amazon.com/iot/latest/developerguide/topics.html
  2. https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html

You can also check https://aws.amazon.com/iot-device-management/ which can help to register, organize, monitor, and remotely manage connected devices at scale

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠