In the world of IoT, we often find ourselves searching for efficient ways to get data from sensors to a place where it can be stored and visualized. IoT devices generate massive amounts of telemetry data, but managing this data effectively is often more complex than it seems.
Typically, setting up an infrastructure involves multiple components: an MQTT broker for data ingestion, a service like Node-RED to process and save the data, a database such as InfluxDB for storage, and a visualization tool like Grafana. Many IoT enthusiasts and professionals end up self-hosting these components on a server or in a homelab. However, this approach frequently leads to spending more time configuring and maintaining the setup rather than building devices, expanding sensor networks, or analyzing data to take action.
This guide focuses on an efficient way to tackle these challenges using Telemetry Harbor. By the end, you’ll understand how to push your IoT data to the cloud and visualize it effortlessly—without the need to self-host or configure complex infrastructures.
Not sold yet? Telemetry Harbor has rolled out the beta of Harbor AI, where you can interact with your data using a large language model—essentially, you can talk to your data in your natural language. No need to create complex Grafana dashboards for a simple value; just ask your Harbor. While this feature is still in beta, every user has a maximum of 10 questions per day.
They offers a generous free tier that makes it easy to get started without any upfront costs. With the free plan, you'll get 10 requests per second, 1 batch request per second, and up to 10 data points per batch. Your data is retained for 30 days, and you’ll have unlimited storage and shared access to Grafana. While the free tier includes basic backup and support, it’s a great way to explore the platform's capabilities. As your needs grow, you can easily scale up. For more details on the free plan and other pricing options, check out our
- Go to the .
Step 2: Set Up Your Harbor
- Find the API Endpoint (make sure to use the standard endpoint, not the batch one, since we’re sending just one data point).
- Copy the API Key and API Endpoint. Keep these handy for the next step.
Step 4: Push Your First Data Point
To send your first data point, you’ll need to make a POST request to the API endpoint.
- Include the header: X-API-Key: your_api_key_here.
- Structure the POST body like this:
{
"time": "2024-11-18T19:24:00.948Z",
"ship_id": "string",
"cargo_id": "string",
"value": 0
}
You can use curl or any programming language/tool that can send POST requests. Here’s an example using curl:
curl -X POST https://telemetryharbor.com/api/v1/ingest/ingest/harbor_id \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"time": "2024-11-18T19:44:16.160Z",
"ship_id": "string",
"cargo_id": "string",
"value": 0
}'
If everything goes smoothly, you should get a code 200 response, confirming that your data has been received.
Step 5: View Your Data
.
Key Concepts
- Harbors: These are logical containers that organize your data into manageable groups, making it easier to analyze.
- Ships: These represent individual devices or data sources that send data to your harbors.
- Cargo: The sensors or devices on your ships that capture and send the data.
- ship_id and cargo_id: These values can be any string. It’s important to stick to a consistent naming scheme to ensure proper grouping and filtering when analyzing data in your dashboards.
In conclusion, Telemetry Harbor takes the complexity out of managing IoT data by providing a seamless, cloud-based solution for data collection, storage, and visualization. This enables you to focus on what truly matters—your devices and the insights they generate—rather than dealing with the technicalities of infrastructure setup. With just a few simple steps, you can start pushing data to the cloud and viewing it in a pre-configured Grafana dashboard, eliminating the need for extensive configuration or maintenance. The free tier offers an accessible way to get started. This approach allows you to spend more time innovating with your devices and less time managing the systems that support them
SOCIAL SHARE CARD GENERATOR