Fibaro 2 Dimmer (212 not 211)

Just wanted to say thanks to Rajiv for posting the code.

Installed my first Fibaro 2 dimmer today. Works perfectly with a toggle switch.

A few issues I ran into, incase anyone suffers from the same:

I couldn’t get the Device Handler to display on my phone. It appears I wasn’t logged into my spur of the IDE.
I have a 3 wire system and couldn’t get it working. Switched to a 2 wire system and it works fine - it’s possible the Neutral wire isn’t connected to anything (I live in a UK newbuild).
On turning on the lights, they would stay on for a few seconds then turn off. I had 6 50W halogen GU10 lights connected to the dimmer, so I needed to increase the max load from the default of 250W to 300W.

Tomorrow the remaining two dimmers I bought will go in!