Retrieve Weather Data for Graphical Analysis
Programming Snapshot – Go Weather Data Analysis
© Photo by Saad Chaudhry on Unsplash
Mike Schilli's new home rooftop weather station continuously provides sun, wind, and rain data. High time to create a custom analysis program.
The consumer market provides an abundance of weather stations and sensors. The Ecowitt model offers the advantage that the data it measures is both appealingly visualized in the vendor's own app and can also be retrieved directly from the hub's web server in raw JSON format. For amateur meteorologists, this means that you can extract the data for your own DIY post-processing.
The Wittboy WS90 weather sensor (Figure 1) is designed for outdoor use, ideally to be installed on the roof of a house, so that rain can fall on it and the wind blow through it without interference. It does not need an external power supply, because it relies on two AA batteries as a buffer and simultaneously charges an internal super capacitor via an integrated solar panel. The sensor has no moving parts. It uses piezoelectric elements to measure rain, and ultrasonic sensors to measure wind direction and speed. The device can optionally be heated in winter to help melt away any snow cover that might otherwise be blocking the sensors. The downside is that the heater then requires a power supply, but luckily in never snows in San Francisco, where I live.
[...]
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
-
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.
-
Manjaro 26.1 Preview Unveils New Features
The latest Manjaro 26.1 preview has been released with new desktop versions, a new kernel, and more.
