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.

asked a year ago240 views
1 Answer
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
EXPERT
answered a year ago
  • 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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions