Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
abedkhooli
Frequent Visitor

Streaming Data from Opensensors using API

I am trying to use streaming API from opensensors (https://api.opensensors.io/). They provide messages with API key for authentication. As a client at opensensors, I can only subscribe to messages.

If I want to use tiles with streaming datasets and chart "converted-value" vs. "date", is that possible from the Power BI service end (without creating a push app)?

 

Here's a curl sample provided:

curl -X GET --header "Accept: application/json" --header "Authorization: api-key 428************2c4" "https://api.opensensors.io/v1/messages/topic/%2Forgs%2Fwd%2Faqe%2Fparticulate%2Fegg008******2?start-..."

Request URL:

https://api.opensensors.io/v1/messages/topic/%2Forgs%2Fwd%2Faqe%2Fparticulate%2Fegg008***********2?s...

sample response:

{
"messages": [
{
"device": "egg008***********2",
"owner": "wickeddevice",
"topic": "/orgs/wd/aqe/particulate/egg008*************2",
"date": "2016-11-28T14:35:04.723Z",
"payload": {
"encoding": "utf-8",
"content-type": "application/json",
"text": "{\"serial-number\":\"egg008***********2\",\"raw-value\":0.43971,\"raw-instant-value\":0.39185,\"raw-units\":\"volt\",\"converted-value\":5.30,\"converted-units\":\"ug/m^3\",\"compensated-value\":5.30,\"cal_offset\":0.04974,\"sensor-part-number\":\"PPD60PV-T2\",\"history\":{\"timebase\":5000, \"samples\":[0.38757,0.33447,0.50232,0.40588,0.38147,0.61584,0.64636,0.48157,0.44128,0.31677,0.37109,0.39185]}}"
}
}
],
"next": "/v1/messages/topic//orgs/wd/aqe/particulate/egg008*********2?start-date=2016-11-28T15%3A19%3A51.755Z"
}

 

 

 

0 REPLIES 0

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.