And good point about the false positives, it could be that the evening sun casts some rapid shadow movements since it shines through the tree.

Read More...

Right, the overflow will not create a crash, the counter is simply ignored for drop counting. There is one function evaluates the interval counter and calculates both rainVolume and eventFrequency. It does not distinguish between drop and bucket count. The differentiation comes through the serialization function, that creates a JSON document:

void serializeRainSensor(JsonObject &doc, rainsensor_data &data, String name) {
  JsonObject json = doc.createNestedObject(name);
  json["init"] = data.status;
  json["mode"] = data.mode == 0 ? "tipping bucket" : "drop detect";
  if (data.status) {
    json["count"] = data.count;     // only relevant in tipping bucket mode
   if (data.mode == 0) {
      json["rain volume"] = data.rainVolume;
   } else {
      json["drop freq"] = data.eventFrequency;
   }
 }
}
The count value is only for debugging purposes so that you can check whether an event has been recognized - nothing more.

Read More...

For simplicity reasons the count variable is delivered for both types of rain sensors, bucket count and drop count. For the latter, only the eventFrequency is of relevance, count can be ignored.

Read More...

Btw: the count variable is only used for bucket mode. For drop detection the frequency is calculated by intervalCount, which is typically reset to 0 once a minute. And for the bucket mode, I would question that anyone sees the overflow.

Read More...

OK, the new version 1.16 has found its way into the master and is available now in the latest sources at github.com/indilib/indi-3rdparty

Read More...

I found a place in the rain sensor code that wasn't protected properly as interrupt. It would be great if you give it a try. It's branch weatherradio-v_1.16 at my indi-3rdparty clone github.com/sterne-jaeger/indi-3rdparty

Read More...

Are you familiar with GIT? I could create a new branch on my indi-3rdparty fork so that you could download the latest firmware version and install it on your ESP8266.

Read More...