# Rain Gauge - how to process input

**URL:** <https://community.openenergymonitor.org/t/rain-gauge-how-to-process-input/12153>\
**Category:** Emoncms\
**Tags:** feeds, inputprocessing, emoncms\
**Created:** [12 October 2019 17:51 UTC](https://community.openenergymonitor.org/t/rain-gauge-how-to-process-input/12153 "2019-10-12T17:51:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lukew151](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/l/9f8e36/32.png) [@lukew151](https://community.openenergymonitor.org/u/lukew151)\
**Post date:** [12 October 2019 17:51 UTC](https://community.openenergymonitor.org/t/rain-gauge-how-to-process-input/12153/1 "2019-10-12T17:51:11Z")

</div>

Can anyone advise how best to process the input from a rain gauge?

I have a rain gauge connected to an Wemos D1 - it’s counting pulses and uploading the data to my emoncms installation.

Logging the input, I get a feed of an ever increasing count, but I’m struggling to convert that to a usable “rain/hour” feed.

The processing I’m doing to the input is as follows:

1. Log to Feed (rain\_raw) // this accumulates nicely
2. Rate of change // flatlines
3. Allow positive // incase the Aurunio resets
4. x (0.36128564) // conversion for my tipping bucket
5. Log to Feed (rain\_60s) // flatlines

What am I doing wrong?

---

_[View the full topic](https://community.openenergymonitor.org/t/rain-gauge-how-to-process-input/12153)._
