Skip to content

A project realized in the course ”Internet Of Things” at Aarhus University in 2023

Notifications You must be signed in to change notification settings

Gitgutgait/IoT-Weather-Station

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IoT Weather Station

Welcome to the IoT Weather Station! A project realized in the course ”Internet Of Things” at Aarhus University in 2023. This Markdown document will guide you through the setup and usage of the weather station system.

Prerequisites

Before starting, ensure that you have the following components connected:

  • Raspberry Pi
  • SensorHat

Installation

  1. Clone the source code repository for the IoT Weather Station by running the following command:
$ git clone https://github.com/Gitgutgait/IoT-Weather-Station.git
  1. Navigate to the project directory on your Raspberry Pi.
$ cd IoT-Weather-Station
  1. Install the necessary Python libraries by running the following command:
$ pip3 install Flask==2.3.2 paho-mqtt==1.6.1 sense-hat==2.4.0

Usage

To run the IoT Weather Station project, follow the steps below:

  1. In the project directory, navigate to the WeatherStation directory and execute the following command:
$ python3 controller.py
  1. In the same project directory, navigate to the WebServer directory and run the following command:
$ python3 webApp.py
  1. Open a web browser and visit the following address: http://127.0.0.1:5001/

Important Notes

  • The average temperature will first appear after the 10th iteration of data fetch.
  • Please note that the temperature displayed might not indicate the precise current temperature in the room. This discrepancy is due to the sensors being placed closely to the Raspberry Pi, which can generate heat and provide inaccurate readings.

About

A project realized in the course ”Internet Of Things” at Aarhus University in 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published