An all-inclusive hardware to software solution aimed to optimise energy usage and reduce total power consumption with real-time energy monitoring