Brian Dorey designed a standalone home energy monitor using the ESP8266 and a bunch of sensors that to monitor the mains current, the consumption of electric energy, as well as the gas usage. His ESP8266 energy monitor measures the mains current using
