HTTP-Binding / accessing Tasmota by URL

Hi there,

I’m trying to access my tasmota device by http call. The correct url is:

I’m trying to change the state by accessing it with the http-binding in the item declaration.

Switch Switch_Tasmota_W1 “Fan 1” (Tasmota,myopenHab) [“Switchable”] { http=">[ON:GET:] >[OFF:GET:]" }

Then I get the following error:

2020-10-21 12:51:48.810 [WARN ] [] - EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=openhab/command/Switch_Tasmota_W1] {item=Switch_Tasmota_W1, bridgemarker=true, command=ON, timestamp=1603277508807} | {, org.osgi.service.event.EventHandler}={, service.bundleid=241, service.scope=bundle, event.topics=openhab/*,,,} | Bundle(org.openhab.binding.http_1.14.0 [241])]
java.util.UnknownFormatConversionException: Conversion = ‘O’

Looks like I need to mask the % char? How can I do this / what do I need to change to make it work?

Thanks in advance!

And I just found the answer: I need to mask it with


1 Like