What is the best way to detect rain?

I have an ambient weather station that has a rain sensor and can report rainfall rate, but it has to be raining for a while before the sensor reports. I haven’t tried to parse the weatherunderground integration to try to use that data as a sensor.

Thanks. I am using OWM and I find the weather forecast is not so accurate. Is Dark Sky better?

Thanks. I don’t have a weather station but I have ordered this…

https://www.aliexpress.com/item/Wireless-Water-leak-detector-water-leakage-sensor-bathroom-water-flood-sensor-for-Home-commercial-alarm-system/32667980933.html

I am still waiting for its arrival. Can’t wait to test it out.

I’ve been using ‘sensor.dark_sky_icon’. Rather than returning multiple versions of ‘rain’ like light rain, heavy rain, thunderstorm, etc, it simply returns ‘rain’.

I get a ton of sensors from Dark Sky. It seems pretty accurate as far as current weather goes. The short term forecast text is sometimes off (predicted snow for me when I got rain).

I get:

monitored_conditions:
  - summary
  - icon
  - nearest_storm_distance
  - nearest_storm_bearing
  - precip_type
  - precip_intensity
  - precip_probability
  - temperature
  - apparent_temperature
  - dew_point
  - wind_speed
  - wind_bearing
  - cloud_cover
  - humidity
  - pressure
  - visibility
  - ozone
  - minutely_summary
  - hourly_summary
  - daily_summary
  - temperature_max
  - temperature_min
  - apparent_temperature_max
  - apparent_temperature_min
  - precip_intensity_max

good idea.

@ih8gates, ok i will try it out for few days to see the accuracy.

In the mean time, i have purchased this 433Mhz water sensor.

https://www.aliexpress.com/item/Wireless-Water-leak-detector-water-leakage-sensor-bathroom-water-flood-sensor-for-Home-commercial-alarm-system/32667980933.html

I will use this to detect rain. Hopefully this is reliable.

I think something like this would be more sensitive:

Is it reliable masterkenobi? :slight_smile: I like the 433MHz stuff since it doesnt use much battery.

at first it was quite reliable. it did send an alert before the rain gets too heavy. but after awhile, it has stopped working. maybe the PCB got damaged by the elements or no more battery. anyway, i don’t have the time to climb up the roof to check. i still got 10 to 20 sensors waiting for me to change the battery.

I wonder what people in Germany are using to reliably detect rain. I am using dark sky right now, but it is not as accurate as for e.g. the USA. I was experimenting with dark_sky_precip, but it seems to show rain quite often. Therefore, one has to also look at the probability (dark_sky_precip_probability) to figure out if rain is likely or not. I would be interested in your thresholds you are using for your notifications or even other ways to detect rain.

1 Like

Did you find out a good solution to detect rain?

I’m using this now. Still working until now.

3 Likes

I look out the window… :duck:

8 Likes

You beat me to it by 4 minutes

3 Likes

Well, if you want to do something real based on whether it rains or not, that is not much helpful specially when you travel often…

If anyone goes with the xiaomi door sensor style, I’ve created a case for it: Rainsensor with Xiaomi Door Sensor by ThaNerd - Thingiverse

1 Like

I use this sensor:

High sensitivity thin film capacitive rain sensor.

It’s tiny, entirely insulated (so no exposed metal and it doesn’t degrade due to the elements) and very sensitive. It also has an integrated NTC and heating element for de-icing, but it also works without them.

1 Like

I have a hard time finding these anywhere, at least in the UK. Quick question: How does a capacitive sensor different from the usual, cheap and more exposed ones ?

I ordered mine directly from RadioControlli in Italy (I got a few of their RF modules too, they have some really nice good quality stuff).

The physical principle is different. The ‘normal’ ones measure resistance. When rain falls onto the exposed PCB traces, it connects the traces and lowers the overall resistance as rain water conducts electricity. The more rain, the lower the resistance. For that to work, the electrical traces have to be exposed so that the water can touch and ‘short’ them. That will make them degrade easily with dirt and corrosion.

Capacitive sensors work differently. They don’t measure the resistance but the capacitance. The traces are completely insulated in a non conductive resin substrate, forming a capacitor. No water ever gets to them, so they will not degrade. When rain drops fall onto the (insulated) surface, the value of the capacitor changes, because the water acts as a dielectric. This works without direct electric contact. It’s similar to the way touch screens operate. The detection circuit measures the capacitance of the rain sensor. The more rain drops, the higher the capacitance.

Even though they look similar, both aren’t directly interchangeable. They need their own detection circuits, due to the different physical properties measured in each (resistance vs capacitance).

1 Like

I might have to get them from italy. I see some on eBay but all from China. I did order a tipping bucket rain sensor from Aliexpress to also measure rainfall.

Thanks, very useful info.

Even though they look similar, both aren’t directly interchangeable. They need their own detection circuits, due to the different physical properties measured in each (resistance vs capacitance).

Would they work with a 433 door sensor or a aqara zigbee sensor ? Or do i need a somewhat more digital processing here? The ones i originally ordered
https://www.amazon.co.uk/gp/product/B07V5QWXNS/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&th=1

also come with a little sensor, which actually allows for snow/humidity but i expect that needs some more work from me to process the signal software wise. I have to check the pdf that came with it though.