you could use a micro formfactor pc with a atom/ or low end via processor, boot into linux/windows with a SSD and use that through wifi/ethernet to control relays through a custom serial interface. ive been looking into making a computer controller with one of these:
http://www.mini-box.com/Jetway-Versa...=8&category=99