Solar Array and home energy dashboard.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
John-Mark Gurney fdbe40fee2 Merge branch 'master' of ssh://git.funkthat.com:822/jmg/solardash 4 anos atrás
root add some experiemental code wrt stacking... 4 anos atrás
solardash make sure to handle the first data w/ NaN's.. 4 anos atrás
.gitignore ignore the timzeone data.. 4 anos atrás
LICENSE.txt add license.. 4 anos atrás
Makefile this makes timezones work.. why this exact same code didn't work earlier 4 anos atrás
NOTES.md add link to range series to use.. 4 anos atrás
README.md add some info to the README.. 4 anos atrás
cmds.txt add another useful command.. 4 anos atrás
fakedata.py add some experiemental code wrt stacking... 4 anos atrás
requirements.txt bring in the start of the python daemon side of things 4 anos atrás
setup.py Merge branch 'master' of ssh://git.funkthat.com:822/jmg/solardash 4 anos atrás

README.md

Solar Dashboard

This is a solar dashboard for displaying information about a solar install.

Running

Running the program first involves setting up the environment via the command make env. This will setup a Python virtual environment and install the necessary pacakages.

Once the environment is setup, it can be configured by XXX.

To run the webserver, run the command make run, and that will launch a local webserver.

Structure

Frontend

The front end is located in root. The meat of the logic is in js/solardash.base.js. The testing infrastructure is in js/solardash.file.jspp as if you are launching the page from a file url, there is no way to make a url to access the backend.

Testing

Make sure that the environment is setup with the make env command before running the following commands.

For testing the frontend, if you have a window running the command make keepupdate running, when you edit various files, things will automatically be regenerated as necessary.

For testing the backend, have a window running the command make test. This will automaticaly run the various tests for the backend, and provide code coverage results.