[hw640] has put together a well written and detail packed explanation of how to interface with a digital rotary switch. These digital opto encoders have just two outputs with four possible logic ...
The type refers to the function they perform ... You will need to make sure your bulbs are dimmer-compatible. A simple rotary dimmer switch such as the Leviton Trimatron Rotary Dimmer Switch ...