Flashed using the Arduino IDE and Board Manager URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json with "Generic ESP8266 Module" board.
There are two versions:
- Mains-powered sketch
- Battery-powered sketch, pushing every 10 minutes
Both require an MQTT server.
Additionally there is an ADC calibration sketch for more accurate battery health measurements.