XPATH Needed to get Temperature in Celsius

Hello All,

Please i need a help to extract the value of the temperature in Celsius from the following reply of an HTTP API command sent to a controller. What i should insert in the XPATH of OpenRemote to be able to extract the temp value (last one).

{"timestamp":"1504476966800","deviceMac":"34:ea:34:f6:97:0D","temperature_f":84.74,"uri":"/temperature","status":"ok","temperature":29.3}

Thank you in advance.

Regards,

You should use jsonpath expression instead. Leave the XPath expression empty. In the JOSNPath put temperature.

Thank you Michal, Done !!

You should use jsonpath expression instead. Leave the XPath expression empty. In the JOSNPath put temperature.

Hello All,

Please i need a help to extract the value of the temperature in Celsius from the following reply of an HTTP API command sent to a controller. What i should insert in the XPATH of OpenRemote to be able to extract the temp value (last one).

{"timestamp":"1504476966800","deviceMac":"34:ea:34:f6:97:0D","temperature_f":84.74,"uri":"/temperature","status":"ok","temperature":29.3}


Thank you in advance.


Regards,