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 Risposta
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
ESPERTO
con risposta 2 anni 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