Digital Relay Box

What, specifically, do you want help with at this time?

Do you have code to post that we can help with? Read the forum guidelines to see how to properly post code and get the best out of the forum.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

If you mention hardware, post a schematic and data sheets of components.