how to send and receive text/string data automatically in IoT page?

16 views (last 30 days)
I want to send text data and special characters to the webpage thingspeak to display the text and also based on sensor data, I want to receive the text message from the website to my device. How can do this process?, please tell me in clear steps

Answers (1)

Christopher Stapels
Christopher Stapels on 26 Jan 2024
ThingSpeak treats most data as strings until you try to plot or do math with them, so you should be fine with your special characters. If you are sending data from a microprocessor device, there are plenty of great examples in the documentation, and in the ThingSpeak library (there are AT command examples)
To get an email alert about channel activity, you can use the Alerts service , most mobile providers have an email extention to forward emails to text (i.e. verizon is phonenumber@vtext.com).You will have to use email forwarding since you can only sent alerts to your thingSpeak ID email.
To get information back to your devices you can have them subscribe to the channels if they are using MQTT (and publish to write) or they can poll the channel for new information using the read api.
Please come back and tell us more about your project in the ThingSpeak community when you make some progress!
  3 Comments
Elakiya
Elakiya on 27 Jan 2024
Edited: Elakiya on 27 Jan 2024
Using AT commands with Https protocol and I need to visualize the sent text message in webpage, but I can see only the plot of numerical values
Christopher Stapels
Christopher Stapels on 27 Jan 2024
For the AT commands, look at the examples in the library that I linked above. To display text on the webpage, see the hint here in the community.

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!