Hello,
i am trying to set some light colors using the HTTP Binding.
Using a switch channel and turning the light on and off works fine. For this i am using a url like this:
http://xyz/ew/?ew3=0 and http://xyz/ew/?ew3=1
To set the color i need to send a url like this:
http://xyz/ew/?ew3=1&R=0&G=0&B=255
But i dont know how to set up the channel configuration for this. Currently i do have this:
- id: xyz
channelTypeUID: http:color
label: Friseur
description: ""
configuration:
onValue: "1"
mode: WRITEONLY
commandTransformation: /ew/?ew3=%2$s
offValue: "0"
The linked color item is empty (?) … i can not select a color and i am getting this log warning:
[WARN ] [form.CascadedValueTransformationImpl] - Transformation ignore, failed to parse /ew/?ew3=%2$s: The transformation pattern must consist of the type and the pattern separated by a colon
Can someone help me to get the R, G and B in the URL?