this post was submitted on 11 Nov 2023
87 points (94.8% liked)
homeassistant
15962 readers
1 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.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
I've just set it to trigger after a delay, seems to have done the trick