Sounds like a fun project! I use MQTT to bridge between home automation and Twitter. As with Morag's suggestion, it also provides a path to IBM MQ should the need arise. In the meantime, there are lots of public MQTT servers and packages to run it inside a SOHO NAS drive or network router. You may also want to check with http://ifttt.com to do if/then/else logic based on events, tweets, dates and times, and so forth.