MisterHouse is a Windows/Unix home automation program written in Perl. It can respond to voice commands, web browsers, time of day, serial port and X10 data, external files, etc and can speak via Text to Speech engines.
Please go to https://github.com/hollie/misterhouse for newest code and https://sourceforge.net/p/misterhouse/mailman/misterhouse-users/ for support