Jump to content

Best way to write error tolerant programs


greensha

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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.
Posted

Hello greensha,

 

I am not sure but I can tell you from experience that they are superior to SignaLincs (some of which are actually the sources of some of the problems).

 

With kind regards,

Michel

 

The blurb on the Smarthome page says that Accesslincs provide better range, how do they do this?
Guest
This topic is now closed to further replies.

×
×
  • Create New...