Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tafkas/solarpi
A RaspberryPi based, Flask powered photovoltaic monitor
https://github.com/tafkas/solarpi
flask raspberry-pi solar-pi
Last synced: 2 months ago
JSON representation
A RaspberryPi based, Flask powered photovoltaic monitor
- Host: GitHub
- URL: https://github.com/tafkas/solarpi
- Owner: Tafkas
- License: bsd-3-clause
- Created: 2014-07-20T20:32:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T07:31:43.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T00:40:33.144Z (2 months ago)
- Topics: flask, raspberry-pi, solar-pi
- Language: JavaScript
- Size: 1.34 MB
- Stars: 115
- Watchers: 21
- Forks: 37
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solar Pi
A [Raspberry Pi](http://geni.us/K28m) based, Flask powered photovoltaic monitor
![Solar Pi Dashboar](http://i.imgur.com/HLLRQ2f.png)
Demo at [http://solarpi.tafkas.net](http://solarpi.tafkas.net)
[![Code Climate](https://codeclimate.com/github/Tafkas/solarpi/badges/gpa.svg)](https://codeclimate.com/github/Tafkas/solarpi)
## Getting Started
### Prerequisites
To run the Solar Pi you need
- A Linux server running Python 2.7 (e.g. [Raspberry Pi](http://geni.us/K28m) running Raspbian)
- SQLite3 installed### Installation
- Clone the repostory
$ git clone [email protected]:Tafkas/solarpi.git solarpi
- create a virtual enviroment and activate it
$ virtualenv --python=/usr/bin/python .venv
$ source .venv/bin/activate
- install dependencies$ (.venv) pip install -r requirements/dev.txt
- create the SQLite database$ sqlite3 dev.db
$ cat db_schema.sql | sqlite3 dev.db- run the server
$ (.venv) python manage.py server