Home automation with raspberry pi and arduino