REST API GET value for a single resource



I’ve a device that has 3 resources (Temp, Hum and HeatIdx). Is there a way through HTTP GET to get the value of, for instance the TEMP?

Currently I’ve tried the following:***

And I’m getting protoson code for the 3 resources:


The goal is to get only individual readings so I can pass it to an Android Widget.

Thank you



in this case, just create a single resource for each reading (humidity, and temperature), like:

thing["humidity"] >> [](pson& out){
    out = dht.readHumidity();

thing["temperature"] >> [](pson& out){
    out = dht.readTemperature();

And just query each resource indiviually:***

Hope it helps!