SmartThings Community

Help Getting Values From JSON in webCoRE

#21

Edit that piston and insert Log info {$response} after line 26 and see if you get any response at all.

0 Likes

(dbowles1975) #22

Adding that task:

Returns this:

Capture

0 Likes

#23

That output looks different than the one is post 4. Try logging the value of this:

$response.[0].channels.[0].current_temp

0 Likes

(dbowles1975) #24

It’s the exact same .json.

I logged $response.[0].channels.[0].current_temp and it returned “200”.

0 Likes

#25

That’s a tough one to figure out since I’m just simulating your device’s json response.

0 Likes