Jump to content

Best way to write error tolerant programs


greensha

Recommended Posts

Hi All,

 

I'm getting to grips with my ISY-99i thanks to the fantastic support of Michel and his tech support staff. I am suffering from intermittent communication errors, some announced, others silent.

 

At the moment I have several scenes that get activated at certain times. Basically all they do is turn on the house lights and gradually dim them as the evening progresses and then finally turns them off.

 

My question is how often are the trigger conditions for the program checked? For example if I said "turn on the light at sunset" would that only get activated at sunset? Say the light didn't come on due a communication error would the program perhaps recognise that later and switch it on.

 

Would I be better writing code like this "if the time is between sunset and 9pm turn on the light"?

 

Thanks,

 

Andy

Link to comment

Hello Andy,

 

In either case (using Sunset or From/To), the success of the Action (i.e. turn scene on/off) has no impact on the evaluation and execution of the condition.

 

If you have scene and devices within scene which do not respond to ISY (intermittenly), then the best bet would be to FIND OUT WHY! We've seen so many different solutionts that address the symptoms (such as repeating a command n times) but at the end of the day, they will eventually fail at least once and cause other problems (such as network congestion).

 

Is there a pattern to your comm errors?

 

With kind regards,

Michel

 

 

Hi All,

 

I'm getting to grips with my ISY-99i thanks to the fantastic support of Michel and his tech support staff. I am suffering from intermittent communication errors, some announced, others silent.

 

At the moment I have several scenes that get activated at certain times. Basically all they do is turn on the house lights and gradually dim them as the evening progresses and then finally turns them off.

 

My question is how often are the trigger conditions for the program checked? For example if I said "turn on the light at sunset" would that only get activated at sunset? Say the light didn't come on due a communication error would the program perhaps recognise that later and switch it on.

 

Would I be better writing code like this "if the time is between sunset and 9pm turn on the light"?

 

Thanks,

 

Andy

Link to comment

I've not been able to figure out a definite pattern. Some of the lights do seem more prone to errors (announced or otherwise) than others. I'm going to get a couple of Filterlincs to put on the system. I'm also going to try moving my SignalLincs around.

Link to comment

Hello Andy,

 

You might also want to consider changing your SignaLincs to AccessPoints.

 

Please keep us posted.

 

With kind regards,

Michel

 

I've not been able to figure out a definite pattern. Some of the lights do seem more prone to errors (announced or otherwise) than others. I'm going to get a couple of Filterlincs to put on the system. I'm also going to try moving my SignalLincs around.
Link to comment

Archived

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


  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...