This project will visualize solar output data from 7 solar arrays in Deerfield, WI. It will show what a small community can achieve with solar, which will help to convince other small communities to adopt it. Couillard would also like more detailed information for administrative users.
The work that needs to be done on this project is kept track of by the issues on this repository. To contribute, choose an issue (or multiple) to tackle and assign it to yourself so other people know that someone is working on it already. Create a new branch, make your changes, push, then make a pull request into main with the issue(s) linked. The main branch is protected so that it can only be modified through merged pull requests, and pull requests can only be merged if at least one person approves it.
The 7 arrays do not all use the same inverters, so the data collected is stored in different places. The challenge will be bringing all the data into one place.
Backend:
- Database: Firebase Firestore, same schema as Helios Firestore
- Python script cron job with GitHub Actions that runs every day. Populates db with last days worth of data, or all past data if a field
update_required
is set on the array's document (it unsets it after populating). - Admin Spreadsheet where admins can add new arrays (create document and set
update_required
) or just force an update on an array (update array document withupdate_required
). Uses Google Apps Script functions triggered on button clicks.
Frontend:
- Query Firestore similar to how it's done for Helios
- Highlights of energy generated to date; Graph of energy produced over time; images and descriptions