I alluded to this experiment in What Automation Are You Using Raspberry Pi For?
It’s become permanent enough - on the same Pi I attached a touch screen to to make a Streamdeck-alike. So I wrote it up in this blog post: Pi As A Protocol Converter
It might spark some ideas.