Ruby on Rails Home automation front end