It isn’t that hard to make an electronic rain gauge if you have a steady source of power or you don’t mind changing batteries ...