Skip to content

Commit d168576

Browse files
authored
Merge pull request #107299 from sunasing/patch-18
Added TSI details to query telemetry data
2 parents 3ee8657 + b1c6c8d commit d168576

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

articles/industry/agriculture/query-telemetry-data-from-azure-farmbeats.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ Before you proceed, also make sure you are familiar with FarmBeats REST APIs as
2222

2323
## Query ingested sensor telemetry data
2424

25-
Follow the below steps to query the ingested sensor telemetry data:
25+
There are two ways to access and query telemetry data from FarmBeats: API and Time Series Insights (TSI).
26+
27+
### Query using REST API
28+
29+
Follow the below steps to query the ingested sensor telemetry data using FarmBeats REST APIs:
2630

2731
1. Identify the sensor you are interested in. You can do this by making a GET request on /Sensor API. Note the **id** and the **sensorModelId** of the interested sensor object.
2832

@@ -91,6 +95,19 @@ Make a note of the response from the GET/{id} call for the Sensor Model.
9195
```
9296
In the above example response, the queried sensor telemetry gives data for two timestamps along with the measure name ("moist_soil_last") and values of the reported telemetry in the two timestamps. You will need to refer to the associated Sensor Model (as described in step 2) to interpret the type and unit of the reported values.
9397

98+
### Query using Azure Time Series Insights (TSI)
99+
100+
FarmBeats leverages [Azure Time Series Insights (TSI)](https://azure.microsoft.com/services/time-series-insights/) to ingest, store, query and visualize data at Internet of Things (IoT) scale--data that's highly contextualized and optimized for time series.
101+
102+
Telemetry data is received on an EventHub and then processed and pushed to a TSI environment within FarmBeats resource group. Data can then be directly queried from the TSI. For more information, refer [TSI documentation](https://docs.microsoft.com/azure/time-series-insights/time-series-insights-explorer)
103+
104+
Follow the below steps to visualize data on TSI
105+
106+
1. Go to Azure Portal -> FarmBeats DataHub resource group -> click on Time Series Insights environment (tsi-xxxx) -> Data Access Policies. Add user with Reader or Contributor access.
107+
2. Go to the Overview page of Time Series Insights environment (tsi-xxxx) and click on the “Time Series Insights Explorer URL”. You will now be able to visualize the ingested telemetry.
108+
109+
Apart from storing, querying and visualization of telemetry, TSI also enables integration to a Power BI dashboard. More details [here]( https://docs.microsoft.com/azure/time-series-insights/how-to-connect-power-bi)
110+
94111
## Next steps
95112

96113
You now have queried sensor data from your Azure FarmBeats instance. Now, learn how to [generate maps](generate-maps-in-azure-farmbeats.md#generate-maps) for your farms.

0 commit comments

Comments
 (0)