You can hot glue Velcro to the thermometer and the wall of the tank.