I'm thinking about using a Fibaro FGBS001 with a rain gauge like this one:

Every time the bucket is full a switch is activated (every 0.2794 mm of rain).
How can I add this in Domoticz ?
Using a dummy rain switch and every time the FGBS001 is turn on add 0.2794 mm to the dummy rain ?
Do you think it's a good idea ?
Thank you.