A weather dashboard designed to display information from the Raspberry Pi Weather Station, works with a MongoDB database.
Detailed documentation is in the docs
directory.
If any problems occur, open an issue.
Dependencies:
- Python 3 or above
Basic steps on setting up the dashboard for your own LAN
- Clone the repository or download the source code from the latest release. This can be done a few ways as stated
below:
- Use command line tools to clone the repo,
git clone https://www.github.com/twosails/WeatherDashboard.git
- Download the file from the
master
branch or other version branches to get specific features. This can be done by clicking the greencode
button in the top right corner. - Download source code
.zip
from the latest release.
- Use command line tools to clone the repo,
- Navigate into the cloned repo ‘
cd WeatherDashboard
’, and then install the requirements by using the command:python3 -m pip install -r requirements.txt
This should install all required dependencies, but if aModuleNotFoundError
occurs, open an issue and manually install the library/module - Migrate the Django app to make sure that the changes are applied to the app, use the
command:
python3 manage.py migrate
- Create a SuperUser to access the Django Admin page, use
python3 manage.py createsuperuser
The configuration is required for an error to not occur when loading into the
dashbaord
page. Configuration can be done by manually editing the config file inWeatherDashboard/weatherapp/util/config.yml
Or it can be configured n the Django Admin Page, requiring a restart to apply changes
- You are now able to run the server and/or host it. This can be done by the command
python3 manage.py runserver
- Ensure that the config has been configured in order for the app to work
For more details about how to use this system and configure settings, go to
the docs
directory or in
the wiki.
This was a personal project developed by @twosails Feel free to open an issue or pull request to add/suggest an idea for future features or support.
Any contributions are welcomed and appreciated