HomeSeer tends to be very literal and accurate. I have never seen it misread a condition. I would have to see what time sunrise and sunset are on your system and a log entry showing the nighttime condition was not met during nighttime hours.
Announcement
Collapse
No announcement yet.
How do I turn lights only for a certain length of time using an event?
Collapse
X
-
What didn't work? Was front door opened? And was it after nighttime (unfortunately, HS doesn't show the sunrise/sunset time anymore. Instead you have to use the Jon00 plugin which has it's own issues/overwrites. HS doesn't care putting it back...). Anyways, if the door is being opened and it is night time then it should trigger.
Comment
-
I didn't know about this but it's rather complicated. You have to go to the main page. Then click on "manage users" in the top right. Then click on "General" and then look at "Location" which lists the sunrise and sunset. In HS3 you could see the sunrise and sunset on each single page you visited. It's such an important time that it really should be shown on each page rather than having to go through a bunch of steps. My 2 cents.
- Likes 1
Comment
-
When I noticed it wasn't working, I removed the test for the lights being on already, and I adjusted the time criteria to be sunset plus 1 hour. This does now show the time on the condition.
Here is the event called by IFTTT which calls the Security Ring Doorbell - Motion - Action event:
Here is the log file:
6:29:00 PM - it detects me opening the front door to go onto the front porch
6:29:00 PM - it turns the hallway lights on per that event
6:29:04 PM - the Security Ring Doorbell - Motion event is run by IFTTT
6:29:04 PM - the 'Run Event' action is skipped because the conditions were not met.
So, as I am typing all this out I think I might have figured out what the issue is. When I was testing for Nighttime, it is testing that the time is in the Nighttime range (after Sunset and before Sunrise), in an attempt to limit it to when it is truly darker out, I thought the one hour after Sunset would be the way to go and assumed it would still be a range i.e. Sunset + 1 hour through to end of day.......BUT......I am now thinking that it is very literal and it is checking for the EXACT time to be sunset + 1 hour. This is fine if you are setting the event to run at that time and only at that time, but not if it is a secondary condition and you want the time range. D'oh.
Let me put this back to Nighttime and see if that works.
Comment
-
You figured it out. 1 hour 0 minutes after sunset is an exact time and will not work as a condition. Nighttime is a range. There is an Easy Trigger Condition or Easy Trigger schedule that will do what you want. Here is an event using Easy Trigger Conditions that will run between an hour after sunset and an hour before sunrise. it takes two Conditions because HS conditions cannot cross midnight.
HS4 Pro, 4.2.18.3 Windows 10 pro, Supermicro LP Xeon
- Likes 1
Comment
-
Originally posted by carlsnewton View Post
PS - Should I be worried about these entries in the log relating to receiving messages from unknown networks, or the error on strings outside the bounds of the array?
Mike____________________________________________________________ __________________
HS3 Pro Edition 3.0.0.548, NUC i3
HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti
- Likes 1
Comment
-
Originally posted by randy View PostYou figured it out. 1 hour 0 minutes after sunset is an exact time and will not work as a condition. Nighttime is a range. There is an Easy Trigger Condition or Easy Trigger schedule that will do what you want. Here is an event using Easy Trigger Conditions that will run between an hour after sunset and an hour before sunrise. it takes two Conditions because HS conditions cannot cross midnight.
These are the selectable options
I tried "The time is this after Sunset" and then selecting 1 hour.......but that is the same issue as being an exact time. If I select "The Time is After This" I have have to pick an exact time, I can't see how to pick sunset + 1 hour?
Comment
-
If you don’t want to purchase Easy Trigger, you can create a Virtual Device with an Event to turn it on at 1 hour after sunset and another Event to turn it off at 1 hour before sunrise. Then use the Virtual Device as a condition in the Event that turns the lights On. This Virtual Device could be called “Night Lighting”and could be used in many lighting Events.
Easy Trigger also allows you to easily set a daily or weekly schedule that can be used as a Trigger or Condition in an Event. There are many features of value in Easy Trigger. I highly recommend this plug-in. Read about it here.HS4 Pro, 4.2.18.3 Windows 10 pro, Supermicro LP Xeon
- Likes 1
Comment
Comment