Hi all. I am new to OH3. How do I get single values out of a JSON string?
{"temp1":55.06,"temp2":49.38,"temp3":53.63,"temp4":50.12,"WiFi":86}
I need temp1.
Is the Transformation like this?
`UID: mqtt:topic:c92e3237df:1a1866b5d8
label: Hot Water Temperature
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:broker:c92e3237df
channels:
- id: HotWater
channelTypeUID: mqtt:number
label: Hot Water Temperature
description: “”
configuration:
stateTopic: Water/HeaterValues
transformationPattern: JSONPATH:$.temp1
unit: °C`
Thanks