There are multiple opensource home automation packages available on the market. I chose for home assistant, it has a big community with every other week an update and is Python based. It is the hub that interconnects all the following components:
* MQTT Broker
* Google Assistant
* Apple Homekist
* SONOS
* Playstation 4