Notification only if humidity is high for the last 30 minutes

I thought i ask here before i try and do my own implementation, as last few things i wanted to build already existed :slight_smile:

I have already a notification to my phone that every time any of the humidity sensors post a new value, and that value is higher than 60%, i get a notification with the device name (room name) and the humidity.

This worked wonders for a bit and i would manually vent the house until i learned how to manage it.

Now it basically only triggers when someone is taking a shower, so that got me thinking that i actually don't want an instant notification, but something like:

  • if humidity for a device is higher than 60%
  • wait 30 minutes
  • get the humidity again
  • if still higher than 60%, notify

The sensors are aqara and those sleep a lot of the time, so i cant really lean on having more than one event in 30 minutes, unless there are rapid changes.

Any alternative ways to achieve this?

You could use "and stays that way" in the trigger

3 Likes

Same theory, but opposite reason. Humidifier gets turned on when humidity is low so the cat doesn't shock me in my sleep. :zap:

1 Like

Am i making some mistake? I keep getting notifications for humidity values that are lower than 60. Here some screenshots of the rule and notifications:


Yes. Either create an average sensor and create a notification rule for it. Or setup individual notification rules for each of your humidity sensors.

If there was an option to export a rule, manually clone it X times and import those X rules - i would go for it. Think of GitOps/DevOps. ClickOps is really not an option for me, so i will in this case either go back to the old broken notifications or not have one in the first place.

And keep checking here in case such a feature becomes available.

There is. Rules can both be exported/imported and cloned.

1 Like

I have an open question (Configuration as code / GitOps) which you may be able to help me with in this case. And thanks.

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