Is it possible to do some calculation inside of http jsonpath transform?

I use this to get number items from internet with settings

Number Weather_OutTemp "Value: [%.1f °C]" { http="<[http://weewx/now.json:60000:JSONPATH($.stats.current.outTemp)]" }

Is it possible to do some calculations in the line too?

Something like “value * 10.5”:

Number Weather_OutTemp "Value: [%.1f °C]" { http="<[http://weewx/now.json:60000:JSONPATH($.stats.current.outTemp)*10.5]" }


Your choices are to use the JS transform to parse, extract the JSON and do the calculation.

Or create a Proxy Item and do the calculation in a Rule.