Thanks @brian86770, but I come from more of a software background than a hardware/electronics background, so I’m having trouble following your suggestion.
Ideally I’m looking for a solution that is ideally as off-the-shelf as possible, but if I need to go bespoke, I’m more capable of writing software than mucking around with the electronics.