webCoRE Humidity and Motion automation help

Good Evening!

I’ve gone over this time and time again in my head and have yet to figure out a way to do it.

Room Description:
I have a weird room that I’m trying to automate and need a little bit of help. It’s a room with a door leading into it, containing a shower, and a toilet. There is also a single light.

What I’m trying to do:
When I walk into the room, I want the light to turn on. This can be accomplished by the motion sensor. The light should stay on so long as the motion sensor can see me. After the motion sensor does not see activity for 5 minutes I want it to turn off the light, unless… The humidity sensor sees a rise in temperature. (this is when the shower is running). One of my challenges is getting it to turn off after the shower is off and there is no motion.

What I have:
One ST motion sensor
One Humidity Sensor
One Hue Light

I don’t know how to really make this work. I always end up with the lights going out because no motion was seen. Any help is appreciated!

also post on the webcore forum at https://community.webcore.co

they enjoy helping folks build pistons :slight_smile:

1 Like

Didn’t know this existed!! Thank you!

My solution to a similar problem included adding a contact sensor to the door to better inform when someone leaves the room.

1 Like