Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

EISY-UI time display discrepency

Featured Replies

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?

image.png

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.

  • Author

image.png

image.png

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 .

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:15

Also, there is no need from from, an exact time of sunset is fine as there are no other conditions.

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:15

Also, 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

  • Author

This evening I watched again and the lights came on about 20 seconds after dusk. Close enough for me.

image.png

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.

15 hours ago, IndyUDIuser said:

This evening I watched again and the lights came on about 20 seconds after dusk. Close enough for me.

image.png

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.

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 by apostolakisl

  • 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; done

Thanks. It shows the time exactly matches my computer's time to within a second or so.

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 by apostolakisl

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.