Home automation server using a raspberry pi and an arduino