There’s a long history of devices originally used for communication being made into computers, with relay switching circuits, ...
It's a solved problem, but I actually prefer a simple web UI.