Home automation via twitter

We’ve seen tons of stuff hooked up to send updates to twitter when something happens. That’s what we expected when we first read this tip from [Matt]. We were pleasantly surprised to see he’s actually doing the opposite. He has rigged several items to an IoBridge module and he can control them by sending tweets to his account. In the video you can see him sound a buzzer and change a display on an LCD. Its nice to see twitter being used as part of the control as opposed to updating us every time someone flushes.

Comments

  1. Jeetu says:

    Why twitter? Just because you needed an asynchronous communication mechanism? And whats the practical utility apart from the cool hack?

    To display a message I could use jabber protocol to hook something up with gtalk, and have the whole laptop screen flash the message. Initiated from my iphone using some gtalk client. Gets me the same without any hardware

    The light sensing was good, but again, why twitter?

  2. incognito53 says:

    i see the day forthcoming where someone sees a turd in the toilet of a webcam, and they are able to twitter and make it flush. woe is me.

  3. Matt says:

    jeetu,

    No particular reason why I used Twitter besides the fact that I needed a reason to play with the API.

    I have now added Facebook support as well.

    I agree with you, there is no practical use for this. I was just tired of seeing all the devices that tweet useless information.

  4. Jeetu says:

    No offense matt, the hack is great! But I was evaluating it from its practical use.

    And I sometimes get sick of seeing people over-using twitter.

    Good work otherwise!

  5. vikki says:

    gator fan

  6. Tim says:

    Yeah I don’t really see the point of all these “Ordinary thing VIA TWITTER!!!” articles.

  7. Wwhat says:

    Twitter has the system in place to be used by various devices, and a good uptime record, so that’s why using twitter here seems appropriate to me, and it’s a nice twist on things, good job.
    I think you should define a control sequence and not just use common words like light LCD though, set a standard, it’ll become a new RFC and be known as the MATT sequence maybe :)

    As for a use, I think there are uses to think up aplenty surely.

  8. Nathanael says:

    This guy has it open for anyone to set his screen or check temp and stuff like that. Pretty cool.

  9. ReKlipz says:

    … It’s called TCP, try it.

  10. novastar says:

    Its not the twitter interface that bothers me, I used to have my computer accept commands via twitter, before I figured out how to use cpanel to pipe email messages to php.

    What bothers me, personally, is the use of the ioBridge. And not the fact that your paying 100 dollars for something that can only do 4 different things at a time without reconfiguring it,t though that can be expanded with PIC’s or AVR’s, its the fact that you are adding another point of failure to your system.
    Anytime you make a net enabled system, you automatically have 2 points of failure, your home, if the power goes out, or your net connection dies. And however your accessing it. Your pretty much not going to get around that.
    With this, instead of interfacing directly to your computer, you go through a third party.
    If they were to go out of business, your SOL, if their dataserver goes down, your SOL.

    Also, your letting a third party have complete access to your system. Granted, its a company, so it most likely wont be abused.

    But I would much rather put together an old p2 or p3 box, load up linux, run it as a server, and issue commands and whatnot directly to it. Which is actually going to be the base unit for my home automation project once I can get another PIC programmer.

  11. therian says:

    what happen to simple server/client ? why people use 3rd part service for web control and overpriced io board for things any micro controller can handle

  12. amk says:

    now we need a toilet that tweets when we poop, and a home automation system that responds to that tweet and flushes the toilet. this is necessary.

  13. Arduinofreak says:

    Wut? This hack doesnt use an arduino. This shouldn’t happen on arduino-a-day.

  14. Dennis says:

    Not very long ago I built a small email notifier that is controlled by pyython scripts and reacts to tweets sent to a certain account(mine). It would be the easiest thing in the world to change the source code and have the device light up for example a lamp, air conditioner and/or ventilation, when being told to do so, via twitter.
    Also the other way round is easy too: there’s a project called “OBDEV data logger” I think, which sends sensor values to your PC, and uses almost the same hardware/wiring schematic (an attiny45 and six resistors and two diodes, thats all).
    And there you have it already – all done with attiny45, some python scripts and twitter API. No proprietary I/O interface card necessary, full automation of whatever, via twitter.

    Side note, you can configure twitter accounts to be not visible to the public, anbd if you tell noone about this account you can well use it for your own automation steering purposes. You could even implement a password check when fetching tweets via twitterAPI so each tweet would need to include this authentication before it could effect something. Just my 2 cents..

  15. clasherr says:

    Sweet – @mattsoffice how cold is it?

  16. Matt says:

    novastar,

    I do agree that having a 3rd party server in the mix is not ideal. If something happens to them, my system is completely hosed.

    But you can’t argue with ease of use, I completed the whole project in half a day.

  17. farthead says:

    Been there done that.

    I’ve been able to control my Crestron gear for a year now via tweets.

  18. absolutezero says:

    If I understand the (tiny) diagram on the project site it looks like the iobridge is connected to a pc that actively monitors twitter for updates.

    What about just installing apache & rss/blogging software directly on the pc instead? This would likely cut down on the lag time we see in the video.

  19. novastar says:

    Matt,
    You are right, The way you did it is excellent if you dont want to spend a lot of time, and have the extra cash.

    And granted, if I had the extra cash, id probably buy an ioBridge to play around with too.

    Me, personally, being cash strapped, cant go your rout, but putting a old computer together from the contents of my closet and making up circuit boards to control what i need it to is the only way I can go.

  20. Now that is a pretty nifty invention. Nothing wrong with a tweet after you flush :]

  21. Wwhat says:

    Seems a bit odd to complain twitter might go down, it’s far more likely your own site goes down since twitter is of such a size and so much used by so many people (many of whom have pull) that is has plenty of redundancy, as for privacy, well you don’t have to use plain text and it’s not that sensitive to control something at home really, and as is said you can set twitter to be private.
    Email is in fact less secure because countless countries store email traffic and the NSA and such monitor international email.
    Incidentally about secretive twitter: people can find you on twitter by searching on email address, beware.
    I do agree though that it’s nicer and more hack-like and perhaps has less lag (does twitter ever lag?) if you use more basic communication with your own setup.
    And I hear there was some trouble in china and the first thing they did is close down twitter, so if you are in foreign places you might be blocked from access if you use twitter as a vehicle and can’t find a proxy.

  22. Vikto says:

    Yeh yeh APIs got 2 be d intresting thing on social networks cus they becoming boring. A tweet that flushes…… Cool, wud love 2 see that.

  23. hgh says:

    Yeah I don’t really see the point of all these “Ordinary thing VIA TWITTER!!!” articles.

  24. fred says:

    I think after sensing the turd the tweet should smack the guy who didn’t flush until he flushes it himself. There is no reason to automate a task as easy as flushing.

  25. I use twitter as much as anyone I know, but it’s really just another protocol and frankly one that’s not so well suited for sending commands for HA. Essentially, we could take the same technology that’s been around for years, adapt it to twitter and now it gets headlines “OMG, it has teh twitters!”

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

Follow

Get every new post delivered to your Inbox.

Join 92,158 other followers