Combine the two sensors?


#1

Greetings peeps,

In my garage auto-closing piston, I decided to add the my outdoor motion sensor to it. Right now I have the two separate in the wait that checks if there’s no motion for 30 minutes. Since the time I’m using is AGE and has to be calculated, is the reason why I have an equation for each sensor.

I’m after the flexibility aspect of it (my motionSensor variable). I may include the backyard sensor in the future so there would be three. Plus it’s a learning exercise.


#2

Wow. That is one way to skin a cat.
Why not choose -
IF
All of motion sensor A or B is inactive for 30 minutes.

IF
Garage door is open for x minutes.

It’s all there in the drop downs.
Have a rummage around.


#3

I’ll try to see if the custom handler for the garage doors will handle the “IF Garage door is open for x minutes” and post an update.


#4

So it appears the piston DOES recognise that the garage door stays open for x time after all. So the changes worked. What I’ve also done was add a check to make sure the door did close, just in case there was something in the way in the first place.

Thanks for the suggestion. :slight_smile: