Hi to all,
I just received my Polisy (running v5.4.3) and Insteon PLM 2413S.
So I'm on a learning curve and this is my first post.
I managed to build my own RJ45 to DB9 interface with an ethernet cable and an inexpensive DB9 to RJ45 Modular Adapter like this.
I also managed to add my 25 devices using the "remove links" option.
So, I think I'm all set to start programming.
I searched for a programming primer, but couldn't find one to answer my questions.
My questions regarding programs are:
Do programs run 24/7 like a service or they only run when the condition is true like a scheduled task?
If they run 24/7 like a service, then everything under the "then" is executed at every cycle when the condition is true and everything under the "else" is executed the rest of the time when the condition is false. For example, if my program turn on a scene (then action) at 18h00 for 1 hour (if condition) and turn off the scene otherwise (else condition), does it mean that if I turn on the scene manually at 20h00 the program will automatically turn it off because it's in the else condition?
If they run like a scheduled task, why is there an "else" option since the task is only executed when the condition is true which means that at other times the task would not run.
Plese help me understand,
Many thanks to the community,
FBO