Arduino code for myHome