Logo
The WMR200 Weather Station and Linux: A Perfect Pair with Weewx
share forum

The WMR200 Weather Station and Linux: A Perfect Pair with Weewx


Software • von Sven Reifschneider • 29. Oktober 2013 • 1 Kommentar
info
Dieser Beitrag ist auch auf Deutsch verfügbar. Auf Deutsch lesen
This article is older and may not be current. The WMR200 now has excellent support with recent Weewx versions, as do many other weather stations. I have since switched to using a Davis Vantage Vue.

For several years, I've been the proud owner of a rather comprehensive weather station - the Oregon Scientific WMR200. It's an impressive model, offering accurate readings and a sleek base station with a touchscreen. The only minor drawback is the rain gauge resolution of 1.0mm per tip, but that hasn't been a significant issue for me. One of the great features of this station is its PC connectivity, allowing for weather data logging. From the outset, my goal was to integrate this with a Linux server, as my primary PC isn't on 24/7. But how? Initially, there was no straightforward solution since the WMR200 uses a proprietary protocol. However, over the years, several practical solutions have emerged. For a time, I used wfrog, which seemed stable with the WMR200 and similar Oregon Scientific models. However, I wasn't completely satisfied with its implementation.

Temporary Solution on Windows

I eventually returned to Windows to capture the data. The software from Oregon Scientific (OS) was subpar. After extensive searching, I discovered Cumulus - a fantastic, free Windows software that had everything I needed. It stored data, displayed it, and could upload to Weather Underground and FTP for a homepage. I used it extensively, and since it emptied the WMR200's datalogger at startup, my database captured all data, even when the PC was off. However, there were stability issues during the PC's sleep mode, and connection to the station often failed. Since I've installed Debian Linux on my Futro S400, I revisited this project with the aim of having software run 24/7, logging values into a MySQL database.

The Best Solution for Linux

After exploring various solutions, a search for "wmr200 linux" revealed a new and fantastic option: Weewx. Weewx seamlessly connected my WMR200 to my Linux PC (the Futro S400). I chose to compile the Weewx software myself for a neater folder structure. However, there was an issue with version 2.4 not recording rain data from the WMR200, resolved in version 2.5. The installation process, detailed in the Setup, was straightforward. I also integrated Weewx with my Apache2 web server to access the automatically generated weather website, following the instructions in the Weewx documentation.

Configuring Weewx

Weewx uses two configuration files - the main config file, which is well-commented and easy to edit with the documentation, and another for the skin, adjusting the web page appearance. The default storage is an SQLite database, but I preferred MySQL, which was easily configurable following the documentation.

A Minor Quirk

One small note for WMR200 users: every data retrieval from the station empties its datalogger, indicated by an animated LED sequence on the device. This can be distracting, so I covered the LEDs with a strip of insulating tape - a simple fix that doesn't detract from the station's functionality.

pyephem

As an optional package, pyephem provides additional data about the sun, moon, and stars. It's more of a fun addition than a necessity, but I found it enjoyable.

Conclusion

Setting up Weewx took just a few hours. The installation was smooth, and the documentation provided all necessary information. After a week, Weewx has been reliably logging weather data, creating attractive charts that even show daylight levels. I'm thoroughly satisfied with Weewx and recommend it to anyone with an Oregon Scientific WMR200 (or similar model) looking to use it with Linux. If the weather station isn't immediately recognized by the system, it's likely due to the USB cable or the station's socket placement. It's worth configuring the units in the config file before starting and making adjustments in the skin.conf for a better webpage appearance.

My Weather Page

Weewx-created page of my weather station, with the NeoWX-Material-Theme

On Weather Underground


Teile diesen Beitrag

Wenn dir dieser Artikel gefallen hat, teile ihn doch mit deinen Freunden und Bekannten! Das hilft mir dabei, noch mehr Leute zu erreichen und motiviert mich, weiterhin großartige Inhalte für euch zu erstellen. Nutze einfach die Sharing-Buttons hier unten, um den Beitrag auf deinen bevorzugten sozialen Medien zu teilen. Danke dir!

Sharing Illustration
Donating Illustration

Unterstütze den Blog

Falls du meine Arbeit und diesen Blog besonders schätzen solltest, würde ich mich riesig freuen, wenn du mich unterstützen möchtest! Du kannst mir zum Beispiel einen Kaffee spendieren, um mich bei der Arbeit an neuen Artikeln zu erfrischen, oder einfach so, um den Fortbestand des Blogs zu fördern. Jede noch so kleine Spende ist herzlich willkommen und wird sehr geschätzt!

currency_bitcoin Spende via Kryptowährungen
Bitcoin (BTC):1JZ4inmKVbM2aP5ujyvmYpzmJRCC6xS6Fu
Ethereum (ETH):0xC66B1D5ff486E7EbeEB698397F2a7b120e17A6bE
Litecoin (LTC):Laj2CkWBD1jt4ZP6g9ZQJu1GSnwEtsSGLf
Dogecoin (DOGE):D7CbbwHfkjx3M4fYQd9PKEW5Td9jDoWNEk
Sven Reifschneider
Über den Autor

Sven Reifschneider

Herzliche Grüße! Ich bin Sven, ein technischer Innovator und begeisterter Fotograf aus der malerischen Wetterau, in der Nähe des lebendigen Frankfurt/Rhein-Main-Gebiets. In diesem Blog verbinde ich mein umfangreiches technisches Wissen mit meiner künstlerischen Leidenschaft, um Geschichten zu erschaffen, die fesseln und erleuchten. Als Leiter von Neoground spreng ich die Grenzen der KI-Beratung und digitalen Innovation und setze mich für Veränderungen ein, die durch Open Source Technologie Widerhall finden.

Die Fotografie ist mein Portal, um die flüchtige Schönheit des Lebens auszudrücken, die ich nahtlos mit technologischen Einsichten verbinde. Hier trifft Kunst auf Innovation, jeder Beitrag strebt nach Exzellenz und entfacht Gespräche, die inspirieren.

Neugierig, mehr zu erfahren? Folge mir in den sozialen Medien oder klicke auf "Mehr erfahren", um das Wesen meiner Vision zu erkunden.


Ein Kommentar

Kommentar hinzufügen

In deinem Kommentar kannst du **Markdown** nutzen. Deine E-Mail-Adresse wird nicht veröffentlicht. Mehr zum Datenschutz findest du in der Datenschutzerklärung.

14. Oktober 2016, 17:05 Uhr
Jan Commandeur

Hallo Sven,
Sie haben einer schöne website.
Sie haben gleich wie ich ein weatherstation welches is „powered by weewx“.
Die weather station auf der Weewx map ist in der nähe von IJsland.
Freundlicher Grüsse,
Jan Commandeur.