S1 is used to control the dimming level from the wall switch. S1 has the same function as button B. S2 is used to control only devices using associations.