Fibaro 2 Dimmer (212 not 211)

Have you had a chance to look at the custom code FAQ yet? It might give you a good overview of how the process works for any device, not just this one.