Hi I guess I have two issues that I hope are easy for you experts to fix:
My lights do not turn off in the morning. Either on their own or after I press “do it now.” I used a basic schedule as seen in the JPG attachment. A look at the status (as below) shows the current state to be off. Is my “actions” that just selects on incorrect (see attached jpg)? Thanks!
More oddly, my sunrise and sunset times appear to be set roughly for zero lat & zero long. And my Vera is selected to NYC and shows my town in NJ as my location. My router also shows the correct time zone. This is why I have the 4 hour offset to turn on and the six hour offset to turn off as shown below.
Any suggestions would be most appreciated! Thanks.
Schedules
Name On Type On Time On Days Random On Delay Off After Type Off Time Off Days Random Off Delay State Last On Last Off
Snighttime Weekly +04:00:00t 1,2,3,4,5,6,7 None Weekly +06:00:00r 1,2,3,4,5,6,7 None false 2015-03-28 18:08:23.100 2015-03-29 08:01:34.100
Conditions
Name Repeat Expression State Last True Last False
cnighttime No Snighttime false 2015-03-28 18:08:23.115 2015-03-29 08:01:34.102
Actions
The reason that your lights don’t turn off is that you didn’t tell them too!
Add a Condition aftercnighttime:
cdaytime !cnighttime
Then add Actions for cdaytime to turn off the lights.
More oddly, my sunrise and sunset times appear to be set roughly for zero lat & zero long. And my Vera is selected to NYC and shows my town in NJ as my location.
It seems that your location is not set correctly. I would repeat the setup. Try setting it again. Also check the Latitude and Longitude figures and correct them if necessary. You can get them for your location through Google.
Thanks. I added the condition and action you suggested, re-did the lat/long. I will see if the sunrise time works. But for now, I noticed that if I clicked “do it now” in the schedules tab, the lights toggle between on and off! Shouldn’t “do it now” produce the same result each time I click it in the schedules tab - i.e., if the time is between sunset and sunrise, the lights should stay on no matter how many times I click it?
When a schedule happens … either off or on … it evaluates conditions and execute actions at that are true at the time.
When you click “Do It Now” you are simulating the NEXT scheduled event, if the schedule is currently OFF, is turns it ON immediately and vice versa.
So you can test your logic without having to wait until the timer fire at their scheduled time.
In your case you have a timer that turns ON at some time and OFF at a later time. Conditions, Actions, and in this case light settings, only have at the events (timer on/off in this case). If the timer turns the lights on … you can manually turn them off and they will stay off. Of course there are ways to write PLEG logic so that the lights would turn back on if they are manually turned off during this interval.
Setting worked fine until some days ago, did something change?
Settings of timezone in veralite are still the same, Amsterdam
PLC Version:7.46 PLEG Motion-s[85] 2015-10-22 17:54:18.408
Registration
Installed: Sat Nov 16 2013. You have 1 license, which allows a total of 4 PLEG and/or PLTS plugins.
[quote=“Mothan, post:9, topic:186672”]Hi Richard, the day lite change is coming this weekend, but it looks like the time is 5 hours off… Will try a power cycle also…
Thanks,
Danny
Sent using Tapatalk[/quote]
If the time is off that could be your problem. VERA syncs time via the internet when you power cycle. That is why Richard asked you to make sure internet is good and connected while you power cycle to try and get your time back in sync.
I’m confused, and you still haven’t said if its working right after a power cycle or if you even power cycled it. Time in your PLEG status report is more important and not the same as the time in the vera UI.
The Time in the Browser is the time of the machine running the browser … That does not tell you what time Vera thinks it is.
Changing the TimeZone on Vera does not cause it to reconnect to the time server. It just resets how Vera displays it’s time (i.e. the values displayed in the LOG files).
The only thing that will reset the time (without logging into Vera using ssh as root and issuing the appropriate command line command) is to POWER CYCLE Vera while it has network connectivity.
Vera ONLY looks for a time server during the boot cycle!!! This is why many people have there Vera on a UPS.
If you had a power outage and the power came back faster than your network … than Vera will HAVE the wrong time.
If you want to see what time Vera thinks it is … monitor the log file on Vera (the log file may be delayed (buffered) for a few minutes.