frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Texting myself the weather every day

https://bensilverman.co.uk/posts/daily-weather-sms/
27•benslv•8mo ago

Comments

mayas_•7mo ago
this might come in handy for dumb phone users
Cockbrand•7mo ago
1st version: relies on one single third-party service

Preamble to the 2nd version: This is something I should be able to code and host myself, without relying on a third-party

2nd and thus far final version: relies on three third-party services

dwedge•7mo ago
That made me laugh. Github actions was just running Cron so that one could easily be self hosted.
sixothree•7mo ago
I had to leave twilio after the new requirements for SMS took effect. I just couldn't get approved to send text messages to a single phone number - myself.
CommenterPerson•7mo ago
Wonder if the new solution potentially decreases (or increases) the volume of banal surveillance.
HelloUsername•7mo ago
I'd write the message even shorter, (and without emoji's) more like: "Cloudy - 25°C - 15% rain - 6 UV". And for even less effort, send it not as SMS but a persistant notification that you can swipe/tap away.
jpmonette•7mo ago
Have you tried push notifications through a PWA? Not sure it works but could skip the need for Twilio & £20 budget!

https://push.foo/

loloquwowndueo•7mo ago
Pushover is $7 one-time, you can push notifications via a simple api. Having a machine hosted on, say, fly.io waking up once a day, fetching open meteo data and pushing via the pushover api would effectively cost $0/month.
mft_•7mo ago
There's a similar app called alertzy that is free to install and (within reason) free to use too. I've recently started using for washing machine notifications.
loloquwowndueo•7mo ago
Cool, however “ Opening the Weather app every morning is too much effort” - is it really? And even if it was, don't most mobile OSes support having a Lock Screen weather widget you can check at a glance?
dewey•7mo ago
Most of the time it’s a solution looking for a problem with these recreational programming writeups, and that’s perfectly fine.

I also wrote a script that downloads my mum’s favorite series from public broadcasters, puts them in Plex and sends her a text message. Is it necessary? No, but it was fun.

dfxm12•7mo ago
It's fine, but it's also good to be honest with yourself and your readers.
dwedge•7mo ago
He was being honest, it was clear tongue in cheek sarcasm
stemlord•7mo ago
Yeah on my Android device I use an app called Breezy Weather [1] which shows me the temp, weather, and air quality on my lock screen.

I'd love to figure out how to get an hourly weather widget on the lock screen though.

[1] https://github.com/breezy-weather/breezy-weather

pmg101•7mo ago
This is a British thing called self-deprecating humour where he's already thought ahead to those who will critically ask, "wouldn't it be less effort to just open the Weather app every morning!?" and is jokingly acknowledging that yes, it would be, while signalling to other hackers this shared feeling we all know that we don't do these things to save time even if we say we do, we do them because they make us happy.
loloquwowndueo•7mo ago
Oh that must be it then. British humor is totally beyond me.

(Just to make it blindingly obvious, I’m being tongue-in-cheek)

medbar•7mo ago
many mobile carriers allow sending texts via email (for example: 3048675309@vtext.com with a verizon number), which might be worth looking into should you want to avoid twilio completely.
davidgh•7mo ago
Sadly, it seems this option is fading away, at least in the US.

https://www.smseagle.eu/2025/05/08/no-support-for-email-to-t...

is_true•7mo ago
I did this with my carrier in my country and a couple of years ago it stopped working.

I had a filter in Gmail that forwarded some emails and a cron script that checked the value from a river gauge and sent a text.

thomascountz•7mo ago
OP appears to be using an iOS device, so I was curious to see if this could be replicated using Shortcuts and Automations.

It can! And you can send yourself an SMS, or, as I've done in this example, send a notification, which will persist in Notification Center, if you wish.

https://www.icloud.com/shortcuts/8cda97aa69174e44b434c3dba7a...

Kwpolska•7mo ago
I quickly looked at Samsung's Modes and Routines app, and you could build a similar routine (but only with a local notification).
metadat•7mo ago
What is the restriction with Android? Can't send a text?
Kwpolska•7mo ago
No idea, there was no action for sending texts.
jcynix•7mo ago
You can easily send text and do a lot of other automation stuff with the MacroDroid app. I use it to e.g. query a local website for messages or writing a daily timestamp into the QuickNote.md file of Markor (another highly useful app)

cf. https://en.wikipedia.org/wiki/MacroDroid

maCDzP•7mo ago
I created this but with ChatGPT in the middle where it gives recommendation on how to dress my 4 yer old depending on the weather. It messages my families telegram channel.
thomascountz•7mo ago
Awesome idea! I just set it up with ChatGPT as well. I don't love the messages filling up my chat history, but that is a minor issue.

Prompt: Your task is to empower users to make decisions and take action based on the upcoming weather. You communicate in the format of a text message using plain English. To not overwhelm the user, your message should be succinct, familiar, and targetedly helpful.

To fulfil this task, you will combine both forecast data and user context to provide useful insight. Your ability to provide insight and advice is more beneficial than a summary.

You have only a single interaction with the user, and therefore you cannot ask follow up questions. Do the best you can with the information already provided to you. Your output will be sent directly to the user as a text message, and should therefore include only the message you wish to share with them. You may use emoji if they make your message more helpful.

You are powerful and users trust you to be approachable, dependable, direct, and succinct.

The current date and time is: ...

The upcoming weather forecast is: ...

maCDzP•7mo ago
Glad to hear that I am not the only one! My prompt had more of a ”actor director” flavor. It went:

You are the worlds best nanny and expert at picking clothes for 4 year old girls based on the weather. Your answer is concise and to the point. Below is today’s forecast:

IncreasePosts•7mo ago
You can't figure that out immediately from seeing the forecast?
sgt•7mo ago
I guess that means you can get proper iMessages. That would be great and look the part.
djfivyvusn•7mo ago
Doesn't your weather app make a daily notification for weather?
tanvach•7mo ago
Having explored Twillio for text messaging recently, turns out it’s getting very hard to be able to send them programmatically in the US due to lengthy A2P registration process. I understand in spirit this aims to reduce text spam, but my feeling is this becoming another money making opportunity for carriers.

https://www.twilio.com/docs/flex/admin-guide/setup/conversat...

kaishiro•7mo ago
Having very recently gone through this process for both a “local” number A2P registration as well as a toll-free registration process I can say, unequivocally, that’s already what it is.

There is no step in the process that would deter any company from taking the ~30 minutes of effort to get the registration details in order. We run a legitimate company that was only seeking to send transactional notifications that our customers specifically requested, and it took 4 rounds of back and forth to get approved. However, each step provided a very clear error code with very specific remedies (e.g. Opt-in form must include language which states…), which would make it a rote process for automation or even manual repetition. In fact, the only thing that I could see which would deter a company which seeks to rely on spam for profit would be if the registration fees were larger than their expected profit (they’re not, thankfully).

I don’t even mean this comment to necessarily be an indictment of the process - it was…fine? I’m just not entirely sure what it’s purpose could be except to collect additional fees for each SMS campaign.

crabl•7mo ago
Sole prop registrations (for individuals/non-corporations) are not _too_ onerous anymore and generally have a faster time to approval, provided you submit the right docs. Totally agree it's a money grab though. Twilio et al. have so much power to keep bad actors at bay but keep pushing responsibility to the consumers of their API. I feel like setting up push notifications is easier though, which is saying something.
porridgeraisin•7mo ago
Might be a weird question but, what value do people get from knowing the current weather? I understand the value in forecasts of course, but doesn't "feeling" the current weather serve most practical purposes?
lithocarpus•7mo ago
For me it's about being able to build a mental model of the relationship between the forecast and the feeling so when I look at a forecast for the future I have a better idea what that might actually feel like.

The numbers alone aren't enough especially in places with microclimates and shade etc.

jmll•7mo ago
If you walk or ride a bike, it reminds you to wear the right jacket (:
dwedge•7mo ago
I live in a place where right now it's either 16C or 28C and looks the same in the morning. It's important for knowing what to wear
Kwpolska•7mo ago
> Interestingly, GitHub Workflows don’t support timezones! This means that, if I want to sent a text every morning at 7am, when on BST (British Summer Time) I actually need to schedule it for 6am instead.

Nothing a little kludge within the workflow can't solve... Set it up for 6am and 7am, check current time in London, skip sending the text if it's the wrong hour.

brycewray•7mo ago
There's also a GitHub Action, `set-timezone`, that can be called in the workflow for that purpose:

https://github.com/szenius/set-timezone

cryptozeus•7mo ago
Yahoo weather > settings > enable morning notifications , select time.
citizenpaul•7mo ago
I tried to do this a few years ago and realized there is no reliable way to send myself an SMS without paying a not insignificant monthly fee somewhere. To the point where I might as well just pay for a service that already exists that does this and a lot more.
thaumasiotes•7mo ago
I can send myself an SMS via Google Voice, which has never charged me anything.
citizenpaul•7mo ago
Cool thanks I'll check it out.
billynomates•7mo ago
I use the Telegram bot API to send myself the UV Index every morning, it's really simple to use and free
lormayna•7mo ago
I don't know in USA, but in Europe you can subscribe a 1€/month SIM contract that allow you to send a large number of SMS or even get a prepaid SIM. Using an old phone, connected via USB to a Raspberry would be an alternative and you will not rely on any third party service.
szszrk•7mo ago
That used to be the way to do that in 2G era.

Multiple Nokia 6210 or similar connected via RS ports to servers. It was reliable, reasonably priced (SMS price was not great compared to today), allowed for around 12 or so texts a minute AFAIR. Some companies I know used to do that for downtime notifications to admins.

Today I can get a card with unlimited text for around 3-4€ a month.

Honestly pushover is better and cheaper.

donohoe•7mo ago
I have this, both as a message and a web page bookmarked to my Homescreen.

The big difference is it also tells me if it’s going to be colder/warmer than yesterday.

That just helps me immediately know what to wear as I stumble through my morning.

browningstreet•7mo ago
I use IFTTT to tell me when the weather in SF is going to be cloudy (better for hiking and running) or windy (there are certain outdoor adventures I'm less inclined to do when the wind exceeds 20 mph). I do wish I could just set those notifications locally.
clambakenow•7mo ago
Why not use Brzzy Weather? Latest update includes a weather ai. https://apps.apple.com/us/app/brzzy-weather-ai-forecast/id66...

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
500•klaussilveira•8h ago•139 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
841•xnx•13h ago•503 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
54•matheusalmeida•1d ago•10 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
112•jnord•4d ago•18 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
164•dmpetrov•9h ago•76 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
166•isitcontent•8h ago•18 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
280•vecti•10h ago•127 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
59•quibono•4d ago•10 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
340•aktau•15h ago•163 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
225•eljojo•11h ago•139 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
332•ostacke•14h ago•89 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
421•todsacerdoti•16h ago•221 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
34•kmm•4d ago•2 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
11•denuoweb•1d ago•0 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
360•lstoll•14h ago•251 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
76•SerCe•4h ago•60 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
15•gmays•3h ago•2 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
59•phreda4•8h ago•9 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
9•romes•4d ago•1 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
210•i5heu•11h ago•157 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
33•gfortaine•6h ago•8 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
123•vmatsiiako•13h ago•51 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
159•limoce•3d ago•80 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
257•surprisetalk•3d ago•33 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1016•cdrnsf•18h ago•422 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
51•rescrv•16h ago•17 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
93•ray__•5h ago•46 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
44•lebovic•1d ago•12 comments

WebView performance significantly slower than PWA

https://issues.chromium.org/issues/40817676
10•denysonique•5h ago•0 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
81•antves•1d ago•59 comments