Help needed with code for a Relay Shield project

Hi @roomman

You might want to look at this thread where I helped another user with his relays controlling aquarium pumps. Both firmware code for the core and HTML are provided. For this application, the user wanted the durations in seconds rather than minutes or hours:minutes, but it could be easily changed.