The "box" you have is a timer (That model is obsolete) as it is outside the bathroom I would guess it operates underfloor heating. The only real way to find out what it controls is to turn it "ON" and observe what happens, if nothing does happen the only other thing to do is to follow/trace the cables.
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!