HOW TO GET JSON AWS ​​IOT TO DEPLOY ON WEBSITE

0

HELLO, I'M DOING MY T.C.C, AND I CONNECTED THE AWS IOT TO MY ESP32 AND I SEND THE JSON TO MQTT TEST, IT CONNECTS AND SENDS IT IN JSON INSIDE THE "MQTT TEST" OPTION BUT I WANT TO RECEIVE THIS JSON AND SEND IT TO MY WEBSITE THAT I AM DEVELOPING, BUT IM NOT GETTING IT, HOW DO I DO IT? I CAN ONLY DOWNLOAD THE JSON FILE, BUT IT IS NOT IN REAL TIME. PLEASE I REALLY NEED THIS.

已提问 1 年前244 查看次数
1 回答
1

Hi,

If you want to have near-realtime message delivery to your web application you can check the following example on how to integrate a web application with AWS IoT Core

https://github.com/aws/aws-iot-device-sdk-js-v2/tree/main/samples/browser/pub_sub

Alerts or specific events can also be sent to recipients via SNS or stored in a database like DynamoDB using AWS IoT Rules.

Cheers, Massimiliano

AWS
专家
已回答 1 年前
  • Is there an option to generate a link to these json responses?

  • Can you be more specific about the use case? Do you mean a deep link URL so that a user can come back to that response at a later time?

  • I'm sending from esp32 to aws iot core all the responses from the sensors in json, it is in the topic "MQTT TEST CLIENT" AS "esp/pub" there arrives all the response in JSON in real time from "esp" I wanted to generate a link of these answers in JSON so that I can process and record them in my system.

  • Hi Leonardo,

    look at the link I sent you about IoT Rules. You can store the messages in several services, but if your data is some sort of timeseries data (such as temperature readings) I would advice to store them in Amazon Timestream. You can then query the data from your system and do whichever post processing needed.

    This workshop covers most of the topics: https://catalog.us-east-1.prod.workshops.aws/workshops/d74051cc-2575-4d5b-a30a-2169a094efe2

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

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

回答问题的准则