Code for my home automation experiments