Main Content

Turn your Raspberrypi to a weather station

I converterd my raspberrypi to a web server to monitor temperature and humidity.

I started a small project to make my raspberrypi zero to monitor temperature and humidity. This was relative easy by controlling some pins and sending commands to the pi. I decided to extend this project and create a web server where I could access it remotely and monitor weather conditons. This article assumes you have some understanding how to connect sensors to the raspberrypi, write code using python3 and some basic knowledge of web development.

What is a web server
A web server according to wikipedia is a server software, or hardware dedicated to running this software, that can satisfy client requests on the World Wide Web and in general, contain one or more websites. Link

For the pi zero I ve chosen Flask a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. With Flask you can easily get started with as a beginner. Check here for a great tutorial.

So, lets start.”

Link to article