FHEM is a GPL’d perl server for house automation. It is used to automate some common tasks in the household like switching lamps, shutters, heating.