Jump to content

ISY program


nokin

Recommended Posts

I have a program that turns a light on & off at night based on sunset..on at sunset - 6 minutes and off at sunset + 1 hour and 54 minutes. Last night the light was turned on at the proper time but never turned off. Looking at the event log I see..

 

Fri 10/04/2013 18:28:43 : [ Time] 18:28:46 0(0)

 

Fri 10/04/2013 18:28:43 : [iNST-TX-I1 ] 02 62 24 74 08 0F 11 BF

 

Fri 10/04/2013 18:28:43 : [iNST-ACK ] 02 62 24.74.08 0F 11 BF 06 LTONRR (BF)

 

Fri 10/04/2013 18:28:43 : [iNST-SRX ] 02 50 24.74.08 23.98.95 2B 11 BF LTONRR (BF)

 

Fri 10/04/2013 18:28:43 : [std-Direct Ack] 24.74.08-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

 

Fri 10/04/2013 18:28:43 : [ 24 74 8 1] ST 191

 

Fri 10/04/2013 18:32:43 : [ Time] 18:32:46 0(0)

 

There is no similar log entry 1 hr and 54 minutes latter tuning the light off. There are no additional log entries for devise 24.74.08.

 

Anyone have any ideas?

Link to comment

Post the Program, right click Program name, select Copy to Clipboard, paste to forum. If the Off Program is separate from the On make sure it is Enabled, not in a Folder that is False. With nothing in the event trace the conditions driving the Program are not producing the results you expect. Often a Wait is being canceled when the If conditions change so the statement(s) after the Wait do not execute.

Link to comment

Hi LeeG and thanks for the help.

I did not get back to you sooner because the program worked the next night and also the following night. However, the program did not run last night. And again nothing in the Event or Error log.

 

If

From Sunset + 8 hours

To Sunset + 9 hours and 43 minutes (same day)

 

Then

Set Scene 'Night Lights / Bedroom Nite Lights' On

 

 

Else

Set Scene 'Night Lights / Bedroom Nite Lights' Off

Link to comment

The program is simple enough, but I cannot help but wonder if your TO time is causing trouble. I am unsure if "Sunset + 9 hours and 43 minutes " would be SAME DAY or NEXT DAY.

 

As an experiment, you could temporarily change this to "Sunrise (next day)" and see if this solves the problem.

 

Double-check, also, that the time being registered by the ISY is consistent with your time zone and location. Double-check that the program is "enabled" and confirm that you have no programs that would disable it or that the program is not in a folder which is disabled.

Link to comment

I agree with oberkc's conclusion about (same day) versus (next day). The Program looks more like a contrived test Program to see what happens, Sunset + 9 hours and 43 minutes (same day) rather than something functional. With the changing of Sunrise/Sunset times the results may vary. Also these times from Sunset do not match the initial post. What is your Sunset time now, which could be different from the day in question.

 

Also check the Programs | Summary tab Last Run Time to be sure Program was not triggered. There is a possibility of unreliable comm making it look like the Program was not triggered. A Scene failure due to comm problems would not produce errors in the event log nor in the error log.

 

If

From Sunset + 8 hours

To Sunset + 9 hours and 43 minutes (same day)

Link to comment

Thank for the help.

 

This program ran again last night as expected. Additionally, I have several other similar program that have been reliable.

 

The two nights recently where this program did not run I know from observation that it did not run.

Link to comment

LeeG, thanks for the help. Your suggestion of looking at the program summary tab answered the question. The program is running every other night.

 

As you were thinking the program must be getting confused by "sunset" and "same day". I will change from sunset to sunrise and I believe all will be well.

 

I am sure that your suggestion of looking at the program summary tab was very basic to you. To me it was very helpful because I am still learning the basics.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...