Welcome to the Opto 22 Forums.
I’m sure OptoMary will be along soon with some thoughts on this one, but my first thought (often wrong is this…
You mention a door switch and a red/green light. No timers, no logic, just a simple ‘if the door is open, green light, if the door is shut, red light’.
If that’s the case, then check out ‘Mirror mode’.
You can read about it in the OptoMMP Protocol Guide. http://www.opto22.com/site/documents/doc_drilldown.aspx?aid=1875
Check out page 125.
In a nut shell, it was built to mirror an I/O point from one rack to another… In other words, a digital input at one place, gets streamed over the network to a digital output at another place.
Its pretty fast too, like sub second fast since it uses UDP streaming.
So, your door switch is the input and the output is the light. If you use something like the SNAP-OMR6-C relay module which has normally closed (green light) and open contacts (red light), then there is nothing more to use or do.
However, for your existing switches and outputs, you will need some glue logic or hardware (since mirror or streaming mode is point to point and your output is two points). You can either wire a diode/relay on the output, so the light will toggle based on the input.
Or you can set up an event reaction.
Check out page 136 and on in the same MMP Protocol Guide.
An event reaction is something that you set up on the brain that is separate from the strategy.
Its blazing fast when its running, but a little tricky to set up the first time, but since your needs are modest, it would be worth a look.
So, two options, streaming or mirror mode and event reactions. Neither use a strategy, so are super fast.
They are what I would look at.
(Unless I am totally wrong and you have some logic in the middle that requires a strategy - in which case we have some thoughts on that too).