cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How can I Fetch specific property data from QueryPropertyHistory and show in a line chart graph.

Pratik_Aswale
13-Aquamarine

How can I Fetch specific property data from QueryPropertyHistory and show in a line chart graph.

Hello,

 

I want to fetch a specific property data from QueryPropertyHistory service.

consider like I have a thing and have a humidity and Temperature property. So I want to only fetch Temperature property data from QueryPropertyHistory. How can we do that?

 

Thanks.

ACCEPTED SOLUTION

Accepted Solutions

Hi @Pratik_Aswale 

 

In Select Entity you can select your Thing Name

 

Select Service QueryNamedPropertyHistory service in service category

 

After that, pass your thing name to EntityName

 

Velkumar_0-1712040215367.png

 

 

/VR

View solution in original post

5 REPLIES 5

Hi @Pratik_Aswale 

 

You can use QueryNamedPropertyHistory service to get specific property value from Value Stream

 

/VR

Hi @Velkumar 

 

Thanks for the response...

 yes its works.

But In my use case I have 3 different Things which has some property data I log and store in valuestream .Now In mashup I have dropdown widget and line chart widget.

How can we get data after selection from dropdown 1 thing and data will shown in linechart of that 1 thing?

Hi @Pratik_Aswale

 

Pass Thing Name from Drop down to service dynamically. It should work.

Velkumar_0-1711974778206.png

 

Pass thing name from drop down 

Velkumar_1-1711974856320.png

 

 

/VR

 

Hi @Velkumar 

 

Which service to pass dropdown widget so that I can get thingname and also which selected Entity should I enter in below so that I can get QueryPropertyHistory service data and bind All data to line chart?

Pratik2_0-1712030316512.png

 

Hi @Pratik_Aswale 

 

In Select Entity you can select your Thing Name

 

Select Service QueryNamedPropertyHistory service in service category

 

After that, pass your thing name to EntityName

 

Velkumar_0-1712040215367.png

 

 

/VR

Announcements


Top Tags