Quantcast
Channel: HomeSeer Message Board
Viewing all articles
Browse latest Browse all 4847

How would I run this program? Lamp timer that changes if you're home vs away?

$
0
0
Hi all,

New to HS3 but coming from the ISY994. Here's what I'm trying to accomplish, just not sure how you do this the best way in HS3.

- I have a program that says if the house status is HOME and the time is 10am, turn on the Philips Hue lights.

- I have a second program that says if the time is midnight and it is a weekday, turn off the Philips Hue Lights. There's a second one as well that does the same but turns them off at 1am on Weekends.

- If the house is in AWAY mode the Hue lights of course wouldn't come on at 10am.

Here's where I'm wondering the best way to do this:
If I come home at say 3pm and the house is now in HOME status, the Hue Lights should come on as they would be off. On the ISY I'd have done this as "If the time is between 10am and midnight and house is in HOME status turn on the Hue Lights" as that way criteria 1 is true (the time) and criteria 2 is true (the house changing to HOME status) but from what I understand HS3 doesn't support or do "time is from" triggers and needs one event to turn them on and another to turn them off. Turning them off if the house changes to AWAY mode is easy, but it's how do you turn them on or have that program catch up? I could make one that says "If the time is after 10am and the house changes to HOME status, turn on the hue lights" but that's an extra 3rd program now to do the same thing that the ISY does with 1. Just wanted to see if there's some other way or the best way to do things like this or if 3 is how you do it. It's just a pain as like I mentioned on the weekend they come on at 10am, but during the week it's 5pm, so it's just a lot of events to write for all the variables. Is this where maybe group conditions would be used?

Thanks!

Edit I think I got it to work unless there's better options. I made a virtual device so when the program turns the Hue lights on at 10am or 5pm, it also sets the virtual device to Enabled. When the program turns them off it changes them to Disabled. Then I just made a program saying if the house goes into away mode turn them off, and then if it goes into home or alarm disarmed mode and that virtual device is enabled, turn the hue lights back on.

Viewing all articles
Browse latest Browse all 4847

Trending Articles