Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Advanced Automation for PIR triggering on with timed turning off

$
0
0

@mikestreety wrote:

Hey all,

Have been an on and off Home Assistant user for a couple of years, but now I’m going to really get into it :slight_smile:

I have a few smart plugs and bulbs around my house, which are set up through SmartLife app - I’ve set up Tuya and can see them in my set up.

I recently bought a PIR sensor that I want to set up in my porch - to turn the lights on. I could understand how I would do this, but I need a bit more complex config. Rather than me poking and hacking my way through, I thought I would seek advice of seasoned “professionals” in the best way of approaching this.

My porch lights are smart bulbs and are currently programmed to come on at 3:30 and go off at 11. I will be changing this to turning on 80 minutes before sunset soon.

I would like the PIR to sit in the porch and, if triggered, turn on the porch lights. I then want them to turn off after 5 minutes. However, I don’t want this to happen if they were already on. Ideally, I also don’t want this to happen if they were supposed to turn on just after they were triggered, but I can live with this if this is the case.

WHat is the best way of doing this?

To summarise:

  • Turn on when the PIR is triggered
  • Turn off 5 minutes after the PIR turned them on
  • Come on at 80 minutes before sunset
  • Turn off at 11.

I would assume I could have the turn on/turn off timed and then have those times reversed as an exception to the PIR triggering. The main thing I’m struggling with is the turning off after 10 minutes.

Would prefer to do it all through the GUI if possible.

Hope this all makes sense!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>