Basis of my home automation effort.