No, this does not work on a roof at least not out-of-the-box. It is designed to mount to a wall.