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?

已提問 2 年前檢視次數 277 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南