The Pi Weather Station (PiWS)

The PiWS is the Open Source weather station for everyone.

What is The PiWS?

The PiWS makes it easy to collect weather data about your local environment and store it for easy, long-term reporting.

  • Open source
  • Flexible
  • Customizable
  • Powerful reporting

Learn more

Read more about The PiWS on RustProof Labs' blog.

Picture of an early version of the 3D printed PiWS enclosure, translucent green in color.

Open Source Hardware

The PiWS hardware has three main components:

  • Raspberry Pi
  • Arduino Uno
  • Sensors

Open Source Software

The PiWS source code is available on GitHub . There are two main parts to the overall project's software

  • Software (Python)
  • Firmware (Arduino)

The firmware on the Arduino Sensor Control Board (SCB) collects data in real-time from both analog and digital sensors. They Python 3 software runs on the Rasperry Pi and collects data from the SCB and saves it to the PostgreSQL database.

PiWS Database

The database is the heart of any data-driven application. For this critical task PiWS relies on PostgreSQL, a powerful open source database, to store and query collected sensor data.

Sensor readings come into the database every few seconds with individual observations aggregated to minute-level readings and further aggregated to 15-minute readings.