Controlling a terminal with Google Voice

sms

For how awesome Google Voice is, we’re surprised we haven’t seen this before. [Steve] is using Google Voice to run commands on just about any Linux box.

Google Voice doesn’t have an official API, and existing unofficial APIs weren’t up to snuff for [Steve]’s project. He ended up writing his own that checks his unread message inbox every minute and looks for new text messages beginning with the phrase, ‘Cmd’. If a series of checks pass – the text coming from a known phone number and a proper terminal command – the command runs and sends the a text back indicating success or failure.

While [Steve] probably won’t be playing nethack or Zork via SMS anytime soon, we can see this being very useful for a Raspi home automation task. Just send a text message and a properly configured Linux box can open your garage door, turn on the lights, or even start a webcam.

17 thoughts on “Controlling a terminal with Google Voice

  1. Thanks for giving the headline a title that describes the concept and not the device it happens to run on.

  2. hm i was doing this kind of stuff 3-4 years ago..i guess i should have posted it on the internet haha. i wasn’t using google voice, but i was using text to control my windows computer

  3. Nice handy project, you’ll need unlimited messages to get real good use out of it though. Lol.

    Had an idea for a project a couple of years ago to use an old nokia phone to recieve the text messages and then pass the commands via a Lufa keyboard or something. Raspberry pi would be a nice little addition to this, and would remove the reliance on the google api.

    1. I believe Wheezy is the code name for Debian 7.0. That’s probably more likely for the kind of people who did these types of things haha

      1. Think he was thinking of “Weezer”. They had a video on the Windows 95 install disk. Never really took off, and weren’t too popular then, either. Bunch of smartasses.

        I liked the Edie Brickell one. It’s one of the best songs that ever came with an operating system.

        1. Weezer never took off? They have multiple chart topping songs, as well as triple platinum albums. I’m not a fan of them, but I know who they are, and would never describe them as “not too popular”.

        2. first of all “Weezy” is a nickname used by Lil Wayne, second of all Weezer has had incredible success, especially on tour. If you know nothing about the music industry, why comment?

  4. Why not just send a text to an email address that is hosted on the Raspberry Pi?

    It’s simple to do, just forward the port and install the mail server program.
    That way, google doesn’t get to keep track of what you are doing to your server.

    1. That phone actually looks pretty awesome.

      Probably qualifies for the $10.00/mo non-smartphone unlimited data plan from att.

      May have to upgrade from my A707 flip phone in the near future.

      1. I was having the same thought when I was looking back over stuff (it does have the Maddox seal of approval lol). I will definitely have to look into this non-smartphone data plan you mentioned, as I had never heard of it. Thanks :)

          1. Nice! Thanks, chief :) This could definitely breathe some life back into some burners I have. I just wish it was around back in the bluetooth my razr to palm days of wap yore :) Thanks again and glad we both got something useful outta the deal :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s