13

I have a bunch of presence and motion sensors (like four, but shush) and when people leave rooms I would like to turn the lights off after five minutes, however if someone returns to the room before that five minutes is up, I'd like to start that countdown again. Is there a grateful way to do this that isn't me just doing if no activity for five minutes, turn off the lights, else wait five minutes and then turn off the lights. Because that's ugly, rigid and not very smart at all.

you are viewing a single comment's thread
view the rest of the comments
[-] ptz@dubvee.org 3 points 9 months ago

Are you doing all the logic in HA or are you using NodeRED?

I used to have a similar timer reset for my "going to bed" button that I could cancel/snooze before the events started firing. It was done in NodeRED, though, and HA just glued that logic to the UI and buttons.

[-] walden@sub.wetshaving.social 4 points 9 months ago

OP would be able to accomplish this in NodeRED pretty easily. It's probably pretty easy in HA too, but my brain only works with NodeRED haha.

[-] sabreW4K3@lemmy.tf 2 points 9 months ago

Why do you love NodeRed so much?

[-] walden@sub.wetshaving.social 2 points 9 months ago

I've been using HA for about 7 or 8 years (maybe longer?). Everything used to be YAML only, including automations. Now you can set up devices in the GUI, make automations in the GUI, etc., but I learned NodeRED when things weren't as streamlined. I've never bothered to learn HA automations because NodeRED is so great.

[-] sabreW4K3@lemmy.tf 1 points 9 months ago

How do you feel about the progress that Home Assistant has seen while you've been using it? And looking at the climbing adoption, you must feel like a proud parent?

[-] walden@sub.wetshaving.social 2 points 9 months ago

It has come a long way, absolutely.

There was a while where if you didn't check the change logs before updating, you'd likely be in for some surprises. That's pretty rare now.

I don't really feel like a proud parent because I haven't contributed much, even in the way of bug reports. I've just been along for the ride.

[-] sabreW4K3@lemmy.tf 2 points 9 months ago

You say that, but the last update broke my thermostat with their new climate controls and also some of my lights needed switching to the light service from the switch service.

[-] walden@sub.wetshaving.social 2 points 9 months ago

The thermostat backend didn't change, just the card right? It looks different but didn't lose any functionality. Sorry you had trouble with it. I have 4 or 5 different thermostats and they never stopped working.

[-] sabreW4K3@lemmy.tf 1 points 9 months ago

How did you get into NodeRed?

[-] ptz@dubvee.org 2 points 9 months ago

I was complaining to a friend about how clunky it was to setup automations in HA, and they told me about NodeRED. lol. Haven't looked back.

[-] sabreW4K3@lemmy.tf 1 points 9 months ago

This was before the UI or recently?

[-] ptz@dubvee.org 1 points 9 months ago

About 5 years ago, so probably before.

this post was submitted on 27 Jan 2024
13 points (88.2% liked)

homeassistant

11921 readers
46 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS