The May 2016 issue of MaximumPC (www.maximumpc.com) has an article on setting up a Raspberry Pi to send and receive messages from an IM account, and act on those messages. It should allow some interesting remote control via phone or computer.
Mar Lingspike
Raspberry Pi control by instant message
Moderators: Riddle, Shannon SteelSlave