Home Control Software and Hardware using Raspberry Pi (or similar and ESP8266 makes Node-Red as the base - with MQTT as the underlying comms protocol.