Software for a home automation system