Node-Red is probably your best bet
it's functional with a lot of plugins available as well as relatively easy due to the "flow" workflow
one other command mentioned Home Assistant but even among the Home Assistant community there are quite some people using Node-Red together with Home Assistant to achieve their goals