Trying to understand X10 DIM

I didn't really have success... still wondering how it works!

The library I have is this one https://github.com/DougC/arduino-x10