A Twitter bot framework for home automation