https://github.com/neluxx/raspberrypi-weather-station
A weather station developed with Python Django for the Raspberry Pi
https://github.com/neluxx/raspberrypi-weather-station
Last synced: 7 months ago
JSON representation
A weather station developed with Python Django for the Raspberry Pi
- Host: GitHub
- URL: https://github.com/neluxx/raspberrypi-weather-station
- Owner: Neluxx
- License: mit
- Created: 2023-07-12T08:31:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T16:50:28.000Z (about 1 year ago)
- Last Synced: 2024-05-06T18:05:21.480Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry PI Weather Station
The project consists of realising a small weather station with a Raspberry Pi.
Two sensors were used to take indoor measurements. One is the [BME680](https://www.berrybase.ch/bme680-breakout-board-4in1-sensor-fuer-temperatur-luftfeuchtigkeit-luftdruck-und-luftguete), which measures the temperature, humidity and air pressure, and the other is the [MH-Z19](https://www.berrybase.ch/mh-z19c-infrarot-co2-sensor-pinleiste), which measures the CO2 concentration in the air.
There is also an API to [OpenWeatherMap](https://openweathermap.org/), which can be used to collect weather data for a defined specified outdoor location.
A command can be used to record the sensor data, which is then saved in a database. If the CO2 limit value is exceeded, an e-mail is automatically sent via [ElasticEmail](https://elasticemail.com/) with a request for ventilation.
There is also a command that calls the OpenWeatherMap API and saves the result in the database.
In future, it should be possible to create diagrams from the data collected in the database. These should visualise indoor and outdoor weather data and thus allow conclusions to be drawn about air quality or similar.
## Prerequisites
- Install [Git](https://git-scm.com/downloads)
- Install [Python](https://www.python.org/downloads/)## Installation
- Clone the repository `git clone https://github.com/Neluxx/raspberrypi-weather-station.git`
- Go into the project directory `cd raspberrypi-weather-station`
- Setup the project `pip install -r requirements.txt`## Usage
- Go into the django project directory `cd raspberrypi-weather-station/weather_station`
- Run the project `python manage.py runserver`
- Visit [Localhost](http://127.0.0.1:8000/)## Support
Please [open an issue](https://github.com/Neluxx/raspberrypi-weather-station/issues/new) for support.