These are great ideas that might actually be in the realm of feasibility (assuming your IoT devices run on some open standard), but the shame with this kind of thing in 2021 is that most of my digital life does not run on open standards, and so a programmable device has limited usefulness. I probably couldn't use it to play or control my media, to control my other (non-custom) devices, to display information from social media or from my bank accounts or tap into my subscriptions or interface with my personal cloud data. There are some exceptions and workarounds - most of them based on the web and web scraping - but most of those give you the sense that they only still exist because the company forgot about them, or doesn't care enough to retire them
Walled-gardens have made it really hard to do novel things in your personal digital life