Home automation with PHP, Mysql, Arduino and Raspberry PI