Texting myself the weather every day
45 comments
·June 11, 2025Cockbrand
dwedge
That made me laugh. Github actions was just running Cron so that one could easily be self hosted.
CommenterPerson
Wonder if the new solution potentially decreases (or increases) the volume of banal surveillance.
sixothree
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.
thomascountz
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...
maCDzP
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
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: ...
sgt
I guess that means you can get proper iMessages. That would be great and look the part.
Kwpolska
I quickly looked at Samsung's Modes and Routines app, and you could build a similar routine (but only with a local notification).
metadat
What is the restriction with Android? Can't send a text?
jcynix
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)
Kwpolska
No idea, there was no action for sending texts.
loloquwowndueo
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?
pmg101
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
Oh that must be it then. British humor is totally beyond me.
(Just to make it blindingly obvious, I’m being tongue-in-cheek)
dewey
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.
stemlord
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.
tanvach
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
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
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.
jpmonette
Have you tried push notifications through a PWA? Not sure it works but could skip the need for Twilio & £20 budget!
loloquwowndueo
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_
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.
browningstreet
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.
Kwpolska
> 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
There's also a GitHub Action, `set-timezone`, that can be called in the workflow for that purpose:
lormayna
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.
citizenpaul
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.
billynomates
I use the Telegram bot API to send myself the UV Index every morning, it's really simple to use and free
thaumasiotes
I can send myself an SMS via Google Voice, which has never charged me anything.
citizenpaul
Cool thanks I'll check it out.
donohoe
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.
mayas_
this might come in handy for dumb phone users
cryptozeus
Yahoo weather > settings > enable morning notifications , select time.
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