Http ohb3 ui bug?

tying to bind veraHub http using ohb3 http UI bindings
and created http things and it works only if placing complete url with value see image below
It fails if placing value inside UI values boxes

spent hours cant fix this
any help please?
UID: http:url:cf44b6fc62Vera
label: HTTP Thing Vera
thingTypeUID: http:url
authMode: BASIC
ignoreSSLErrors: true
baseURL: http:// IP hidden :3480/data_request?id=action&
delay: 0
stateMethod: GET
refresh: 30
commandMethod: GET
contentType: text/xml
timeout: 3000
bufferSize: 2048

  • id: porch_light
    channelTypeUID: http:switch
    label: PORCH LIGHT
    description: “”
    onValue: “1”
    mode: READWRITE
    stateContent: DeviceNum=104&serviceId=urn:upnp-org:serviceId:SwitchPower1&Variable=Status&Value
    offValue: “0”
    commandExtension: DeviceNum=104&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=

You have to tell the binding where you would like it to place the 0 or 1, using the %2$ placeholder.

thanks a lot solved
I needed to add 2 place holders xxx-eg-xx-status=%2$s&date=%1$tY-%1$tm-%1$td

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.