IoT-Enabled Optimised Sensor-based System for Monitoring Grain Storage