Weather station with Raspberry Pi, WeeWx and Meteotemplate

meteotemplate-estacion-meteorologica-weewx

Written by Mariete

Dec 6, 2016

Updated: May 9, 2020 @ 12:15 pm

Weather station with Meteotemplate and WeeWx

This is how I have updated my weather station with Raspberry Pi, the template Meteotemplate and open source software WeeWx

I have a weather station Davis Vantage Pro2 for quite a few years (at least 10) and the truth is that I have quite abandoned it; It is a real shame because it is a good season but I have taken very little advantage of it.

For several years it had stopped working at night, due to a problem with its solar power supply, which I just fixed a few days ago, and was isolated from the world (without connection to my home automation system and without publishing data on the internet).

I have recently decided to use it again, providing the data it generates to the community (publishing them on sites like WeatherUnderground and Meteoclimatic) and publish them on my website. I have fixed the issue where it was not working at night (replacing a super capacitor) and giving it a cleaner.

Weather station hardware

Years ago, I used software for Windows that was running permanently on a PC, connected to the console through a serial port, and that saved data and generated a series of web pages that were uploaded every few minutes to an external server so they could be viewed. In Internet.

In this new reincarnation of the weather station, although I still have several PCs at home running 24 × 7, I have decided to use one of the modern existing programs that run on a Raspberry PI. This allows me to make the system completely independent and ensures that the data is stored and uploaded to the internet permanently and without any interruption.

New WeeWx software

The first task has been to look for the software, and after much reading about the different programs and seeing other stations that used them, I have decided on WeeWx. This program, written in Phyton, has a number of advantages that make it ideal:

  • It is very light and requires very little server resources
  • It has a system of «skins» that allow you to change its graphic aspect easily
  • Supports my weather station directly
  • Upload the data to the sites that interest me (Weather Underground, Meteoeoclimatic and, of course, my web server)
  • It has implemented a system of plugins that allow its expansion with new functionalities

New Raspberry Pi hardware

Said and done, I have taken the oldest raspberry I had at home, since it needs very little power (a Raspberry 1 Model with only 512Mb of memory), and I have prepared a new SD card with the latest version of raspbian.

After a while configuring, it was already working and uploading data to my website: https://emariete.com/estacion-meteorologica-madrid-espana/

As icing on the cake I have installed a fantastic template called meteotemplate, and this is the result: https://emariete.com/estacion-meteorologica-madrid-espana/

I have been very satisfied with the result. I hope that the operation is stable and is working the maximum time without interruption. A few years without having to listen to it would be very good.

0 Comments

Write a comment

It may also interest you ...

en_USEnglish
es_ESEspañol en_USEnglish

Pin It on Pinterest

Share This