Scalable IoT data collection

7 Ansichten (letzte 30 Tage)
Sunday Adeola
Sunday Adeola am 19 Sep. 2024
Kommentiert: Sunday Adeola am 16 Dez. 2024
Hi everyone,
I need someone to assist me toward simulating real-time IoT data collection using ThinkSpeak on online kaggle datasets

Antworten (1)

Sivsankar
Sivsankar am 3 Okt. 2024
So, ThingSpeak is an IoT analytics service that allows you to aggregate, visualize, and analyze live data streams in the cloud. ThingSpeak provides instant visualizations of data posted by your devices to ThingSpeak. With the ability to execute MATLAB code in ThingSpeak, you can perform online analysis and process data as it comes in.
You can leverage the above documentation on how to analyse data and simulate it. But the above example uses datasets from ThingSpeak channel. Since you wanted to use online Kaggle dataset, you could download that dataset in a CSV format and use them. So, you need not mention the readChId in your code as you are not taking the values from a ThingSpeak channel.
Therefore, you could bring about the following edits to the code present in the documentation:
data = readtable('kaggle_dataset.csv'); %Update the path to your dataset
temperature = data.Temperature;
humidity = data.Humidity;
%Simulate data from kaggle
response = thingSpeakWrite(writeChId , 'Fields', [1, 2], 'Values', [temperature, humidity], 'WriteKey', writeAPIKey);
I hope by now you’ve gotten a gist of how to simulate a real-time online Kaggle dataset using ThingSpeak.
Thank you.
  1 Kommentar
Sunday Adeola
Sunday Adeola am 16 Dez. 2024
Not yet sir,
I was having issue with my device before

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu ThingSpeak finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by