Home automation server with raspberry pi's and arduinos