11:57:51.010 [WARN ] [sform.CascadedValueTransformationImpl] - Transformation ignore, failed to parse /postdata.php?gaeste=%2$s: The transformation pattern must consist of the type and the pattern separated by a colon
I already installed json binding.
I do not get the actual state of the light. I thnk this is the problem with the values off/on ? Do I need a rule to transfer to on / off ?
setting is not working because of the false Command Transformation. how ist that correct?
Here it expects a transformation, like you gave for State Transformation
That would look like JS:myscript.js or MAP:myfile.map, which is what the error message is telling you.
Did you mean to put that in commandExtension?
The on=, off= mini-transformationsare bi-directional, dealing with incoming states and outgoing commands.
So you cannot get them to do true/false and on/off at the same time.
It’s probably easiest to make a read-only channel and a write-only channel, you can link both to the same Item.
ok! perfect. i put the /postdata.php?gaeste=%2$s from Command Transformation to Command URL Extension.
I can change the light now !
But the status of the light…
I put in the transform folder the de.map file with that content:
No idea. What does ‘not work’ look like? Have you installed MAP transform? Have you configured to use this MAP in your HTTP channel, if so how? What’s in your secret JSON? What do you get out of the channel - temporarily link to a String Item so that you can see.