Train status via text message

Discussion in 'Amtrak FAQs & First-Time Rider Info' started by MisterToad, Sep 5, 2011.

Amtrak Unlimited Discussion Forum

Help Support Amtrak Unlimited Discussion Forum:

  1. Sep 5, 2011 #1

    MisterToad

    MisterToad

    MisterToad

    Train Attendant

    Joined:
    Nov 8, 2008
    Messages:
    46
    Location:
    Roanoke, VA
    As some of you know, I wrote a script that will provide the status of a train in response to a text message. You can send a text message containing amtrakstatus [station code] [train number] to 41411, and it will send you back the status of that train. For instance, amtrakstatus pdx 14 will give you the status of the northbound Coast Starlight in Portland.

    All was well and good until various wireless carriers started charging TextMarks (the company whose free service I'm using) for sending these text messages. In response, TextMarks stopped supporting their free service for customers of Sprint, Nextel, T-Mobile, Virgin, and Boost. So those who use one of those carriers aren't able to get the train status via text message. TextMarks has a paid service, which works for everyone, but their paid plans start at $19 per month, which is more than I want to spend. So a couple weeks ago, I started looking for a less expensive option that everyone can use. I'm happy to report that I have come up with something that should work for everyone, and it doesn't cost me a dime. (I'll give a brief summary of the technical workings of this new service at the end of this post, in case anyone is interested.)

    To use the new service, simply send a text message to 401-268-7251 (that's 401-AMTRAK-1 :) ) containing [station code] [train number]. (Note that you don't include amtrakstatus in the message.) For example, pdx 14 will give you the status of the northbound Coast Starlight in Portland. Or you could also send 14 pdx, the order doesn't matter. Also, capitalization doesn't matter - you can use pdx, PDX, pDx or whatever.

    The 41411 service will continue to operate, so you can use whichever one you prefer. Let me know if you have any problems with either service.

    Boring technical stuff: I obtained the 401-AMTRAK-1 phone number from the free Google Voice service. One of the features that Google Voice provides is the ability to send and receive text messages. You can also forward any text messages you receive to an email address, which is how I have things set up. I then wrote a Windows Service that runs on my computer that monitors the email account for new messages. I'm using IMAP, so I get an instant notification that there's a new message. Whenever a new message arrives, the program looks up the train status on Amtrak's website, and sends a text message reply via Google Voice.
     
  2. Sep 5, 2011 #2

    jdcnosse

    j

    jdcnosse

    Lead Service Attendant

    Joined:
    Feb 2, 2011
    Messages:
    471
    Location:
    Tucson
    Thanks for this :) I have virgin mobile and it's a lot better plan than the verizon one I had, and I use google voice as well, so in theory it would go even faster. I'll test this out right now on my virgin mobile phone

    EDIT: Text sent at 10:26 without google voice (straight from my virgin mobile phone) and got a reply back immediately with the accurate info from amtrak.com.
     
    Last edited by a moderator: Sep 5, 2011
  3. Sep 5, 2011 #3

    HotlantaAl

    HotlantaAl

    HotlantaAl

    Train Attendant

    Joined:
    May 7, 2011
    Messages:
    84
    thanks, I just tried it and it works great.
     
  4. Sep 5, 2011 #4

    MrFSS

    MrFSS

    MrFSS

    Conductor Honored Member

    Joined:
    Mar 13, 2004
    Messages:
    9,713
    Location:
    Central Kentucky
    I'm moving this over to the FAQ section.

    Thanks for the update.
     
  5. Sep 5, 2011 #5

    Tumbleweed

    T

    Tumbleweed

    OBS Chief

    Joined:
    Feb 2, 2010
    Messages:
    929
    Location:
    Sunny North Dakota
    Saved on cell phone, thanks! [​IMG]
     
  6. Sep 7, 2011 #6

    darien-l

    d

    darien-l

    OBS Chief

    Joined:
    Jul 20, 2007
    Messages:
    593
    Location:
    Flagstaff, AZ
    Works like a charm for me! Thanks!
     
  7. Sep 8, 2011 #7

    MisterToad

    MisterToad

    MisterToad

    Train Attendant

    Joined:
    Nov 8, 2008
    Messages:
    46
    Location:
    Roanoke, VA
    Thanks to everyone who has tested out the new service. I know some of you have gotten no response or a delayed response to your text messages - there have been some wrinkles that I've needed to iron out. I just put out an updated version that should hopefully have fixed most of the bugs.
     
  8. Oct 17, 2011 #8

    MisterToad

    MisterToad

    MisterToad

    Train Attendant

    Joined:
    Nov 8, 2008
    Messages:
    46
    Location:
    Roanoke, VA
    I just wanted to give an update on the 401-AMTRAK-1 service. Since my last post, there were still issues with the service not sending text messages consistently - it was only working about 75% of the time. However, a week ago I made some changes in how the service works, and in the last week it has worked for every request that has come in. So if you gave up on the 401-AMTRAK-1 service because it wasn't working for you, I encourage you to try it again. Of course, the 41411 service is still available as well, if your wireless carrier allows it.
     
  9. Oct 17, 2011 #9

    Ryan

    Ryan

    Ryan

    Conductor

    Joined:
    Apr 14, 2008
    Messages:
    16,924
    Location:
    OTN
    Thank you for doing this, it's a really valuable service.
     
  10. Oct 11, 2013 #10

    MisterToad

    MisterToad

    MisterToad

    Train Attendant

    Joined:
    Nov 8, 2008
    Messages:
    46
    Location:
    Roanoke, VA
    TextMarks is discontinuing its free service on October 15, 2013, so after that date you will no longer be able to obtain train status via a text message to 41411.

    The 401-AMTRAK-1 service will continue to provide train status. Send a text message to 401-AMTRAK-1 (401-268-7251) containing [station code] [train number]. (Note that you don't include amtrakstatus in the message.) For example, pdx 14 will give you the status of the northbound Coast Starlight in Portland. Or you could also send 14 pdx, the order doesn't matter. Also, capitalization doesn't matter - you can use pdx, PDX, Pdx or whatever.
     
  11. Jun 19, 2014 #11

    printman2000

    p

    printman2000

    Conductor

    Joined:
    Nov 9, 2005
    Messages:
    3,747
    Location:
    Amarillo, Texas
    MisterToad, just wanted to thank you for this service! I use it first and foremost to track train status. So simple and easy.
     
  12. Jun 24, 2015 #12

    printman2000

    p

    printman2000

    Conductor

    Joined:
    Nov 9, 2005
    Messages:
    3,747
    Location:
    Amarillo, Texas
    So, just tried using it and never got a response. Is it still up and running?
     
  13. Jun 24, 2015 #13

    TylerP42

    TylerP42

    TylerP42

    Conductor

    Joined:
    May 22, 2015
    Messages:
    1,195
    Location:
    Speedway, Indiana
    I'd guess probably not, considering it has been so long since the last post.
     
  14. Apr 5, 2018 #14

    Rover

    Rover

    Rover

    OBS Chief AU Supporter

    Joined:
    May 13, 2015
    Messages:
    530
    Location:
    N. Texas
    Amtrak now offers train status by text or email.

    Subscribe to delay Alerts https://tickets.amtrak.com/itd/amtrak/delayalerts

    I used this service to get text alerts during the winter season for 5 & 6 for the Truckee Station.

    I chose a date spread that went into May.

    But, when I tried to delete the text alerts for 5 & 6, the Delete button would not respond.

    I had to contact Amtrak IT, who told me that they would take care of it.

    I assume most people never try to cancel their alerts, if it's for travel on a certain day, because, after that day, the alert goes away, even if it wouldn't cancel for them. No Biggie.

    But, since I was still getting daily text alerts, I did not want to wait until May for them to stop coming.
     
  15. Apr 5, 2018 #15

    printman2000

    p

    printman2000

    Conductor

    Joined:
    Nov 9, 2005
    Messages:
    3,747
    Location:
    Amarillo, Texas
    That is cool, but still not as good as this service was. It was status of any train, just by sending a text. No having to subscribe.

    Too bad it is no longer working.
     
    Misty. likes this.

Draft saved Draft deleted

Share This Page

Group Builder
arrow_white