Skip to content

Python/Dash webapp to view stored load profiles.

Notifications You must be signed in to change notification settings

rijun/electric-load-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electric Load Viewer

Clone the repository and install the required python packages, for example via pip with pip install -r requirements.txt. Afterwards, the program can be started by running the following commands (assuming the repo was cloned into the home directory and navigated into). The current uWSGI settings assume a Raspberry Pi with Raspberry Pi OS is used as the server.

# Python
python wsgi.py -d

# uWSGI
sudo uwsgi uwsgi.ini

# Docker
sudo docker run  --rm --name elv -v "$(pwd)"/itp.db:/app/itp.db:z -p 80:80 -d elv

Hint: When using a Raspberry Pi, the package libatlas-base-dev has to be installed additionally for NumPy to work.