Is there a way to turn off port 5(skimmer) if the ato times out? last night for some reason my skimmer started overflowing and filling my skimmate bottle. This caused my ato to time out and skimmer kept draining water into skimmate bottle almost over filling it it. i want to shutoff skimmer if ato trips the time set and sends a flag.

One thing to note, since you are using the Star, you cannot use Port5 to reference the port on the main relay box. The Star has no default/master relay box and therefore all ports are actually on the first relay box. So all Port5 should be Box1_Port5.

As for your error, there is an error with the code. It should read like this: