Reducing Energy Consumption with IoT Prototyping