Code for an outside weatherstation.