Arduino library for home automation