Use your computer's states as a trigger for your smart home devices.
Microsoft's PC Manager promises to optimize your machine's performance at no cost. I tried it out to see if it's good enough to replace third-party tools.