Process data from a weather station with Linux
Weather Outlook
© Lead Image © Tithi Luadthong, 123rf.com
A DVB-T stick retrieves information from a professional weather station and stores it in a database for downstream processing.
If you frequently check the daily weather forecast, having your own weather station might be a good thing. However, professional devices are expensive, and they also mean that the amateur meteorologist is locked in to the display panels of the weather station vendor. As a rule, it is impossible to use the measured values in your own applications.
The cost driver is not typically the sensors in the weather stations, but the display modules. A DIY solution could handle the measurement-only tasks, but the sensor technology must be energy-saving and weatherproof. This is not easy to implement in a DIY project and adds to the overhead and costs. As an alternative, you could use the sensors of a professional weather station and draw on the data it provides for your project. In this article, I show you how to tap into the data stream of a weather station with a standard DVB-T USB stick, store the data in a database, and visualize it with Grafana [1].
Hardware
First of all, you need a sensor (Figure 1) suitable for your weather station project. Sensors like this are available for relatively little cash. I used a 5-in-1 outdoor sensor by Bresser [2] for around EUR80. The price and features can vary, and similar sensors with more features can be obtained at a lower price; it might be worth doing a little research. Bresser seems to restrict shipping to Continental Europe – the AcuRite Iris 06014 PRO+ [3] is a similar product that's available from Amazon.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
United Nations Open Source Portal Goes Live
A new open source portal seeks to coordinate and scale open source efforts across the United Nations system.
-
KDE Linux Drops AUR
KDE Linux developers have dropped the Arch User Repository from the build pipeline due to security concerns; other distributions should consider doing the same.
-
California May Exempt Linux from Its Age-Verification Law
After backlash from the Linux community, California may be backing off on its promise to force all operating systems to verify age, but one platform may still have to comply.
-
Another Logic Bug Found in Linux Kernel
Qualys has discovered a vulnerability in the Linux kernel that can be used to elevate standard user privileges.
-
Ubuntu Core 26 Offers Game-Changing Enterprise Features
Ubuntu Core 26 could be a game-changer for organizations looking for increased security and reliability.
-
AI Flooding the Linux Kernel Security Mailing List
AI is giving Linus Torvalds a headache, but not in the way you might think.
-
Top Priorities for Open Source Pros Seeking a New Job
Professional fulfillment tops the list, according to LPI report.
-
Container-Based Fedora Hummingbird Designed for Agent-First Builders
Fedora Hummingbird brings the same approach to the host OS as it does to containers to level up security.
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
