Controlling the relay using aREST commands from a web browser