this post was submitted on 11 Nov 2023
87 points (94.8% liked)

homeassistant

12055 readers
46 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I'm a Dad. When I run a bath I hang around waiting for it to run. Usually I grab my guitar or my Rubik's cube and play around for a bit. Most of the time I lose track of time and find my bath is "overflowing" by the time I realise I should still be keeping an eye on it.

My kids are the same, usually they don't wanna bath, they're playing games or something.

So I got a couple of Tuya water leak sensors off Ali for £4 each, one for each bath.

I installed mine yesterday on the back of a basket that we keep bath things in hanging from the shower. I've run the wire down, around the taps and a dab of glue on the back of the sensor to stick it just below the overflow.

Now when my bath water touches it, all my bedroom, kitchen and front room lights will flash for a second and my GH speakers will announce that my bath is run.

I plan to do the same with my kids' bath, I just need to find somewhere to put the sensor.

It's an idea I've had for ages. Next idea is to have one placed in the downpipe from my guttering so that I get notified when it's raining, saving my washing from getting wet. We live in the UK so rain is pretty common.

Any other creative uses for normal sensors? Share them here for the community.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago (2 children)

Just tried it out, had lights flashing as I went up to check on it and apparently the TTS notification when haywire, so I need set it to fire once lol

[–] [email protected] 1 points 1 year ago (1 children)

You can set the automation to fire after a reasonable delay, so that if something is firing continuously you aren't getting constant/overlapping messages.

[–] [email protected] 1 points 1 year ago (1 children)

Yeah I've edited it to activate after 20 seconds now and added a Boolean that also activates with a delay of 2 hours before the Boolean turns off. I've also added a node to check if the Boolean is off before the notification.

So now it activates if the sensor has been submerged for 20 seconds and the notification hasn't fired for 2 hours.

I may have another edit and have the Boolean turn off if the sensor hasn't activated for a while instead.

I'm also considering adding the sensor to the light automation in my kids bathroom to stop the lights going out. I already have a motion and door sensor doing this, but the kids keep managing to knock the door sensor off with their heavy handed door use.

[–] [email protected] 2 points 11 months ago (1 children)

I believe there's a throttle node in node-red to only let the flow continue once in a settable amount of time. I use it to keep security camera motion notifications at bay.

[–] [email protected] 2 points 11 months ago

I've just set it to trigger after a delay, seems to have done the trick

[–] [email protected] 1 points 1 year ago (1 children)

Say, are you planning to update the stock firmware of the device with Tasmota? Will you keep on top of updates? Is there a need to?

[–] [email protected] 1 points 1 year ago (1 children)

No need, it's ZigBee so it's just hooked in via my ZigBee usb, no Tuya involved except in its manufacturing.

[–] [email protected] 1 points 1 year ago (1 children)

Do you not need to update the firmware for newer versions of Zigbee?

[–] [email protected] 3 points 1 year ago

Not with any of the ones I've bought recently (also from AExpress)