News for hackers. Stuff that matters.
Re:Show HN: Send SMS to your number for free from shell by chintan on Saturday January 05, 2013 @01:02PM (#5013386)
http://www.labnol.org/internet/website-uptime-monitor/21060/

This Google doc script monitors your websites and sends an SMS to alert you when down. It uses the same "Calendar->SMS" feature.

Re:Show HN: Send SMS to your number for free from shell by Flenser on Monday January 07, 2013 @07:20PM (#5024177)
The script there onky sends an email. I think this is the one you meant to link to: http://www.labnol.org/internet/website-monitoring-with-sms-a...
Re:Show HN: Send SMS to your number for free from shell by jamesbritt on Saturday January 05, 2013 @11:47AM (#5013118)
I just send E-mail (via a command line script) to my cell number via by own GMail account. How is this different or better?
Re:Show HN: Send SMS to your number for free from shell by joelhaasnoot on Saturday January 05, 2013 @12:28PM (#5013262)
That's a US functionality since you pay for incoming text messages. Other countries have no way to fund incoming texts as they're free.
Re:Show HN: Send SMS to your number for free from shell by RexRollman on Sunday January 06, 2013 @11:04AM (#5016618)
That should be the default in the US too. Either that, or carriers should be required to offer people the ability to opt out of SMS.
Re:Show HN: Send SMS to your number for free from shell by Karunamon on Saturday January 05, 2013 @11:48AM (#5013124)
Not all carriers offer email-to-sms functionality.
Re:Show HN: Send SMS to your number for free from shell by oxplot on Saturday January 05, 2013 @11:49AM (#5013127)
Doesn't that only work for US numbers?
Re:Show HN: Send SMS to your number for free from shell by dredmorbius on Saturday January 05, 2013 @02:12PM (#5013636)
It varies by carrier.

More specifically, it varies by carrier legacy system. Finding the correct email-to-SMS address construction (usually some variant of [email protected]) may take some poking around, and it's not uncommon for the domain.tld portion to refer to some prior carrier acquired by the nominal provider (e.g.: your AT&T wireless number might have a cingular.com address, though don't quote me on that).

That said: it typically works and is fairly reliable once you've identified your gateway.

Re:Show HN: Send SMS to your number for free from shell by mark-ruwt on Sunday January 06, 2013 @12:47AM (#5015476)
No, not at all. This is the best list I know of--super helpful.

http://en.wikipedia.org/wiki/List_of_SMS_gateways

Re:Show HN: Send SMS to your number for free from shell by killahpriest on Saturday January 05, 2013 @11:53AM (#5013140)
Wish this worked through Google Voice.

EDIT: http://brettterpstra.com/2010/11/19/sms-from-the-command-lin...

Re:Show HN: Send SMS to your number for free from shell by nnnnni on Saturday January 05, 2013 @04:08PM (#5014062)
Oh nice, NONE of this things (or text message notifications) ever work with Google Voice because it doesn't support shortcodes =-(
Re:Show HN: Send SMS to your number for free from shell by jakozaur on Saturday January 05, 2013 @12:04PM (#5013178)
Wouldn't that be banned if it became somewhat popular?
Re:Show HN: Send SMS to your number for free from shell by oinksoft on Saturday January 05, 2013 @12:20PM (#5013239)
No, that's why they have rate limiting: https://developers.google.com/google-apps/calendar/pricing

I doubt that the volume of API requests originating from this script would generate even a blip on Google's radar.

Re:Show HN: Send SMS to your number for free from shell by surferbayarea on Saturday January 05, 2013 @11:58AM (#5013161)
And this is interesting why?

echo 'hello world' | mail -s "message" <number>@cingularme.com

Re:Show HN: Send SMS to your number for free from shell by samwillis on Saturday January 05, 2013 @12:02PM (#5013171)
Not all carriers offer an email to sms gateway. As far as I know here in the UK none do.

That is why this is interesting.

Re:Show HN: Send SMS to your number for free from shell by hrrsn on Saturday January 05, 2013 @12:09PM (#5013196)
As is the case here in New Zealand and many other countries.
Re:Show HN: Send SMS to your number for free from shell by killahpriest on Saturday January 05, 2013 @12:58PM (#5013376)
Fortunately, most of them do. http://en.wikipedia.org/wiki/List_of_SMS_gateways

AT&T, Verizon, Sprint, T-Mobile etc. If you want to text somebody else, you'll have to figure out their carrier first though. :(

Is their a way determine their carrier without asking?

Re:Show HN: Send SMS to your number for free from shell by pudquick on Saturday January 05, 2013 @01:52PM (#5013563)
The central register for area code + prefix is here:

http://www.nanpa.com/reports/reports_cocodes_assign.html

However, sometimes the companies listed are subsidiaries and you can't tell the 'major' cellular provider for someone at a particular number.

Re:Show HN: Send SMS to your number for free from shell by amatix on Saturday January 05, 2013 @03:43PM (#5013979)
In the US, does number portability between networks exist? In NZ, it causes problems with SMS gateways, which seem to (in general) naively use the prefix as the sole means of identifying which operator for a number.
Re:Show HN: Send SMS to your number for free from shell by ComputerGuru on Saturday January 05, 2013 @01:46PM (#5013538)
Most VoIP providers have a "number lookup" feature. For example, here is my number looked up on CallWithUs:

http://cl.ly/image/1l1g071h1d0C

You can create an unfunded account with them and use the lookup feature, if I'm not mistaken. (Though I don't recommend doing so, it's not nice!)

Re:Show HN: Send SMS to your number for free from shell by runn1ng on Saturday January 05, 2013 @01:36PM (#5013503)
Most of US-based do. No such luck in here (Czech).
Re:Show HN: Send SMS to your number for free from shell by typpo on Saturday January 05, 2013 @06:09PM (#5014395)
Not too long ago I made a service, http://textbelt.com, that wraps many email-to-SMS gateways with a simple API:

  curl http://textbelt.com/text -d number=5551234567 -d "message=Blah"
Re:Show HN: Send SMS to your number for free from shell by schmrz on Sunday January 06, 2013 @07:35AM (#5016166)
This seems to be using a hack I also figured out back when I was in high school, working on a project. I also wrote about it years later on my blog[0]. If you look at the source it creates an event with an sms remainder but the time of the event and the scheduled time of the remainder are created in such way that the remainder is sent immediately. There's also a low limit on the number of characters you can use (~60).

[0]: http://www.randomshouting.com/2011/02/06/Free-SMS-notificati...

Re:Show HN: Send SMS to your number for free from shell by abyx on Sunday January 06, 2013 @06:44AM (#5016069)
Re:Show HN: Send SMS to your number for free from shell by whocanfly on Saturday January 05, 2013 @01:36PM (#5013500)
one can use this to add a "text me" button to a Contact page.
Re:Show HN: Send SMS to your number for free from shell by veverkap on Saturday January 05, 2013 @12:20PM (#5013235)
Re:Show HN: Send SMS to your number for free from shell by xSwag on Saturday January 05, 2013 @03:58PM (#5014026)
On my mobile right now so cannot use this just yet, does anybody know if this works in the UK? (with three mobile network)
Re:Show HN: Send SMS to your number for free from shell by Void_ on Sunday January 06, 2013 @03:34AM (#5015798)
Or you can send yourself a push notification. Services like Notifo provide HTTP API that you can use in your scripts.
Re:Show HN: Send SMS to your number for free from shell by zdwalter on Saturday January 05, 2013 @11:28PM (#5015289)
I use IFTTT to send SMS. for example, let IFTTT to monitor GMail, and notify you by SMS. It's easier to send email.
Re:Show HN: Send SMS to your number for free from shell by drpgq on Saturday January 05, 2013 @11:56AM (#5013155)
I'm guessing this doesn't work for Canadian numbers.
Re:Show HN: Send SMS to your number for free from shell by dredmorbius on Saturday January 05, 2013 @02:13PM (#5013638)
Not even if you postpend 'eh' to the 10 digits?
Re:Show HN: Send SMS to your number for free from shell by mochizuki on Saturday January 05, 2013 @12:20PM (#5013238)
Hope this doesn't lead to text bombs
Re:Show HN: Send SMS to your number for free from shell by oinksoft on Saturday January 05, 2013 @12:21PM (#5013241)
To yourself?
Re:Show HN: Send SMS to your number for free from shell by TeMPOraL on Saturday January 05, 2013 @07:04PM (#5014597)
Why, you can set up an instance to someone's number that you can use to send messages to that person.
Re:Show HN: Send SMS to your number for free from shell by oinksoft on Saturday January 05, 2013 @07:42PM (#5014725)
I'm fairly certain Google requires you enter a confirmation code when setting up a phone number (the code is sent via SMS to the phone) for specifically this reason. It's not as though this is the only piece of software using the Calendar API; Google has already had to think of these potential exploits.