HTTP Binding - Values don´t get accepted anymore after upgrading from OH3.2 to OH3.3

I use the HTTP-Binding to change some of the parameters in the ISG, which is the web interface for my Stiebel Eltron heat pump as these parameters are not available.

Since upgrading from OH3.2 to OH3.3, all of these HTTP-Items for my heat pump don´t work anymore.

When I send a command, it is directly followed by “predicted to become” the old value again. When I disconnect the channel, the value of the items changes.

2022-07-07 09:31:05.276 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'LWZ_Kuehlen_Leistungsvorgabe' received command 45.0

2022-07-07 09:31:05.277 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'LWZ_Kuehlen_Leistungsvorgabe' predicted to become 50 %

These are the affected HTTP-Things:

Thing http:url:LWZ "LWZ" [ baseURL="http://192.168.178.46/", commandMethod="POST", contentType="application/x-www-form-urlencoded" ] { 
    Channels:
        Type number : Lueftung_Passivkuehlung               [ commandExtension="save.php", mode="WRITEONLY", commandTransformation="MAP:LWZ_http_Lueftung_Passivkuehlung.map"]
        Type switch : Lueftung_WWStopSommer                 [ commandExtension="save.php", mode="WRITEONLY", onValue="data=[{\"name\":\"val413\",\"value\":\"1\"}]", offValue="data=[{\"name\":\"val413\",\"value\":\"0\"}]" ]
        Type number : WW_Leistungsvorgabe                   [ commandExtension="save.php", mode="WRITEONLY", commandTransformation="MAP:LWZ_http_WW_Leistungsvorgabe.map"]
        Type number : Kuehlen_Leistungsvorgabe              [ commandExtension="save.php", mode="WRITEONLY", commandTransformation="MAP:LWZ_http_Kuehlen_Leistungsvorgabe.map"]
        Type number : Heizen_Integralanteil                 [ commandExtension="save.php", mode="WRITEONLY", commandTransformation="MAP:LWZ_http_Heizen_Integralanteil.map"]
        Type number : Heizen_Proportionalanteil             [ commandExtension="save.php", mode="WRITEONLY", commandTransformation="MAP:LWZ_http_Heizen_Proportionalanteil.map"]
}

And this is exemplarily “LWZ_http_Lueftung_Passivkuehlung.map”:

0=data\=[{"name":"val90","value":"0"}]
1=data\=[{"name":"val90","value":"1"}]
2=data\=[{"name":"val90","value":"2"}]
3=data\=[{"name":"val90","value":"3"}]
4=data\=[{"name":"val90","value":"4"}]

In OH3.2 it worked without problems.

Interestingly, the HTTP calls I use for other purposes like my visualization tablets or the door still work without any issues.

And when changing the HTTP-Binding into DEBUG log level, it doesn´t show anything when changing the value of one of the affected heat pump items.

Isn’t this issue also related to what I experienced with the node red openhab2 nodes not working in 3.3??
Look in the forum for that, and check whether it applies to you or not, maybe? Because it seems awfully similar.

Now I found more details about the issue. The whole Thing does not go online. The contentType=“application/x-www-form-urlencoded” is not allowed anymore :frowning:

2022-07-07 10:56:54.940 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'http:url:LWZ' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING): {contentType=Der Wert application/x-www-form-urlencoded ist nicht in den erlaubten Optionen enthalten. Erlaubte Optionen sind: [ParameterOption [value="application/json", label="application/json"], ParameterOption [value="application/xml", label="application/xml"], ParameterOption [value="text/html", label="text/html"], ParameterOption [value="text/plain", label="text/plain"], ParameterOption [value="text/xml", label="text/xml"]]}

Now I need only to find a solution and see if it works with any of the suggested options.

Unfortuantely none of the other options is working.

And now? Does anyone has a suggestion or knows why this option has been removed?

Can I find somewhere the HTTP-Binding 3.2.0 for download?

I found the solution. The contentType must be removed and the “application/x-www-form-urlencoded” put into the header as follows:

Thing http:url:LWZ "LWZ" [ baseURL="http://192.168.178.46/", commandMethod="POST", headers="Content-Type=application/x-www-form-urlencoded", "" ] {