Closed Dem72 closed 4 years ago
You can probably get your URL to work by setting the format
parameter to FALSE.
See this community forum thread.
But at any rate, no changes will be made to the binding, as this repository is closed.
The format
parameter has already been set to FALSE in http.cfg.
So, then there is no solution for this bug.
It's a pity :(
You should try using the new http action provided in OH2.
Expected Behavior
I need to use the url such http://192.168.88.247/sec/?pt=6&cmd=6A:1 for switch item On
http://192.168.88.247/sec/?pt=6&cmd=6A:0 for switch item On
My http.items case1
It doesn't work because this gets cut off at the colon after the cmd=6A because colon character is used as delimiter in item describing for http binding
This issue was solved here: https://community.openhab.org/t/colon-in-http-binding/26516
I try http.items case2
or http.items case3 Switch MySwitch1 { http=">[ON:GET:http://192.168.88.247/sec/?pt=6&cmd=6A%3A1] >[OFF:GET:http://192.168.88.247/sec/?pt=6&cmd=6A%3A0]" }
I expect to get url string on device such http://192.168.88.247/sec/?pt=6&cmd=6A:1
Current Behavior
I get url without decoding, in the same encoded form.
I asked the community.
https://community.openhab.org/t/colon-in-http-binding/92885
Possible Solution
Steps to Reproduce (for bugs)
Context
I have need to manage controllers that are controlled by http-get requests. These queries include the colon character.
Your Environment