Found this on Hackaday if anyone is interested.
https://hackaday.com/2017/09/26/an-i...-state-relays/