Closed GoogleCodeExporter closed 9 years ago
Original comment by kai.openhab
on 19 Nov 2012 at 10:08
Original comment by teichsta
on 22 Nov 2012 at 9:44
The HttpOutBinding now utilizes the String.format() method. The current date is
the first parameter and the current value (command or state) is passed in as
second parameter. So an url can be formatted like this
"http://host:port/resource?value=%2$s" when expected a string.
See java.util.Formatter for further details how to format String appropriately.
The complete binding String would look like (since the value is passed as
second value):
{ http=">[GET:http://192.168.0.22\set.htm?temp1=%2$.1f] }
Original comment by teichsta
on 26 Nov 2012 at 4:56
Original issue reported on code.google.com by
quellt...@gmail.com
on 19 Nov 2012 at 7:02