Take a look at the WeatherRadio project for a complete project.

Prior to that I used the MLX90614 in a home grown project for the purpose you outlined. Firmata to obtain the sensor data and the existing INDI Weather monitors to decide on warning messages or closing the roof. Attaching As an example, some Arduino Firmata based collection code that sends the data over USB.

 

Read More...