Resource-aware IoT Control: Saving Communication through Predictive Triggering