Update the solar edge environmental information graphic on the website
Go to file
2019-04-15 15:48:20 -07:00
.envrc Inital Commit 2019-04-15 15:15:57 -07:00
.gitignore Inital Commit 2019-04-15 15:15:57 -07:00
Biko_Regular.otf Inital Commit 2019-04-15 15:15:57 -07:00
env.sample Updated README.md and added sample .env file 2019-04-15 15:47:27 -07:00
environmental_benefits_blank.png Inital Commit 2019-04-15 15:15:57 -07:00
README.md Updated README.md 2019-04-15 15:48:20 -07:00
requirements.txt Inital Commit 2019-04-15 15:15:57 -07:00
solar_edge.py Inital Commit 2019-04-15 15:15:57 -07:00

Solar Edge Status Updater

When placed in a cron job this uppdater will make an https call to a json api to retrieve the co2 savings and equivenant trees planted and overlay those numbers on a graphic and upload them to the website.

Dependancies

Bulid Instructions

copy env.sample to .env and edit pip install -r requirements.txt

user crontab 05 * * * * cd ~/.venv/solar_edge && direnv exec . python solar_edge.py > /dev/null 2>&1