Leverage Industrial IoT for Energy Optimization