Rain gauge? ESPHome

Surely someone has the code and device for a cheap aliexpress flipper for rain? I have not found it with Google.

Thanks,
Grey

Just use a pulse counter - typically the buckets tip once per 0.1mm of rain. Add a time sensor to do an on_time: reset of the sensor at the end of the day.

- platform: pulse_counter
    pin: 12
    unit_of_measurement: 'mm/min'
    name: 'Rain Rate per minute'
    filters:
      - multiply: 0.10  # pulses x 0.1mm for default 60s
    total:
      unit_of_measurement: 'mm'
      name: 'Total Rain'
      filters:
        - multiply: 0.1  # 10 pulses per mm

I think I have the math right. :slight_smile: For other bucket sizes just multiply by the mm per bucket.

1 Like

Are you married to an ESPhome solution? I was looking for a rain gauge too and found this, using a $10 gauge and a open/close sensor. Works well!

thanks, I will give it a go !

@zoogara Can you share the purchase link to the gauging device you are using with this ESPHome implementation. Which chip or board are you using for ESPHome?

Never mind! I got it from the link shared by @nappyjim to this post.

Stumbled on your thread here as Im also curious about adding my own rain gauge to my system. The $9 Aliexpress gauge seems like a good starting point but I was curious if someone has made a 3D printed version and sure enough, several people have. Here is one ESP8266 Rain Gauge by gineer - Thingiverse and here is another that is a copy of the Aliexpress one Rain Gauge by samshadnc - Thingiverse