Design of a Monitoring System for Greenhouses