An understanding of the local weather is very useful to a contextual smart home. To get accurate and timely data we use a local weather station and one part of this is a connected rainfall sensor or rainfall gauge. Typically these devices use a 'tipping bucket' mechanism to measure the amount of rainfall over a time period.