Sonoff - Zigbee Rain Sensor

I have this sensor: klick connected to iHost. Works fine. The problem has arisen now when the outside temperatures have dropped to around 0 degrees Celsius or a little above and frost has accumulated on the sensor at night. When it warms up in the morning and the frost melts, turning into water, the sensor reports rain and the automations are triggered, even though the sun is shining outside. Does anyone have similar problems and how did you solve them?

I have a weather station that does this connected to MQTT. It uses a collector running into a little plastic cup to capture rain. When it fills it tips and the machine counts the number of times it tips. I’m assuming this is the best way to do this rather than using changes in capacitance/lasers or something. Might even be a device type in the Arduino Espressif Zigbee Github, but I’d need to have a look. If you could source the plastic bits I don’t think the electrics would be too complicated. Pretty sure these sensors are just two electrodes: mine doesn’t sense light rain unless it has been going on for ages and the time taken to turn off depends on where you put the sensor as it needs to be blown dried or have sunlight to prevent drops beading. Even at 45° the drops don’t roll off and at more Acute angles the ability to sense light rain worsens.