Hi,
i’m having the following problem
i’m using the http binding in openhab 3.1 to get a value
this seems to be working and returns a string in this format
{“EUR”:27989.37}
when try to use json to get only the numbers 27989.37 i can’t get it to work
i’m sure i’m making a stupid mistake but can’t seem to figure it out
code below, any help would be appreciated
UID: http:url:ea3506b087
label: HTTP URL Thing
thingTypeUID: http:url
configuration:
authMode: BASIC
ignoreSSLErrors: false
baseURL: https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=EUR&api_key=xxxx
delay: 0
stateMethod: GET
refresh: 30
commandMethod: GET
timeout: 3000
bufferSize: 2048
channels:
- id: notworking
channelTypeUID: http:string
label: nw
description: “”
configuration:
stateTransformation: JSONPATH:$.EUR
cheers,
Duvel79