For alsorts of purposes you can build your own rflink device. This can be attached to a home automation controller as is described here!
The setup more or less depends on your needs, but at the least you will need an arduino mega for this.
The entire project for RFlink can be found at the rflink website https://www.rflink.nl, and they have an excellent page that helps you build such a device.