Portable rain drop sensor made with Xiaomi door sensor

Any update? I have three windows, not seeing any rain sensor in HA…

Not yet merged

1 Like

So i see you had it mounted at an angle first, and now flat. I struggle with this myself. Put at an angle, rains falls off quickly but then it reports rain has stopped. And it usually doesn’t immediately say it rains again on the next raindrop.

I was thinking of mounting it straight up to always have rainfall, it would make detection better, but obviously rain might pool.

But why mount vertically?

Do you mount this at an angle or just flat ? I put it at an angle but then obviously the rain falls off and it says rain stopped again fairly quickly (and new rain drops don’t seem to register for some reason).

If you do put it flat doesn’t the rain pool up and it will never register that rain has stopped?

How often do you need to change the batteries for this device? I’m assuming you’re just using the CR battery which is part of the sensor?

I added 2 x 3V solar cells to it plus a charge controller! No battery change anymore!

4 Likes

It can last at least 1 year. yes, using the coin battery.

1 Like

You could make this even cheaper by using this leak sensor from Amazon. It runs off 2 AAA batteries so could last for years.

I can’t find the info on battery life for this product. Bigger batteries are there surely to supply power to the siren (hopefully you can disconnect it). I’m not sure what current is drawn when contacts closed. Can this impact the lifetime of rain modul (eg. corrosion)? So I’m more into appropriate door/window sensors.

I’m currently very satisfied with the Aqara door sensor and I’m pretty sure it is designed for being in closed contact most of the time, for the water leak sensor this closed circuit occurs once or never during its lifetime, right?

What I would do (and perhaps I will) is to solder 2AA housing to the coin battery contacts of the door sensor. We need some kind of 3D printed housing for it anyway and it can be slightly bigger to include the AA battery holder. Then it should last 14 years at least, based on the capacity enhancement. Be aware to use lithium AA batteries!

You can disable the alarm and the LED via Zigbee2MQTT on this sensor.

1 Like

From the docs:

Alert_behaviour (enum)

Controls behaviour of led/siren on alarm. Value can be found in the published state on the alert_behaviour property. It’s not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alert_behaviour": NEW_VALUE}. The possible values are: siren_led, siren, led, nothing

So I assume so, by setting alert behaviour to none.

I assume I have the right device Linkind LS21001 control via MQTT | Zigbee2MQTT

Yes, that is the correct one. The siren and LED behaviour can be changed easily in Z2M

You probably therefore have a similar setting in HA. The easiest way is to go to Open your Home Assistant instance and show your integrations.

Search for mqtt (typing mq is enough) then it’ll say "X devices Y entities), click on the devices, search for the device. Click on it and you’ll get a page that shows info about the device - all the entities associated with it, the ability to do scenes, automations, scripts etc. Some entitles are not enabled by default, you can enable them there.

ezgif.com-gif-maker (2)
Bought the sensor this morning and just did a proof of concept build. Seems to work great :grinning:

1 Like

Well the rain sensor has just been built and should get it first live test this evening :wink:. Could not put it next to my outdoor AQ sensor as the LQI was getting too low, so this was the next best location.



Does anyone know where to buy this Linkind LS21001 in Europe?

I found it for sale on the FR and NL sites so there maybe other sites you can get it. The Aquara water leak sensor would do the same thing, and is much smaller.

Last nights rain proved that it worked, but the impurities and salts in the rain mean that it is too sensitive and is still triggered now even though the sun is out and the sensor is dry. I either need to lower its sensitivity with a potentiometer or make another sensor with just 2 contacts where the trigger is done when water is passing the contacts.

image

I have the same problem. please post if you find a solution

I have created the Mark2 version using a small funnel and 2 wires connected through opposite sides. It works ok with tap water so waiting for some rain to fall to confirm it 100% works.


Will provide an update once we get some rain.

3 Likes