Fibaro (double switch) FGS-221 to respect Switch Position

i have a Home Mart Halogen Lamp (this cheap ones with movement sensor) … Supercharged with a Fibaro Double Switch module.

where the movement sensor is connected to S2 and the lamp itself is connected to S1 …

the Vera simply turns on the lamp if S2 is triggered (by the movement sensor)

that all works just perfectly … but if i turn on S1 (the lamp) via the controller and walk pass the light … S2 will trigger the lamp to go OFF instead … thats kind of anoying …

i have solved this with a piece of luup code checking of the lamp is already on, if so the trigger will result in false and nothing does happen.

also if the S2 gets triggered via the controller the ON/OFF positions do invert … which is not so nice …
to solve both of the problems it would be perfect the have the fibaro set to respect the inputs

lets say “focus on input instead of output” … well somethings like this …

any ideas ?

Did you try setting configuration parameter 13 to 1?