Tuesday at 10:33 PM2 days I set up a program to turn on some lights from Sunset to 11PM. The lights came on less than a minute ago. Yet the system shows Sunset is supposed to be 5:27PM, and the current time is 5:25PM.Not a big deal, but any idea why the time discrepancy?
Tuesday at 11:34 PM2 days just postulating here, but I would say that one of the sunset timers is using your configured location and the other is using your IP address for location.
Tuesday at 11:54 PM2 days Please post the program line showing last run, last finish, next scheduled.
Wednesday at 05:03 PM1 day Author In my previous post I mentioned 11PM, but I meant 11:59PM. (I wanted midnight, but I couldn't remember if midnight is today or next day, ha ha.)I don't see an option to copy a program to the clipboard like in Admin Console.Hope this helps. Thanks @Javi .
Wednesday at 05:13 PM1 day It is too late now as the last run is when it evaluated false. But you can see today's next scheduled for 5:27:15Also, there is no need from from, an exact time of sunset is fine as there are no other conditions.
Wednesday at 06:15 PM1 day 1 hour ago, Javi said:It is too late, now as the last run is when it evaluated false. But you can see today's next scheduled for 5:27:15Also, there is no need from from, an exact time of sunset is fine as there are no other conditions.I put full logging of all program activity into IoX Logger plugin. Very helpful in situations like this. I used to write programs sending me emails every time a program ran when trying to debug stuff like this. @IndyUDIuser
Wednesday at 10:31 PM1 day Author This evening I watched again and the lights came on about 20 seconds after dusk. Close enough for me.When I was looking at the issue last night, I noticed the clock on EISY was about two and a half minutes off from my computer clock (I forget if it was ahead or behind). Tonight it is only 1 second off. I don't know if that tells you anything.
12 hours ago12 hr 15 hours ago, IndyUDIuser said:This evening I watched again and the lights came on about 20 seconds after dusk. Close enough for me.When I was looking at the issue last night, I noticed the clock on EISY was about two and a half minutes off from my computer clock (I forget if it was ahead or behind). Tonight it is only 1 second off. I don't know if that tells you anything.Likely time (count) drift in the browser only not on eisy itself, refresh should correct. Will test a fix for drift.
11 hours ago11 hr Ssh into eisy and use this command to view the actual time eisy thinks it is. while true; do date '+%Y-%m-%d %H:%M:%S'; sleep 1; done Edited 11 hours ago11 hr by apostolakisl
7 hours ago7 hr Author 4 hours ago, apostolakisl said:Ssh into eisy and use this command to view the actual time eisy thinks it is.while true; do date '+%Y-%m-%d %H:%M:%S'; sleep 1; doneThanks. It shows the time exactly matches my computer's time to within a second or so.
4 hours ago4 hr 2 hours ago, IndyUDIuser said:Thanks. It shows the time exactly matches my computer's time to within a second or so.No doubt, the html user interface loads the time from eisy when you first load the page, then the clock "ticks" using your browser's time keeping. The web browser may not keep the greatest time and can get out of sync. The longer you have the browser open, the more it can get out of sync. It may periodically re-sync, I don't know. So that is probably why you see a few seconds difference. The programs are triggering off of eisy's clock, not what the browser shows. Open the ssh clock and compare that to something you know is spot on to ensure eisy clock is correct. Assuming eisy clock is correct, you can look at what time eisy says it ran programs vs what time it should have run programs (using the program summary page if you only need to see the most recent run of the program). And finally, compare what time eisy says is sunset vs what time the sun actually sets. Of course that is tricky because sunset is affected by your precise lat/long as well as your elevation and the elevation of land around you. That lat/long part is an easy lookup, but the terrain stuff not so much. Edited 4 hours ago4 hr by apostolakisl
Create an account or sign in to comment