Aqara Water Sensor w/c8. How do I sound off an alarm

I have 3 aquaria water sensors connected to c8 hub. Looks like they work when I activate the dry/wet contacts.

How do I send any type of warnings to the Android habitat app, SMS, and/or Google Homes?

I made some custom code to sound off threw my google homes. But was wondering if there is a simpler and more robust way of telling me the water alarms were set off?

Have you thought of creating a Rule Machine rule that would send the notifications to your devices?

So I have a RM working. I can not figure out 1 thing. How can I repeat the check ever minute until the devices is dry. Not turned off in Habitat. If I dry the sensor on my shirt, I want it off, if it stay wet, repeat msg ever minute.

thanks

This is my rule

1 Like

You’re almost there!

Just switch the commands so that the “While” appears first, then the “Notify”. And you’ll want to add an “END-REP” command at the bottom.

To help understand how Hubitat works. Everything in the Hubitat world is triggered by a "change". So a rule that is triggered by one of your three sensors going to dry, will result in that rule running.

So a sensor state changing, time becoming equal to a time you specify, a switch or button changing state etc.
So there is no need nor method to "check" the state of a device.

I am a little confused.

The trigger is "any wet"

Are you saying, just keep repeating msg but how will "dry" stop the msg?

What @Sebastien said up there ^^^,

1 Like

Looks like it works, will keep you informed. thanks!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.