https://medium.com/technology-hits/part-4-deployment-build-and-monitor-an-affordable-battery-solar-system-with-a-raspberry-pi-88afd1899dd4