Http Binding OH2 to OH3

Hey cracks,
i need your help.

I would like to change my OH2 system to OH3. So far everything works fine but i have problems with the http binding:
my Item file:

Number Gmc_aussentemperatur 	"Außentemperatur [%.1f °C]"       					<temperature> 		(GMC, GMC_save_con, TEMP_chart_KWL, WETTER_chart)		{http="<[guntamatic:30000:REGEX(.*?Aussentemperatur.*?</code>(.*?)<.*)]"}

And my cfg file:
my cfg file

guntamatic.url=http://**<host>**/mbmap.cgi?key=**<key>**
guntamatic.updateInterval=15000

In OH2 works very fine.

How i have to change the files on OH3

Thanks a lot

Tobi

That’s the old HTTP 1.x binding. 1.x version bindings are not supported on OH 3. See HTTP - Bindings | openHAB for how to set up an HTTP Thing using the HTTP binding that is supported on OH 3.

OK i tried, but I am lost…

here my Thing:

Thing http:url:guntamatic "Kessel" [ 
	baseURL="http://<ip>/mbmap.cgi?key=<key>", 
	headers="key1=value1", "key2=value2", "key3=value3",
	refresh=15] {
		Channels:
			Type number : aussen "Aussentemperatur" [ stateTransformation="REGEX(.*?Aussentemperatur.*?</code>(.*?)<.*)" ]
}

How can I put it in a item?

Here my solution:
REGEX not in () it must be : .

Thing http:url:guntamatic "Kessel" [ 
	baseURL="http://<ip>/mbmap.cgi?key=<key>", 
	headers="key1=value1", "key2=value2", "key3=value3",
	refresh=15] {
		Channels:
			Type number : aussen "Aussentemperatur" [ stateTransformation="REGEX:.*?Aussentemperatur.*?</code>(.*?)<.*" ]
}

Item must be like this:

Number Gmc_aussentemperatur 	"Außentemperatur [%.1f °C]"       					<temperature> {channel="http:url:guntamatic:aussen"}