Home Assistant
Open source home automation that puts local control and privacy first
... devices, so whether you want to be alerted when the lights turn on when you’re not at home, or want the lights to automatically dim when you start to watch a movie on Chromecast, Home Assistant can do it for you. See more examples on the official website: https://www.home-assistant.io/