I think Viking is the solution, you can manage a bunch of relays I/O cards an more included analogic and digital output/input
You will found more info about and list of I/O card supported here (some of those I/O card just cost 20/30€)
https://wiki.starkeeper.it/index.php/Viking
From the link I read about the Pegasus Astro Pocket PowerBox … this is supported by Viking.
With Arduino look here (Filippo is passed away … just a big heart pain for me to reload the thread… it was a friend):
All the best
Leonardo Orazi