Jump to content

Sunset Before/After doesn't seem to work


Go to solution Solved by SimonK,

Recommended Posts

Posted

I tried setting to turn on devices 4:30 before sunset (- 4:30) but it doesn't do it.

Also I set to turn on/off lights 30 min after sunset (0:30 +), sunset is 6:52pm but in the status it states next run time is 7:20 pm which I think it should be 7:22.  

Program.png

Status.png

Posted

In the upper right corner of the first screenshot it shows your next sunset to be at 7:52 pm, I’m not sure why with the offset you have set it would show about 30 min after, but it looks correct.

 

BTW, if you haven’t discovered this:

if

    Sunset

to Sunrise 

then 

     Turn on something 

else 

      Turn off something 

 

“then” will run at sunset, “else” will run at sunrise.   
 

those two things are the only things the program does, specifically it does not enforce that “something” will remain on during that time, it only send 1 on command and one off command at the times listed.

 

obviously, something like sunset to 11pm will work just fine too.

  • Like 1
Posted
43 minutes ago, MrBill said:

In the upper right corner of the first screenshot it shows your next sunset to be at 7:52 pm, I’m not sure why with the offset you have set it would show about 30 min after, but it looks correct.

 

BTW, if you haven’t discovered this:

if

    Sunset

to Sunrise 

then 

     Turn on something 

else 

      Turn off something 

 

“then” will run at sunset, “else” will run at sunrise.   
 

those two things are the only things the program does, specifically it does not enforce that “something” will remain on during that time, it only send 1 on command and one off command at the times listed.

 

obviously, something like sunset to 11pm will work just fine too.

How do I write:
IF sunset TO??? 

to

Posted
11 minutes ago, MrBill said:

Add to program: schedule

change “time is” to “from”

“To” will magic appear, allowing something like ‘from sunset for 4 hours”

Thanks...
I guess FOR is so I can have it on for x amount.... and it will trigger the else after that amount (or "TO" in your example)?   

Posted

Right,  in each case the first ‘if’ element makes the program true, which causes ‘then’ to run.  The second ‘if’  element makes the program false, which causes ‘else’ to run.

Posted
3 hours ago, MrBill said:

Right,  in each case the first ‘if’ element makes the program true, which causes ‘then’ to run.  The second ‘if’  element makes the program false, which causes ‘else’ to run.

Thanks for your help 
I noticed the sunset doesn't work a tall, don't know why, even without the offset (+/-)...

I have set something as you suggested, but nothing happened.

 

Posted
On 9/22/2024 at 7:57 PM, MrBill said:

You might open a ticket with support, it should work easily.  Been using it for many years—so the function does indeed work.

I created a ticket, so far they also can't think off why the next scheduled run is different form the actual sunset even when I set to run at sunset (without off set).

 

I see there is another post with the same issue but that one looks like was solved... I willntry to ask there.

 

Thank for trying to help

Posted

@SimonK will you please post your program as you currently have it? Please RIGHT CLICK on the program. Select the bottom option "Copy to Clipboard" then paste as text in your reply.

Then post a screenshot of your location window (this is to confirm the location you entered is correct and near you). Note that you should not have a negative "Long" figure. To find your coordinates find your address on Google Maps then right click and it will give you the Lat/Long (the "Long" will be negative). Enter both in the Configuration -> Clock window for your location. Otherwise, if you've selected a general location it will use the Lat/Long you see listed with that time zone selection.

Based on your program screenshot above your program is only set to run on Sundays. If you want it to run daily you need to click on the block in the "IF" and then in the bottom portion click "ALL" and then "Update". Be sure to save your program. This is why the next "TIME" the program would run isn't matching what's in the top of the screen because by Sunday that would be the next sunset time. 

image.png 

However, you may have adjusted your program based on the advise @MrBill gave you; that is why I'm asking for the current program you are having issues with. 

 

  • Like 1
Posted

- See program below, set for everyday at sunset

- See screenshot displaying sunset, but next scheduled run is not the same at sunset

- See screenshot of my set location

 

 

 

<?xml version="1.0" ?><triggers><d2d><trigger><id>2</id><name>Sunset Copy</name><parent>1</parent><if><or /><schedule><from><sunset>0</sunset></from><for><minutes>5</minutes></for></schedule></if><then><cmd id="DON" node="12578"></cmd><cmd id="DON" node="70 F1 4 1"></cmd></then><else><cmd id="DOF" node="12578"></cmd><cmd id="DOF" node="70 F1 4 1"></cmd></else><comment></comment></trigger></d2d></triggers>

 

 

Screenshot.png

Screenshot 2.png

Posted
30 minutes ago, Geddy said:

@SimonK will you please post your program as you currently have it? Please RIGHT CLICK on the program. Select the bottom option "Copy to Clipboard" then paste as text in your reply.

Then post a screenshot of your location window (this is to confirm the location you entered is correct and near you). Note that you should not have a negative "Long" figure. To find your coordinates find your address on Google Maps then right click and it will give you the Lat/Long (the "Long" will be negative). Enter both in the Configuration -> Clock window for your location. Otherwise, if you've selected a general location it will use the Lat/Long you see listed with that time zone selection.

Based on your program screenshot above your program is only set to run on Sundays. If you want it to run daily you need to click on the block in the "IF" and then in the bottom portion click "ALL" and then "Update". Be sure to save your program. This is why the next "TIME" the program would run isn't matching what's in the top of the screen because by Sunday that would be the next sunset time. 

image.png  

However, you may have adjusted your program based on the advise @MrBill gave you; that is why I'm asking for the current program you are having issues with. 

 

See my post below

 

Thanks for your help

Posted

This post rang a bell to when I set my eisy up about a year ago. The problem seemed to go away after leaving the program sit for a day or 2 and the problem has never returned.

 

Posted

I’ve been thinking about this issue and only have two suggestions left: leave it alone and don’t fiddle with it as @paulbates suggests.

If that doesn’t solve it, then please delete the saved programs, then click save, close the admin console, delete the admin console, clear the Java cache, redownload and install a fresh copy of the admin console, then configure the time zone in the admin console and add a test program,  save it and leave it alone. 
 

also please create an integer variable called test or something and have the then statement set test = test + 1 so that you can determine the program is in fact not firing.  Maybe the underlying problem is the program is running but there’s a communication issue.

Posted
11 hours ago, SimonK said:

See program below, set for everyday at sunset

You didn’t use COPY to clipboard. You used export. Please try again. 

As @paulbates and @MrBill say, leave it be. At least you have it running daily (as it seems). If a few min off of your offset makes it an issue maybe it will sort out. 

 

Posted
On 9/22/2024 at 2:51 PM, SimonK said:

I tried setting to turn on devices 4:30 before sunset (- 4:30) but it doesn't do it.

Also I set to turn on/off lights 30 min after sunset (0:30 +), sunset is 6:52pm but in the status it states next run time is 7:20 pm which I think it should be 7:22.  

Program.png

Status.png

Sunset and  sunrise change by about 2 minutes every day of the year except peak winter and peak summer.

Posted
4 hours ago, larryllix said:

Sunset and  sunrise change by about 2 minutes every day of the year except peak winter and peak summer.

When I set the program it is prior to sunset, so I expect it should run TODAY at sunset or TODAY at -xx:xx Suset, not the next day sunset 

Posted
On 9/25/2024 at 12:30 PM, SimonK said:

When I set the program it is prior to sunset, so I expect it should run TODAY at sunset or TODAY at -xx:xx Suset, not the next day sunset 

I am confused. Your original post showed it basically correct. Your program was sunset+30 minutes. Now you are complaining about sunset-30 minutes and it not operating today?

I offered an explanation for the 2 minute calc error but now you are saying it didn't operate one evening but it did the next it did?

Perhaps listen to some of the experienced helpers here, that have given advise, think about it, and respond to them. i see no problems except your story appears to be changing about what the problem is.

  • Like 1
  • 3 weeks later...
  • Solution
Posted
On 9/26/2024 at 9:16 PM, larryllix said:

I am confused. Your original post showed it basically correct. Your program was sunset+30 minutes. Now you are complaining about sunset-30 minutes and it not operating today?

I offered an explanation for the 2 minute calc error but now you are saying it didn't operate one evening but it did the next it did?

Perhaps listen to some of the experienced helpers here, that have given advise, think about it, and respond to them. i see no problems except your story appears to be changing about what the problem is.

The exact time or program doesn't matter... All I was trying to say that it doesn't trigger when it is set to trigger, if its set to sunset +30 it doesn't trigger that time, and if its set to Sunset -20 it doesn't trigger at 20 minutes before sunset...

After opening a ticket and being over an hour with tech support they noticed there is a bug that sunset will not trigger that same day that the program is being set, and it display a little off, once its triggered (the next day) it will correct itself and will continue to work as expected.

  • Like 2
Posted

@SimonK, thanks for taking the time to post back the results of your ticket with UD.  

It sounds like this problem may have been frustrating users for some time.  Curious whether it applies to the Polisy and possibly the ISY994.

In the meantime, celebrate by spinning up some Queen "another bug bites the dust"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.6k
×
×
  • Create New...