![Embarrassed :oops:](./images/smilies/icon_redface.gif)
I get a string of data via http request. It looks like this:
{"temp":79.00,"tmode":2,"fmode":0,"override":1,"hold":0,"t_cool":76.00,"tstate":2,"fstate":1,"time":{"day":2,"hour":9,"minute":35},"t_type_post":0}
(it's from the thermostats in my house)
I can get the data and save it to a file or variable no problem.
I want to extract the numeric value that follows temp and t_cool and write them to a variable to be used in the next step.
I know I can do it with "substring" but I just can't get the syntax right.
Please help.
Thanks in advance.