Apple docks and home automation