Just a couple of resources I’ve found regarding home automation and the cheap electronics coming out of China and the technologies bringing it all together. Primarily I’m looking at OpenHAB, ESP8266 devices (such as ITEAD’s “sonoff” device), and MQTT.