I’m fairly sure at least one other member has done this. You need to use @rmbhatia ’s code, in which you can set the parameters yourself (these are hard coded).
This is what worked for me after learning to program from the Docs in one day. May not be the bestl solution, but it works. Just make sure you change the parameters in the configuration function to match your requirement. The parameters can be found in the fibaro manual
Fibaro Dimmer 2 Manual
Fibaro Dimmer 2 Code
Steps:
Pair your device
Install a new device type in your IDE
Select from Code, and paste the code I’ve attached
Make Changes to your Configuration
Save and Publish for yourself
Select your Device you Paired in Step 1, and change it to Fibaro Dimmer 2 UK (at the bottom of the list)
Hope this helps.