frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I built a weather station that runs machine learning to forecast weather

https://github.com/Dominic-Muscatella/weather-station-alpha/tree/master
2•makegreatthings•1h ago

Comments

makegreatthings•1h ago
The thesis for this project is both simple, and a fun challenge: Design a model that only relies on locally gathered data, to predict severe weather events with minimal false negatives, then put it all into a box that 'just works' when plugged in, unlike many devices sold today.

On June 10th, a major wind storm came to my city. That storm was powerful enough that it knocked all the NWS ASOS stations near me offline for a few days. Eyeballing the cheap Amazon-special weather station i recently acquired, the seeds of an idea formed.

The result of that idea is Weather Station Alpha: A self-contained forecasting box that predicts seven distinct severe weather hazards across 1-hour and 24-hour horizons, using local sensor data only.

The hardware sits inside a metal project box running neural net inference on a schedule, with an SDR, LEDs, a barometer, and its own cooling fans, so it runs at the absolute limit of what the Pi's power supply can handle. Any more overhead and this little guy undervolts.

I wrote five services to orchestrate the ui and api, sensor data pipeline, machine learning pipeline, active cooling, and physical LED status animations.

The prediction engine runs an LSTM neural net with attention, trained on 30 years of official NWS data. To resolve prediction confidence, the system blends a 500-pass Monte Carlo simulation 50/50 with a distance-weighted K-Nearest Neighbors algorithm. The Monte Carlo engine generates randomized path variants to simulate realistic transitions, while the KNN uses the network's N-1 layer as a vector embedding space.

This acts as a real-time learner, and is the real strength of the system: when the box fails, you can flag the timestamps in the admin to inject new example vectors, teaching the box about local climatology and sensor quirks instantly without retraining the underlying neural network.

The data collection relies on an RTL-SDR USB dongle pulling radio transmissions from local wireless sensors, combined with an on-board USB barometer.

After I got all the bits in the box, i drilled 1/2" holes. 2 in the lid for the antenna and LED, and one in the back for power. I put rubber grommets on those holes. I also added some o-rings to the silicone diffuser, and cut a nice decal and lettering for it with my circut machine. I think it came out pretty sharp.

After initial setup, I spent a week calibrating it against the real local data..adding and removing samples and tweaking thresholds. It was a particularly stormy week so I had good data to test against. After that week, I was satisfied with its sensitivity and dataset...or so I thought.

About a week after this calibration a funny thing happened with the real time learning...The box was giving me a "wind" warning one afternoon. I looked outside at the nice calm day...and decided this was another false positive to be corrected and tamped down. I raised the thresholds and added a none point for that time.

Whelp, 15 minutes later, a gust front came thru that was strong enough to knock some tree branches off.

I sheepishly deleted that none point and put the thresholds right back where I had them. It was then I vowed to wait a week before questioning the black magic of the box and applying corrective inputs.

Now, if society collapses tomorrow, the National Weather Service disbands, and all the doppler radars are shut down...I'll still have a decent little severe weather warning system so long as I keep that computer powered, adjust it for events it misclassifies, and change the AAs in the sensors every 9 or so months.

The entire parts list, a more in-depth explanation, and the code are open-source and ready to build, available on my github.

Project repo: https://github.com/Dominic-Muscatella/weather-station-alpha

OR, skip over the setup instructions and go right to the explainer: https://github.com/Dominic-Muscatella/weather-station-alpha/...

TrainSim – a browser train tycoon, built because I like trains

https://aashishh15.github.io/3DTrainSim/
1•aashishharishch•1m ago•1 comments

Can AI do fact-checking?

https://www.wired.com/story/fact-checking-ai/
1•simianwords•1m ago•0 comments

Show HN: Make No Mistakes – AI coding agents must prove their work

https://github.com/momomuchu/make-no-mistakes
1•mohamedmaache•3m ago•0 comments

Tanenbaum–Torvalds Debate

https://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_debate
1•chistev•3m ago•0 comments

OpenCQRS 2.0: Tests That Read Like the Domain

https://docs.eventsourcingdb.io/blog/2026/07/06/opencqrs-20-tests-that-read-like-the-domain/
1•goloroden•5m ago•0 comments

AI Workflows Need Topological Sort

https://arpitbhayani.me/blogs/ai-topological-sort/
1•ashutosh-aanand•5m ago•0 comments

How is Zig working out after 3 years and 100k lines of game code? [video]

https://www.youtube.com/watch?v=HXpUShkr2VQ
1•roflcopter69•5m ago•0 comments

Low-level is easy (2008)

https://yosefk.com/blog/low-level-is-easy.html
1•downbad_•5m ago•0 comments

Outgrowing the Chat Box

https://www.nnehdi.me/p/outgrowing-the-chat-box
1•nnehdi•10m ago•0 comments

Small Penis Rule

https://en.wikipedia.org/wiki/Small_penis_rule
3•chistev•13m ago•0 comments

Robots Are Coming for All Jobs [video]

https://www.youtube.com/watch?v=qCsYVL-v-3A
1•Bender•15m ago•0 comments

Mastgate – Fediverse Relay Filter

https://github.com/ahmed-debbech/mastgate
1•bhhhhhhcc•16m ago•0 comments

Describing All My Photos

https://alexwlchan.net/2026/describing-my-photos/
1•Tomte•16m ago•0 comments

Ghosts of Our Lives: On Ryan Armand, Tronicbox and Occasional Immortality

https://morbidcuriosity.substack.com/p/ghosts-of-our-lives
1•pnwpnw•16m ago•1 comments

America's 250th became a test of AI-powered Collective Intelligence

https://venturebeat.com/technology/how-americas-250th-birthday-became-a-test-of-ai-powered-collec...
2•hogwash•18m ago•0 comments

French wildfires force officials to ban public from Tour de France's third stage

https://www.reuters.com/business/environment/french-wildfires-jeopardise-finish-line-tour-de-fran...
2•geox•21m ago•0 comments

Meta-access problem faced by academics – and how to solve it

https://hookproductivity.com/solutions/hookmark-for-academics/
2•LucCogZest•25m ago•0 comments

Hackers made death threats against this security researcher. Big mistake

https://www.technologyreview.com/2026/02/16/1132526/allison-nixon-hackers-security-researcher/
2•naves•25m ago•0 comments

Has China obtained the most important machine?

https://www.economist.com/china/2026/07/05/has-china-obtained-the-worlds-most-important-machine
3•pingou•34m ago•1 comments

Bipartisan bill fails to protect consumers from datacenters' true costs

https://www.theguardian.com/us-news/2026/jul/05/ratepayer-protection-act-datacenters
2•p_stuart82•34m ago•0 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
18•jonahbard•34m ago•3 comments

Collision in space is not evidence of dark matter after all?

https://www.uni-bonn.de/en/news/collision-in-space-is-not-evidence-of-dark-matter-after-all
2•mpweiher•35m ago•0 comments

Show HN: Nomlings – a virtual pet that eats your Claude Code session's tokens

https://www.nomlings.cc/
2•franwbu•35m ago•0 comments

GitHub Pages deployments seem to be broken for some users over past few days

https://github.com/orgs/community/discussions/200823
2•exaroth•35m ago•0 comments

You Need a Webring

https://shub.club/writings/2026/july/you-need-a-webring/
5•forthwall•36m ago•1 comments

Jim Keller's startup is building a factory to mass-produce small chip fabs

https://www.tomshardware.com/tech-industry/atomic-semi-rebrands-as-fab2-and-shifts-operations-to-...
5•logickkk1•36m ago•0 comments

Show HN: Video Effects SDK – Face Avatars

https://effectssdk.ai/sdk/dev/avatars.html
2•mda_damico•39m ago•0 comments

Driving in China as a Tourist

https://ian.sh/driving-in-china-as-a-tourist
2•appwiz•40m ago•0 comments

Ask HN: What metrics do you track when building agents?

2•rstagi•41m ago•0 comments

Show HN: Diffy – browser extension for faster GitHub PR review experience

https://github.com/suveshmoza/diffy
3•suveshmoza•48m ago•1 comments