You might be interested in projects like https://openhab.org, or https://mycroft.ai
I have tinkered with mycroft in the past and it was kinda finnicky at the time, but overal a great idea(an assistant like google or alexa but privacy oriented). A colleague of mine uses openhab for everything but security(his wife objected to that lol).
For starters i’d recommend some single board computer like the a raspberrypi, a speaker and a microphone and maybe try one of these (https://www.electromaker.io/blog/article/9-best-raspberry-pi-smart-home-software-options) out yourself.
We are trying to solve computer/rocket-age problems with a caveman brain. If we don’t start genetic engineering humans soon i’d wager we’ll eradicate ourselves before we colonize other planets and stars.