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 年前276 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则