PLC temperature and humidity module